1 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5 Define to take a second argument that is a macro that
6 concatentates a suffix, not the suffix itself.
7 (__CONCAT_d): New macro.
8 (__CONCAT_f): Likewise.
9 (__CONCAT_l): Likewise.
11 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
13 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
16 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17 Aurelien Jarno <aurelien@aurel32.net>
18 Maciej W. Rozycki <macro@imgtec.com>
21 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
22 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
23 `mips16-syscall6' and `mips16-syscall7'.
24 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
25 (CFLAGS-mips16-syscall7.c): Remove.
26 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
27 Remove `__mips16_syscall5', `__mips16_syscall6' and
29 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31 `__mips_syscall_return'.
32 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33 (__mips16_syscall1): Likewise.
34 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35 (__mips16_syscall2): Likewise.
36 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
37 (__mips16_syscall3): Likewise.
38 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
39 (__mips16_syscall4): Likewise.
40 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
42 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
44 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
46 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
47 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
48 `__mips16_syscall5'. Remove prototype.
49 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
50 `__mips16_syscall6'. Remove prototype.
51 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
52 `__mips16_syscall7'. Remove prototype.
53 (__nomips16, __mips16_syscall_return): Move to...
54 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
55 (__nomips16, __mips_syscall_return): ... here.
56 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
57 `__mips16_syscall_return' to `__mips_syscall_return'.
58 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
59 `internal_syscall##nr'.
60 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
61 `internal_syscall##nr'.
62 (FORCE_FRAME_POINTER): Remove.
63 (__mips_syscall5): New prototype.
64 (internal_syscall5): Rewrite to call `__mips_syscall5'.
65 (__mips_syscall6): New prototype.
66 (internal_syscall6): Rewrite to call `__mips_syscall6'.
67 (__mips_syscall7): New prototype.
68 (internal_syscall7): Rewrite to call `__mips_syscall7'.
69 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
70 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
71 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
72 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
73 (sysdep_routines): Add libc-do-syscall.
74 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
75 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
77 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
80 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
81 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
82 (advise_stack_range): New function.
83 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
84 stack non required to advise_stack_range at allocatestack.c
86 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
88 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
90 2017-08-29 Florian Weimer <fweimer@redhat.com>
93 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
94 __end_fct. Mangle __end_fct after setting it to NULL.
95 * iconv/Makefile (tests): Add tst-gconv-init-failure.
96 (modules-names, modules-names-tests): Add
97 tst-gconv-init-failure-mod.
98 (gconv-modules): New target.
99 (tst-gconv-init-failure-mod.so): Link against libsupport.
100 (tst-gconv-init-failure): Depend on gconv-modules,
101 tst-gconv-init-failure-mod.so.
102 * iconv/tst-gconv-init-failure-mod.c: New file.
103 * iconv/tst-gconv-init-failure.c: Likewise.
104 * iconv/test-gconv-modules: Likewise.
106 2017-08-29 Florian Weimer <fweimer@redhat.com>
109 * iconv/gconv_db.c (free_derivation): Remove redundant
111 (gen_steps): Unconditionally mangle __btowc_fct after
113 (increment_counter): Likewise. Do not call init_fct for internal
116 2017-08-29 Joseph Myers <joseph@codesourcery.com>
119 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
120 (_MSUF_): Remove macro.
121 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
123 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
124 (__REDIRFROM_X): New macro.
125 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
127 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
128 (__REDIRTO_X): Likewise.
129 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
131 (__MATH_REDIRCALL_2): Likewise.
132 (__MATH_REDIRCALL_INTERNAL): Likewise.
133 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
134 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
135 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
136 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
137 * math/test-finite-macros.c: New file.
138 * math/Makefile (tests): Add test-finite-macros.
139 (CFLAGS-test-finite-macros.c): New variable.
141 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
142 Jeff Law <law@redhat.com>
145 Mangle NULL pointers in iconv/gconv.
146 * iconv/gconv_cache.c (find_module): Demangle init_fct before
147 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
148 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
149 is non-NULL before demangling the end_fct. Check for NULL
150 end_fct after demangling.
151 (__gconv_release_step): Demangle the end_fct before checking
152 it for NULL. Remove assert on __shlibc_handle != NULL.
153 (gen_steps): Don't check btowc_fct for NULL before mangling.
154 Demangle init_fct before checking for NULL.
155 (increment_counter): Likewise.
156 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
157 end_fct for NULL before mangling.
158 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
161 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
164 * locale/iso-639.def: add Morisyen.
166 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
169 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
170 (iszero): New C++ implementation that does not use
171 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
172 signaling nans are enabled, since __builtin_types_compatible_p
174 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
175 defined, include ieee754_float128.h for access to the union and
176 member ieee854_float128.ieee.
177 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
178 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
179 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
180 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
181 options of test-math-zero on powerpc64le.
183 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
185 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
186 Change double to float.
188 2017-08-28 Joseph Myers <joseph@codesourcery.com>
190 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
192 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
193 conditional code; define contents only for [LIBM_SVID_COMPAT].
195 2017-08-28 Florian Weimer <fweimer@redhat.com>
197 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
198 (abi-lp64_be-options): Remove.
199 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
200 (abi-hard-options): Likewise.
201 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
202 (abi-o32_hard-options, abi-o32_soft_2008-options)
203 (abi-o32_hard_2008-options, abi-n32_soft-options)
204 (abi-n32_hard-options, abi-n32_soft_2008-options)
205 (abi-n32_hard_2008-options, abi-n64_soft-options)
206 (abi-n64_hard-options, abi-n64_soft_2008-options)
207 (abi-n64_hard_2008-options): Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
209 (abi-64-v1-options, abi-64-v2-options): Likewise.
210 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
211 (abi-64-options): Likewise.
212 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
213 (abi-64-options): Likewise.
214 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
215 (abi-64-options): Likewise.
216 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
217 (abi-64-options, abi-x32-options): Likewise.
219 2017-08-28 Florian Weimer <fweimer@redhat.com>
221 Store supported list of SYS_* system calls in the source tree.
222 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
223 (bits/syscall.h): Generate from list file.
224 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
225 [$(subdir) = misc] (tests): Add tst-syscall-list.
226 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
227 [$(subdir) = misc] (tst-syscall-list-macros.list)
228 [$(subdir) = misc] (tst-syscall-list-nr.list)
229 (tst-syscall-list-sys.list): Helper targets for new
230 tst-syscall-list test.
231 [$(subdir) = misc] (tst-syscall-list.out): Run test script
233 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
234 target. Do not include bits/syscall.d.
235 [$(subdir) = misc] (generated): Do not update.
236 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
237 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
238 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
239 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
241 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
243 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
244 (tst-cxa_atexit, tst-on_exit): Likewise.
245 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
246 tst-cxa_atexit, and tst-on_exit.
247 * stdlib/tst-atexit-common.c: New file.
248 * stdlib/tst-atexit.c: New file.
249 * stdlib/tst-at_quick_exit.c: New file.
250 * stdlib/tst-cxa_atexit.c: New file.
251 * stdlib/tst-on_exit.c: New file.
253 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
255 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
256 * mach/stack_chk_fail_local.c: New file.
257 * hurd/stack_chk_fail_local.c: New file.
258 * mach/Machrules ($(interface-library)-routines): Add
259 stack_chk_fail_local.
260 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
261 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
262 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
263 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
264 * hurd/Makefile (CFLAGS-hurdstartup.o,
265 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
267 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
269 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
270 (index_cpu_*, index_arch_*): Removed.
272 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
274 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
275 Use uint64_t instead of unsigned long.
277 2017-08-25 Joseph Myers <joseph@codesourcery.com>
279 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
280 [__HAVE_DISTINCT_FLOAT128].
282 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
283 of <bits/math-finite.h>.
284 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
285 inclusion of <bits/math-finite.h>.
286 * math/bits/math-finite.h (__REDIRTO_X): Do not define
287 conditionally on [__MATH_DECLARING_LDOUBLE && defined
288 __NO_LONG_DOUBLE_MATH].
289 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
290 (__MATH_REDIRCALL_2): Likewise.
291 (__MATH_REDIRCALL_INTERNAL): Likewise.
292 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
293 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
294 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
308 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
309 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
310 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
313 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
314 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
315 w_sqrtf_compat-ppc32.
317 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
319 * math/math.h [defined __cplusplus] (issignaling): In the long
320 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
321 is not defined. Call __issignaling, otherwise.
323 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
325 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
326 syscall definitions and replace __builtin_expect with __glibc_likely.
327 * sysdeps/unix/syscall-template.S: Update comment about cancellable
329 (SYSCALL_CANCELLABLE): Removedefinition
330 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
332 (PSEUDO_END): Likewise.
333 [IS_IN (libpthread)] (CENABLE): Likewise.
334 [IS_IN (libpthread)] (CDISABLE): Likewise.
335 [IS_IN (libc)] (CENABLE): Likewise.
336 [IS_IN (libc)] (CENABLE): Likewise.
337 [IS_IN (librt)] (CDISABLE): Likewise.
338 [IS_IN (librt)] (CDISABLE): Likewise.
339 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
340 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
342 (PSEUDO_END): Likewise.
343 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
344 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
345 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
346 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
347 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
348 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
350 (CDISABLE): Likewise.
351 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
352 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
354 (PSEUDO_END): Likewise.
355 [IS_IN (libpthread)] (CENABLE): Likewise.
356 [IS_IN (libpthread)] (CDISABLE): Likewise.
357 [IS_IN (libc)] (CENABLE): Likewise.
358 [IS_IN (libc)] (CENABLE): Likewise.
359 [IS_IN (librt)] (CDISABLE): Likewise.
360 [IS_IN (librt)] (CDISABLE): Likewise.
361 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
362 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
364 (PSEUDO_END): Likewise.
365 [IS_IN (libpthread)] (CENABLE): Likewise.
366 [IS_IN (libpthread)] (CDISABLE): Likewise.
367 [IS_IN (libc)] (CENABLE): Likewise.
368 [IS_IN (libc)] (CENABLE): Likewise.
369 [IS_IN (librt)] (CDISABLE): Likewise.
370 [IS_IN (librt)] (CDISABLE): Likewise.
371 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
372 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
374 (PSEUDO_END): Likewise.
375 [IS_IN (libpthread)] (CENABLE): Likewise.
376 [IS_IN (libpthread)] (CDISABLE): Likewise.
377 [IS_IN (libc)] (CENABLE): Likewise.
378 [IS_IN (libc)] (CENABLE): Likewise.
379 [IS_IN (librt)] (CDISABLE): Likewise.
380 [IS_IN (librt)] (CDISABLE): Likewise.
381 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
382 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
384 (PSEUDO_END): Likewise.
385 [IS_IN (libpthread)] (CENABLE): Likewise.
386 [IS_IN (libpthread)] (CDISABLE): Likewise.
387 [IS_IN (libc)] (CENABLE): Likewise.
388 [IS_IN (libc)] (CENABLE): Likewise.
389 [IS_IN (librt)] (CDISABLE): Likewise.
390 [IS_IN (librt)] (CDISABLE): Likewise.
391 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
392 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
394 (PSEUDO_END): Likewise.
395 [IS_IN (libpthread)] (CENABLE): Likewise.
396 [IS_IN (libpthread)] (CDISABLE): Likewise.
397 [IS_IN (libc)] (CENABLE): Likewise.
398 [IS_IN (libc)] (CENABLE): Likewise.
399 [IS_IN (librt)] (CDISABLE): Likewise.
400 [IS_IN (librt)] (CDISABLE): Likewise.
401 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
402 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
404 (PSEUDO_END): Likewise.
405 [IS_IN (libpthread)] (CENABLE): Likewise.
406 [IS_IN (libpthread)] (CDISABLE): Likewise.
407 [IS_IN (libc)] (CENABLE): Likewise.
408 [IS_IN (libc)] (CENABLE): Likewise.
409 [IS_IN (librt)] (CDISABLE): Likewise.
410 [IS_IN (librt)] (CDISABLE): Likewise.
411 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
412 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
414 (PSEUDO_END): Likewise.
415 [IS_IN (libpthread)] (CENABLE): Likewise.
416 [IS_IN (libpthread)] (CDISABLE): Likewise.
417 [IS_IN (libc)] (CENABLE): Likewise.
418 [IS_IN (libc)] (CENABLE): Likewise.
419 [IS_IN (librt)] (CDISABLE): Likewise.
420 [IS_IN (librt)] (CDISABLE): Likewise.
421 (SINGLE_THREAD_P): Likewise.
422 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
424 (PSEUDO_END): Likewise.
425 [IS_IN (libpthread)] (CENABLE): Likewise.
426 [IS_IN (libpthread)] (CDISABLE): Likewise.
427 [IS_IN (libc)] (CENABLE): Likewise.
428 [IS_IN (libc)] (CENABLE): Likewise.
429 [IS_IN (librt)] (CDISABLE): Likewise.
430 [IS_IN (librt)] (CDISABLE): Likewise.
431 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
432 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
434 (PSEUDO_END): Likewise.
435 [IS_IN (libpthread)] (CENABLE): Likewise.
436 [IS_IN (libpthread)] (CDISABLE): Likewise.
437 [IS_IN (libc)] (CENABLE): Likewise.
438 [IS_IN (libc)] (CENABLE): Likewise.
439 [IS_IN (librt)] (CDISABLE): Likewise.
440 [IS_IN (librt)] (CDISABLE): Likewise.
441 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
442 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
443 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
445 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
447 (PSEUDO_END): Likewise.
448 [IS_IN (libpthread)] (CENABLE): Likewise.
449 [IS_IN (libpthread)] (CDISABLE): Likewise.
450 [IS_IN (libc)] (CENABLE): Likewise.
451 [IS_IN (libc)] (CENABLE): Likewise.
452 [IS_IN (librt)] (CDISABLE): Likewise.
453 [IS_IN (librt)] (CDISABLE): Likewise.
454 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
457 (PSEUDO_END): Likewise.
458 [IS_IN (libpthread)] (CENABLE): Likewise.
459 [IS_IN (libpthread)] (CDISABLE): Likewise.
460 [IS_IN (libc)] (CENABLE): Likewise.
461 [IS_IN (libc)] (CENABLE): Likewise.
462 [IS_IN (librt)] (CDISABLE): Likewise.
463 [IS_IN (librt)] (CDISABLE): Likewise.
464 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
465 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
467 (PSEUDO_END): Likewise.
468 [IS_IN (libpthread)] (CENABLE): Likewise.
469 [IS_IN (libpthread)] (CDISABLE): Likewise.
470 [IS_IN (libc)] (CENABLE): Likewise.
471 [IS_IN (libc)] (CENABLE): Likewise.
472 [IS_IN (librt)] (CDISABLE): Likewise.
473 [IS_IN (librt)] (CDISABLE): Likewise.
474 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
477 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
478 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
480 (PSEUDO_END): Likewise.
481 [IS_IN (libpthread)] (CENABLE): Likewise.
482 [IS_IN (libpthread)] (CDISABLE): Likewise.
483 [IS_IN (libc)] (CENABLE): Likewise.
484 [IS_IN (libc)] (CENABLE): Likewise.
485 [IS_IN (librt)] (CDISABLE): Likewise.
486 [IS_IN (librt)] (CDISABLE): Likewise.
487 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
488 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
490 (PSEUDO_END): Likewise.
491 [IS_IN (libpthread)] (CENABLE): Likewise.
492 [IS_IN (libpthread)] (CDISABLE): Likewise.
493 [IS_IN (libc)] (CENABLE): Likewise.
494 [IS_IN (libc)] (CENABLE): Likewise.
495 [IS_IN (librt)] (CDISABLE): Likewise.
496 [IS_IN (librt)] (CDISABLE): Likewise.
497 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
499 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
501 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
503 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
507 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
510 * string/stratcliff.c (do_test): Declare size, nchars, inner,
511 middle and outer with size_t instead of int. Repleace %d and
512 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
513 "MAX (outer, nchars - 64)" to support unsigned outer and
514 nchars. Also exit loop when outer == 0.
516 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
518 * include/fcntl.h (__fcntl_nocancel): Remove definition.
519 * include/signal.h (__sigsuspend_nocancel): Likewise.
520 * include/time.h (__nanosleep_nocancel): Likewise.
521 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
522 * login/utmp_file.c: Include non cancellable syscall header.
523 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
526 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
528 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
529 .byte sequences with AVX512F instructions.
530 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
531 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
532 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
533 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
535 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
538 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
539 Steve Ellcey <sellcey@cavium.com>
541 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
542 Use PTR_REG macro in cmp instruction.
544 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
546 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
547 Change the return type of the ifunc resolver to match the return
548 type of the target function.
550 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
552 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
553 (preadv64): Likewise.
554 (pwrite64(: Likewise.
555 (pwritev64): Likewise.
557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
558 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
559 (LOAD_ARGS_0): Likewise.
560 (LOAD_ARGS_1): Likewise.
561 (LOAD_ARGS_2): Likewise.
562 (LOAD_ARGS_3): Likewise.
563 (LOAD_ARGS_4): Likewise.
564 (LOAD_ARGS_5): Likewise.
565 (LOAD_ARGS_6): Likewise.
566 (LOAD_REGS_0): Likewise.
567 (LOAD_REGS_1): Likewise.
568 (LOAD_REGS_2): Likewise.
569 (LOAD_REGS_3): Likewise.
570 (LOAD_REGS_4): Likewise.
571 (LOAD_REGS_5): Likewise.
572 (LOAD_REGS_6): Likewise.
573 (ASM_ARGS_0): Likewise.
574 (ASM_ARGS_1): Likewise.
575 (ASM_ARGS_2): Likewise.
576 (ASM_ARGS_3): Likewise.
577 (ASM_ARGS_4): Likewise.
578 (ASM_ARGS_5): Likewise.
579 (ASM_ARGS_6): Likewise.
580 (LOAD_ARGS_TYPES_1): Likewise.
581 (LOAD_ARGS_TYPES_2): Likewise.
582 (LOAD_ARGS_TYPES_3): Likewise.
583 (LOAD_ARGS_TYPES_4): Likewise.
584 (LOAD_ARGS_TYPES_5): Likewise.
585 (LOAD_ARGS_TYPES_6): Likewise.
586 (LOAD_REGS_TYPES_1): Likewise.
587 (LOAD_REGS_TYPES_2): Likewise.
588 (LOAD_REGS_TYPES_3): Likewise.
589 (LOAD_REGS_TYPES_4): Likewise.
590 (LOAD_REGS_TYPES_5): Likewise.
591 (LOAD_REGS_TYPES_6): Likewise.
592 (TYPEFY): New define.
594 (internal_syscall0): Likewise.
595 (internal_syscall1): Likewise.
596 (internal_syscall2): Likewise.
597 (internal_syscall3): Likewise.
598 (internal_syscall4): Likewise.
599 (internal_syscall5): Likewise.
600 (internal_syscall6): Likewise.
601 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
602 (INTERNAL_SYSCALL_NCS): Remove define.
603 (internal_syscall1): Add define.
605 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
607 * math/w_remainder_compat.c: Remove duplicate inclusion of
609 * math/w_remainderf_compat.c: Likewise.
610 * math/w_remainderl_compat.c: Likewise.
612 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
616 2017-08-22 Joseph Myers <joseph@codesourcery.com>
619 * math/tgmath.h (__floating_type): Simplify definitions.
620 (__real_integer_type): New macro.
621 (__complex_integer_type): Likewise.
622 (__expr_is_real): Likewise.
623 (__tgmath_real_type_sub): Update comment to describe handling of
625 (__tgmath_complex_type_sub): New macro.
626 (__tgmath_complex_type): Likewise.
627 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
628 (__TGMATH_CF128): Use __expr_is_real.
629 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
631 (__TGMATH_BINARY_REAL_IMAG): Likewise.
632 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
633 * math/gen-tgmath-tests.py (Type.create_type): Create complex
636 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
638 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
640 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
642 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
645 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
646 nanosleep_not_cancel with __nanosleep_nocancel.
647 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
648 (__nanosleep_nocancel): New macro.
649 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
651 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
653 (__nanosleep_nocancel): New prototype.
655 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
656 pause_not_cancel with __pause_nocancel.
657 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
658 (__pause_nocancel): New macro.
659 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
661 (__pause_nocancel): New prototype.
662 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
664 2017-08-22 Martin Sebor <msebor@redhat.com>
666 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
667 to return a pointer to the same type as the target function.
669 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
673 * include/printf.h (__printf_fphex): Add attribute_hidden.
674 (__guess_grouping): New prototype.
675 * stdio-common/printf_fp.c (__guess_grouping): Removed.
676 * stdio-common/reg-printf.c (__register_printf_specifier): Add
677 libc_hidden_proto and libc_hidden_def.
678 * stdlib/strfmon_l.c (__guess_grouping): Removed.
679 (__vstrfmon_l): Remove the third argument passed to
682 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
684 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
685 definition for issignaling that does not rely on __MATH_TG,
686 since __MATH_TG uses __builtin_types_compatible_p, which is only
688 (CFLAGS-test-math-issignaling.cc): New variable.
689 * math/Makefile [CXX] (tests): Add test-math-issignaling.
690 * math/test-math-issignaling.cc: New test for C++ implementation
691 of type-generic issignaling.
692 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
693 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
694 options of test-math-issignaling on powerpc64le.
696 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
698 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
700 (hidden_proto): Likewise.
701 (hidden_tls_proto): Likewise.
702 (__hidden_proto): Likewise.
704 2017-08-22 Florian Weimer <fweimer@redhat.com>
706 math: Statically link tests of internal functionality.
707 * math/Makefile (tests): Remove atest-exp, atest-sincos,
709 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
710 (gmp-objs): Remove assignment.
711 (atest-exp, atest-sincos, atest-exp2): Remove targets.
713 2017-08-22 Joseph Myers <joseph@codesourcery.com>
716 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
718 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
720 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
723 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
724 variable definitions above inclusion of ../Rules.
726 2017-08-21 Joseph Myers <joseph@codesourcery.com>
728 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
729 case calling __builtin_unreachable.
731 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
733 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
735 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
736 (__waitpid_nocancel): New macro.
737 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
739 (__waitpid_nocancel): Replace macro with a function.
740 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
743 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
745 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
746 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
748 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
749 __writev_nocancel_nostatus.
750 (write_call_graph): Likewise.
751 (write_bb_counts): Likewise.
752 * resolv/herror.c (herror): Likewise.
753 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
755 (__writev_nocancel_nostatus): New macro.
756 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
758 (__writev_nocancel_nostatus): New function.
760 2017-08-21 Joseph Myers <joseph@codesourcery.com>
763 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
765 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
767 (hidden_proto): Likewise.
768 (hidden_tls_proto): Likewise.
769 (__hidden_proto): Likewise.
772 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
773 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
784 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
785 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
787 GLIBC_2.0 sqrtl symbol.
789 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
790 [__USE_MISC] (_LIB_VERSION): Likewise.
791 [__USE_MISC] (struct exception): Likewise.
792 [__USE_MISC] (matherr): Likewise.
793 [__USE_MISC] (DOMAIN): Likewise.
794 [__USE_MISC] (SING): Likewise.
795 [__USE_MISC] (OVERFLOW): Likewise.
796 [__USE_MISC] (UNDERFLOW): Likewise.
797 [__USE_MISC] (TLOSS): Likewise.
798 [__USE_MISC] (PLOSS): Likewise.
799 [__USE_MISC] (HUGE): Likewise.
800 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
801 * math/math-svid-compat.h: New file.
802 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
804 * include/math.h [!_ISOMAC] (__matherr): Remove.
805 * manual/arith.texi (FP Exceptions): Do not document matherr.
806 * math/Makefile (tests): Change test-matherr to test-matherr-3.
807 (tests-internal): New variable.
808 (install-lib): Do not add libieee.a.
809 (non-lib.a): Likewise.
810 (extra-objs): Do not add libieee.a and ieee-math.o.
811 (CPPFLAGS-s_lib_version.c): Remove variable.
812 ($(objpfx)libieee.a): Remove rule.
813 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
814 * math/ieee-math.c: Remove.
815 * math/libm-test-support.c (matherr): Remove.
816 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
817 and license notices. Include <math-svid-compat.h> and
819 (matherr): Undefine as macro. Use compat_symbol_reference.
820 (_LIB_VERSION): Likewise.
821 * math/test-matherr-2.c: New file.
822 * math/test-matherr-3.c: Likewise.
823 * sysdeps/generic/math_private.h (__kernel_standard): Remove
825 (__kernel_standard_f): Likewise.
826 (__kernel_standard_l): Likewise.
827 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
828 <math_private.h>. Include <math-svid-compat.h>.
829 (_LIB_VERSION): Undefine as macro.
830 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
831 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
832 [LIBM_SVID_COMPAT], use compat_symbol.
833 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
834 <math_private.h>. Include <math-svid-compat.h>.
835 (matherr): Undefine as macro.
836 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
838 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
839 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
840 compat_symbol_reference.
841 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
842 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
843 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
844 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
845 (MATHERR_D): Remove declaration.
846 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
847 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
848 [LIBM_BUILD] (pmatherrf): Likewise.
849 [LIBM_BUILD] (pmatherr): Likewise.
850 [LIBM_BUILD] (pmatherrl): Likewise.
853 (OVERFLOW): Likewise.
854 (UNDERFLOW): Likewise.
857 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
858 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
860 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
861 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
863 * math/lgamma-compat.h: Include <math-svid-compat.h>.
864 * math/w_acos_compat.c: Likewise.
865 * math/w_acosf_compat.c: Likewise.
866 * math/w_acosh_compat.c: Likewise.
867 * math/w_acoshf_compat.c: Likewise.
868 * math/w_acoshl_compat.c: Likewise.
869 * math/w_acosl_compat.c: Likewise.
870 * math/w_asin_compat.c: Likewise.
871 * math/w_asinf_compat.c: Likewise.
872 * math/w_asinl_compat.c: Likewise.
873 * math/w_atan2_compat.c: Likewise.
874 * math/w_atan2f_compat.c: Likewise.
875 * math/w_atan2l_compat.c: Likewise.
876 * math/w_atanh_compat.c: Likewise.
877 * math/w_atanhf_compat.c: Likewise.
878 * math/w_atanhl_compat.c: Likewise.
879 * math/w_cosh_compat.c: Likewise.
880 * math/w_coshf_compat.c: Likewise.
881 * math/w_coshl_compat.c: Likewise.
882 * math/w_exp10_compat.c: Likewise.
883 * math/w_exp10f_compat.c: Likewise.
884 * math/w_exp10l_compat.c: Likewise.
885 * math/w_exp2_compat.c: Likewise.
886 * math/w_exp2f_compat.c: Likewise.
887 * math/w_exp2l_compat.c: Likewise.
888 * math/w_fmod_compat.c: Likewise.
889 * math/w_fmodf_compat.c: Likewise.
890 * math/w_fmodl_compat.c: Likewise.
891 * math/w_hypot_compat.c: Likewise.
892 * math/w_hypotf_compat.c: Likewise.
893 * math/w_hypotl_compat.c: Likewise.
894 * math/w_j0_compat.c: Likewise.
895 * math/w_j0f_compat.c: Likewise.
896 * math/w_j0l_compat.c: Likewise.
897 * math/w_j1_compat.c: Likewise.
898 * math/w_j1f_compat.c: Likewise.
899 * math/w_j1l_compat.c: Likewise.
900 * math/w_jn_compat.c: Likewise.
901 * math/w_jnf_compat.c: Likewise.
902 * math/w_jnl_compat.c: Likewise.
903 * math/w_lgamma_main.c: Likewise.
904 * math/w_lgamma_r_compat.c: Likewise.
905 * math/w_lgammaf_main.c: Likewise.
906 * math/w_lgammaf_r_compat.c: Likewise.
907 * math/w_lgammal_main.c: Likewise.
908 * math/w_lgammal_r_compat.c: Likewise.
909 * math/w_log10_compat.c: Likewise.
910 * math/w_log10f_compat.c: Likewise.
911 * math/w_log10l_compat.c: Likewise.
912 * math/w_log2_compat.c: Likewise.
913 * math/w_log2f_compat.c: Likewise.
914 * math/w_log2l_compat.c: Likewise.
915 * math/w_log_compat.c: Likewise.
916 * math/w_logf_compat.c: Likewise.
917 * math/w_logl_compat.c: Likewise.
918 * math/w_pow_compat.c: Likewise.
919 * math/w_powf_compat.c: Likewise.
920 * math/w_powl_compat.c: Likewise.
921 * math/w_remainder_compat.c: Likewise.
922 * math/w_remainderf_compat.c: Likewise.
923 * math/w_remainderl_compat.c: Likewise.
924 * math/w_scalb_compat.c: Likewise.
925 * math/w_scalbf_compat.c: Likewise.
926 * math/w_scalbl_compat.c: Likewise.
927 * math/w_sinh_compat.c: Likewise.
928 * math/w_sinhf_compat.c: Likewise.
929 * math/w_sinhl_compat.c: Likewise.
930 * math/w_sqrt_compat.c: Likewise.
931 * math/w_sqrtf_compat.c: Likewise.
932 * math/w_sqrtl_compat.c: Likewise.
933 * math/w_tgamma_compat.c: Likewise.
934 * math/w_tgammaf_compat.c: Likewise.
935 * math/w_tgammal_compat.c: Likewise.
936 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
937 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
938 * sysdeps/ieee754/k_standard.c: Likewise.
939 * sysdeps/ieee754/k_standardf.c: Likewise.
940 * sysdeps/ieee754/k_standardl.c: Likewise.
941 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
942 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
943 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
945 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
946 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
947 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
948 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
949 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
954 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
956 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
957 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
959 2017-08-21 Florian Weimer <fweimer@redhat.com>
962 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
963 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
964 Move before inclusion of ../Rules.
966 2017-08-21 Florian Weimer <fweimer@redhat.com>
969 * assert/assert.h (assert): Use static_cast (bool) for C++.
970 Use the ternary operator in the warning branch for GNU C.
971 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
972 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
973 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
974 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
975 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
977 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
980 * sysdeps/unix/sysv/linux/x86_64/init-first.c
981 (__syscall_clock_gettime): Add attribute_hidden.
982 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
983 (__start_context): Likewise.
985 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
987 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
989 (hidden_proto): Likewise.
990 (hidden_tls_proto): Likewise.
991 (__hidden_proto): Likewise.
993 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
995 * include/libc-symbols.h (attribute_hidden): Enable hidden
996 visibility in libc.a compiled with PIE.
998 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1001 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
1002 Add attribute_hidden.
1004 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1007 * Makerules (all-nonlib): Add $(others-extras).
1008 * catgets/Makefile (others-extras): New.
1009 * elf/Makefile (others-extras): Likewise.
1010 * nss/Makefile (others-extras): Likewise.
1012 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1015 * csu/libc-start.c (__libc_multiple_libcs): Removed.
1016 * elf/dl-open.c: Include <libc-internal.h>.
1017 (__libc_multiple_libcs): Removed.
1018 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
1020 * include/libc-internal.h (__libc_multiple_libcs): New.
1021 * misc/sbrk.c: Include <libc-internal.h>.
1022 (__libc_multiple_libcs): Removed.
1024 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1027 * grp/initgroups.c (__nss_group_database): Removed.
1028 (__nss_initgroups_database): Likewise.
1029 * nscd/gai.c (__nss_hosts_database): Likewise.
1030 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1031 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
1032 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
1033 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
1034 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
1035 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
1037 * nss/nsswitch.c (__nss_database_custom): Define only if
1038 USE_NSCD is defined.
1039 (__nss_configure_lookup): Use __nss_database_custom only if
1040 USE_NSCD is defined.
1041 * nss/nsswitch.h (__nss_database_custom): Declare only if
1042 USE_NSCD is defined. Add attribute_hidden.
1043 (__nss_setent): Add attribute_hidden.
1044 (__nss_endent): Likewise.
1045 (__nss_getent_r): Likewise.
1046 (__nss_getent): Likewise.
1047 (DEFINE_DATABASE): Declare __nss_##arg##_database.
1049 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1052 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
1053 libc_hidden_proto and libc_hidden_def.
1055 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1058 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
1059 Add libc_hidden_proto.
1060 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
1061 Add libc_hidden_def.
1063 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1066 * gmon/Makefile (routines): Remove bb_init_func and
1068 (elide-routines.os): Removed.
1069 * gmon/bb_exit_func.c: Likewise.
1070 * gmon/bb_init_func.c: Likewise.
1071 * include/sys/gmon.h (__bb): Likewise.
1072 (__bb_init_func): Likewise.
1073 (__bb_exit_func): Likewise.
1074 * sysdeps/alpha/bb_init_func.S: Likewise.
1076 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1078 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
1079 * include/setjmp.h (____longjmp_chk): Here. Add
1082 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
1085 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
1087 (__strspn_sse2): Likewise.
1089 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1091 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
1092 (close_not_cancel_no_status): Likewise.
1093 (__close_nocancel): New macro.
1094 (__close_nocancel_nostatus): Likewise.
1095 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
1097 (close_not_cancel): Likewise.
1098 (close_not_cancel_no_status): Likewise.
1099 (__close_nocancel): New prototype.
1100 (__close_nocancel_nostatus): New function.
1101 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
1102 * catgets/open_catalog.c (__open_catalog): Replace
1103 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
1104 * gmon/gmon.c (write_gmon): Likewise.
1105 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1106 * intl/loadmsgcat.c (close): Likewise.
1107 * io/ftw.c (open_dir_stream): Likewise.
1108 (ftw_startup): Likewise.
1109 * libio/fileops.c (_IO_file_open): Likewise.
1110 (_IO_file_close_mmap): Likewise.
1111 (_IO_file_close): Likewise.
1112 * libio/iopopen.c (_IO_dup2): Likewise.
1113 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1114 * locale/loadlocale.c (_nl_load_locale): Likewise.
1115 * login/utmp_file.c (pututline_file): Likewise.
1116 (endutent_file): Likewise.
1117 * misc/daemon.c (daemon): Likewise.
1118 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1119 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1120 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1121 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1122 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1123 * nscd/nscd_helper.c (open_socket): Likewise.
1124 (__nscd_open_socket): Likewise.
1125 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1126 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
1127 (__nscd_innetgr): Likewise.
1128 * nss/nss_db/db-open.c (internal_setent): Likewise.
1129 * resolv/res-close.c (__res_iclose): Likewise.
1130 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1131 * sysdeps/posix/closedir.c (__closedir): Likewise.
1132 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1133 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1134 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
1135 (opendir_tail): Likewise.
1136 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1137 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
1138 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1139 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1140 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1141 (gethostid): Likewise.
1142 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1143 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1146 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
1147 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1148 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1150 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
1151 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
1152 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1154 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
1155 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1157 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1159 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1161 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1164 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
1165 (openat_not_cancel_3): Likewise.
1166 (openat64_not_cancel_3): Likewise).
1167 (openat_not_cancel_3): Likewise).
1168 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
1170 (openat_not_cancel_3): Likewise.
1171 (openat64_not_cancel): Likewise.
1172 (openat64_not_cancel_3): Likewise.
1173 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
1174 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
1175 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
1176 __open{64}_nocancel.
1177 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1178 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1179 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1181 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1184 * include/argz.h (__argz_create_sep): New function prototype.
1185 (__argz_append): Likewise.
1186 (__argz_add): Likewise.
1187 (__argz_add_sep): Likewise.
1188 (__argz_delete): Likewise.
1189 (__argz_insert): Likewise.
1190 (__argz_replace): Likewise.
1191 * string/argz.h (__argz_create_sep): Removed.
1192 (__argz_append): Likewise.
1193 (__argz_add): Likewise.
1194 (__argz_add_sep): Likewise.
1195 (__argz_delete): Likewise.
1196 (__argz_insert): Likewise.
1197 (__argz_replace): Likewise.
1199 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1201 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
1202 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
1203 (GNU_PROPERTY_STACK_SIZE): Likewie.
1204 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
1205 (GNU_PROPERTY_LOPROC): Likewise.
1206 (GNU_PROPERTY_HIPROC): Likewise.
1207 (GNU_PROPERTY_LOUSER): Likewise.
1208 (GNU_PROPERTY_HIUSER): Likewise.
1209 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
1210 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
1211 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
1212 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
1213 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
1214 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
1215 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
1216 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
1217 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
1218 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
1219 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
1220 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
1221 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
1222 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
1223 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
1224 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
1225 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
1226 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
1227 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
1228 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
1229 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
1230 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
1231 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
1233 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1235 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
1238 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1241 * math/math.h (isinf): Check if in C or C++ mode before using
1242 __builtin_types_compatible_p, since this is a C mode feature.
1244 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1246 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
1247 (__write_nocancel): New macro.
1248 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
1249 Rewrite as a function prototype.
1250 (write_not_cancel): Remove macro.
1251 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
1252 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
1253 (write_gmon): Likewise.
1254 * libio/fileops.c (_IO_new_file_write): Likewise.
1255 * login/utmp_file.c (pututline_file): Likewise.
1256 (updwtmp_file): Likewise.
1257 * stdio-common/psiginfo.c (psiginfo): Likewise.
1258 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1259 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1260 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1262 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1265 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
1266 (__read_nocancel): New macro.
1267 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1269 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
1271 (__read_nocancel): New prototype.
1272 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
1273 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
1274 with __read_nocancel.
1275 * intl/loadmsgcat.c (read): Likewise.
1276 * libio/fileops.c (_IO_file_read): Likewise.
1277 * locale/loadlocale.c (_nl_load_locale): Likewise.
1278 * login/utmp_file.c (getutent_r_file): Likewise.
1279 (internal_getut_r): Likewise.
1280 (getutline_r_file): Likewise.
1281 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
1282 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1283 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1286 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
1287 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1288 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1290 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1292 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1294 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1296 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1298 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1301 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
1302 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
1305 2017-08-17 DJ Delorie <dj@redhat.com>
1307 * bug17079.c: Update to new test harness.
1308 * test-digits-dots.c: Likewise.
1309 * test-netdb.c: Likewise.
1310 * tst-field.c: Likewise.
1311 * tst-nss-getpwent.c: Likewise.
1312 * tst-nss-static.c: Likewise.
1313 * tst-nss-test1.c: Likewise.
1314 * tst-nss-test2.c: Likewise.
1315 * tst-nss-test3.c: Likewise.
1316 * tst-nss-test4.c: Likewise.
1317 * tst-nss-test5.c: Likewise.
1319 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1321 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
1322 (open_not_cancel_2): Likewise.
1323 (open_nocancel): New macro.
1324 (open64_nocancel): Likewise.
1325 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
1326 (open_not_cancel_2): Likewise.
1327 (__open_nocancel): New prototype.
1328 (__open64_nocancel): Likewise.
1329 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1331 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
1332 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
1333 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
1334 with __open_nocancel.
1335 * csu/check_fds.c (check_one_fd): Likewise.
1336 * gmon/gmon.c (write_gmon): Likewise.
1337 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
1338 * intl/loadmsgcat.c (open): Likewise.
1339 * libio/fileops.c (_IO_file_open): Likewise.
1340 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1341 * locale/loadlocale.c (_nl_load_locale): Likewise.
1342 * login/utmp_file.c (setutent_file): Likewise.
1343 * misc/daemon.c (daemon): Likewise.
1344 * nss/nss_db/db-open.c (internal_setent): Likewise.
1345 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1346 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
1347 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
1348 (__opendir): Likewise.
1349 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1350 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
1351 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1352 (gethostid): Likewise.
1353 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1356 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1357 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
1358 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1359 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1361 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1363 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1365 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1367 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1369 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1371 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1372 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1374 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
1376 * benchtests/bench-skeleton.c (main): Add support for
1377 latency benchmarking.
1378 * benchtests/scripts/bench.py: Add support for latency benchmarking.
1380 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
1382 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
1385 2017-08-17 Florian Weimer <fweimer@redhat.com>
1387 * include/sys/socket.h (__opensock): Remove internal_function.
1388 * socket/opensock.c (__opensock): Likewise.
1389 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
1391 2017-08-16 Joseph Myers <joseph@codesourcery.com>
1394 * signal/bits/types/__sigval_t.h: New file.
1395 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
1396 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
1397 and define sigval_t using __sigval_t.
1398 * include/bits/types/__sigval_t.h: New file.
1399 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
1400 instead of <bits/types/__sigval_t.h>.
1401 (struct sigevent): Use __sigval_t instead of sigval_t.
1402 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
1403 instead of <bits/types/__sigval_t.h>.
1404 (siginfo_t): Use __sigval_t instead of sigval_t.
1405 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
1406 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
1407 (struct sigevent): Use __sigval_t instead of sigval_t.
1408 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
1409 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
1410 (siginfo_t): Use __sigval_t instead of sigval_t.
1411 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
1413 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1415 * NEWS: Remove "[Add new features here]" for 2.27.
1417 2017-08-16 Joseph Myers <joseph@codesourcery.com>
1419 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
1422 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1424 * NEWS: Mention x86-64 FMA optimization.
1426 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1429 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1431 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
1432 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
1433 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
1435 2017-08-16 Andreas Schwab <schwab@suse.de>
1439 * elf/ldd.bash.in: Never run file directly.
1441 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
1444 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
1445 (L(SP_INF_0)): Likewise.
1447 2017-08-15 Florian Weimer <fweimer@redhat.com>
1449 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
1452 2017-08-15 Florian Weimer <fweimer@redhat.com>
1454 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
1455 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
1456 BROKEN_THREAD_SIGNALS code.
1457 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
1458 request_list): Remove caller_pid member used for
1459 BROKEN_THREAD_SIGNALS.
1460 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
1461 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1462 Remove BROKEN_THREAD_SIGNALS support.
1463 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1464 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
1466 2017-08-15 Florian Weimer <fweimer@redhat.com>
1468 * gmon/Makefile (tests): Add tst-gmon.
1469 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
1471 (tests-special): Add tst-gmon-prof.out.
1472 (tst-gmon.out): Depend on clean-tst-gmon-data.
1473 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
1474 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
1475 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
1477 * aclocal.m4 (GPROF): Set and substitute.
1478 * config.amke.in (GPROF): Set.
1479 * configure: Regenerate.
1481 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
1483 * elf/elf.h A (NT_PPC_TAR): New macro.
1484 (NT_PPC_PPR): Likewise.
1485 (NT_PPC_DSCR): Likewise.
1486 (NT_PPC_EBB): Likewise.
1487 (NT_PPC_PMU): Likewise.
1488 (NT_PPC_TM_CGPR): Likewise.
1489 (NT_PPC_TM_CFPR): Likewise.
1490 (NT_PPC_TM_CVMX): Likewise.
1491 (NT_PPC_TM_CVSX): Likewise.
1492 (NT_PPC_TM_SPR): Likewise.
1493 (NT_PPC_TM_CTAR): Likewise.
1494 (NT_PPC_TM_CPPR): Likewise.
1495 (NT_PPC_TM_CDSCR): Likewise.
1497 2017-08-15 Florian Weimer <fweimer@redhat.com>
1499 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
1500 regparm (2) instead of internal_function.
1501 (_MCOUNT_DECL): Adjust.
1503 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1505 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
1506 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1508 2017-08-14 Joseph Myers <joseph@codesourcery.com>
1510 * conform/data/sys/wait.h-data (si_value): Do not expect for
1513 2017-08-14 Florian Weimer <fweimer@redhat.com>
1516 NSS: Create stubs for accidentally exported lookup functions.
1517 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
1519 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
1520 (ether_hostton): Call __nss_ethers_lookup2 instead.
1521 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
1522 (ether_ntohost): Call __nss_ethers_lookup2 instead.
1523 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
1524 (setup): Call __nss_netgroup_lookup2 instead.
1525 * nss/Makefile (routines): Add compat-lookup.
1526 * nss/Versions (GLIBC_2.27): Add symbol version.
1527 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
1528 (DB_COMPAT_FCT): Remove.
1529 * nss/compat-lookup.c: New file.
1530 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
1532 * nss/service-lookup.c (NO_COMPAT): Remove definition.
1533 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
1534 (netname2user): Call __nss_publickey_lookup2 instead.
1535 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
1536 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
1539 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1540 Sergei Trofimovich <slyfox@inbox.ru>
1543 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
1544 Rename to MMAP2_PAGE_UNIT.
1545 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
1546 __OFF_T_MATCHES_OFF64_T is not defined.
1547 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
1549 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
1550 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
1552 2017-08-14 Florian Weimer <fweimer@redhat.com>
1554 i386: Do not set internal_function.
1555 * config.h.in (USE_REGPARMS, internal_function): Remove.
1556 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
1557 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
1559 2017-08-14 Florian Weimer <fweimer@redhat.com>
1561 * elf/dl-init.c (_dl_init): Remove internal_function.
1562 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
1563 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
1565 2017-08-14 Florian Weimer <fweimer@redhat.com>
1567 * elf/rtld.c (_dl_start): Remove internal_function.
1568 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
1571 2017-08-14 Florian Weimer <fweimer@redhat.com>
1573 * elf/dl-fini.c (_dl_fini): Remove internal_function
1574 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1576 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
1578 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
1579 (bit_cpu_SHSTK): Likewise.
1580 (index_cpu_IBT): Likewise.
1581 (index_cpu_SHSTK): Likewise.
1582 (reg_IBT): Likewise.
1583 (reg_SHSTK): Likewise.
1584 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1585 Handle index_cpu_IBT and index_cpu_SHSTK.
1587 2017-08-14 Mike FABIAN <mfabian@redhat.com>
1590 * po/fr.po: Fix spelling mistake.
1592 2017-08-13 Florian Weimer <fweimer@redhat.com>
1594 * elf/dl-addr.c (_dl_addr): Remove internal_function.
1595 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
1596 (_dl_catch_error, _dl_receive_error): Likewise.
1597 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
1598 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
1599 (_dl_deallocate_tls): Likewise.
1600 * include/dlfcn.h (_dl_addr): Likewise.
1601 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
1602 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
1603 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
1606 2017-08-13 Florian Weimer <fweimer@redhat.com>
1608 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
1609 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
1611 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
1613 2017-08-13 Florian Weimer <fweimer@redhat.com>
1615 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
1617 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
1618 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
1619 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
1620 internal_function from _dl_make_stack_executable_hook member.
1621 (_dl_make_stack_executable): Remove internal_function.
1622 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
1624 * sysdeps/unix/sysv/linux/dl-execstack.c
1625 (_dl_make_stack_executable): Likewise.
1627 2017-08-13 Florian Weimer <fweimer@redhat.com>
1629 * sysdeps/unix/sysv/linux/netlinkaccess.h
1630 (__netlink_assert_response): Remove internal_function.
1631 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1632 (__netlink_assert_response): Likewise.
1634 2017-08-13 Florian Weimer <fweimer@redhat.com>
1636 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
1638 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
1640 2017-08-13 Florian Weimer <fweimer@redhat.com>
1642 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
1644 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
1645 * inet/netgroup.h (__internal_setnetgrent)
1646 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
1647 * inet/getnetgrent_r.c (__internal_setnetgrent)
1648 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
1649 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
1650 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
1651 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
1652 * nss/nsswitch.h (db_lookup_function): Likewise.
1654 2017-08-13 Florian Weimer <fweimer@redhat.com>
1656 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
1657 Remove internal_function.
1658 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
1659 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
1660 message argument on the stack.
1661 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
1664 2017-08-12 Mike FABIAN <mfabian@redhat.com>
1666 Adapt test case data to the changes in the thousands
1670 * localedata/tst-langinfo.sh: Adapt test case data.
1671 * stdlib/tst-strfmon_l.c: Likewise.
1672 * stdlib/tst-strtod4.c: Likewise.
1673 * stdlib/tst-strtod5i.c: Likewise.
1675 2017-08-11 Florian Weimer <fweimer@redhat.com>
1678 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
1679 Suppress pedantic warning resulting from statement expression.
1680 (__ASSERT_FUNCTION): Add missing __extension__.
1682 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1684 * benchtests/bench-memmove-large.c: Print output in JSON
1686 * benchtests/bench-memmove.c: Likewise.
1688 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
1689 * benchtests/bench-memchr.c (do_one_test): Likewise.
1690 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
1691 * benchtests/bench-memcpy.c (do_one_test): Likewise.
1692 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
1693 * benchtests/bench-memmove.c (do_one_test): Likewise.
1694 * benchtests/bench-memset-large.c (do_one_test): Likewise.
1695 * benchtests/bench-memset.c (do_one_test): Likewise.
1696 * benchtests/bench-string.h (test_init): Remove memsets.
1698 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
1701 (Computing the Width of an Integer Data Type): Rename section to
1702 "Width of an Integer Type". Remove inaccurate statement regarding
1703 lack of C language facilities for determining width of integer
1704 types, and reorder content to improve flow and context of
1707 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
1709 * lang.texi (va_copy): Change standard from ISO to C99.
1710 (__va_copy): Add standard and header annotation.
1711 Update description for clarity of origins and current use.
1713 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1716 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
1717 xssqrtqp requires operands to be in Vector Registers
1718 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
1719 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
1720 (__ieee754_sqrtf128): Likewise.
1722 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
1724 * sysdeps/aarch64/memcmp.S (memcmp):
1725 Rewrite of optimized memcmp.
1727 2017-08-10 Florian Weimer <fweimer@redhat.com>
1729 Introduce ld.so exceptions.
1730 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
1731 (_dl_exception_create, _dl_exception_create_format)
1732 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
1733 (_dl_catch_exception): Declare.
1734 (_dl_catch_error): Update comment.
1735 * elf/dl-error-skeleton.c (struct catch): Replace objname,
1736 errstring, malloced members with exception member.
1737 (_dl_out_of_memory): Remove.
1738 (fatal_error): New function, extracted from _dl_signal_error.
1739 (_dl_signal_exception, _dl_signal_cexception): New functions.
1740 (_dl_signal_error): Call _dl_exception_create to allocate an
1742 (_dl_catch_exception): New function, based on _dl_catch_error.
1743 (_dl_catch_error): Implement using _dl_catch_exception.
1744 * elf/dl-exception.c: New file.
1745 * elf/Makefile (dl-routines): Add dl-exception.
1746 (elide-routines.os): Likewise.
1747 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
1748 _dl_exception_create_format, _dl_exception_free.
1749 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
1750 _dl_signal_exception.
1751 * elf/dl-lookup.c (make_string): Remove.
1752 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
1753 _dl_signal_cexception, _dl_exception_free.
1754 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
1755 _dl_signal_exception.
1756 * elf/dl-sym.c (do_sym): Likewise.
1757 * elf/dl-version.c (make_string): Remove.
1758 (match_symbol): Use _dl_exception_create_format,
1759 _dl_signal_cexception, _dl_exception_free.
1760 (_dl_check_map_versions): Likewise.
1761 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
1762 _dl_catch_exception.
1763 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1764 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1765 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1766 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1767 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1768 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1769 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1770 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1772 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1779 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1780 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1783 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1785 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1787 2017-08-10 Florian Weimer <fweimer@redhat.com>
1789 * inet/net-internal.h (__inet6_scopeid_pton): Remove
1790 attribute_hidden, internal_function.
1791 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
1794 2017-08-10 Florian Weimer <fweimer@redhat.com>
1796 * malloc/malloc.c (get_max_fast): Reimplement as an inline
1797 function which calls __builtin_unreachable.
1799 2017-08-10 Mike FABIAN <mfabian@redhat.com>
1801 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
1802 Indian monetary formatting
1803 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
1806 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
1808 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
1809 Fix typo in comment.
1812 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
1813 PTRACE_SEIZE_DEVEL): Remove.
1814 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
1815 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1820 2017-08-09 Joseph Myers <joseph@codesourcery.com>
1822 * posix/bits/types.h (__qaddr_t): Remove.
1825 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
1826 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1828 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
1829 (ucontext_t): Use __ctx with uc_flags.
1830 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
1832 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1834 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
1835 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1837 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
1838 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1840 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
1842 (ucontext_t): Use __ctx with uc_flags.
1843 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
1844 (ucontext_t): Use __ctx with uc_flags.
1845 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
1846 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
1847 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
1848 (ucontext_t): Use __ctx with uc_flags.
1849 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
1850 undefine further down.
1851 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1853 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
1854 undefine further down.
1855 (ucontext_t): Use __ctx with uc_flags.
1856 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
1857 undefine further down.
1858 (ucontext_t): Use __ctx with uc_flags.
1859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
1860 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
1861 Rename uc_pad to __glibc_reserved1.
1862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
1863 undefine further down.
1864 (ucontext_t): Use __ctx with uc_flags.
1865 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
1867 (ucontext_t): Use __ctx with uc_flags.
1868 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
1869 __ctx with uc_flags.
1870 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
1871 (ucontext_t): Use __ctx with uc_flags.
1872 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
1873 __ctx with uc_flags.
1875 2017-08-09 Florian Weimer <fweimer@redhat.com>
1878 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
1879 before early return.
1881 2017-08-09 Andreas Schwab <schwab@suse.de>
1884 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
1888 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
1889 tst-compat-forwarder.
1890 (modules-names): Add tst-compat-forwarder-mod.
1891 ($(objpfx)tst-compat-forwarder): Depend on
1892 $(objpfx)tst-compat-forwarder-mod.so.
1893 * nptl/tst-compat-forwarder.c: New file.
1894 * nptl/tst-compat-forwarder-mod.c: New file.
1896 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
1898 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
1901 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
1902 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1904 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
1906 (__libc_ifunc_impl_list): Add __memcpy_falkor.
1907 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1908 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
1909 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1911 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
1914 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1917 * manual/setjmp.texi (getcontex): Document uc_stack value
1918 compatibility differences.
1920 2017-08-08 Joseph Myers <joseph@codesourcery.com>
1922 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
1923 (old_malloc_hook): Likewise.
1924 (old_memalign_hook): Likewise.
1925 (old_realloc_hook): Likewise.
1926 (struct hdr): Likewise.
1928 (freehook): Likewise.
1929 (mallochook): Likewise.
1930 (memalignhook): Likewise.
1931 (reallochook): Likewise.
1933 * malloc/mtrace.c (mallwatch): Likewise.
1934 (tr_old_free_hook): Likewise.
1935 (tr_old_malloc_hook): Likewise.
1936 (tr_old_realloc_hook): Likewise.
1937 (tr_old_memalign_hook): Likewise.
1938 (tr_where): Likewise.
1939 (lock_and_info): Likewise.
1940 (tr_freehook): Likewise.
1941 (tr_mallochook): Likewise.
1942 (tr_reallochook): Likewise.
1943 (tr_memalignhook): Likewise.
1944 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
1945 * misc/mmap.c (__mmap): Likewise.
1946 * misc/mmap64.c (__mmap64): Likewise.
1947 * misc/mprotect.c (__mprotect): Likewise.
1948 * misc/msync.c (msync): Likewise.
1949 * misc/munmap.c (__munmap): Likewise.
1950 * posix/posix_madvise.c (posix_madvise): Likewise.
1951 * socket/send.c (__send): Likewise.
1952 * socket/sendto.c (__sendto): Likewise.
1953 * socket/setsockopt.c (__setsockopt): Likewise.
1954 * string/memcmp.c (__ptr_t): Remove macro.
1955 (MEMCMP): Use void * instead of ptr_t.
1956 * string/memrchr.c (__ptr_t): Remove macro.
1957 (__memrchr): Use void * instead of ptr_t.
1958 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
1959 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1960 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
1961 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
1962 * sysdeps/mach/msync.c (msync): Likewise.
1963 * sysdeps/mach/munmap.c (__munmap): Likewise.
1964 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
1966 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1967 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
1968 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
1969 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
1970 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1971 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1972 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
1973 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
1975 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1976 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
1977 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
1978 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
1979 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
1980 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
1981 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
1982 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
1983 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
1985 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
1986 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
1987 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
1988 (MEMCMP): Use void * instead of ptr_t.
1989 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
1990 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1992 2017-08-08 Florian Weimer <fweimer@redhat.com>
1994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
1997 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
2000 * csu/libc-tls.c: Include <startup.h> first.
2001 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
2002 * elf/dl-tunables.c: Include <startup.h> first.
2003 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
2004 * sysdeps/generic/startup.h: New file.
2005 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
2006 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
2007 (I386_USE_SYSENTER): New. Defined to 0.
2009 2017-08-08 Andreas Schwab <schwab@suse.de>
2012 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
2013 * nptl/pt-system.c (system): Likewise.
2015 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2018 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
2020 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
2021 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
2022 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
2023 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
2024 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2025 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2026 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2028 2017-08-07 Joseph Myers <joseph@codesourcery.com>
2031 * bits/sigaction.h (struct sigaction): Define sa_handler and
2032 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
2033 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2034 [__USE_XOPEN_EXTENDED].
2035 (SA_RESTART): Likewise.
2036 (SA_NODEFER): Likewise.
2037 (SA_RESETHAND): Likewise.
2038 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
2039 (struct sigaction): Define sa_handler and sa_sigaction using union
2040 also for [__USE_XOPEN_EXTENDED].
2041 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2042 [__USE_XOPEN_EXTENDED].
2043 (SA_RESTART): Likewise.
2044 (SA_NODEFER): Likewise.
2045 (SA_RESETHAND): Likewise.
2046 * sysdeps/unix/sysv/linux/bits/sigaction.h
2047 (struct sigaction): Define sa_handler and sa_sigaction using union
2048 also for [__USE_XOPEN_EXTENDED].
2049 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2050 [__USE_XOPEN_EXTENDED].
2051 (SA_RESTART): Likewise.
2052 (SA_NODEFER): Likewise.
2053 (SA_RESETHAND): Likewise.
2054 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
2055 (struct sigaction): Define sa_handler and sa_sigaction using union
2056 also for [__USE_XOPEN_EXTENDED].
2057 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2058 [__USE_XOPEN_EXTENDED].
2059 (SA_RESTART): Likewise.
2060 (SA_NODEFER): Likewise.
2061 (SA_RESETHAND): Likewise.
2062 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
2063 (struct sigaction): Define sa_handler and sa_sigaction using union
2064 also for [__USE_XOPEN_EXTENDED].
2065 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2066 [__USE_XOPEN_EXTENDED].
2067 (SA_RESTART): Likewise.
2068 (SA_NODEFER): Likewise.
2069 (SA_RESETHAND): Likewise.
2070 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2071 (struct sigaction): Define sa_handler and sa_sigaction using union
2072 also for [__USE_XOPEN_EXTENDED].
2073 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2074 [__USE_XOPEN_EXTENDED].
2075 (SA_RESTART): Likewise.
2076 (SA_NODEFER): Likewise.
2077 (SA_RESETHAND): Likewise.
2078 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2079 (struct sigaction): Define sa_handler and sa_sigaction using union
2080 also for [__USE_XOPEN_EXTENDED].
2081 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2082 [__USE_XOPEN_EXTENDED].
2083 (SA_RESTART): Likewise.
2084 (SA_NODEFER): Likewise.
2085 (SA_RESETHAND): Likewise.
2086 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2087 (struct sigaction): Define sa_handler and sa_sigaction using union
2088 also for [__USE_XOPEN_EXTENDED].
2089 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2090 [__USE_XOPEN_EXTENDED].
2091 (SA_RESTART): Likewise.
2092 (SA_NODEFER): Likewise. Define directly rather than as alias.
2093 (SA_RESETHAND): Likewise.
2094 (SA_INTERRUPT): Define only for [__USE_MISC].
2095 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
2096 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
2098 (SA_STACK): Define only for [__USE_MISC].
2099 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
2100 (struct sigaction): Define sa_handler and sa_sigaction using union
2101 also for [__USE_XOPEN_EXTENDED].
2102 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2103 [__USE_XOPEN_EXTENDED].
2104 (SA_RESTART): Likewise.
2105 (SA_NODEFER): Likewise.
2106 (SA_RESETHAND): Likewise.
2107 (SA_NOPTRACE): Define only for [__USE_MISC].
2109 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
2110 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
2111 (struct catalog_info): Likewise.
2112 * inet/htontest.c (lo): Likewise.
2114 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2115 * inet/inet_net.c (inet_network): Likewise.
2116 * inet/inet_netof.c (inet_netof): Likewise.
2117 * inet/rcmd.c (__ivaliduser): Likewise.
2118 (iruserok): Likewise.
2119 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
2120 * locale/programs/locale-spec.c (locale_special): Likewise.
2121 * nis/nis_findserv.c (struct findserv_req): Likewise.
2122 (__nis_findfastest_with_timeout): Likewise.
2123 * nss/test-netdb.c (test_network): Likewise.
2124 * resolv/inet_neta.c (inet_neta): Likewise.
2125 * resolv/ns_date.c (ns_datetosecs): Likewise.
2126 (SECS_PER_DAY): Likewise.
2127 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
2129 * resolv/res_comp.c (__putlong): Likewise.
2130 (__putshort): Likewise.
2131 (_getlong): Likewise.
2132 (_getshort): Likewise.
2133 * resolv/res_debug.c (p_time): Likewise.
2134 (precsize_ntoa): Likewise.
2135 (precsize_aton): Likewise.
2136 (latlon2ul): Likewise.
2137 (loc_aton): Likewise.
2138 (loc_ntoa): Likewise.
2139 * resolv/res_hconf.c (struct netaddr): Likewise.
2140 (_res_hconf_reorder_addrs): Likewise.
2141 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2142 (clnttcp_control): Likewise.
2143 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2144 (clntudp_control): Likewise.
2145 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2146 (clntunix_control): Likewise.
2147 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2148 * sunrpc/rpc/auth.h (union des_block): Likewise.
2149 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
2150 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
2151 (xdrrec_create): Likewise.
2152 (xdrrec_endofrecord): Likewise.
2153 (flush_out): Likewise.
2154 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
2155 (xdrstdio_putlong): Likewise.
2156 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
2159 * misc/sys/cdefs.h (__long_double_t): Remove.
2160 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
2161 instead of __long_double_t,
2162 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
2164 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2166 * benchtests/scripts/compare_strings.py: Avoid display error when
2167 running on a text terminal.
2169 * benchtests/scripts/compare_strings.py (main): Add an
2170 optional -base option.
2171 (process_results): New argument base_func.
2173 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
2175 * benchtests/bench-memcpy-large.c (test_name): Likewise.
2176 * benchtests/bench-memcpy-random.c (test_name): Likewise.
2178 2017-08-07 Andreas Schwab <schwab@suse.de>
2180 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
2181 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2182 * intl/Makefile ($(objpfx)tst-gettext.out)
2183 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
2184 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
2185 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2186 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2187 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
2188 * posix/Makefile ($(objpfx)globtest.out)
2189 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
2190 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
2191 ($(objpfx)tst-printf.out): Likewise.
2192 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
2193 ($(objpfx)tst-setcontext3.out): Likewise.
2195 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
2197 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2198 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
2199 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
2200 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
2201 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
2203 (CFLAGS-doasin-fma.c): New.
2204 (CFLAGS-dosincos-fma.c): Likewise.
2205 (CFLAGS-e_asin-fma.c): Likewise.
2206 (CFLAGS-e_atan2-fma.c): Likewise.
2207 (CFLAGS-e_exp-fma.c): Likewise.
2208 (CFLAGS-e_log-fma.c): Likewise.
2209 (CFLAGS-e_pow-fma.c): Likewise.
2210 (CFLAGS-halfulp-fma.c): Likewise.
2211 (CFLAGS-mpa-fma.c): Likewise.
2212 (CFLAGS-mpatan-fma.c): Likewise.
2213 (CFLAGS-mpatan2-fma.c): Likewise.
2214 (CFLAGS-mpexp-fma.c): Likewise.
2215 (CFLAGS-mplog-fma.c): Likewise.
2216 (CFLAGS-mpsqrt-fma.c): Likewise.
2217 (CFLAGS-mptan-fma.c): Likewise.
2218 (CFLAGS-s_atan-fma.c): Likewise.
2219 (CFLAGS-sincos32-fma.c): Likewise.
2220 (CFLAGS-slowexp-fma.c): Likewise.
2221 (CFLAGS-slowpow-fma.c): Likewise.
2222 (CFLAGS-s_sin-fma.c): Likewise.
2223 (CFLAGS-s_tan-fma.c): Likewise.
2224 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
2225 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
2226 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
2227 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
2228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
2229 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
2230 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
2231 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
2232 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
2233 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
2234 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
2235 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
2236 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
2237 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
2238 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
2239 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
2240 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
2241 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
2242 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
2243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
2244 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
2245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
2246 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
2247 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
2248 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2251 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2256 2017-08-04 Joseph Myers <joseph@codesourcery.com>
2258 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
2259 (min_of_type_f): New macro.
2260 (min_of_type_): Likewise.
2261 (min_of_type_l): Likewise.
2262 (min_of_type_f128): Likewise.
2263 (min_of_type): Define using __MATH_TG and taking an expression
2265 (math_check_force_underflow): Pass expression instead of type to
2267 (math_check_force_underflow_nonneg): Likewise.
2269 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2271 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2272 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
2273 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
2275 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2278 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
2279 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
2280 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
2281 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
2282 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
2283 memcpy_chk-nonshared, mempcpy_chk-nonshared,
2284 memmove_chk-nonshared and memset_chk-nonshared
2285 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
2286 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
2287 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
2288 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
2289 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
2290 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
2291 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
2292 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
2293 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
2294 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
2295 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
2296 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
2298 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
2300 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
2302 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
2304 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
2306 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
2308 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
2310 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
2311 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
2312 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
2313 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
2314 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
2315 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
2318 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
2321 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
2323 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
2324 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
2325 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
2326 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
2327 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
2328 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
2329 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
2331 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
2332 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
2333 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
2334 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
2335 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
2336 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
2337 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
2338 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
2339 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
2340 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
2341 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
2342 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
2343 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
2344 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
2345 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
2346 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
2347 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
2348 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
2349 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
2350 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
2351 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
2352 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
2353 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
2354 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2355 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
2356 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2357 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2358 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2359 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2360 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2361 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2362 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2363 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2364 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2365 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2366 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2367 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2368 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2369 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2370 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2371 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2372 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2373 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2374 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2375 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2376 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2377 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2378 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2379 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2380 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2381 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2382 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2383 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2384 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2385 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2386 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2387 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2388 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2389 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2390 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2391 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2392 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2394 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2396 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
2397 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
2398 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
2399 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
2400 svml_d_log2_core-sse2, svml_d_log4_core-sse,
2401 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
2402 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
2403 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
2404 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
2405 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
2406 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
2407 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
2408 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
2409 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
2410 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
2411 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
2412 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
2413 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
2414 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
2415 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
2416 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
2417 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
2418 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
2419 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
2420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
2421 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
2422 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
2423 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
2424 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
2425 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
2426 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
2427 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
2428 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
2429 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
2430 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
2431 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
2432 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
2433 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
2434 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
2435 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
2436 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
2437 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
2438 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
2439 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
2440 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
2441 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
2442 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
2443 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
2444 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
2445 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
2446 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
2447 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
2448 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
2449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
2450 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
2451 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
2452 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
2453 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
2454 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
2456 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
2457 Don't include <sysdep.h> nor <init-arch.h>.
2458 (_ZGVbN2v_cos): Removed.
2459 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
2461 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
2462 Don't include <sysdep.h> nor <init-arch.h>.
2463 (_ZGVdN4v_cos): Removed.
2464 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
2466 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
2467 Don't include <sysdep.h> nor <init-arch.h>.
2468 (_ZGVeN8v_cos): Removed.
2469 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
2471 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
2472 Don't include <sysdep.h> nor <init-arch.h>.
2473 (_ZGVbN2v_exp): Removed.
2474 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
2476 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
2477 Don't include <sysdep.h> nor <init-arch.h>.
2478 (_ZGVdN4v_exp): Removed.
2479 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
2481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
2482 Don't include <sysdep.h> nor <init-arch.h>.
2483 (_ZGVeN8v_exp): Removed.
2484 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
2486 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
2487 Don't include <sysdep.h> nor <init-arch.h>.
2488 (_ZGVbN2v_log): Removed.
2489 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
2491 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
2492 Don't include <sysdep.h> nor <init-arch.h>.
2493 (_ZGVdN4v_log): Removed.
2494 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
2496 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
2497 Don't include <sysdep.h> nor <init-arch.h>.
2498 (_ZGVeN8v_log): Removed.
2499 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
2501 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
2502 Don't include <sysdep.h> nor <init-arch.h>.
2503 (_ZGVbN2vv_pow): Removed.
2504 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
2506 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
2507 Don't include <sysdep.h> nor <init-arch.h>.
2508 (_ZGVdN4vv_pow): Removed.
2509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
2511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
2512 Don't include <sysdep.h> nor <init-arch.h>.
2513 (_ZGVeN8vv_pow): Removed.
2514 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
2516 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
2517 Don't include <sysdep.h> nor <init-arch.h>.
2518 (_ZGVbN2v_sin): Removed.
2519 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
2521 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
2522 Don't include <sysdep.h> nor <init-arch.h>.
2523 (_ZGVbN4v_sin): Removed.
2524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
2526 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
2527 Don't include <sysdep.h> nor <init-arch.h>.
2528 (_ZGVbN8v_sin): Removed.
2529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
2531 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
2532 Don't include <sysdep.h> nor <init-arch.h>.
2533 (_ZGVbN2vvv_sincos): Removed.
2534 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
2536 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
2537 Don't include <sysdep.h> nor <init-arch.h>.
2538 (_ZGVdN4vvv_sincos): Removed.
2539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
2541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
2542 Don't include <sysdep.h> nor <init-arch.h>.
2543 (_ZGVeN8vvv_sincos): Removed.
2544 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
2546 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
2547 Don't include <sysdep.h> nor <init-arch.h>.
2548 (_ZGVeN16v_cosf): Removed.
2549 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
2551 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
2552 Don't include <sysdep.h> nor <init-arch.h>.
2553 (_ZGVbN4v_cosf): Removed.
2554 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
2556 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
2557 Don't include <sysdep.h> nor <init-arch.h>.
2558 (_ZGVdN8v_cosf): Removed.
2559 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
2561 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
2562 Don't include <sysdep.h> nor <init-arch.h>.
2563 (_ZGVeN16v_expf): Removed.
2564 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
2566 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
2567 Don't include <sysdep.h> nor <init-arch.h>.
2568 (_ZGVbN4v_expf): Removed.
2569 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
2571 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
2572 Don't include <sysdep.h> nor <init-arch.h>.
2573 (_ZGVdN8v_expf): Removed.
2574 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
2576 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
2577 Don't include <sysdep.h> nor <init-arch.h>.
2578 (_ZGVeN16v_logf): Removed.
2579 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
2581 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
2582 Don't include <sysdep.h> nor <init-arch.h>.
2583 (_ZGVbN4v_logf): Removed.
2584 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
2586 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
2587 Don't include <sysdep.h> nor <init-arch.h>.
2588 (_ZGVdN8v_logf): Removed.
2589 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
2591 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
2592 Don't include <sysdep.h> nor <init-arch.h>.
2593 (_ZGVeN16vv_powf): Removed.
2594 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
2596 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
2597 Don't include <sysdep.h> nor <init-arch.h>.
2598 (_ZGVbN4vv_powf): Removed.
2599 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
2601 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
2602 Don't include <sysdep.h> nor <init-arch.h>.
2603 (_ZGVdN8vv_powf): Removed.
2604 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
2606 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
2607 Don't include <sysdep.h> nor <init-arch.h>.
2608 (_ZGVeN16vvv_sincosf): Removed.
2609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
2611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
2612 Don't include <sysdep.h> nor <init-arch.h>.
2613 (_ZGVbN4vvv_sincosf): Removed.
2614 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
2616 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
2617 Don't include <sysdep.h> nor <init-arch.h>.
2618 (_ZGVdN8vvv_sincosf): Removed.
2619 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
2621 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
2622 Don't include <sysdep.h> nor <init-arch.h>.
2623 (_ZGVeN16v_sinf): Removed.
2624 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
2626 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
2627 Don't include <sysdep.h> nor <init-arch.h>.
2628 (_ZGVbN4v_sinf): Removed.
2629 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
2631 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
2632 Don't include <sysdep.h> nor <init-arch.h>.
2633 (_ZGVdN8v_sinf): Removed.
2635 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2637 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2638 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
2639 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
2640 s_rint-sse4_1 and s_rintf-sse4_1.
2641 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
2642 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
2643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
2644 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
2645 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
2646 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
2647 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
2648 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
2649 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
2650 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
2651 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
2652 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2654 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
2655 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
2656 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2658 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
2659 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
2660 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2662 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
2663 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
2664 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2665 (__floorf): Removed.
2666 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
2667 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
2668 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2669 (__nearbyint): Removed.
2670 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
2671 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
2672 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2673 (__nearbyintf): Removed.
2674 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
2675 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
2676 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2678 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
2679 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
2680 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2683 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2685 * sysdeps/i386/start.S (_start): Check Check PIC instead of
2686 SHARED. Avoid dynamic relocation against main in static PIE.
2688 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2691 * elf/Makefile (CFLAGS-tst-prelink.c): New.
2692 (LDFLAGS-tst-prelink): Likewise.
2694 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2696 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
2697 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
2698 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
2699 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2700 (INTERNAL_SYSCALL_NCS): Likewise.
2701 (LOADARGS_1): Likewise.
2702 (LOADARGS_5): Likewise.
2703 (RESTOREARGS_1): Likewise.
2704 (RESTOREARGS_5): Likewise.
2706 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2708 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
2709 (MEMPCPY_SYMBOL): Likewise.
2710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2711 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
2712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
2714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2715 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2717 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
2718 (__hidden_ver1): Don't use in libc.a.
2719 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2720 (__mempcpy): Don't create a weak alias in libc.a.
2721 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
2723 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
2724 (__hidden_ver1): Don't use in libc.a.
2726 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2728 * config.make.in (have-insert): New.
2729 * configure.ac (libc_cv_insert): New. Set to yes if linker
2730 supports INSERT in linker script.
2731 (AC_SUBST(libc_cv_insert): New.
2732 * configure: Regenerated.
2733 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
2734 if $(have-insert) == yes.
2736 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2738 * elf/Makefile (tests): Add vismain only if
2739 $(have-protected-data) == yes.
2740 (tests-pie): Likewise.
2742 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2745 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2746 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
2748 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2751 * sysdeps/i386/i586/memset.S
2752 (__memset_zero_constant_len_parameter): Removed.
2753 * sysdeps/i386/i686/memset.S
2754 (__memset_zero_constant_len_parameter): Likewise.
2755 * sysdeps/i386/i686/multiarch/memset_chk.S
2756 (__memset_zero_constant_len_parameter): Likewise.
2757 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
2760 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
2762 * stdlib/getentropy.c (getentropy): Change return type to int.
2764 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
2766 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2768 2017-08-03 Joseph Myers <joseph@codesourcery.com>
2770 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
2772 * math/s_nexttowardf.c (__nexttowardf): Likewise.
2773 * sysdeps/generic/math_private.h (ieee_double_shape_type):
2775 (ieee_float_shape_type): Likewise.
2776 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
2777 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
2778 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2779 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2780 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2781 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
2782 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
2783 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2784 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2786 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2787 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2788 (__ieee754_yn): Likewise.
2789 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2790 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2791 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
2793 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2794 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
2795 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
2796 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
2798 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2799 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
2800 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
2801 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
2802 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
2803 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
2805 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
2806 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
2807 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
2808 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
2809 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2810 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
2811 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
2812 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
2813 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
2814 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2815 (__issignaling): Likewise.
2816 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
2817 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
2818 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2820 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2821 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2822 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
2823 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
2825 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
2827 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
2828 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
2829 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
2830 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2831 (__erfcf): Likewise.
2832 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2833 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
2834 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
2835 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
2837 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
2838 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
2840 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
2841 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
2842 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
2843 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
2844 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
2845 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2846 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
2847 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
2849 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
2851 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2853 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
2854 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2856 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2858 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2859 (__ieee754_ynl): Likewise.
2860 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2861 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
2863 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
2865 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2866 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
2867 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2869 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2870 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
2871 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
2872 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
2873 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
2874 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
2875 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
2876 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
2878 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2879 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
2880 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
2882 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
2883 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
2884 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
2885 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2886 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
2887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2889 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2895 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
2896 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2897 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2898 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
2899 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2900 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
2901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
2903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2906 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2909 (__ieee754_remainderl): Likewise.
2910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2911 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2912 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2915 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2918 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2919 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
2920 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2921 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
2922 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2923 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2925 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2926 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
2927 (__ieee754_y0l): Likewise.
2930 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2931 (__ieee754_y1l): Likewise.
2934 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2935 (__ieee754_ynl): Likewise.
2936 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
2937 (__ieee754_lgammal_r): Likewise.
2938 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
2940 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
2941 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
2942 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
2943 (__erfcl): Likewise.
2944 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2945 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
2947 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
2948 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
2949 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2950 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
2951 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
2952 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2953 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2955 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
2956 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2957 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
2958 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
2959 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2961 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
2962 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
2964 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
2965 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
2966 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
2967 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2968 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
2970 2017-08-03 Florian Weimer <fweimer@redhat.com>
2973 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
2974 on memory allocation failure.
2976 2017-08-03 Alan Modra <amodra@gmail.com>
2978 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
2979 tst-tlsopt-powerpc.c with function name change and no test harness.
2980 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
2981 Call tls_get_addr_opt_test.
2982 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
2983 (modules-names): Add mod-tlsopt-powerpc.
2984 (mod-tlsopt-powerpc.so-no-z-defs): Define.
2985 (tst-tlsopt-powerpc): Depend on .so.
2986 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
2987 define. Expand use in TLS_GD and TLS_LD.
2989 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2991 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
2993 * sysdeps/posix/shm_open.c: Include <pthread.h>.
2995 2017-08-02 Joseph Myers <joseph@codesourcery.com>
2998 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
2999 comparing size with that of double.
3000 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3001 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3002 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3003 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3004 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3005 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
3006 unsigned __int128 types.
3008 2017-08-02 Steve Ellcey <sellcey@cavium.com>
3010 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
3011 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
3012 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
3013 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
3014 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
3016 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3018 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
3020 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3022 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
3024 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3027 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3030 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3032 2017-08-02 Joseph Myers <joseph@codesourcery.com>
3035 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
3036 bit-field expressions passed to sizeof or typeof.
3037 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3038 (__TGMATH_F128): Likewise.
3039 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3040 (__TGMATH_CF128): Likewise.
3041 (__TGMATH_UNARY_REAL_ONLY): Likewise.
3042 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
3043 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
3044 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
3045 (__TGMATH_BINARY_REAL_ONLY): Likewise.
3046 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3047 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3048 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3049 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3050 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
3051 (__TGMATH_UNARY_REAL_IMAG): Likewise.
3052 (__TGMATH_UNARY_IMAG): Likewise.
3053 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
3054 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3055 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
3057 (define_vars_for_type): Handle bit_field type specially.
3058 (Tests.__init__): Declare structure with bit-field element.
3060 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3063 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
3064 (MEMCPY_CHK): Define only if SHARED is defined.
3065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
3067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
3070 See ChangeLog.18 for earlier changes.