1 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
5 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
8 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
9 [__cplusplus >= 201103] (__USE_ISOC99): Define.
10 * math/Makefile (test-math-cxx11): New test.
11 * math/test-math-cxx11.cc: New file.
13 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
15 * login/openpty.c (openpty): Close slave pty file descriptor on error.
17 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
18 call to allocate the slave pty file descriptor.
20 2017-10-06 Joseph Myers <joseph@codesourcery.com>
22 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23 [!__fma] (fma): Define using libm_alias_double.
24 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25 [!__fma] (fma): Define using libm_alias_double.
27 * sysdeps/ieee754/float128/float128_private.h: Include
28 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29 (libm_alias_ldouble_r): Undefine and redefine.
30 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31 <libm-alias-ldouble.h>.
32 (asinhl): Define using libm_alias_ldouble.
33 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
34 <libm-alias-ldouble.h>.
35 (atanl): Define using libm_alias_ldouble.
36 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
37 <libm-alias-ldouble.h>.
38 (cbrtl): Define using libm_alias_ldouble.
39 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
40 <libm-alias-ldouble.h>.
41 (ceill): Define using libm_alias_ldouble.
42 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
43 <libm-alias-ldouble.h>.
44 (copysignl): Define using libm_alias_ldouble.
45 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
46 <libm-alias-ldouble.h>.
47 (cosl): Define using libm_alias_ldouble.
48 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
49 <libm-alias-ldouble.h>.
50 (erfl): Define using libm_alias_ldouble.
52 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
53 <libm-alias-ldouble.h>.
54 (expm1l): Define using libm_alias_ldouble.
55 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
56 <libm-alias-ldouble.h>.
57 (fabsl): Define using libm_alias_ldouble.
58 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
59 <libm-alias-ldouble.h>.
60 (floorl): Define using libm_alias_ldouble.
61 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
62 <libm-alias-ldouble.h>.
63 (fmal): Define using libm_alias_ldouble.
64 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
65 <libm-alias-ldouble.h>.
66 (frexpl): Define using libm_alias_ldouble.
67 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
69 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
70 <libm-alias-ldouble.h>.
71 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
73 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
74 <libm-alias-ldouble.h>.
75 (getpayloadl): Define using libm_alias_ldouble.
76 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
77 <libm-alias-ldouble.h>.
78 (llrintl): Define using libm_alias_ldouble.
79 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
80 <libm-alias-ldouble.h>.
81 (llroundl): Define using libm_alias_ldouble.
82 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
83 <libm-alias-ldouble.h>.
84 (logbl): Define using libm_alias_ldouble.
85 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
86 <libm-alias-ldouble.h>.
87 (lrintl): Define using libm_alias_ldouble.
88 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
89 <libm-alias-ldouble.h>.
90 (lroundl): Define using libm_alias_ldouble.
91 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
92 <libm-alias-ldouble.h>.
93 (modfl): Define using libm_alias_ldouble.
94 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
95 <libm-alias-ldouble.h>.
96 (nearbyintl): Define using libm_alias_ldouble.
97 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
98 <libm-alias-ldouble.h>.
99 (nextafterl): Define using libm_alias_ldouble.
100 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
101 <libm-alias-ldouble.h>.
102 (nextupl): Define using libm_alias_ldouble.
103 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
104 <libm-alias-ldouble.h>.
105 (remquol): Define using libm_alias_ldouble.
106 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
107 <libm-alias-ldouble.h>.
108 (rintl): Define using libm_alias_ldouble.
109 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
110 <libm-alias-ldouble.h>.
111 (roundevenl): Define using libm_alias_ldouble.
112 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
113 <libm-alias-ldouble.h>.
114 (roundl): Define using libm_alias_ldouble.
115 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
116 using libm_alias_ldouble.
117 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
118 <libm-alias-ldouble.h>.
119 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
120 Define using libm_alias_ldouble.
121 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
122 <libm-alias-ldouble.h>.
123 (sincosl): Define using libm_alias_ldouble.
124 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
125 <libm-alias-ldouble.h>.
126 (sinl): Define using libm_alias_ldouble.
127 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
128 <libm-alias-ldouble.h>.
129 (tanhl): Define using libm_alias_ldouble.
130 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
131 <libm-alias-ldouble.h>.
132 (tanl): Define using libm_alias_ldouble.
133 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
134 <libm-alias-ldouble.h>.
135 (totalorderl): Define using libm_alias_ldouble.
136 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
137 <libm-alias-ldouble.h>.
138 (totalordermagl): Define using libm_alias_ldouble.
139 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
140 <libm-alias-ldouble.h>.
141 (truncl): Define using libm_alias_ldouble.
142 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
144 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
146 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
147 <libm-alias-ldouble.h>.
148 (weak_alias): Do not undefine and redefine.
149 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
150 (copysignl): Define with long_double_symbol only if [IS_IN
152 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
153 <libm-alias-ldouble.h>.
154 (weak_alias): Do not undefine and redefine.
155 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
156 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
157 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
158 <libm-alias-ldouble.h>.
159 (weak_alias): Do not undefine and redefine.
160 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
161 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
162 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
163 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
164 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
165 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
166 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
167 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
168 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
169 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
170 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
171 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
172 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
173 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
174 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
175 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
176 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
177 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
178 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
179 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
180 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
181 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
182 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
183 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
184 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
185 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
187 2017-10-06 Carlos O'Donell <carlos@redhat.com>
190 * malloc/malloc.c (tcache_shutting_down): Use bool type.
191 (tcache_thread_freeres): Set tcache_shutting_down before
193 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
194 * malloc/tst-malloc-tcache-leak.c: New file.
196 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
198 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
199 back to powerpc32 file.
200 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
201 (memrchr): Add __memrchr_power8 to ifunc list.
202 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
203 extra bytes for unaligned inputs.
205 2017-10-06 Joseph Myers <joseph@codesourcery.com>
207 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
208 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
209 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
210 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
211 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
213 2017-10-05 Joseph Myers <joseph@codesourcery.com>
215 * sysdeps/arm/libm-test-ulps: Update.
217 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
218 <libm-alias-ldouble.h>.
219 (asinhl): Define using libm_alias_ldouble.
220 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
221 <libm-alias-ldouble.h>.
222 (cbrtl): Define using libm_alias_ldouble.
223 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
224 <libm-alias-ldouble.h>.
225 (copysignl): Define using libm_alias_ldouble.
226 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
227 <libm-alias-ldouble.h>.
228 (cosl): Define using libm_alias_ldouble.
229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
230 <libm-alias-ldouble.h>.
231 (erfl): Define using libm_alias_ldouble.
233 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
234 <libm-alias-ldouble.h>.
235 (fmal): Define using libm_alias_ldouble.
236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
237 <libm-alias-ldouble.h>.
238 (frexpl): Define using libm_alias_ldouble.
239 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
241 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
242 <libm-alias-ldouble.h>.
243 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
245 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
246 <libm-alias-ldouble.h>.
247 (getpayloadl): Define using libm_alias_ldouble.
248 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
249 <libm-alias-ldouble.h>.
250 (llrintl): Define using libm_alias_ldouble.
251 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
252 <libm-alias-ldouble.h>.
253 (llroundl): Define using libm_alias_ldouble.
254 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
255 <libm-alias-ldouble.h>.
256 (lrintl): Define using libm_alias_ldouble.
257 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
258 <libm-alias-ldouble.h>.
259 (lroundl): Define using libm_alias_ldouble.
260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
261 <libm-alias-ldouble.h>.
262 (modfl): Define using libm_alias_ldouble.
263 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
264 <libm-alias-ldouble.h>.
265 (nextupl): Define using libm_alias_ldouble.
266 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
267 <libm-alias-ldouble.h>.
268 (remquol): Define using libm_alias_ldouble.
269 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
270 <libm-alias-ldouble.h>.
271 (roundevenl): Define using libm_alias_ldouble.
272 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
273 <libm-alias-ldouble.h>.
274 (roundl): Define using libm_alias_ldouble.
275 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
276 using libm_alias_ldouble.
277 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
278 <libm-alias-ldouble.h>.
279 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
280 <libm-alias-ldouble.h>.
281 (setpayloadsigl): Define using libm_alias_ldouble.
282 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
283 <libm-alias-ldouble.h>.
284 (sincosl): Define using libm_alias_ldouble.
285 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
286 <libm-alias-ldouble.h>.
287 (sinl): Define using libm_alias_ldouble.
288 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
289 <libm-alias-ldouble.h>.
290 (tanhl): Define using libm_alias_ldouble.
291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
292 <libm-alias-ldouble.h>.
293 (tanl): Define using libm_alias_ldouble.
294 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
295 <libm-alias-ldouble.h>.
296 (totalorderl): Define using libm_alias_ldouble.
297 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
298 <libm-alias-ldouble.h>.
299 (totalordermagl): Define using libm_alias_ldouble.
300 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
302 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
305 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
307 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
309 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
310 (__libc_ifunc_impl_list): Likewise.
311 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
312 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
314 * benchtests/bench-memmove-walk.c: New file.
315 * benchtests/Makefile (string-benchset): Add it.
317 * benchtests/bench-memset-walk.c: New file.
318 * benchtests/Makefile (string-benchset): Add it.
320 * benchtests/bench-memcpy-walk.c: New file.
321 * benchtests/Makefile (string-benchset): Add it.
323 2017-10-05 Florian Weimer <fweimer@redhat.com>
325 nscd: Eliminate compilation time dependency in the build output.
326 * nscd/nscd_stat.c (STATDATA_VERSION)
327 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
328 (STATDATA_VERSION_FULL): New macro definitions.
329 (compilation): Remove.
330 (struct statdata): Adjust version member.
331 (send_stats): Set version from STATDATA_VERSION_FULL.
332 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
334 2017-10-05 Joseph Myers <joseph@codesourcery.com>
336 * configure.ac (--enable-add-ons): Remove option.
337 (machine): Do not mention add-ons in comment.
338 (LIBC_PRECONFIGURE): Likewise.
339 (add_ons): Remove variable and sanity checks and logic to locate
341 (add_ons_automatic): Remove variable.
342 (configured_add_ons): Likewise.
343 (add_ons_sfx): Likewise.
344 (add_ons_pfx): Likewise.
345 (add_on_subdirs): Likewise.
346 (sysnames_add_ons): Likewise. Remove loop over add-ons and
347 consideration of add-ons in Implies handling.
348 (sysdeps_add_ons): Likewise.
349 * configure: Regenerated.
350 * libidn/configure.ac: Remove.
351 * libidn/configure: Likewise.
352 * sysdeps/unix/inet/configure.ac: New file.
353 * sysdeps/unix/inet/configure: New generated file.
354 * sysdeps/unix/inet/Subdirs: Add libidn.
355 * Makeconfig (sysdeps-srcdirs): Remove variable.
356 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
357 ($(common-objpfx)config.status): Do not depend on add-on files.
358 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
360 (all-subdirs): Do not include $(add-on-subdirs).
361 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
362 * config.make.in (add-ons): Remove variable.
363 (add-on-subdirs): Likewise.
364 (sysdeps-add-ons): Likewise.
365 * manual/Makefile (add-chapters): Remove.
366 ($(objpfx)texis): Do not depend on $(add-chapters).
367 (nonexamples): Do not handle $(add-chapters).
368 (examples): Do not handle $(add-ons).
369 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
371 * manual/install.texi (Installation): Do not mention add-ons.
372 (--enable-add-ons): Do not document configure option.
373 * INSTALL: Regenerated.
374 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
375 * manual/maint.texi (Hierarchy Conventions): Do not mention
377 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
379 * scripts/gen-sorted.awk: Do not handle Subdirs files from
381 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
382 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
384 2017-10-05 Andreas Schwab <schwab@suse.de>
387 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
388 (_IO_flush_all_lockp): Always lock list_all_lock.
389 (_IO_flush_all_linebuffered): Likewise.
390 (_IO_unbuffer_all): Likewise.
392 2017-10-05 Florian Weimer <fweimer@redhat.com>
395 Do not flush stdio streams on abort.
396 * stdlib/abort.c (fflush): Remove macro definition.
397 (abort): Remove stages related to stdio flushing.
399 2017-10-05 Florian Weimer <fweimer@redhat.com>
401 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
403 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
405 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
407 2017-10-05 Florian Weimer <fweimer@redhat.com>
409 * support/support_format_hostent.c (support_format_hostent): Add
410 more error information for NETDB_INTERNAL.
412 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
414 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
415 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
416 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
417 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
418 AC_DEFINE if multi-arch is enabled.
419 * sysdeps/i386/configure: Regenerated.
421 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
423 * Makeconfig (+link-static-before-libc): Use
424 $(DEFAULT-LDFLAGS-$(@F)).
425 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
426 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
427 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
429 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
431 * elf/Makefile (tests): Add tst-main1.
432 (modules-names): Add tst-main1mod.
433 ($(objpfx)tst-main1): New.
434 (CRT-tst-main1): Likewise.
435 (LDFLAGS-tst-main1): Likewise.
436 (LDLIBS-tst-main1): Likewise.
437 (tst-main1mod.so-no-z-defs): Likewise.
438 * elf/tst-main1.c: New file.
439 * elf/tst-main1mod.c: Likewise.
441 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
443 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
445 2017-10-04 Joseph Myers <joseph@codesourcery.com>
447 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
448 (fma): Define using libm_alias_double.
449 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
450 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
452 (fmal): Do not define as compat symbol here.
453 * sysdeps/alpha/fpu/s_fma.c: New file.
455 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
457 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
459 2017-10-04 Joseph Myers <joseph@codesourcery.com>
462 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
464 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
466 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
467 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
468 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
469 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
471 Include <math_ldbl_opt.h>
472 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
474 (compat_symbol): Undefine and redefine.
475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
477 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
478 (compat_symbol): Undefine and redefine.
479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
480 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
481 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
483 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
484 GLIBC_2.0 copysignl symbol.
485 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
486 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
488 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
490 2017-10-04 Florian Weimer <fweimer@redhat.com>
492 * scripts/check-local-headers.sh: Ignore nspr4 header file
493 directory in addition to nspr.
495 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
498 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
499 * configure: Regenerate.
500 * crypt/Makefile (nss-cpp-flags): New variable.
501 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
502 (CPPFLAGS-md5-crypt.c): Use it.
503 * scripts/check-local-headers.sh: Ignore nspr header file
506 2017-10-04 Andreas Schwab <schwab@suse.de>
508 * nis/Makefile (services): Remove compat.
509 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
510 ($(objpfx)libnss_compat.so): Remove rule.
511 * nis/Versions (libnss_compat): Remove.
512 * nss/Makefile (services): Add compat.
513 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
514 * nss/Versions (libnss_compat): Define.
515 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
516 Don't include <rpc/types.h>. Replace bool_t by bool.
517 * nss/nss_compat/compat-initgroups.c: Likewise.
518 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
519 instead of <rpcsrv/ypclnt.h>.
520 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
521 yp_get_default_domain.
522 * nss/nss_compat/compat-pwd.c: Likewise.
523 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
524 yp_get_default_domain.
525 * nss/nss_compat/nisdomain.c: New file.
526 * nss/nss_compat/nisdomain.h: Likewise.
528 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
532 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
534 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
537 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
538 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
540 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
542 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
543 "movl main@GOTOFF(%ebx), %eax".
545 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
547 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
548 allow undefined _DYNAMIC in PIE libc.a.
549 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
552 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
554 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
557 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
559 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
562 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
564 * math/test-math-iscanonical.cc (error): Replace bool with int.
566 2017-10-03 Joseph Myers <joseph@codesourcery.com>
568 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
569 (modf): Define using libm_alias_double, only if [!__modf].
570 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
571 <libm-alias-double.h>.
572 (modf): Define using libm_alias_double, only if [!__modf].
573 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
576 (weak_alias): Do not undefine and redefine.
577 (strong_alias): Likewise.
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
579 (weak_alias): Likewise.
580 (strong_alias): Likewise.
582 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
583 (logb): Define using libm_alias_double, only if [!__logb].
584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
585 <libm-alias-double.h>.
586 (logb): Define using libm_alias_double, only if [!__logb].
587 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
589 (weak_alias): Do not undefine and redefine.
590 (strong_alias): Likewise.
591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
592 (weak_alias): Likewise.
593 (strong_alias): Likewise.
595 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
597 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
598 Check SHARED instead PIC.
600 2017-10-03 Joseph Myers <joseph@codesourcery.com>
602 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
603 [!__fmaf] (fmaf): Define using libm_alias_float.
605 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
606 (frexp): Define using libm_alias_double.
607 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
608 <libm-alias-double.h>.
609 (frexp): Define using libm_alias_double.
610 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
613 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
616 * math/math.h: Trivial fix for unbalanced parentheses in comment.
617 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
618 (CFLAGS-test-math-iscanonical.cc): New variable.
619 * math/test-math-iscanonical.cc: New file.
620 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
621 Provide a C++ implementation based on function overloading,
622 rather than using __MATH_TG, which uses C-only builtins.
623 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
625 * sysdeps/powerpc/powerpc64le/Makefile
626 (CFLAGS-test-math-iscanonical.cc): New variable.
628 2017-10-03 Joseph Myers <joseph@codesourcery.com>
630 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
631 (ceil): Define using libm_alias_double.
632 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
633 (floor): Define using libm_alias_double.
634 * sysdeps/ieee754/dbl-64/s_llround.c: Include
635 <libm-alias-double.h>.
636 (llround): Define using libm_alias_double.
637 * sysdeps/ieee754/dbl-64/s_lround.c: Include
638 <libm-alias-double.h>.
639 (lround): Define using libm_alias_double.
640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
641 <libm-alias-double.h>.
642 (nearbyint): Define using libm_alias_double.
643 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
644 <libm-alias-double.h>.
645 (remquo): Define using libm_alias_double.
646 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
647 (rint): Define using libm_alias_double.
648 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
649 (round): Define using libm_alias_double.
650 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
651 (trunc): Define using libm_alias_double.
652 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
653 <libm-alias-double.h>.
654 (ceil): Define using libm_alias_double.
655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
656 <libm-alias-double.h>.
657 (floor): Define using libm_alias_double.
658 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
659 <libm-alias-double.h>.
660 (llround): Define using libm_alias_double.
661 [_LP64] (lround): Likewise.
662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
663 <libm-alias-double.h>.
664 [!_LP64] (lround): Define using libm_alias_double.
665 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
666 <libm-alias-double.h>.
667 (nearbyint): Define using libm_alias_double.
668 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
669 <libm-alias-double.h>.
670 (remquo): Define using libm_alias_double.
671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
672 <libm-alias-double.h>.
673 (rint): Define using libm_alias_double.
674 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
675 <libm-alias-double.h>.
676 (round): Define using libm_alias_double.
677 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
678 <libm-alias-double.h>.
679 (trunc): Define using libm_alias_double.
680 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
681 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
682 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
683 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
684 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
685 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
686 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
687 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
688 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
690 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
692 * math/w_remainder.c: New file.
693 * math/w_remainderf.c: New file.
694 * math/w_remainderl.c: New file.
696 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
698 * elf/rtld.c (BOOTSTRAP_MAP): New.
699 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
700 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
702 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
704 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
707 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
709 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
710 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
711 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
712 rtld_hidden_data_ver): Define to empty.
713 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
714 __assert_perror_fail): Likewise.
715 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
716 (__rewinddir): Likewise.
717 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
718 (__profile_frequency): Likewise.
719 * include/setjmp.h (__sigsetjmp): Likewise.
720 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
721 __libc_sigaction): Likewise.
722 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
723 not set hidden attribute.
724 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
725 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
726 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
727 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
728 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
729 __fxstatat64): Likewise.
730 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
732 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
733 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
734 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
735 (NO_RTLD_HIDDEN): Set.
736 * sysdeps/mach/hurd/configure: Refresh.
737 * config.h.in: Refresh.
739 2017-10-02 Joseph Myers <joseph@codesourcery.com>
741 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
742 (atan): Define using libm_alias_double.
743 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
744 (tan): Define using libm_alias_double.
745 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
746 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
748 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
749 define as weak alias of __atan. Do not define any aliases if
751 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
752 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
754 as weak alias of __tan. Do not define any aliases if [__tan].
755 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
756 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
757 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
759 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
760 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
761 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
762 and define as weak alias of __atan.
763 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
767 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
768 define as weak alias of __tan.
770 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
772 * math/w_lgamma.c: New file.
773 * math/w_lgammaf.c: New file.
774 * math/w_lgammal.c: New file.
776 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
778 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
779 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
780 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
781 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
782 * sysdeps/ieee754/flt-32/w_logf.c: New file.
783 * sysdeps/ieee754/flt-32/w_powf.c: New file.
784 * sysdeps/i386/fpu/w_log2f.c: New file.
785 * sysdeps/i386/fpu/w_logf.c: New file.
786 * sysdeps/i386/fpu/w_powf.c: New file.
787 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
788 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
789 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
791 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
792 H.J. Lu <hongjiu.lu@intel.com>
794 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
795 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
796 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
797 * sysdeps/ieee754/flt-32/w_expf.c: New file.
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
800 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
801 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
802 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
803 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
804 * sysdeps/i386/fpu/w_exp2f.c: New file.
805 * sysdeps/i386/fpu/w_expf.c: New file.
806 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
807 * sysdeps/x86_64/fpu/w_expf.c: New file.
809 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
811 * math/Versions (logf): New libm symbol at GLIBC_2.27.
814 * math/w_log2f.c: New file.
815 * math/w_logf.c: New file.
816 * math/w_powf.c: New file.
817 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
818 * math/w_logf_compat.c (__logf_compat): Likewise.
819 * math/w_powf_compat.c (__powf_compat): Likewise.
820 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
821 * sysdeps/ia64/fpu/e_logf.S: Likewise.
822 * sysdeps/ia64/fpu/e_powf.S: Likewise.
823 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
824 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
825 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
826 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
827 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
828 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
829 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
830 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
831 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
832 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
833 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
834 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
844 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
845 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
852 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
853 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
854 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
856 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
858 * sysdeps/powerpc/powerpc64/multiarch/Makefile
859 (sysdep_routines): Add memrchr_power8.
860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
861 (memrchr): Add __memrchr_power8 to list of memrchr functions.
862 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
864 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
865 (memrchr): Add __memrchr_power8 to ifunc list.
866 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
871 * sysdeps/unix/sysv/linux/posix_fadvise64.c
872 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
874 * sysdeps/unix/sysv/linux/posix_fallocate64.c
875 (__posix_fallocate64_l64): Likewise.
877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
880 * sysdeps/unix/sysv/linux/sched_setaffinity.c
881 (__sched_setaffinity_new): Add libc_hidden_proto and
884 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
887 * include/glob.h (__glob64): Add libc_hidden_proto.
888 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
894 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
900 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
905 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
911 * csu/version.c (__libc_print_version): Add attribute_hidden.
913 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
916 * include/libc-internal.h (__init_misc): Add attribute_hidden.
918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
921 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
926 * nscd/nscd_helper.c (__nis_hash): New prototype.
928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
931 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
932 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
934 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
935 * termios/tcgetattr.c (__tcgetattr): Likewise.
937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
940 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
941 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
942 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
943 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
944 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
949 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
954 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
955 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
960 * intl/hash-string.h (__hash_string): Add attribute_hidden.
962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
965 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
966 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
971 * include/ifreq.h: New file.
972 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
974 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
980 * include/idna.h: New file.
981 * inet/getnameinfo.c: Include <idna.h> instead of
983 (__idna_to_unicode_lzlz): Removed.
984 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
986 (__idna_to_ascii_lz): Removed.
987 (__idna_to_unicode_lzlz): Likewise.
989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
992 * include/plural-exp.h: New file.
993 * intl/plural-exp.c: Include <plural-exp.h> instead of
996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
999 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1000 "getsourcefilter.h".
1001 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1002 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1003 "getsourcefilter.h".
1004 (__get_sol): Removed.
1006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1009 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1011 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1016 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1022 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1024 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1027 * include/search.h (__tdestroy): Add libc_hidden_proto.
1028 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1033 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1035 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1038 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1044 * include/signal.h (__kill): Add libc_hidden_proto.
1045 (__sigblock): Likewise.
1046 (__sigprocmask): Likewise.
1047 (__sigaltstack): Likewise.
1048 * signal/kill.c (__kill): Add libc_hidden_def.
1049 * signal/sigblock.c (__sigblock): Likewise.
1050 * signal/sigprocmask.c (__sigprocmask): Likewise.
1051 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1052 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1053 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1054 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1055 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1057 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1059 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1060 (__sigprocmask): Likewise.
1061 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1063 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1064 (__sigprocmask): Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1068 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1071 * include/string.h (__strsep): Add libc_hidden_proto.
1072 * string/strsep.c (__strsep): Add libc_hidden_def.
1074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1077 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1079 (__spawni): Likewise.
1081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1084 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1085 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1091 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1096 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1097 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1098 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1099 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1100 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1102 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1103 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1108 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1109 (__dcigettext): Likewise.
1111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1114 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1116 (__get_nprocs): Likewise.
1117 (__get_phys_pages): Likewise.
1118 (__get_avphys_pages): Likewise.
1119 (__get_child_max): Add attribute_hidden.
1120 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1121 (__get_nprocs): Likewise.
1122 (__get_phys_pages): Likewise.
1123 (__get_avphys_pages): Likewise.
1124 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1126 (__get_nprocs): Likewise.
1127 (__get_phys_pages): Likewise.
1128 (__get_avphys_pages): Likewise.
1129 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1131 (__get_nprocs_conf): Likewise.
1132 (__get_phys_pages): Likewise.
1133 (__get_avphys_pages): Likewise.
1135 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1138 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1140 (__netlink_close): Likewise.
1141 (__netlink_free_handle): Likewise.
1142 (__netlink_request): Likewise.
1144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1147 * include/rpc/rpc.h (__rpc_thread_variables): Add
1149 (__rpc_thread_svc_cleanup): Likewise.
1150 (__rpc_thread_clnt_cleanup): Likewise.
1151 (__rpc_thread_key_cleanup): Likewise.
1153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1156 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1157 (__writev): Likewise.
1158 * misc/readv.c (__readv): Add libc_hidden_def.
1159 * misc/writev.c (__writev): Likewise.
1160 * sysdeps/posix/readv.c (__readv): Likewise.
1161 * sysdeps/posix/writev.c (__writev): Likewise.
1162 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1163 (__readv): Likewise.
1164 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1165 (__writev): Likewise.
1167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1170 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1171 (__regcomp): Add libc_hidden_proto.
1172 (__regexec): Likewise.
1173 (__regfree): Likewise.
1174 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1175 (__regfree): Likewise.
1176 * posix/regexec.c (__regexec): Likewise.
1178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1181 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1182 (__getutent): Likewise.
1183 (__getutid): Likewise.
1184 (__getutline): Likewise.
1185 (__pututline): Likewise.
1186 (__getutent_r): Likewise.
1187 (__getutid_r): Likewise.
1188 (__getutline_r): Likewise.
1189 (__utmpname): Add attribute_hidden.
1190 (__setutent): Likewise.
1191 (__endutent): Likewise.
1192 * login/getutent.c (__getutent): Add libc_hidden_def.
1193 * login/getutent_r.c (__getutent_r): Likewise.
1194 (__pututline): Likewise.
1195 * login/getutid.c (__getutid): Likewise.
1196 * login/getutid_r.c (__getutid_r): Likewise.
1197 * login/getutline.c (__getutline): Likewise.
1198 * login/getutline_r.c (__getutline_r): Likewise.
1199 * login/updwtmp.c (__updwtmp): Likewise.
1201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1204 * include/dirent.h (__opendir): Always add attribute_hidden.
1205 (__fdopendir): Likewise.
1206 (__closedir): Likewise.
1207 (__readdir): Likewise.
1208 (__readdir64): Add libc_hidden_proto.
1209 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1210 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1211 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1212 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1218 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1219 * include/netdb.h (__gethostbyaddr_r): Likewise.
1220 (__gethostbyname_r): Likewise.
1221 (__gethostbyname2_r): Likewise.
1222 (__getnetbyaddr_r): Likewise.
1223 (__getnetbyname_r): Likewise.
1224 (__getservbyname_r): Likewise.
1225 (__getservbyport_r): Likewise.
1226 (__getprotobyname_r): Likewise.
1227 (__getprotobynumber_r): Likewise.
1228 (__getnetgrent_r): Likewise.
1229 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1230 (__getrpcbynumber_r): Likewise.
1231 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1236 * include/stdio.h (__fcloseall): Add attribute_hidden.
1237 (__getline): Likewise.
1238 (__path_search): Likewise.
1239 (__gen_tempname): Likewise.
1240 (__libc_message): Likewise.
1241 (__flockfile): Likewise.
1242 (__funlockfile): Likewise.
1243 (__fxprintf): Likewise.
1244 (__fxprintf_nocancel): Likewise.
1246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1249 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1250 (__sgetsgent_r): Likewise.
1252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1255 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1256 (__statfs64): Likewise.
1257 (__fstatfs64): Likewise.
1258 * include/sys/statvfs.h (__statvfs64): Likewise.
1259 (__fstatvfs64): Likewise.
1260 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1261 (__statfs_filesize_max): Likewise.
1262 (__statfs_symlinks): Likewise.
1263 (__statfs_chown_restricted): Likewise.
1265 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1268 * include/time.h (__tzstring): Add attribute_hidden.
1269 (__tzfile_read): Likewise.
1270 (__tzfile_compute): Likewise.
1271 (__tzfile_default): Likewise.
1272 (__tzset_parse_tz): Likewise.
1273 (__offtime): Likewise.
1274 (__asctime_r): Likewise.
1275 (__tzset): Likewise.
1276 (__tz_convert): Likewise.
1277 (__getdate_r): Likewise.
1278 (__getclktck): Likewise.
1280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1283 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1284 (__nscd_unmap): Likewise.
1285 (__nscd_cache_search): Likewise.
1286 (__nscd_get_nl_timestamp): Likewise.
1287 (__nscd_getpwnam_r): Likewise.
1288 (__nscd_getpwuid_r): Likewise.
1289 (__nscd_getgrnam_r): Likewise.
1290 (__nscd_getgrgid_r): Likewise.
1291 (__nscd_gethostbyname_r): Likewise.
1292 (__nscd_gethostbyname2_r): Likewise.
1293 (__nscd_gethostbyaddr_r): Likewise.
1294 (__nscd_getai): Likewise.
1295 (__nscd_getgrouplist): Likewise.
1296 (__nscd_getservbyname_r): Likewise.
1297 (__nscd_getservbyport_r): Likewise.
1298 (__nscd_innetgr): Likewise.
1299 (__nscd_setnetgrent): Likewise.
1301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1304 * include/gmp.h: Declare internal functions only if _ISOMAC is
1306 (__mpn_extract_double): Add attribute_hidden.
1307 (__mpn_extract_long_double): Likewise.
1308 (__mpn_extract_float128): Likewise.
1309 (__mpn_construct_float): Likewise.
1310 (__mpn_construct_double): Likewise.
1311 (__mpn_construct_long_double): Likewise.
1312 (__mpn_construct_float128): Likewise.
1313 (mpn_add_1): Likewise.
1314 (mpn_addmul_1): Likewise.
1315 (mpn_add_n): Likewise.
1316 (mpn_cmp): Likewise.
1317 (mpn_divrem): Likewise.
1318 (mpn_lshift): Likewise.
1319 (mpn_mul): Likewise.
1320 (mpn_mul_1): Likewise.
1321 (mpn_rshift): Likewise.
1322 (mpn_sub_1): Likewise.
1323 (mpn_submul_1): Likewise.
1324 (mpn_sub_n): Likewise.
1326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1329 * include/wchar.h (__wcsnlen): Add attribute_hidden.
1330 (__wcscat): Likewise.
1331 (__btowc): Likewise.
1332 (__wcrtomb): Likewise.
1333 (__mbsrtowcs): Likewise.
1334 (__wcsrtombs): Likewise.
1335 (__mbsnrtowcs): Likewise.
1336 (__wcsnrtombs): Likewise.
1337 (__wcsncpy): Likewise.
1338 (__wcpncpy): Likewise.
1339 (__wmemcpy): Likewise.
1340 (__wmempcpy): Likewise.
1341 (__wmemmove): Likewise.
1342 (__wcschrnul): Likewise.
1343 (__vfwscanf): Likewise.
1344 (__vswprintf): Likewise.
1345 (__fwprintf): Likewise.
1346 (__vfwprintf): Likewise.
1348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1351 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
1352 (__getgrgid_r): Likewise.
1353 (__getgrnam_r): Likewise.
1354 * include/pwd.h (__getpwuid_r): Likewise.
1355 (__getpwnam_r): Likewise.
1356 (__fgetpwent_r): Likewise.
1357 * include/shadow.h (__getspnam_r): Likewise.
1358 (__sgetspent_r): Likewise.
1359 (__fgetspent_r): Likewise.
1361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1364 * include/unistd.h (__access): Add attribute_hidden.
1365 (__lseek64): Likewise.
1366 (__libc_pread64): Likewise.
1367 (__pipe2): Likewise.
1368 (__sleep): Likewise.
1369 (__chdir): Likewise.
1370 (__fchdir): Likewise.
1371 (__getcwd): Likewise.
1372 (__rmdir): Likewise.
1373 (__execvpe): Likewise.
1374 (__execve): Likewise.
1375 (__setsid): Likewise.
1376 (__getuid): Likewise.
1377 (__geteuid): Likewise.
1378 (__getgid): Likewise.
1379 (__getegid): Likewise.
1380 (__getgroups): Likewise.
1381 (__group_member): Likewise.
1382 (__ttyname_r): Likewise.
1383 (__isatty): Likewise.
1384 (__readlink): Likewise.
1385 (__unlink): Likewise.
1386 (__gethostname): Likewise.
1387 (__profil): Likewise.
1388 (__getdtablesize): Likewise.
1390 (__ftruncate): Likewise.
1391 (__ftruncate64): Likewise.
1393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1396 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
1397 * argp/argp-fs-xinl.c: Likewise.
1398 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
1399 * argp/argp-parse.c: Include <argp.h>.
1400 * argp/argp-xinl.c: Likewise.
1401 * include/argp-fmtstream.h: New file.
1402 * include/argp.h (__argp_error): Add attribute_hidden.
1403 (__argp_failure): Likewise.
1404 (__argp_input): Likewise.
1405 (__argp_state_help): Likewise.
1407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1410 * include/wchar.h (____wcstof_l_internal): New prototype.
1411 (____wcstod_l_internal): Likewise.
1412 (____wcstold_l_internal): Likewise.
1413 (____wcstol_l_internal): Likewise.
1414 (____wcstoul_l_internal): Likewise.
1415 (____wcstoll_l_internal): Likewise.
1416 (____wcstoull_l_internal): Likewise.
1417 (____wcstof128_l_internal): Likewise.
1418 * sysdeps/ieee754/float128/wcstof128.c
1419 (____wcstof128_l_internal): Removed.
1420 * sysdeps/ieee754/float128/wcstof128_l.c
1421 (____wcstof128_l_internal): Likewise.
1422 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
1423 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
1424 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
1425 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
1426 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
1427 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
1428 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
1429 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
1430 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
1431 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
1433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1436 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
1437 instead of <sys/statvfs.h>.
1438 (__internal_statvfs): Removed.
1439 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
1440 instead of <sys/statvfs.h>.
1441 (__internal_statvfs64): Removed.
1442 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
1443 "internal_statvfs.h" instead of <sys/statvfs.h>.
1444 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
1445 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
1446 instead of <sys/statvfs.h>.
1447 (__internal_statvfs): Removed.
1448 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
1449 instead of <sys/statvfs.h>.
1450 (__internal_statvfs64): Removed.
1452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1455 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
1456 (__gconv_close): Likewise.
1457 (__gconv): Likewise.
1458 (__gconv_find_transform): Likewise.
1459 (__gconv_lookup_cache): Likewise.
1460 (__gconv_compare_alias_cache): Likewise.
1461 (__gconv_load_cache): Likewise.
1462 (__gconv_get_path): Likewise.
1463 (__gconv_close_transform): Likewise.
1464 (__gconv_release_cache): Likewise.
1465 (__gconv_find_shlib): Likewise.
1466 (__gconv_release_shlib): Likewise.
1467 (__gconv_get_builtin_trans): Likewise.
1468 (__gconv_compare_alias): Likewise.
1469 * include/dlfcn.h (_dlerror_run): Likewise.
1470 * include/stdio.h (__fortify_fail_abort): Likewise.
1471 * include/time.h (__tz_compute): Likewise.
1472 (__strptime_internal): Likewise.
1473 * intl/gettextP.h (_nl_find_domain): Likewise.
1474 (_nl_load_domain): Likewise.
1475 (_nl_find_msg): Likewise.
1476 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
1477 (EXTRACT_PLURAL_EXPRESSION): Likewise.
1478 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
1479 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
1480 (__gai_find_request): Likewise.
1481 (__gai_remove_request): Likewise.
1482 (__gai_notify): Likewise.
1483 (__gai_notify_only): Likewise.
1484 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1485 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1486 (_dl_non_dynamic_init): Likewise.
1487 (_dl_aux_init): Likewise.
1488 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
1489 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1491 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
1492 (__wcsmbs_clone_conv): Likewise.
1493 (__wcsmbs_named_conv): Likewise.
1495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1498 * include/stdlib.h (__random): Add attribute_hidden.
1499 (__random_r): Likewise.
1500 (__srandom_r): Likewise.
1501 (__initstate_r): Likewise.
1502 (__setstate_r): Likewise.
1503 (__erand48_r): Likewise.
1504 (__nrand48_r): Likewise.
1505 (__jrand48_r): Likewise.
1506 (__srand48_r): Likewise.
1507 (__seed48_r): Likewise.
1508 (__lcong48_r): Likewise.
1509 (__drand48_iterate): Likewise.
1510 (__setenv): Likewise.
1511 (__unsetenv): Likewise.
1512 (__clearenv): Likewise.
1513 (__ptsname_r): Likewise.
1514 (__posix_openpt): Likewise.
1515 (__add_to_environ): Likewise.
1516 (__realpath): Add libc_hidden_proto.
1517 (__ecvt_r): Likewise.
1518 (__fcvt_r): Likewise.
1519 (__qecvt_r): Likewise.
1520 (__qfcvt_r): Likewise.
1521 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
1522 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
1524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1527 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
1528 * include/time.h (__mktime_internal): Likewise.
1529 * libio/iolibio.h (__fopen_internal): Likewise.
1531 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
1533 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
1535 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
1536 Correct offset used to restore PIC register.
1538 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
1541 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
1542 code to load address of __getcontext_ret when generating PIC code.
1544 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
1546 * elf/Makefile (tests-static-internal): Add
1547 tst-tls1-static-non-pie.
1548 (LDFLAGS-tst-tls1-static-non-pie): New.
1549 * elf/tst-tls1-static-non-pie.c: New file.
1551 2017-09-29 Joseph Myers <joseph@codesourcery.com>
1553 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
1554 (asinh): Define using libm_alias_double.
1555 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
1556 (cbrt): Define using libm_alias_double.
1557 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
1558 <libm-alias-double.h>.
1559 (copysign): Define using libm_alias_double.
1560 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
1561 (erf): Define using libm_alias_double.
1563 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
1564 (expm1): Define using libm_alias_double.
1565 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
1566 (fabs): Define using libm_alias_double.
1567 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
1569 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
1570 <libm-alias-double.h>.
1571 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
1573 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
1574 <libm-alias-double.h>.
1575 (getpayload): Define using libm_alias_double.
1576 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
1577 <libm-alias-double.h>.
1578 (llrint): Define using libm_alias_double.
1579 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
1580 (lrint): Define using libm_alias_double.
1581 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
1582 <libm-alias-double.h>.
1583 (nextup): Define using libm_alias_double.
1584 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
1585 <libm-alias-double.h>.
1586 (roundeven): Define using libm_alias_double.
1587 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
1589 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
1590 <libm-alias-double.h>.
1591 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
1592 using libm_alias_double.
1593 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
1594 (cos): Define using libm_alias_double.
1596 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
1597 <libm-alias-double.h>.
1598 (sincos): Define using libm_alias_double.
1599 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
1600 (tanh): Define using libm_alias_double.
1601 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1602 <libm-alias-double.h>.
1603 (totalorder): Define using libm_alias_double.
1604 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1605 <libm-alias-double.h>.
1606 (totalordermag): Define using libm_alias_double.
1607 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
1609 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
1611 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
1612 <libm-alias-double.h>.
1613 (getpayload): Define using libm_alias_double.
1614 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
1615 <libm-alias-double.h>.
1616 (roundeven): Define using libm_alias_double.
1617 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
1618 <libm-alias-double.h>.
1619 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1620 <libm-alias-double.h>.
1621 (totalorder): Define using libm_alias_double.
1622 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1623 <libm-alias-double.h>.
1624 (totalordermag): Define using libm_alias_double.
1625 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
1626 libc compat symbol here.
1627 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
1628 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
1629 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
1630 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
1631 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
1632 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
1633 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
1634 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
1635 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
1636 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
1638 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1640 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
1641 _dl_relocate_static_pie instead of _dl_start to compute load
1642 address in static PIE. Return 0 if _DYNAMIC is undefined for
1645 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1647 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
1648 _DYNAMIC is undefined for static executable.
1650 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1652 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
1654 2017-09-29 Joseph Myers <joseph@codesourcery.com>
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1658 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
1660 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1661 (__ieee754_lgamma_r): Use fabs rather than __fabs.
1662 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1663 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1665 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
1666 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1667 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1668 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
1669 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
1670 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1671 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
1673 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
1674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1676 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
1678 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
1680 * math/bits/cmathcalls.h (cimag): Remove inline.
1681 (creal): Remove inline.
1682 (conj): Remove inline.
1684 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1686 * math/Makefile (type-float-routines): Add e_powf_log2_data.
1687 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
1688 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
1689 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
1690 (issignalingf_inline): Likewise.
1691 (POWF_LOG2_TABLE_BITS): Likewise.
1692 (POWF_LOG2_POLY_ORDER): Likewise.
1693 (POWF_SCALE_BITS): Likewise.
1694 (POWF_SCALE): Likewise.
1695 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
1696 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
1697 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
1699 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1701 * math/Makefile (type-float-routines): Add e_log2f_data.
1702 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
1703 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
1704 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
1705 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
1706 * sysdeps/i386/fpu/e_log2f_data.c: New file.
1707 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
1708 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
1710 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1712 * math/Makefile (type-float-routines): Add e_logf_data.
1713 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
1714 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
1715 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
1716 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
1717 * sysdeps/i386/fpu/e_logf_data.c: New file.
1718 * sysdeps/ia64/fpu/e_logf_data.c: New file.
1719 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
1721 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
1723 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
1724 undefined _DYNAMIC in PIE libc.a.
1725 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1728 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
1730 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
1731 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
1732 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
1733 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
1734 (__signbit): Remove.
1735 (__signbitl): Remove.
1736 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
1737 (__signbit): Remove.
1738 (__signbitl): Remove.
1739 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
1740 (__signbit): Remove.
1741 (__signbitl): Remove.
1742 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
1743 (__signbit): Remove.
1744 (__signbitl): Remove.
1745 * sysdeps/tile/bits/mathinline.h: Delete file.
1746 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
1747 (__signbit): Remove.
1748 (__signbitl): Remove.
1750 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
1752 * math/math.h: Improve handling of C99 isgreater macros.
1753 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
1754 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
1755 * sysdeps/powerpc/bits/mathinline.h: Likewise.
1756 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1757 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1759 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
1761 * sysdeps/aarch64/libm-test-ulps: Update.
1763 2017-09-28 Joseph Myers <joseph@codesourcery.com>
1766 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1767 math_opt_barrier on argument when doing arithmetic on it.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1769 Likewise. Use math_force_eval not math_opt_barrier after
1771 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
1772 math_opt_barrier on argument when doing arithmetic on it.
1773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1776 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
1778 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
1780 (__freeifaddrs): Likewise.
1782 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1784 * include/dirent.h (__dirfd): New declaration.
1785 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
1787 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
1788 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
1789 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
1790 * include/unistd.h (__revoke): New declaration.
1791 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
1793 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
1794 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
1796 * include/dirent.h (__seekdir): New declaration.
1797 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
1798 redefine as weak alias.
1799 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
1801 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
1802 and use libc_hidden_def on them.
1803 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
1805 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
1806 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
1807 instead of getifaddrs and freeifaddrs.
1809 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
1812 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
1813 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
1814 (__dso_handle): Remove declaration.
1815 * dlfcn/tstatexit.c (__dso_handle): Removed.
1816 (main): Don't check __dso_handle.
1817 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
1818 (main): Don't check __dso_handle.
1819 * include/dso_handle.h: New file.
1820 * malloc/mtrace.c: Include <dso_handle.h>.
1821 (mtrace): Pass __dso_handle directly.
1822 * nptl/pthread_atfork.c: Include <dso_handle.h>.
1823 (__dso_handle): Remove declaration.
1824 (__pthread_atfork): Pass __dso_handle directly.
1825 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
1826 (__dso_handle): Removed.
1827 * posix/wordexp-test.c: Include <dso_handle.h>.
1828 (__dso_handle): Remove declaration.
1829 (__app_register_atfork): Pass __dso_handle directly.
1830 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
1831 (__dso_handle): Remove declaration.
1832 (at_quick_exit): Pass __dso_handle directly.
1833 * stdlib/atexit.c: Include <dso_handle.h>.
1834 (__dso_handle): Remove declaration.
1835 (atexit): Pass __dso_handle directly.
1836 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
1837 (__dso_handle): Removed.
1839 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1841 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
1844 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
1846 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
1847 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
1848 values to correct default value for given type.
1850 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
1853 * elf/Makefile (tests): Add tst-debug1.
1854 ($(objpfx)tst-debug1): New.
1855 ($(objpfx)tst-debug1.out): Likewise.
1856 ($(objpfx)tst-debug1mod1.so): Likewise.
1857 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
1859 * elf/tst-debug1.c: New file.
1861 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1863 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
1864 Define using __ifunc.
1866 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1868 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
1871 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1874 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
1876 2017-09-26 Florian Weimer <fweimer@redhat.com>
1878 * resolv/Makefile (tests-internal): Fix typo in comment.
1880 2017-09-26 Florian Weimer <fweimer@redhat.com>
1882 * resolv/nss_dns/dns-host.c: Fix typo in comment.
1884 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1886 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
1887 Use an union instead of a max_align_t array for __space,
1888 so that __space is the same size on all platforms.
1889 * malloc/scratch_buffer_grow_preserve.c
1890 (__libc_scratch_buffer_grow_preserve): Likewise.
1893 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
1895 * posix/Makefile (routines): Add glob-lstat-compat and
1896 glob64-lstat-compat.
1897 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
1898 * posix/glob-lstat-compat.c: New file.
1899 * posix/glob64-lstat-compat.c: Likewise.
1900 * posix/tst-glob_lstat_compat.c: Likewise.
1901 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
1902 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
1903 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
1904 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
1906 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
1907 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
1908 * posix/glob.c (glob_lstat): New function.
1909 (glob): Rename to __glob and add versioned symbol to 2.27.
1910 (glob_in_dir): Use glob_lstat.
1911 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
1912 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1913 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
1915 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
1916 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
1917 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
1918 gl_lstat on glob call.
1919 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
1921 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1922 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1923 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1924 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1925 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1926 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1927 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1928 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1929 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1930 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1932 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1935 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1937 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1938 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1939 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1944 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1945 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1946 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1948 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
1950 * configure.ac (AS): Require binutils 2.25 or later.
1951 * configure: Regenerated.
1953 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1956 * stdlib/test-atexit-race-common.c (do_test): Minimize required
1959 2017-09-25 DJ Delorie <dj@redhat.com>
1962 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
1965 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1967 * sysdeps/ieee754/dbl-64/sincos32.h
1968 [SINCCOS32_H]: Remove define.
1969 [SINCOS32_H]: Define.
1971 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1973 * math/Versions (expf): New libm symbol at GLIBC_2.27.
1975 * math/w_exp2f.c: New file.
1976 * math/w_expf.c: New file.
1977 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
1978 * math/w_expf_compat.c (__expf_compat): Likewise.
1979 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
1980 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1981 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1982 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1983 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1984 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1985 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1986 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1987 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1988 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1989 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1990 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1991 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1992 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2001 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2003 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2004 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2005 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2010 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2011 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2012 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2014 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2016 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2017 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2018 (roundtoint, converttoint): Likewise.
2019 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2020 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2021 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2022 * sysdeps/ieee754/flt-32/math_config.h: New file.
2023 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2024 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2025 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2026 * sysdeps/i386/fpu/math_errf.c: New file.
2027 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2028 * sysdeps/ia64/fpu/math_errf.c: New file.
2029 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2030 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2032 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2034 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2035 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2036 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2037 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2038 to make sure that these symbols are defined.
2039 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2041 (__need_NULL): Do not define.
2042 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2044 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2045 CMGROUP_MAX, cmsgcred): Do not define.
2046 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2048 * bits/socket.h: Likewise.
2049 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2050 __gettimeofday instead of gettimeofday.
2051 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2052 instead of settimeofday.
2054 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2056 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2057 (asinhf): Define using libm_alias_float.
2058 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2059 (atanf): Define using libm_alias_float.
2060 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2061 (cbrtf): Define using libm_alias_float.
2062 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2063 (ceilf): Define using libm_alias_float.
2064 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2065 <libm-alias-float.h>.
2066 (copysignf): Define using libm_alias_float.
2067 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2068 (cosf): Define using libm_alias_float.
2069 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2070 (erff): Define using libm_alias_float.
2072 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2073 (expm1f): Define using libm_alias_float.
2074 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2075 (fabsf): Define using libm_alias_float.
2076 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2077 (floorf): Define using libm_alias_float.
2078 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2079 (frexpf): Define using libm_alias_float.
2080 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2082 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2083 <libm-alias-float.h>.
2084 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2086 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2087 <libm-alias-float.h>.
2088 (getpayloadf): Define using libm_alias_float.
2089 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2090 <libm-alias-float.h>.
2091 (llrintf): Define using libm_alias_float.
2092 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2093 <libm-alias-float.h>.
2094 (llroundf): Define using libm_alias_float.
2095 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2096 (logbf): Define using libm_alias_float.
2097 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2098 (lrintf): Define using libm_alias_float.
2099 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2100 (lroundf): Define using libm_alias_float.
2101 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2102 (modff): Define using libm_alias_float.
2103 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2104 <libm-alias-float.h>.
2105 (nearbyintf): Define using libm_alias_float.
2106 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2107 <libm-alias-float.h>.
2108 (nextafterf): Define using libm_alias_float.
2109 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2110 <libm-alias-float.h>.
2111 (nextupf): Define using libm_alias_float.
2112 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2113 <libm-alias-float.h>.
2114 (remquof): Define using libm_alias_float.
2115 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2116 (rintf): Define using libm_alias_float.
2117 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2118 <libm-alias-float.h>.
2119 (roundevenf): Define using libm_alias_float.
2120 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2121 (roundf): Define using libm_alias_float.
2122 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2123 using libm_alias_float.
2124 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2125 <libm-alias-float.h>.
2126 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2127 Define using libm_alias_float.
2128 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2129 <libm-alias-float.h>.
2130 (sincosf): Define using libm_alias_float.
2131 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2132 (sinf): Define using libm_alias_float.
2133 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2134 (tanf): Define using libm_alias_float.
2135 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2136 (tanhf): Define using libm_alias_float.
2137 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2138 <libm-alias-float.h>.
2139 (totalorderf): Define using libm_alias_float.
2140 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2141 <libm-alias-float.h>.
2142 (totalordermagf): Define using libm_alias_float.
2143 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2144 (truncf): Define using libm_alias_float.
2145 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2147 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2150 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2153 math/math.h: Let fpclassify use the builtin in C++ mode, even
2154 when optimazing for size.
2156 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2158 * csu/Makefile (generated): Do not add version-info.h.
2159 (before-compile): Likewise.
2160 (all-Banner-files): Remove variable.
2161 ($(objpfx)version-info.h): Remove rule.
2162 * csu/version.c (banner): Do not include "version-info.h".
2163 * libidn/Banner: Remove.
2164 * manual/contrib.texi (Simon Josefsson): New entry.
2166 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2169 Remove conditionals on LDBL_MANT_DIG.
2170 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2171 (__ieee754_lgammal_r): Likewise.
2173 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2177 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2178 _Float128 and L(). Replace _Float128 with long double and L(x)
2179 with xL, throughout the file.
2180 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2185 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2188 sysdeps/ieee754/ldbl-128ibm.
2189 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2190 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2191 of including it. Keep _Float128 and L() intact. These will be
2192 reviewed by a separate patch.
2193 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2198 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2201 (__finitef128): Define to __redirect___finitef128.
2202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2203 (__isinff128): Define to __redirect___isinff128.
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2205 (__isnanf128): Define to __redirect___isnanf128.
2207 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2209 * sysdeps/powerpc/powerpc64le/Makefile
2210 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2211 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2213 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2214 Carlos O'Donell <carlos@redhat.com>
2217 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2218 * stdlib/test-dlclose-exit-race.c: New file.
2219 * stdlib/test-dlclose-exit-race-helper.c: New file.
2220 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2222 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2224 * crypt/Banner: Remove file.
2225 * nptl/Banner: Likewise.
2226 * resolv/Banner: Likewise.
2227 * soft-fp/Banner: Likewise.
2228 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2229 ($(objpfx)version.d): Remove dependency on banner.h.
2230 ($(objpfx)version.os): Likewise.
2231 * nptl/version.c (banner): Do not include banner.h.
2232 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2233 Jelinek and BIND code.
2235 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2236 Carlos O'Donell <carlos@redhat.com>
2238 * support/xdlfcn.h: New file.
2239 * support/xdlfcn.c: New file.
2240 * support/Makefile (libsupport-routines): Add xdlfcn.
2241 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2243 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2246 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2247 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2248 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2249 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2250 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2251 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2252 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2253 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2255 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2256 Ricky Zhou <rickyz@google.com>
2257 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2260 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2262 (__new_exitfn): Fail registration when we finished at_exit processing.
2263 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2264 * stdlib/on_exit.c (__on_exit): Likewise.
2265 * stdlib/exit.c (__exit_funcs_done): New variable.
2266 (__run_exit_handlers): Use __exit_funcs_lock.
2267 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2269 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2270 (test-cxa_atexit-race, test-on_exit-race): New tests.
2271 * stdlib/test-atexit-race-common.c: New file.
2272 * stdlib/test-atexit-race.c: New file.
2273 * stdlib/test-at_quick_exit-race.c: New file.
2274 * stdlib/test-cxa_atexit-race.c: New file.
2275 * stdlib/test-on_exit-race.c: New file.
2277 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2279 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2280 * benchtests/exp2f-inputs: Copy of expf-inputs.
2281 * benchtests/log2f-inputs: Copy of logf-inputs.
2283 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2285 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2286 Explicitly take address of first element of array arguments in
2287 call to INLINE_SYSCALL.
2289 2017-09-19 Andreas Schwab <schwab@suse.de>
2292 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2294 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2296 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2297 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2299 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2300 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2301 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2303 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2304 * posix/Makefile (tests): Add tst-fexecve.
2305 * posix/tst-fexecve.c: New file.
2307 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2309 * benchtests/Makefile: Add logf benchmark.
2310 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2312 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2314 * benchtests/Makefile: Add expf benchmark.
2315 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2317 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2319 * csu/Makefile: Add -funwind-tables to libc-start.c.
2320 * debug/Makefile: Add -funwind-tables to backtrace.c.
2321 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2322 * sysdeps/arm/Makefile: Likewise.
2323 * sysdeps/i386/Makefile: Likewise.
2324 * sysdeps/m68k/Makefile: Likewise.
2325 * sysdeps/mips/Makefile: Likewise.
2326 * sysdeps/nios2/Makefile: Likewise.
2327 * sysdeps/sh/Makefile: Likewise.
2328 * sysdeps/sparc/Makefile: Likewise.
2330 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2332 * benchtests/Makefile (bench-math): Add trunc and truncf.
2333 (CFLAGS-bench-trunc.c): New variable.
2334 (CFLAGS-bench-truncf.c): Likewise.
2335 * benchtests/trunc-inputs: New file.
2336 * benchtests/truncf-inputs: Likewise.
2338 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2340 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
2342 2017-09-18 Joseph Myers <joseph@codesourcery.com>
2344 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
2345 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
2347 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2348 (exp10l): Define as weak alias.
2349 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
2350 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
2352 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
2353 (remainderl): Define as weak alias.
2355 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
2356 (fmal): Define using libm_alias_ldouble.
2357 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
2358 (acoshl): Define using libm_alias_ldouble.
2359 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
2360 (acosl): Define using libm_alias_ldouble.
2361 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
2362 (asinl): Define using libm_alias_ldouble.
2363 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
2364 (atan2l): Define using libm_alias_ldouble.
2365 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
2366 (atanhl): Define using libm_alias_ldouble.
2367 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
2368 (coshl): Define using libm_alias_ldouble.
2369 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
2370 (exp10l): Define using libm_alias_ldouble.
2371 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
2372 (exp2l): Define using libm_alias_ldouble.
2373 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
2374 (expl): Define using libm_alias_ldouble.
2375 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
2376 (fmodl): Define using libm_alias_ldouble.
2377 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
2378 (hypotl): Define using libm_alias_ldouble.
2379 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
2380 (j0l): Define using libm_alias_ldouble.
2382 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
2383 (j1l): Define using libm_alias_ldouble.
2385 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
2386 (jnl): Define using libm_alias_ldouble.
2388 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
2389 (log10l): Define using libm_alias_ldouble.
2390 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
2391 (log2l): Define using libm_alias_ldouble.
2392 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
2393 (logl): Define using libm_alias_ldouble.
2394 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
2395 (powl): Define using libm_alias_ldouble.
2396 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
2397 (remainderl): Define using libm_alias_ldouble.
2398 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
2399 (sinhl): Define using libm_alias_ldouble.
2400 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
2401 (sqrtl): Define using libm_alias_ldouble.
2402 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
2403 (tgammal): Define using libm_alias_ldouble.
2404 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
2405 (exp10l): Do not use long_double_symbol here.
2406 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2407 [LIBM_SVID_COMPAT] (remainderl): Likewise.
2408 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
2409 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2410 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2411 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2412 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2413 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2414 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2415 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
2416 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2417 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2418 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2419 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2420 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2421 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2422 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2423 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2424 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2425 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2426 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2427 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2429 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
2431 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
2432 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
2434 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2436 * io/read.c (read): Add libc_hidden_weak.
2437 * sysdeps/mach/hurd/read.c (read): Likewise.
2438 * io/write.c (write): Likewise.
2439 * sysdeps/mach/hurd/write.c (write): Likewise.
2440 * io/pread64.c (__pread64): Likewise.
2441 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
2442 * posix/pread64.c (__pread64): Add libc_hidden_def.
2444 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2446 * benchtests/scripts/compare_strings.py: New option -g.
2447 (draw_graph): Print a message that a graph is being generated.
2448 (process_results): Generate graph only if -g is passed.
2449 (main): Process option -g.
2451 * benchtests/scripts/compare_strings.py (process_results):
2452 Better spacing for output.
2454 * benchtests/scripts/compare_strings.py: Use argparse.
2455 * benchtests/README: Document existence of compare_strings.py.
2457 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2459 * math/s_fma.c: Include <libm-alias-double.h>.
2460 (fma): Define using libm_alias_double.
2461 * math/s_nextafter.c: Include <libm-alias-double.h>.
2462 (nextafter): Define using libm_alias_double.
2463 * math/w_acos_compat.c: Include <libm-alias-double.h>.
2464 (acos): Define using libm_alias_double.
2465 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
2466 (aocsh): Define using libm_alias_double.
2467 * math/w_asin_compat.c: Include <libm-alias-double.h>.
2468 (asin): Define using libm_alias_double.
2469 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
2470 (atan2): Define using libm_alias_double.
2471 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
2472 (atanh): Define using libm_alias_double.
2473 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
2474 (cosh): Define using libm_alias_double.
2475 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
2476 (exp10): Define using libm_alias_double.
2477 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
2478 (exp2): Define using libm_alias_double.
2479 * math/w_exp_compat.c: Include <libm-alias-double.h>.
2480 (exp): Define using libm_alias_double.
2481 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
2482 (fmod): Define using libm_alias_double.
2483 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
2484 (hypot): Define using libm_alias_double.
2485 * math/w_j0_compat.c: Include <libm-alias-double.h>.
2486 (j0): Define using libm_alias_double.
2488 * math/w_j1_compat.c: Include <libm-alias-double.h>.
2489 (j1): Define using libm_alias_double.
2491 * math/w_jn_compat.c: Include <libm-alias-double.h>.
2492 (jn): Define using libm_alias_double.
2494 * math/w_log10_compat.c: Include <libm-alias-double.h>.
2495 (log10): Define using libm_alias_double.
2496 * math/w_log2_compat.c: Include <libm-alias-double.h>.
2497 (log2): Define using libm_alias_double.
2498 * math/w_log_compat.c: Include <libm-alias-double.h>.
2499 (log): Define using libm_alias_double.
2500 * math/w_pow_compat.c: Include <libm-alias-double.h>.
2501 (pow): Define using libm_alias_double.
2502 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
2503 (remainder): Define using libm_alias_double.
2504 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
2505 (sinh): Define using libm_alias_double.
2506 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
2507 (sqrt): Define using libm_alias_double.
2508 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
2509 (tgamma): Define using libm_alias_double.
2510 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
2511 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
2512 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
2513 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
2514 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
2515 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
2516 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
2517 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2518 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2519 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2520 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2521 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2522 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2523 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2524 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2525 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2526 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2527 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2528 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2529 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2530 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2531 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2532 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2533 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2534 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2536 * math/e_acoshl.c: Remove.
2537 * math/e_acosl.c: Likewise.
2538 * math/e_asinl.c: Likewise.
2539 * math/e_atan2l.c: Likewise.
2540 * math/e_atanhl.c: Likewise.
2541 * math/e_coshl.c: Likewise.
2542 * math/e_expl.c: Likewise.
2543 * math/e_fmodl.c: Likewise.
2544 * math/e_gammal_r.c: Likewise.
2545 * math/e_hypotl.c: Likewise.
2546 * math/e_j0l.c: Likewise.
2547 * math/e_j1l.c: Likewise.
2548 * math/e_jnl.c: Likewise.
2549 * math/e_lgammal_r.c: Likewise.
2550 * math/e_log10l.c: Likewise.
2551 * math/e_log2l.c: Likewise.
2552 * math/e_logl.c: Likewise.
2553 * math/e_powl.c: Likewise.
2554 * math/e_rem_pio2l.c: Likewise.
2555 * math/e_sinhl.c: Likewise.
2556 * math/e_sqrtf128.c: Likewise.
2557 * math/e_sqrtl.c: Likewise.
2558 * math/k_cosl.c: Likewise.
2559 * math/k_sinl.c: Likewise.
2560 * math/k_tanl.c: Likewise.
2561 * math/s_asinhl.c: Likewise.
2562 * math/s_atanl.c: Likewise.
2563 * math/s_cbrtl.c: Likewise.
2564 * math/s_erfl.c: Likewise.
2565 * math/s_expm1l.c: Likewise.
2566 * math/s_log1pl.c: Likewise.
2567 * math/s_tanhl.c: Likewise.
2569 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
2573 [$(subdir) = math] (sysdep_calls): New variable. Has the
2574 previous contents of sysdep_routines, but re-sorted..
2575 [$(subdir) = math] (sysdep_routines): Re-use the contents from
2577 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
2578 defined in sysdep_calls and replace by the respective m_* names.
2579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
2580 (compat_symbol): Undefine to avoid duplicated compat symbols in
2583 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2585 * math/s_fmaf.c: Include <libm-alias-float.h>.
2586 (fmaf): Define using libm_alias_float.
2587 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
2588 (acosf): Define using libm_alias_float.
2589 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
2590 (acoshf): Define using libm_alias_float.
2591 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
2592 (asinf): Define using libm_alias_float.
2593 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
2594 (atan2f): Define using libm_alias_float.
2595 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
2596 (atanhf): Define using libm_alias_float.
2597 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
2598 (coshf): Define using libm_alias_float.
2599 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
2600 (exp10f): Define using libm_alias_float.
2601 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
2602 (fmodf): Define using libm_alias_float.
2603 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
2604 (hypotf): Define using libm_alias_float.
2605 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
2606 (j0f): Define using libm_alias_float.
2608 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
2609 (j1f): Define using libm_alias_float.
2611 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
2612 (jnf): Define using libm_alias_float.
2614 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
2615 (log10f): Define using libm_alias_float.
2616 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
2617 (log2f): Define using libm_alias_float.
2618 * math/w_logf_compat.c: Include <libm-alias-float.h>.
2619 (logf): Define using libm_alias_float.
2620 * math/w_powf_compat.c: Include <libm-alias-float.h>.
2621 (powf): Define using libm_alias_float.
2622 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
2623 (remainderf): Define using libm_alias_float.
2624 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
2625 (sinhf): Define using libm_alias_float.
2626 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
2627 (sqrtf): Define using libm_alias_float.
2628 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
2629 (tgammaf): Define using libm_alias_float.
2631 2017-09-14 Joseph Myers <joseph@codesourcery.com>
2633 * include/math.h (roundeven): Change hidden_proto call to
2635 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
2637 [NO_LONG_DOUBLE] (__j0l): New strong alias.
2638 (y0): Rename to __y0 and define as weak alias.
2639 [NO_LONG_DOUBLE] (__y0l): New strong alias.
2640 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
2642 (y0f): Rename to __y0f and define as weak alias.
2643 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
2645 [NO_LONG_DOUBLE] (__j1l): New strong alias.
2646 (y1): Rename to __y1 and define as weak alias.
2647 [NO_LONG_DOUBLE] (__y1l): New strong alias.
2648 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
2650 (y1f): Rename to __y1f and define as weak alias.
2651 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
2653 [NO_LONG_DOUBLE] (__jnl): New strong alias.
2654 (yn): Rename to __yn and define as weak alias.
2655 [NO_LONG_DOUBLE] (__ynl): New strong alias.
2656 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
2658 (ynf): Rename to __ynf and define as weak alias.
2659 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
2660 (fromfp): Define as weak alias.
2661 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
2662 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
2663 (fromfpx): Define as weak alias.
2664 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
2665 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
2666 __getpayload and define as weak alias.
2667 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
2668 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
2669 __roundeven and define as weak alias.
2670 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
2671 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
2673 (setpayload): Define as weak alias.
2674 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
2675 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
2677 (setpayloadsig): Define as weak alias.
2678 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
2679 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
2680 __totalorder and define as weak alias.
2681 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
2682 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
2683 to __totalordermag and define as weak alias.
2684 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
2685 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
2686 (ufromfp): Define as weak alias.
2687 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
2688 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
2690 (ufromfpx): Define as weak alias.
2691 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
2692 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
2693 Rename to __getpayload and define as weak alias.
2694 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
2695 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
2696 Rename to __roundeven and define as weak alias.
2697 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
2698 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
2699 Rename to __totalorder and define as weak alias.
2700 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
2701 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
2702 (totalordermag): Rename to __totalordermag and define as weak
2704 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
2705 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
2707 (__roundevenl): Likewise.
2708 (__totalorderl): Likewise.
2709 (__totalordermagl): Likewise
2710 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
2712 (fromfpf128): Define as weak alias.
2713 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
2715 (fromfpxf128): Define as weak alias.
2716 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
2718 (setpayloadf128): Define as weak alias.
2719 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
2720 __setpayloadsigf128.
2721 (setpayloadsigf128): Define as weak alias.
2722 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
2724 (ufromfpf128): Define as weak alias.
2725 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
2727 (ufromfpxf128): Define as weak alias.
2728 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
2729 (fromfpf): Define as weak alias.
2730 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
2732 (fromfpxf): Define as weak alias.
2733 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
2734 __getpayloadf and define as weak alias.
2735 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
2736 __roundevenf and define as weak alias.
2737 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
2739 (setpayloadf): Define as weak alias.
2740 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
2742 (setpayloadsigf): Define as weak alias.
2743 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
2744 __totalorderf and define as weak alias.
2745 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
2746 Rename to __totalordermagf and define as weak alias.
2747 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
2749 (ufromfpf): Define as weak alias.
2750 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
2752 (ufromfpxf): Define as weak alias.
2753 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
2755 (fromfpl): Define as weak alias.
2756 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
2758 (fromfpxl): Define as weak alias.
2759 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
2760 to __getpayloadl and define as weak alias.
2761 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
2762 __roundevenl and define as weak alias.
2763 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
2765 (setpayloadl): Define as weak alias.
2766 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
2768 (setpayloadsigl): Define as weak alias.
2769 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
2770 to __totalorderl and define as weak alias.
2771 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
2772 Rename to __totalordermagl and define as weak alias.
2773 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
2775 (ufromfpl): Define as weak alias.
2776 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
2778 (ufromfpxl): Define as weak alias.
2779 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
2781 (fromfpl): Define as weak alias.
2782 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
2784 (fromfpxl): Define as weak alias.
2785 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
2786 Rename to __getpayloadl and define as weak alias.
2787 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
2788 to __roundevenl and define as weak alias. Call __roundeven
2789 instead of roundeven.
2790 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
2792 (setpayloadl): Define as weak alias.
2793 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
2795 (setpayloadsigl): Define as weak alias.
2796 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
2797 Rename to __totalorderl and define as weak alias.
2798 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
2799 Rename to __totalordermagl and define as weak alias.
2800 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
2802 (ufromfpl): Define as weak alias.
2803 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
2805 (ufromfpxl): Define as weak alias.
2806 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
2808 (fromfpl): Define as weak alias.
2809 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
2811 (fromfpxl): Define as weak alias.
2812 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
2813 __getpayloadl and define as weak alias.
2814 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
2815 __roundevenl and define as weak alias.
2816 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
2818 (setpayloadl): Define as weak alias.
2819 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
2821 (setpayloadsigl): Define as weak alias.
2822 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
2823 __totalorderl and define as weak alias.
2824 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
2825 Rename to __totalordermagl and define as weak alias.
2826 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
2828 (ufromfpl): Define as weak alias.
2829 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
2831 (ufromfpxl): Define as weak alias.
2833 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2835 * benchtests/bench-string.h (realloc_bufs): New function.
2836 (test_init): Call it.
2837 * benchtests/bench-memset-large.c (do_test): Likewise.
2838 * benchtests/bench-memset.c (do_test): Likewise.
2840 * benchtests/bench-memset-large.c: Print output in JSON
2842 * benchtests/bench-memset.c: Likewise.
2844 2017-09-14 Mike FABIAN <mfabian@redhat.com>
2847 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
2848 * iconvdata/Makefile: Add IBM858.
2849 * iconvdata/gconv-modules: Likewise.
2850 * iconvdata/tst-tables.sh: Likewise.
2851 * iconvdata/ibm858.c: New file.
2852 * localedata/charmaps/IBM858: Likewise.
2854 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
2857 * locales/niu_NZ (LC_TIME): copy "niu_NU".
2858 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
2860 2017-09-14 Mike FABIAN <mfabian@redhat.com>
2863 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
2864 and add tel_int_fmt.
2866 2017-09-14 Joseph Myers <joseph@codesourcery.com>
2868 * sysdeps/generic/libm-alias-float128.h: New file.
2869 * sysdeps/generic/math-type-macros-float128.h: Include
2870 <libm-alias-float128.h>.
2871 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
2873 2017-09-13 Joseph Myers <joseph@codesourcery.com>
2875 * sysdeps/generic/libm-alias-ldouble.h: New file.
2876 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
2877 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
2878 * sysdeps/generic/math-type-macros-ldouble.h: Include
2879 <libm-alias-ldouble.h>.
2880 [!declare_mgen_alias] (declare_mgen_alias): Define to use
2883 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2885 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
2886 * math/w_exp_compat.c: ... here.
2887 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
2888 * math/w_expf_compat.c: ... here.
2889 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
2890 * math/w_expl_compat.c: ... here.
2891 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
2892 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
2893 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
2894 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
2896 2017-09-13 Joseph Myers <joseph@codesourcery.com>
2898 * math/w_scalbln_template.c (strong_alias): Do not undefine and
2900 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
2902 (ldexpl): Only define as compat symbol for libc, not libm.
2903 (scalbnl): Define as compat symbol for libc here.
2904 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
2905 define for [IS_IN (libc)].
2906 (__ldexpl_2): Remove alias.
2907 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
2908 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
2909 name in long_double_symbol call.
2910 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
2911 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2912 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2913 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
2914 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
2916 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
2917 Define as compat symbol.
2919 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2921 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
2922 * sysdeps/unix/sysv/linux/alpha/Makefile
2923 [$(subdir) = csu] (sysdep_routines): Remove rule.
2925 2017-09-13 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/generic/libm-alias-double.h: New file.
2928 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
2929 * sysdeps/generic/math-type-macros-double.h: Include
2930 <libm-alias-double.h>.
2931 [declare_mgen_alias] (declare_mgen_alias): Define to use
2933 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
2934 (M_LIBM_NEED_COMPAT): Remove macro.
2935 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
2936 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
2937 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
2939 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2940 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2941 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2942 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2943 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2944 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2945 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2946 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2947 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2948 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2949 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2950 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2951 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2952 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2953 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2954 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2955 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2956 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2957 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2958 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2959 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2960 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2961 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2962 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2963 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2964 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2965 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
2966 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
2967 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
2969 (declare_mgen_alias): New macro.
2970 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
2971 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
2972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
2973 (M_LIBM_NEED_COMPAT): Remove macro.
2974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
2975 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
2977 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
2978 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
2980 2017-09-12 Joseph Myers <joseph@codesourcery.com>
2982 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
2983 (declare_mgen_alias_2): Remove.
2984 * sysdeps/generic/math-type-macros-double.h
2985 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
2987 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
2989 (ldexp): Define with declare_mgen_alias.
2992 2017-09-12 Steve Ellcey <sellcey@cavium.com>
2994 * grp/initgroups.c: Include config.h.
2995 (DEFAULT_CONFIG): New macro.
2996 (internal_getgrouplist): Use DEFAULT_CONFIG.
2997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2998 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
2999 (DEFAULT_DEFCONFIG): New macro.
3000 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3001 * nss/grp-lookup.c: Include config.h
3002 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3003 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3004 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3005 * manual/nss.texi: Update default values section.
3007 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3010 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3012 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3013 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3014 Handle MathVec_Prefer_No_AVX512.
3015 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3016 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3019 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3021 * posix/sched_primax.c (__sched_get_priority_max): Add
3023 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3024 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3025 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3026 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3027 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3028 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3029 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3030 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3033 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3035 * sysdeps/generic/libm-alias-float.h: New file.
3036 * sysdeps/generic/math-type-macros-float.h: Include
3037 <libm-alias-float.h>.
3038 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3040 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3043 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3044 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3045 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3046 (HWCAP_IMPORTANT): Likewise.
3047 (HWCAP_X86_64): New enum.
3048 (HWCAP_X86_AVX512_1): Updated.
3049 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3050 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3051 (modules-names): Add x86_64/tst-x86_64mod-1.
3052 (LDFLAGS-tst-x86_64mod-1.so): New.
3053 ($(objpfx)tst-x86_64-1): Likewise.
3054 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3055 (tst-x86_64-1-clean): Likewise.
3056 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3057 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3059 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3061 * po/sv.po: Update translations.
3062 * po/fr.po: Likewise.
3064 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3066 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3068 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3070 * elf/rtld-Rules: Fix $(error) use.
3072 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3075 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3076 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3077 * localedata/locales/bn_BD: “Bengali” was still used in some
3078 comments. Change it to “Bangla”.
3080 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3082 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3084 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3086 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3087 thunderx2t99p1 to list of cpu names.
3088 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3089 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3091 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3093 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3094 Use strcmp instead of tunable_is_name.
3096 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3099 (F_GET_RW_HINT): New macro.
3100 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3101 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3102 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3103 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3104 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3105 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3106 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3107 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3108 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3110 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3111 (F_ADD_SEALS): New macro.
3112 [__USE_GNU] (F_GET_SEALS): Likewise.
3113 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3114 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3115 [__USE_GNU] (F_SEAL_GROW): Likewise.
3116 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3118 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3120 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3121 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3122 * posix/glob_internal.h (__glob_pattern_type):
3123 * posix/glob.c (glob):
3124 * posix/glob_pattern_p.c (__glob_pattern_p):
3127 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3128 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3129 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3130 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3131 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3134 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3135 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3136 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3137 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3138 * sysdeps/wordsize-64/glob.c: Likewise.
3139 * sysdeps/wordsize-64/glob64.c: Likewise.
3140 * sysdeps/wordsize-64/globfree.c: Likewise.
3141 * sysdeps/wordsize-64/globfree64.c: Likewise.
3142 * sysdeps/unix/sysv/linux/glob.c: New file.
3143 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3144 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3145 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3146 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3147 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3148 adds !GLOB_NO_OLD_VERSION as an extra condition.
3149 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3150 using relative path instead of absolute one.
3151 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3152 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3153 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3154 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3155 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3156 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3159 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3160 (glob): Use the same scratch buffer for both getlogin_r and
3161 getpwnam_r. Don’t require preallocation of the login name. This
3162 simplifies storage allocation, and corrects the handling of
3166 * posix/glob.c (glob): Port recent patches to platforms
3168 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3169 returns an error number rather than setting errno.
3171 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3172 instead of GCC extension.
3173 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3174 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3175 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3179 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3180 * posix/bug-glob1.c: Remove file.
3181 * posix/tst-glob_symlinks.c: New file.
3182 * posix/glob.c (__lstat64): New macro.
3183 (is_dir): New function.
3184 (glob, glob_in_dir): Match symlinks even if they are dangling.
3185 (link_stat, link_exists_p): Remove. All uses removed.
3189 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3190 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3194 * posix/Makefile (routines): Add globfree, globfree64, and
3196 * posix/flexmember.h: New file.
3197 * posix/glob_internal.h: Likewise.
3198 * posix/glob_pattern_p.c: Likewise.
3199 * posix/globfree.c: Likewise.
3200 * posix/globfree64.c: Likewise.
3201 * sysdeps/gnu/globfree64.c: Likewise.
3202 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3203 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3204 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3205 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3206 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3207 * sysdeps/wordsize-64/globfree.c: Likewise.
3208 * sysdeps/wordsize-64/globfree64.c: Likewise.
3209 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3210 [NDEBUG): Remove comments.
3211 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3212 (dirent_type): New type. Use uint_fast8_t not
3213 uint8_t, as C99 does not require uint8_t.
3214 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3215 (struct readdir_result): Use dirent_type. Do not define skip_entry
3216 unless it is needed; this saves a byte on platforms lacking d_ino.
3217 (readdir_result_type, readdir_result_skip_entry):
3218 New functions, replacing ...
3219 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3220 these functions, which were removed. This makes the callers
3221 easier to read. All callers changed.
3222 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3223 (size_add_wrapv, glob_use_alloca): New static functions.
3224 (glob, glob_in_dir): Check for size_t overflow in several places,
3225 and fix some size_t checks that were not quite right.
3226 Remove old code using SHELL since Bash no longer
3228 (glob, prefix_array): Separate MS code better.
3229 (glob_in_dir): Remove old Amiga and VMS code.
3230 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3232 (glob_in_dir): Do not rely on undefined behavior in accessing
3233 struct members beyond their bounds. Use a flexible array member
3235 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3236 0/1. Caller changed.
3237 (glob): Fix memory leaks.
3238 * posix/glob64 (globfree64): Move to separate file.
3239 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3240 (globfree64): Remove hidden alias.
3241 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3243 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3245 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3247 Move compat code to separate file.
3248 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3251 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3253 * resolv/tst-resolv-qtypes.c (domain): Changed to
3254 "const char domain[] =".
3256 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3258 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3261 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3262 (TCP_MD5SIG_EXT): Likewise.
3263 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3264 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3265 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3267 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3269 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3271 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3273 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3276 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3278 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3280 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3281 before assuming that the file is empty. Avoid testing buffer content
3284 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3287 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3289 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3291 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3293 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3295 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3297 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3299 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3302 2017-09-06 Florian Weimer <fweimer@redhat.com>
3304 * malloc/dynarray_emplace_enlarge.c
3305 (__libc_dynarray_emplace_enlarge): Add missing else.
3307 2017-09-06 Florian Weimer <fweimer@redhat.com>
3310 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3311 case of failure to obtain the global conf object.
3313 2017-09-06 Florian Weimer <fweimer@redhat.com>
3316 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3317 dynarray allocation failure.
3319 2017-09-06 Florian Weimer <fweimer@redhat.com>
3321 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3322 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3323 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3325 (response): Call them. Add 'p', '6' flag processing.
3326 (test_reverse): New function.
3327 (test_get2_any): Call it.
3328 (test_no_inet6): Add 'p' test.
3329 (test_inet6): Likewise.
3331 2017-09-06 Florian Weimer <fweimer@redhat.com>
3333 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
3334 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
3336 (test_gai): Adjust query names. Add additional tests.
3337 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
3338 test_get2. Adjust query names. Add additional tests.
3339 (test_no_inet6): New function, extracted from threadfunc.
3340 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
3341 Add additional tests.
3343 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3346 * localedata/unicode-gen/utf8_gen.py: Set the width for
3347 characters with Prepended_Concatenation_Mark property to 1
3348 * localedata/charmaps/UTF-8: Updated using the improved script.
3350 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3353 * localedata/unicode-gen/utf8_gen.py: Improve the script to
3354 use the range notation for all ranges of neighbouring characters
3355 with the same width.
3357 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3359 * sysdeps/generic/math-type-macros-double.h: Include
3360 <math-svid-compat.h>.
3361 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3362 * sysdeps/generic/math-type-macros-float.h: Include
3363 <math-svid-compat.h>.
3364 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3365 * sysdeps/generic/math-type-macros-ldouble.h: Include
3366 <math-svid-compat.h>.
3367 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3368 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
3370 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
3371 * math/w_acosf_compat.c: Likewise.
3372 * math/w_acosh_compat.c: Likewise.
3373 * math/w_acoshf_compat.c: Likewise.
3374 * math/w_acoshl_compat.c: Likewise.
3375 * math/w_acosl_compat.c: Likewise.
3376 * math/w_asin_compat.c: Likewise.
3377 * math/w_asinf_compat.c: Likewise.
3378 * math/w_asinl_compat.c: Likewise.
3379 * math/w_atan2_compat.c: Likewise.
3380 * math/w_atan2f_compat.c: Likewise.
3381 * math/w_atan2l_compat.c: Likewise.
3382 * math/w_atanh_compat.c: Likewise.
3383 * math/w_atanhf_compat.c: Likewise.
3384 * math/w_atanhl_compat.c: Likewise.
3385 * math/w_cosh_compat.c: Likewise.
3386 * math/w_coshf_compat.c: Likewise.
3387 * math/w_coshl_compat.c: Likewise.
3388 * math/w_exp10_compat.c: Likewise.
3389 * math/w_exp10f_compat.c: Likewise.
3390 * math/w_exp10l_compat.c: Likewise.
3391 * math/w_exp2_compat.c: Likewise.
3392 * math/w_exp2f_compat.c: Likewise.
3393 * math/w_exp2l_compat.c: Likewise.
3394 * math/w_fmod_compat.c: Likewise.
3395 * math/w_fmodf_compat.c: Likewise.
3396 * math/w_fmodl_compat.c: Likewise.
3397 * math/w_hypot_compat.c: Likewise.
3398 * math/w_hypotf_compat.c: Likewise.
3399 * math/w_hypotl_compat.c: Likewise.
3400 * math/w_j0_compat.c: Likewise.
3401 * math/w_j0f_compat.c: Likewise.
3402 * math/w_j0l_compat.c: Likewise.
3403 * math/w_j1_compat.c: Likewise.
3404 * math/w_j1f_compat.c: Likewise.
3405 * math/w_j1l_compat.c: Likewise.
3406 * math/w_jn_compat.c: Likewise.
3407 * math/w_jnf_compat.c: Likewise.
3408 * math/w_jnl_compat.c: Likewise.
3409 * math/w_lgamma_r_compat.c: Likewise.
3410 * math/w_lgammaf_r_compat.c: Likewise.
3411 * math/w_lgammal_r_compat.c: Likewise.
3412 * math/w_log10_compat.c: Likewise.
3413 * math/w_log10f_compat.c: Likewise.
3414 * math/w_log10l_compat.c: Likewise.
3415 * math/w_log2_compat.c: Likewise.
3416 * math/w_log2f_compat.c: Likewise.
3417 * math/w_log2l_compat.c: Likewise.
3418 * math/w_log_compat.c: Likewise.
3419 * math/w_logf_compat.c: Likewise.
3420 * math/w_logl_compat.c: Likewise.
3421 * math/w_pow_compat.c: Likewise.
3422 * math/w_powf_compat.c: Likewise.
3423 * math/w_powl_compat.c: Likewise.
3424 * math/w_remainder_compat.c: Likewise.
3425 * math/w_remainderf_compat.c: Likewise.
3426 * math/w_remainderl_compat.c: Likewise.
3427 * math/w_sinh_compat.c: Likewise.
3428 * math/w_sinhf_compat.c: Likewise.
3429 * math/w_sinhl_compat.c: Likewise.
3430 * math/w_sqrt_compat.c: Likewise.
3431 * math/w_sqrtf_compat.c: Likewise.
3432 * math/w_sqrtl_compat.c: Likewise.
3433 * math/w_tgamma_compat.c: Likewise.
3434 * math/w_tgammaf_compat.c: Likewise.
3435 * math/w_tgammal_compat.c: Likewise.
3436 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
3438 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
3439 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
3441 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
3442 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
3444 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
3445 * sysdeps/i386/fpu/w_sqrt.c: New file.
3446 * sysdeps/ia64/fpu/w_acos.c: Likewise.
3447 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3448 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3449 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3450 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3451 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3452 * sysdeps/ia64/fpu/w_asin.c: Likewise.
3453 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3454 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3455 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3456 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3457 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3458 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3459 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3460 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3461 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3462 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3463 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3464 * sysdeps/ia64/fpu/w_exp.c: Likewise.
3465 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3466 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3467 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3468 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3469 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3470 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3471 * sysdeps/ia64/fpu/w_expf.c: Likewise.
3472 * sysdeps/ia64/fpu/w_expl.c: Likewise.
3473 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3474 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3475 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3476 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3477 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3478 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3479 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3480 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3481 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3482 * sysdeps/ia64/fpu/w_log.c: Likewise.
3483 * sysdeps/ia64/fpu/w_log10.c: Likewise.
3484 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3485 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3486 * sysdeps/ia64/fpu/w_log2.c: Likewise.
3487 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3488 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3489 * sysdeps/ia64/fpu/w_logf.c: Likewise.
3490 * sysdeps/ia64/fpu/w_logl.c: Likewise.
3491 * sysdeps/ia64/fpu/w_pow.c: Likewise.
3492 * sysdeps/ia64/fpu/w_powf.c: Likewise.
3493 * sysdeps/ia64/fpu/w_powl.c: Likewise.
3494 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3495 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3496 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3497 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3498 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3499 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3500 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3501 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3502 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3503 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
3504 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
3505 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
3506 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
3508 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3509 * sysdeps/ieee754/k_standard.c: Likewise.
3510 * sysdeps/ieee754/k_standardf.c: Likewise.
3511 * sysdeps/ieee754/k_standardl.c: Likewise.
3512 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3513 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3514 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3515 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
3516 long_double_symbol call on [LIBM_SVID_COMPAT].
3517 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3518 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3519 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3520 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3521 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3522 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3523 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3524 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3525 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3526 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3527 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3528 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3529 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3530 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3531 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3532 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3533 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3534 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3535 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3536 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3537 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
3538 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
3540 2017-09-05 Steve Ellcey <sellcey@cavium.com>
3542 * include/shlib-compat.h (TEST_COMPAT): New Macro.
3543 * malloc/tst-mallocstate.c: Convert from test-skeleton
3544 to test-driver. Ifdef code using TEST_COMPAT macro.
3545 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
3546 * math/test-matherr.c: Likewise.
3548 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3551 * debug/pcprofiledump.c (main): Use byte-swapped mask when
3552 comparing word with byte-swapped constant.
3554 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3557 * locale/iso-639.def: add Miskito.
3558 * localedata/SUPPORTED: Add miq_NI/UTF-8.
3559 * localedata/locales/miq_NI: New file.
3561 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
3564 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
3565 (__mkdir): Likewise.
3566 * io/chmod.c (__chmod): Add libc_hidden_def.
3567 * io/mkdir.c (__mkdir): Likewise.
3568 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3569 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3570 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
3571 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
3573 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3575 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3579 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
3580 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3582 2017-09-04 Florian Weimer <fweimer@redhat.com>
3584 * math/math.h: Issue warning if log is defined.
3586 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3588 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3589 kernel version to 4.13.
3591 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3593 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
3594 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
3596 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
3597 just <bits/types.h>.
3598 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
3599 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
3600 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
3601 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
3602 * misc/preadv2.c: Include <errno.h>.
3603 * misc/preadv64v2.c: Include <errno.h>.
3604 * misc/pwritev2.c: Include <errno.h>.
3605 * misc/pwritev64v2.c: Include <errno.h>.
3606 * sysdeps/posix/preadv2.c: Include <errno.h>.
3607 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
3608 Fix <unistd.h> inclusion.
3609 * sysdeps/posix/pwritev2.c: Include <errno.h>.
3610 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
3611 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
3612 __strtoul_internal): New functions.
3613 * sysdeps/posix/pause.c: Include <sigsetops.h>.
3614 * sysdeps/posix/system.c: Include <sigsetops.h>.
3615 * sysdeps/mach/hurd/i386/Makefile
3616 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3617 [$(subdir) = csu] (sysdep-only-routines): Likewise.
3618 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3619 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
3620 __feraiseexcept_renamed to feraiseexcept instead of
3622 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
3623 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
3624 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
3625 RWF_NOWAIT): Define to 0 if undefined already.
3626 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
3628 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
3629 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
3631 2017-09-01 Joseph Myers <joseph@codesourcery.com>
3633 * manual/math.texi (pow10): Do not document.
3636 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
3637 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
3638 * math/libm-test-exp10.inc (pow10_test): Remove.
3639 (do_test): Do not call pow10.
3640 * math/w_exp10_compat.c (pow10): Make into compat symbol.
3641 [NO_LONG_DOUBLE] (pow10l): Likewise.
3642 * math/w_exp10f_compat.c (pow10f): Likewise.
3643 * math/w_exp10l_compat.c (pow10l): Likewise.
3644 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
3645 (pow10): Make into compat symbol.
3646 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
3647 (pow10f): Make into compat symbol.
3648 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
3649 (pow10l): Make into compat symbol.
3650 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
3652 (CFLAGS-nldbl-pow10.c): Remove variable..
3653 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
3654 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
3655 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
3656 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
3657 Undefine and redefine.
3658 (pow10l): Make into compat symbol.
3659 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
3660 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3661 * sysdeps/arm/libm-test-ulps: Likewise.
3662 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
3663 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3664 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3665 * sysdeps/microblaze/libm-test-ulps: Likewise.
3666 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3667 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3668 * sysdeps/nios2/libm-test-ulps: Likewise.
3669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3670 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3671 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3672 * sysdeps/sh/libm-test-ulps: Likewise.
3673 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3674 * sysdeps/tile/libm-test-ulps: Likewise.
3675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3677 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3679 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
3681 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3683 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
3684 "../ChangeLog.old/ChangeLog.8".
3685 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
3686 "../ChangeLog.old/ChangeLog.14".
3688 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3690 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
3693 2017-09-01 Joseph Myers <joseph@codesourcery.com>
3695 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
3697 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3699 * csu/version.c (banner): Remove "by Roland McGrath et al.".
3700 * nptl/Banner: Remove "by Ulrich Drepper et al.".
3702 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3704 * stdlib/tst-atexit-common.c (do_test): Test support for at least
3707 2017-09-01 Zack Weinberg <zackw@panix.com>
3709 * math/math.h (HUGE_VAL): Improve commentary.
3711 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3712 Andreas Schwab <schwab@suse.de>
3715 * include/stdio.h (__gen_tempfd): New function.
3716 * stdio-common/Makefile (routines): Add gentempfd.
3717 * stdio-common/gentempfd.c: New file.
3718 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
3719 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
3722 2017-09-01 Florian Weimer <fweimer@redhat.com>
3726 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
3727 result to determine success or failure, not the errno value.
3728 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
3729 (tst-nss-files-hosts-erange): Link with -ldl.
3730 * nss/tst-nss-files-hosts-erange.c: New file.
3731 * nss/tst-resolv-basic.c (response): Handle nodata.example.
3732 (do_test): Add NO_DATA tests.
3733 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
3736 2017-09-01 Florian Weimer <fweimer@redhat.com>
3739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
3740 coming from gethostbyname2_r.
3742 2017-09-01 Florian Weimer <fweimer@redhat.com>
3744 * support/namespace.h (struct support_chroot_configuration): Add
3746 (struct support_chroot): Add path_hosts, path_host_conf.
3747 * support/support_chroot.c (write_file): New function.
3748 (support_chroot_create): Call it to process /etc/resolv.conf,
3749 /etc/hosts, /etc/host.conf.
3750 (support_chroot_free): Update.
3752 2017-09-01 Florian Weimer <fweimer@redhat.com>
3754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
3755 status indicates it is set.
3757 2017-09-01 Florian Weimer <fweimer@redhat.com>
3759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
3760 function lookup failures more reliable.
3762 2017-09-01 Florian Weimer <fweimer@redhat.com>
3764 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
3765 (getcanonname): Likewise.
3766 (gaih_inet): Likewise.
3768 2017-09-01 Florian Weimer <fweimer@redhat.com>
3770 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
3771 (getcanonname): Likewise.
3772 (gaih_inet): Likewise.
3774 2017-08-31 Steve Ellcey <sellcey@cavium.com>
3775 Richard Henderson <rth@twiddle.net>
3777 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
3778 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
3779 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
3780 (IREG_SIZE, OREG_SIZE): New macros.
3781 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
3782 (IREG_SIZE, OREG_SIZE): New macros.
3783 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
3784 (IREG_SIZE): New macro.
3785 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
3786 (IREG_SIZE): New macro.
3787 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
3789 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
3790 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
3791 (__CONCATX): Handle exceptions correctly on large values that may
3793 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
3794 Initialize if not already set.
3795 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
3797 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3799 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
3800 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
3802 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
3804 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
3806 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
3808 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
3810 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
3812 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
3814 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
3815 (NO_CANCELLATION): Likewise.
3816 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
3818 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
3820 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
3822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
3823 (NO_CANCELLATION): Likewise.
3824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
3825 (NO_CANCELLATION): Likewise.
3826 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
3828 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
3830 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
3832 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
3834 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
3836 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
3837 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
3839 2017-08-31 Steve Ellcey <sellcey@cavium.com>
3841 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
3844 2017-08-31 Florian Weimer <fweimer@redhat.com>
3846 * include/libc-symbols.h (internal_function): Remove.
3848 2017-08-31 Florian Weimer <fweimer@redhat.com>
3850 * stdlib/fmtmsg.c (internal_addseverity): Remove
3853 2017-08-31 Florian Weimer <fweimer@redhat.com>
3855 * stdio-common/printf_fp.c (group_number): Remove
3857 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3859 2017-08-31 Florian Weimer <fweimer@redhat.com>
3861 * posix/fnmatch.c (internal_function): Remove definition.
3862 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
3863 * posix/regcomp.c (peek_token, init_word_char)
3864 (duplicate_node_closure, fetch_token, peek_token)
3865 (peek_token_bracket, build_range_exp, build_collating_symbol):
3867 * posix/regex_internal.c (re_string_construct_common)
3868 (create_ci_newstate, create_cd_newstate, re_string_allocate)
3869 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
3870 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
3871 (re_string_translate_buffer, re_string_reconstruct)
3872 (re_string_peek_byte_case, re_string_fetch_byte_case)
3873 (re_string_destruct, re_string_context_at, re_node_set_alloc)
3874 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
3875 (re_node_set_add_intersect, re_node_set_init_union)
3876 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
3877 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
3878 (re_dfa_add_node, calc_state_hash, re_acquire_state)
3879 (re_acquire_state_context): Likewise.
3880 * posix/regex_internal.h (internal_function): Remove definition.
3881 (re_string_realloc_buffers, build_wcs_buffer)
3882 (build_wcs_upper_buffer, build_upper_buffer)
3883 (re_string_translate_buffer, re_string_context_at)
3884 (re_string_char_size_at, re_string_wchar_at)
3885 (re_string_elem_size_at): Likewise.
3886 * posix/regexec.c (match_ctx_init, match_ctx_clean)
3887 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
3888 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
3889 (re_search_internal, re_search_2_stub, re_search_stub)
3890 (re_copy_regs, prune_impossible_nodes, check_matching)
3891 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
3892 (free_fail_stack_return, sift_states_iter_mb)
3893 (sift_states_backward, build_sifted_states)
3894 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
3895 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
3896 (check_subexp_limits, sift_states_bkref, merge_state_array)
3897 (find_recover_state, transit_state, merge_state_with_log)
3898 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
3899 (transit_state_mb, transit_state_bkref, get_subexp)
3900 (get_subexp_sub, find_subexp_node, check_arrival)
3901 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
3902 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
3903 (check_node_accept_bytes, find_collation_sequence_value)
3904 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
3905 (acquire_init_state_context, check_halt_node_context)
3906 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
3907 (sub_epsilon_src_nodes): Likewise.
3908 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
3909 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
3910 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
3911 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
3912 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
3913 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
3914 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
3915 * sysdeps/posix/ttyname.c (getttyname): Likewise.
3916 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3917 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
3919 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
3921 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
3922 (PWRITEV): Likewise.
3923 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
3924 (PWRITEV): Likewise.
3925 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
3926 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
3928 2017-08-31 Florian Weimer <fweimer@redhat.com>
3930 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
3931 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
3932 Remove internal_function.
3933 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3934 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
3935 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
3936 (__deallocate_stack, __libc_pthread_init)
3937 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
3938 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
3939 (__libc_disable_asynccancel, __librt_disable_asynccancel):
3941 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
3942 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
3943 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
3945 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
3946 (__pthread_mutex_unlock_usercnt): Likewise.
3948 2017-08-31 Florian Weimer <fweimer@redhat.com>
3950 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
3951 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
3952 (fts_safe_changedir): Remove internal_function.
3953 * io/ftw.c (internal_function): Remove definition.
3954 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
3956 2017-08-31 Florian Weimer <fweimer@redhat.com>
3958 * inet/deadline.c (__deadline_current_time)
3959 (__deadline_from_timeval, __deadline_to_ms): Remove
3961 * inet/getnameinfo.c (nrl_domainname): Likewise.
3962 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
3963 * inet/inet6_option.c (add_pad): Likewise.
3964 * inet/net-internal.h (__deadline_current_time)
3965 (__deadline_from_timeval, __deadline_to_ms): Likewise.
3966 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
3967 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
3968 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
3970 2017-08-31 Joseph Myers <joseph@codesourcery.com>
3972 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
3973 include <bits/nan.h>.
3974 * math/Makefile (headers): Remove bits/nan.h.
3975 * bits/nan.h: Remove.
3976 * sysdeps/ieee754/bits/nan.h: Likewise.
3977 * sysdeps/mips/bits/nan.h: Likewise.
3979 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
3980 not include <bits/inf.h>.
3981 * math/Makefile (headers): Remove bits/inf.h.
3982 * bits/inf.h: Remove.
3983 * sysdeps/ieee754/bits/inf.h: Likewise.
3985 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
3986 bits/huge_vall.h or bits/huge_val_flt128.h.
3987 (HUGE_VAL): Define directly here.
3988 [__USE_ISOC99] (HUGE_VALF): Likewise.
3989 [__USE_ISOC99] (HUGE_VALL): Likewise.
3990 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3991 (HUGE_VAL_F128): Likewise.
3992 * math/Makefile (headers): Remove bits/huge_val.h,
3993 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
3994 * bits/huge_val.h: Remove.
3995 * bits/huge_val_flt128.h: Likewise.
3996 * bits/huge_valf.h: Likewise.
3997 * bits/huge_vall.h: Likewise.
3998 * sysdeps/ia64/bits/huge_vall.h: Likewise.
3999 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4000 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4001 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4002 * sysdeps/sh/bits/huge_val.h: Likewise.
4003 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4004 * sysdeps/x86/bits/huge_vall.h: Likewise.
4006 2017-08-31 Florian Weimer <fweimer@redhat.com>
4008 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4010 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4012 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4013 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4014 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4015 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4018 * elf/dl-libc.c (dlerror_run): Likewise.
4019 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4020 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4021 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4022 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4024 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4025 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4026 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4027 * elf/dl-profile.c (_dl_start_profile): Likewise.
4028 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4029 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4031 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4032 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4033 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4034 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4035 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4036 (_dl_allocate_tls_storage): Likewise.
4037 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4038 (_dl_check_all_versions): Likewise.
4039 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4040 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4041 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4042 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4043 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4044 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4045 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4046 internal_function from __dl_start.
4047 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4048 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4049 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4050 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4051 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4052 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4053 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4054 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4055 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4056 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4057 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4058 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4059 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4060 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4061 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4063 (struct rtld_global_ro): Remove internal_function from the
4064 _dl_lookup_symbol_x member.
4065 (_dl_symbol_value): Remove. No longer defined anywhere.
4066 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4068 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4069 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4070 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4071 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4072 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4073 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4074 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4075 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4076 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4077 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4078 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4079 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4081 2017-08-31 Florian Weimer <fweimer@redhat.com>
4083 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4084 Remove internal_function.
4085 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4087 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4090 2017-08-31 Florian Weimer <fweimer@redhat.com>
4092 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4093 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4094 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4096 2017-08-31 Florian Weimer <fweimer@redhat.com>
4098 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4099 (__gai_enqueue_request): Remove internal_function.
4100 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4101 (__gai_remove_request, __gai_notify, __gai_notify_only)
4102 (__gai_sigqueue): Likewise.
4103 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4104 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4105 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4106 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4109 2017-08-31 Florian Weimer <fweimer@redhat.com>
4111 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4112 * include/dirent.h (__opendirat, __getdents, __getdents64)
4113 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4114 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4115 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4116 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4120 2017-08-31 Florian Weimer <fweimer@redhat.com>
4122 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4124 (GETCWD_RETURN_TYPE): Likewise.
4126 2017-08-31 Florian Weimer <fweimer@redhat.com>
4128 * include/time.h (__tz_compute, __strptime_internal): Remove
4130 * time/strptime_l.c (__strptime_internal): Likewise.
4131 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4133 2017-08-31 Florian Weimer <fweimer@redhat.com>
4135 * iconv/gconv.c (__gconv): Remove internal_function.
4136 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4137 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4138 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4139 (__gconv_release_cache): Likewise.
4140 * iconv/gconv_close.c (__gconv_close): Likewise.
4141 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4142 (read_conf_file, __gconv_get_path): Likewise.
4143 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4144 (__gconv_release_step, gen_steps, increment_counter)
4145 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4146 (__gconv_close_transform, free_modules_db): Likewise.
4147 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4149 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4150 (__gconv_find_transform, __gconv_lookup_cache)
4151 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4152 (__gconv_close_transform, __gconv_release_cache)
4153 (__gconv_loaded_object, __gconv_release_shlib)
4154 (__gconv_compare_alias): Likewise.
4155 * iconv/gconv_open.c (__gconv_open): Likewise.
4156 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4157 * iconv/iconvconfig.c (add_module): Likewise.
4158 * intl/dcigettext.c (plural_lookup, guess_category_value)
4159 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4160 * intl/eval-plural.h (plural_eval): Likewise.
4161 * intl/finddomain.c (_nl_find_domain): Likewise.
4162 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4163 (_nl_load_domain, _nl_find_msg): Likewise.
4164 (internal_function): Remove definition.
4165 * intl/loadinfo.h (internal_function): Likewise.
4166 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4168 * intl/localealias.c (internal_function): Remove definition.
4169 (read_alias_file): Remove internal_function.
4170 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4171 * intl/plural-exp.h (internal_function): Remove definition.
4172 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4174 * intl/plural.c: Regenerate.
4175 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4176 * locale/coll-lookup.c (__collidx_table_lookup)
4177 (__collseq_table_lookup): Likewise.
4178 * locale/coll-lookup.h (__collidx_table_lookup)
4179 (__collseq_table_lookup): Likewise.
4180 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4181 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4182 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4183 (_nl_unload_locale): Likewise.
4184 * locale/localeinfo.h (struct __locale_data): Remove
4185 internal_function from cleanup member.
4186 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4187 (_nl_remove_locale, _nl_load_locale_from_archive)
4188 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4189 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4190 (_nl_cleanup_time): Remove internal_function.
4191 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4192 (_nl_parse_alt_digit): Likewise.
4193 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4194 (_nl_select_era_entry): Likewise.
4195 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4196 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4197 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4198 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4199 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4201 2017-08-31 Florian Weimer <fweimer@redhat.com>
4203 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4204 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4205 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4206 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4208 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4209 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4210 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4211 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4213 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4215 2017-08-31 Florian Weimer <fweimer@redhat.com>
4217 * misc/getttyent.c (skip, value): Remove internal_function.
4218 * misc/syslog.c (openlog_internal): Likewise.
4219 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4221 2017-08-31 Florian Weimer <fweimer@redhat.com>
4223 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4224 (__nss_rewrite_field): Remove internal_function.
4225 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4226 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4227 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4228 * nss/nsswitch.c (nss_parse_file, nss_getline)
4229 (nss_parse_service_list, nss_new_service): Likewise.
4230 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4231 * nss/valid_field.c (__nss_valid_field): Likewise.
4232 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4234 2017-08-31 Florian Weimer <fweimer@redhat.com>
4236 * malloc/arena.c (__malloc_fork_lock_parent)
4237 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4238 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4239 internal_function from defintions.
4240 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4241 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4242 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4243 internal_function from declarations.
4244 * malloc/malloc.c (internal_function): Do not define.
4245 (mem2mem_check): Remove internal_function from declaration.
4246 (munmap_chunk, mremap_chunk): Remove internal_function.
4247 * malloc/mtrace.c (tr_where): Likewise.
4249 2017-08-31 Florian Weimer <fweimer@redhat.com>
4251 * include/rpc/pmap_clnt.h (__get_socket): Remove
4253 * sunrpc/auth_des.c (synchronize): Likewise.
4254 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4255 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4256 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4257 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4258 (key_call): Likewise.
4259 * sunrpc/pm_getport.c (__get_socket): Likewise.
4260 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4261 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4262 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4263 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4264 (invalidate): Likewise.
4265 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4266 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4267 (set_input_fragment, get_input_bytes): Likewise.
4269 2017-08-31 Florian Weimer <fweimer@redhat.com>
4271 * malloc/malloc.c (_int_free): Remove locked variable and related
4274 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4277 * Makerules (build-module-helper-objlist): Filter out
4278 $(elf-objpfx)sofini.os.
4279 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4282 2017-08-31 Florian Weimer <fweimer@redhat.com>
4284 * libio/fcloseall.c: Assume weak_alias is defined.
4285 * libio/feof.c: Likewise.
4286 * libio/fileno.c: Likewise.
4287 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4288 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4290 (_IO_file_open): Call __open directly.
4291 (_IO_new_file_sync): Assume ESPIPE is defined.
4292 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4293 (_IO_new_file_write): Call __write directly.
4294 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4295 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4296 * libio/genops.c: Assume _LIBC is defined.
4297 (save_for_backup): Remove internal_function.
4298 * libio/getc.c: Assume weak_alias is defined.
4299 * libio/getwc.c: Likewise.
4300 * libio/iofclose.c: Assume _LIBC is defined.
4301 * libio/iofdopen.c: Likewise.
4302 (_IO_fcntl): Remove macro definition.
4303 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4304 Call __fcntl directly.
4305 * libio/iofflush.c: Assume weak_alias is defined.
4306 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4308 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4309 * libio/iofgets.c: Likewise.
4310 * libio/iofopen.c: Assume _LIBC is defined.
4311 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4312 * libio/iofputs.c: Assume weak_alias is defined.
4313 * libio/iofread.c: Likewise.
4314 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4315 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4316 * libio/ioftell.c: Assume weak_alias is defined.
4317 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4318 * libio/iofwide.c: Assume _LIBC is defined.
4319 (_IO_fwide): Drop SHARED conditional because it is implied by
4321 * libio/iofwrite.c: Assume weak_alias is defined.
4322 * libio/iogetdelim.c: Likewise.
4323 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4324 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4325 (_IO_getwline): Call __wmemcpy directly.
4326 * libio/iopopen.c: Assume _LIBC is defined.
4327 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4328 (_IO_close): Remove macro definitions.
4329 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
4331 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
4333 * libio/ioputs.c: Assume weak_alias is defined.
4334 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
4335 * libio/iosetbuffer.c: Assume weak_alias is defined.
4336 * libio/iosetvbuf.c: Likewise.
4337 * libio/ioungetc.c: Likewise.
4338 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
4339 libc_hidden_def, libc_hidden_weak, NULL are defined.
4340 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
4341 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
4343 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4345 (_IO_old_file_init_internal): Drop SHARED conditional because it
4346 is implied by SHLIB_COMPAT.
4347 (_IO_old_file_fopen): Call __open directly.
4348 (_IO_old_file_sync): Assume ESPIPE is defined.
4349 (_IO_old_file_write): Call __write directly.
4350 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
4351 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
4352 Call __fcntl directly.
4353 * libio/oldiofgetpos.c: Assume weak_alias is defined.
4354 (_IO_old_fgetpos): Assume EIO is defined.
4355 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
4356 (_IO_old_fgetpos64): Assume EIO is defined.
4357 * libio/oldiofsetpos.c: Assume weak_alias is defined.
4358 (_IO_old_fsetpos): Assume EIO is defined.
4359 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
4360 (_IO_old_fsetpos64): Assume EIO is defined.
4361 * libio/oldiopopen.c: Assume _LIBC is defined.
4362 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4363 (_IO_close): Remove macro definitions.
4364 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
4366 (_IO_old_proc_close): Call __close, __waitpid directly.
4367 * libio/put.c: Assume weak_alias is defined.
4368 * libio/stdfiles.c: Assume _LIBC is defined.
4369 * libio/stdio.c: Likewise.
4370 * libio/wfileops.c: Likewise.
4371 (_IO_wfile_sync): Assume ESPIPE is defined.
4372 * libio/wgenops.c: Assume _LIBC is defined.
4373 (save_for_wbackup): Remove internal_function.
4375 2017-08-31 Florian Weimer <fweimer@redhat.com>
4377 * malloc/malloc.c (top_check): Change return type to void. Remove
4379 * malloc/hooks.c (top_check): Likewise.
4380 (malloc_check, realloc_check, memalign_check): Adjust.
4382 2017-08-30 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4386 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
4387 sigcontext and namespace requirements.
4388 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4389 * sysdeps/m68k/sys/ucontext.h: Likewise.
4390 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
4391 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4392 <bits/sigcontext.h>.
4393 (__ctx): Define earlier.
4394 (mcontext_t): Define structure contents rather than using struct
4396 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
4397 __glibc_reserved1 instead of __reserved.
4398 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4399 <bits/sigcontext.h>.
4400 (__ctx): Define earlier.
4401 (mcontext_t): Define structure contents rather than using struct
4403 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
4404 mcontext_t instead of struct sigcontext.
4405 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4406 <bits/sigcontext.h>.
4407 (__ctx): Define earlier.
4408 (mcontext_t): Define structure contents rather than using struct
4410 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4411 <bits/sigcontext.h>.
4412 (__ctx): Define earlier.
4413 (mcontext_t): Define structure contents rather than using struct
4415 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
4416 mcontext_t instead of struct sigcontext.
4417 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
4418 mcontext_t instead of struct sigcontext.
4419 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4420 <bits/sigcontext.h>.
4422 (struct __ia64_fpreg_mcontext): New type.
4423 (mcontext_t): Define structure contents rather than using struct
4425 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
4426 (uc_sigmask): Define using __ctx.
4427 (uc_stack): Likewise.
4428 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
4429 <bits/sigcontext.h>.
4430 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4431 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4432 <bits/sigcontext.h>.
4433 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
4434 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4435 <bits/sigcontext.h>.
4436 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4437 <bits/sigcontext.h>.
4438 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4439 <bits/sigcontext.h>.
4440 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4441 <bits/sigcontext.h>.
4442 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4443 <bits/sigcontext.h>.
4444 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4445 <bits/sigcontext.h>.
4446 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4447 <bits/sigcontext.h>.
4448 (__ctx): Define earlier.
4449 (mcontext_t): Define structure contents rather than using struct
4451 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4452 <bits/sigcontext.h>. Include <bits/types.h>.
4453 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
4454 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
4455 (test-xfail-XPG42/ucontext.h/conform): Likewise.
4456 (test-xfail-UNIX98/signal.h/conform): Likewise.
4457 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4458 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4459 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4460 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4461 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4462 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4463 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4464 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4465 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4467 2017-08-30 Florian Weimer <fweimer@redhat.com>
4469 * malloc/dynarray_emplace_enlarge.c
4470 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
4471 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4472 * malloc/tst-dynarray.c (test_long_overflow): New function.
4475 2017-08-30 Florian Weimer <fweimer@redhat.com>
4477 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
4478 (set_arena_corrupt): Remove definitions.
4479 (mtrim): Do not check for corrupt arena.
4480 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
4483 2017-08-30 Florian Weimer <fweimer@redhat.com>
4486 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
4488 (ptmalloc_init): Do not set or use check_action.
4489 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
4490 call to malloc_printerr. Remove return statement.
4491 (free_check): Likewise. Remove arena unlock.
4492 (top_check): Update comment. Adjust call to malloc_printerr.
4493 Remove heap repair code.
4494 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
4495 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
4496 (sysmalloc): Adjust call to malloc_printerr.
4497 (munmap_chunk, __libc_realloc): Likewise. Remove return
4499 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
4500 Remove errout label and corresponding gotos.
4501 (_int_free): Likewise. Remove arena unlock.
4502 (do_set_mallopt_check): Do not set check_action.
4503 (malloc_printerr): Adjust parameter list. Do not mark arena as
4505 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
4507 * manual/probes.texi (Memory Allocation Probes): Remove
4508 memory_mallopt_check_action.
4510 2017-08-30 Steve Ellcey <sellcey@cavium.com>
4512 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
4513 Use pointer to uint64_t instead of long int for sp.
4515 2017-08-30 Florian Weimer <fweimer@redhat.com>
4518 * malloc/malloc.c (malloc_printerr): Always terminate the process,
4519 without printing a backtrace. Do not leak any information in the
4521 * manual/memory.texi (Heap Consistency Checking): Update.
4522 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
4524 2017-08-30 Florian Weimer <fweimer@redhat.com>
4526 Do not scale NPTL tests with available number of CPUs.
4527 * nptl/tst-cond16.c (count): Set to constant value of 8.
4528 * nptl/tst-cond18.c (count): Likewise.
4530 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4533 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
4534 Define to take a second argument that is a macro that
4535 concatentates a suffix, not the suffix itself.
4536 (__CONCAT_d): New macro.
4537 (__CONCAT_f): Likewise.
4538 (__CONCAT_l): Likewise.
4540 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
4542 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
4545 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4546 Aurelien Jarno <aurelien@aurel32.net>
4547 Maciej W. Rozycki <macro@imgtec.com>
4550 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
4551 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
4552 `mips16-syscall6' and `mips16-syscall7'.
4553 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
4554 (CFLAGS-mips16-syscall7.c): Remove.
4555 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
4556 Remove `__mips16_syscall5', `__mips16_syscall6' and
4557 `__mips16_syscall7'.
4558 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
4559 (__mips16_syscall0): Rename `__mips16_syscall_return' to
4560 `__mips_syscall_return'.
4561 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
4562 (__mips16_syscall1): Likewise.
4563 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
4564 (__mips16_syscall2): Likewise.
4565 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
4566 (__mips16_syscall3): Likewise.
4567 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
4568 (__mips16_syscall4): Likewise.
4569 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
4571 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
4573 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
4575 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
4576 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
4577 `__mips16_syscall5'. Remove prototype.
4578 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
4579 `__mips16_syscall6'. Remove prototype.
4580 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
4581 `__mips16_syscall7'. Remove prototype.
4582 (__nomips16, __mips16_syscall_return): Move to...
4583 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
4584 (__nomips16, __mips_syscall_return): ... here.
4585 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
4586 `__mips16_syscall_return' to `__mips_syscall_return'.
4587 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
4588 `internal_syscall##nr'.
4589 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
4590 `internal_syscall##nr'.
4591 (FORCE_FRAME_POINTER): Remove.
4592 (__mips_syscall5): New prototype.
4593 (internal_syscall5): Rewrite to call `__mips_syscall5'.
4594 (__mips_syscall6): New prototype.
4595 (internal_syscall6): Rewrite to call `__mips_syscall6'.
4596 (__mips_syscall7): New prototype.
4597 (internal_syscall7): Rewrite to call `__mips_syscall7'.
4598 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
4599 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
4600 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
4601 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
4602 (sysdep_routines): Add libc-do-syscall.
4603 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
4604 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
4606 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4609 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
4610 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
4611 (advise_stack_range): New function.
4612 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
4613 stack non required to advise_stack_range at allocatestack.c
4615 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4617 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
4619 2017-08-29 Florian Weimer <fweimer@redhat.com>
4622 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
4623 __end_fct. Mangle __end_fct after setting it to NULL.
4624 * iconv/Makefile (tests): Add tst-gconv-init-failure.
4625 (modules-names, modules-names-tests): Add
4626 tst-gconv-init-failure-mod.
4627 (gconv-modules): New target.
4628 (tst-gconv-init-failure-mod.so): Link against libsupport.
4629 (tst-gconv-init-failure): Depend on gconv-modules,
4630 tst-gconv-init-failure-mod.so.
4631 * iconv/tst-gconv-init-failure-mod.c: New file.
4632 * iconv/tst-gconv-init-failure.c: Likewise.
4633 * iconv/test-gconv-modules: Likewise.
4635 2017-08-29 Florian Weimer <fweimer@redhat.com>
4638 * iconv/gconv_db.c (free_derivation): Remove redundant
4640 (gen_steps): Unconditionally mangle __btowc_fct after
4642 (increment_counter): Likewise. Do not call init_fct for internal
4645 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4648 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
4649 (_MSUF_): Remove macro.
4650 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
4652 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
4653 (__REDIRFROM_X): New macro.
4654 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
4656 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
4657 (__REDIRTO_X): Likewise.
4658 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
4660 (__MATH_REDIRCALL_2): Likewise.
4661 (__MATH_REDIRCALL_INTERNAL): Likewise.
4662 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
4663 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
4664 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
4665 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
4666 * math/test-finite-macros.c: New file.
4667 * math/Makefile (tests): Add test-finite-macros.
4668 (CFLAGS-test-finite-macros.c): New variable.
4670 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
4671 Jeff Law <law@redhat.com>
4674 Mangle NULL pointers in iconv/gconv.
4675 * iconv/gconv_cache.c (find_module): Demangle init_fct before
4676 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
4677 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
4678 is non-NULL before demangling the end_fct. Check for NULL
4679 end_fct after demangling.
4680 (__gconv_release_step): Demangle the end_fct before checking
4681 it for NULL. Remove assert on __shlibc_handle != NULL.
4682 (gen_steps): Don't check btowc_fct for NULL before mangling.
4683 Demangle init_fct before checking for NULL.
4684 (increment_counter): Likewise.
4685 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
4686 end_fct for NULL before mangling.
4687 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
4690 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
4693 * locale/iso-639.def: add Morisyen.
4695 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4698 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
4699 (iszero): New C++ implementation that does not use
4700 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
4701 signaling nans are enabled, since __builtin_types_compatible_p
4702 is a C-only feature.
4703 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
4704 defined, include ieee754_float128.h for access to the union and
4705 member ieee854_float128.ieee.
4706 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
4707 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
4708 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
4709 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
4710 options of test-math-zero on powerpc64le.
4712 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
4714 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
4715 Change double to float.
4717 2017-08-28 Joseph Myers <joseph@codesourcery.com>
4719 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
4721 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
4722 conditional code; define contents only for [LIBM_SVID_COMPAT].
4724 2017-08-28 Florian Weimer <fweimer@redhat.com>
4726 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
4727 (abi-lp64_be-options): Remove.
4728 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
4729 (abi-hard-options): Likewise.
4730 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
4731 (abi-o32_hard-options, abi-o32_soft_2008-options)
4732 (abi-o32_hard_2008-options, abi-n32_soft-options)
4733 (abi-n32_hard-options, abi-n32_soft_2008-options)
4734 (abi-n32_hard_2008-options, abi-n64_soft-options)
4735 (abi-n64_hard-options, abi-n64_soft_2008-options)
4736 (abi-n64_hard_2008-options): Likewise.
4737 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
4738 (abi-64-v1-options, abi-64-v2-options): Likewise.
4739 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
4740 (abi-64-options): Likewise.
4741 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
4742 (abi-64-options): Likewise.
4743 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
4744 (abi-64-options): Likewise.
4745 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
4746 (abi-64-options, abi-x32-options): Likewise.
4748 2017-08-28 Florian Weimer <fweimer@redhat.com>
4750 Store supported list of SYS_* system calls in the source tree.
4751 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4752 (bits/syscall.h): Generate from list file.
4753 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
4754 [$(subdir) = misc] (tests): Add tst-syscall-list.
4755 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
4756 [$(subdir) = misc] (tst-syscall-list-macros.list)
4757 [$(subdir) = misc] (tst-syscall-list-nr.list)
4758 (tst-syscall-list-sys.list): Helper targets for new
4759 tst-syscall-list test.
4760 [$(subdir) = misc] (tst-syscall-list.out): Run test script
4761 tst-syscall-list.sh.
4762 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
4763 target. Do not include bits/syscall.d.
4764 [$(subdir) = misc] (generated): Do not update.
4765 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
4766 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
4767 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
4768 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
4770 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4772 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
4773 (tst-cxa_atexit, tst-on_exit): Likewise.
4774 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
4775 tst-cxa_atexit, and tst-on_exit.
4776 * stdlib/tst-atexit-common.c: New file.
4777 * stdlib/tst-atexit.c: New file.
4778 * stdlib/tst-at_quick_exit.c: New file.
4779 * stdlib/tst-cxa_atexit.c: New file.
4780 * stdlib/tst-on_exit.c: New file.
4782 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4784 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
4785 * mach/stack_chk_fail_local.c: New file.
4786 * hurd/stack_chk_fail_local.c: New file.
4787 * mach/Machrules ($(interface-library)-routines): Add
4788 stack_chk_fail_local.
4789 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
4790 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
4791 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
4792 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
4793 * hurd/Makefile (CFLAGS-hurdstartup.o,
4794 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
4796 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
4798 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
4799 (index_cpu_*, index_arch_*): Removed.
4801 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4803 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
4804 Use uint64_t instead of unsigned long.
4806 2017-08-25 Joseph Myers <joseph@codesourcery.com>
4808 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
4809 [__HAVE_DISTINCT_FLOAT128].
4811 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
4812 of <bits/math-finite.h>.
4813 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
4814 inclusion of <bits/math-finite.h>.
4815 * math/bits/math-finite.h (__REDIRTO_X): Do not define
4816 conditionally on [__MATH_DECLARING_LDOUBLE && defined
4817 __NO_LONG_DOUBLE_MATH].
4818 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
4819 (__MATH_REDIRCALL_2): Likewise.
4820 (__MATH_REDIRCALL_INTERNAL): Likewise.
4821 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
4822 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
4823 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
4825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4837 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4838 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4839 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4842 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
4843 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
4844 w_sqrtf_compat-ppc32.
4846 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4848 * math/math.h [defined __cplusplus] (issignaling): In the long
4849 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
4850 is not defined. Call __issignaling, otherwise.
4852 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4854 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
4855 syscall definitions and replace __builtin_expect with __glibc_likely.
4856 * sysdeps/unix/syscall-template.S: Update comment about cancellable
4858 (SYSCALL_CANCELLABLE): Removedefinition
4859 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
4861 (PSEUDO_END): Likewise.
4862 [IS_IN (libpthread)] (CENABLE): Likewise.
4863 [IS_IN (libpthread)] (CDISABLE): Likewise.
4864 [IS_IN (libc)] (CENABLE): Likewise.
4865 [IS_IN (libc)] (CENABLE): Likewise.
4866 [IS_IN (librt)] (CDISABLE): Likewise.
4867 [IS_IN (librt)] (CDISABLE): Likewise.
4868 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4869 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
4871 (PSEUDO_END): Likewise.
4872 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
4873 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
4874 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
4875 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
4876 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
4877 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
4878 (CENABLE): Likewise.
4879 (CDISABLE): Likewise.
4880 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4881 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
4883 (PSEUDO_END): Likewise.
4884 [IS_IN (libpthread)] (CENABLE): Likewise.
4885 [IS_IN (libpthread)] (CDISABLE): Likewise.
4886 [IS_IN (libc)] (CENABLE): Likewise.
4887 [IS_IN (libc)] (CENABLE): Likewise.
4888 [IS_IN (librt)] (CDISABLE): Likewise.
4889 [IS_IN (librt)] (CDISABLE): Likewise.
4890 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4891 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
4893 (PSEUDO_END): Likewise.
4894 [IS_IN (libpthread)] (CENABLE): Likewise.
4895 [IS_IN (libpthread)] (CDISABLE): Likewise.
4896 [IS_IN (libc)] (CENABLE): Likewise.
4897 [IS_IN (libc)] (CENABLE): Likewise.
4898 [IS_IN (librt)] (CDISABLE): Likewise.
4899 [IS_IN (librt)] (CDISABLE): Likewise.
4900 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4901 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
4903 (PSEUDO_END): Likewise.
4904 [IS_IN (libpthread)] (CENABLE): Likewise.
4905 [IS_IN (libpthread)] (CDISABLE): Likewise.
4906 [IS_IN (libc)] (CENABLE): Likewise.
4907 [IS_IN (libc)] (CENABLE): Likewise.
4908 [IS_IN (librt)] (CDISABLE): Likewise.
4909 [IS_IN (librt)] (CDISABLE): Likewise.
4910 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4911 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
4913 (PSEUDO_END): Likewise.
4914 [IS_IN (libpthread)] (CENABLE): Likewise.
4915 [IS_IN (libpthread)] (CDISABLE): Likewise.
4916 [IS_IN (libc)] (CENABLE): Likewise.
4917 [IS_IN (libc)] (CENABLE): Likewise.
4918 [IS_IN (librt)] (CDISABLE): Likewise.
4919 [IS_IN (librt)] (CDISABLE): Likewise.
4920 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4921 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
4923 (PSEUDO_END): Likewise.
4924 [IS_IN (libpthread)] (CENABLE): Likewise.
4925 [IS_IN (libpthread)] (CDISABLE): Likewise.
4926 [IS_IN (libc)] (CENABLE): Likewise.
4927 [IS_IN (libc)] (CENABLE): Likewise.
4928 [IS_IN (librt)] (CDISABLE): Likewise.
4929 [IS_IN (librt)] (CDISABLE): Likewise.
4930 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4931 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
4933 (PSEUDO_END): Likewise.
4934 [IS_IN (libpthread)] (CENABLE): Likewise.
4935 [IS_IN (libpthread)] (CDISABLE): Likewise.
4936 [IS_IN (libc)] (CENABLE): Likewise.
4937 [IS_IN (libc)] (CENABLE): Likewise.
4938 [IS_IN (librt)] (CDISABLE): Likewise.
4939 [IS_IN (librt)] (CDISABLE): Likewise.
4940 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4941 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
4943 (PSEUDO_END): Likewise.
4944 [IS_IN (libpthread)] (CENABLE): Likewise.
4945 [IS_IN (libpthread)] (CDISABLE): Likewise.
4946 [IS_IN (libc)] (CENABLE): Likewise.
4947 [IS_IN (libc)] (CENABLE): Likewise.
4948 [IS_IN (librt)] (CDISABLE): Likewise.
4949 [IS_IN (librt)] (CDISABLE): Likewise.
4950 (SINGLE_THREAD_P): Likewise.
4951 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
4953 (PSEUDO_END): Likewise.
4954 [IS_IN (libpthread)] (CENABLE): Likewise.
4955 [IS_IN (libpthread)] (CDISABLE): Likewise.
4956 [IS_IN (libc)] (CENABLE): Likewise.
4957 [IS_IN (libc)] (CENABLE): Likewise.
4958 [IS_IN (librt)] (CDISABLE): Likewise.
4959 [IS_IN (librt)] (CDISABLE): Likewise.
4960 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4961 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
4963 (PSEUDO_END): Likewise.
4964 [IS_IN (libpthread)] (CENABLE): Likewise.
4965 [IS_IN (libpthread)] (CDISABLE): Likewise.
4966 [IS_IN (libc)] (CENABLE): Likewise.
4967 [IS_IN (libc)] (CENABLE): Likewise.
4968 [IS_IN (librt)] (CDISABLE): Likewise.
4969 [IS_IN (librt)] (CDISABLE): Likewise.
4970 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4971 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
4972 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4973 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
4974 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
4976 (PSEUDO_END): Likewise.
4977 [IS_IN (libpthread)] (CENABLE): Likewise.
4978 [IS_IN (libpthread)] (CDISABLE): Likewise.
4979 [IS_IN (libc)] (CENABLE): Likewise.
4980 [IS_IN (libc)] (CENABLE): Likewise.
4981 [IS_IN (librt)] (CDISABLE): Likewise.
4982 [IS_IN (librt)] (CDISABLE): Likewise.
4983 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
4986 (PSEUDO_END): Likewise.
4987 [IS_IN (libpthread)] (CENABLE): Likewise.
4988 [IS_IN (libpthread)] (CDISABLE): Likewise.
4989 [IS_IN (libc)] (CENABLE): Likewise.
4990 [IS_IN (libc)] (CENABLE): Likewise.
4991 [IS_IN (librt)] (CDISABLE): Likewise.
4992 [IS_IN (librt)] (CDISABLE): Likewise.
4993 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
4994 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
4996 (PSEUDO_END): Likewise.
4997 [IS_IN (libpthread)] (CENABLE): Likewise.
4998 [IS_IN (libpthread)] (CDISABLE): Likewise.
4999 [IS_IN (libc)] (CENABLE): Likewise.
5000 [IS_IN (libc)] (CENABLE): Likewise.
5001 [IS_IN (librt)] (CDISABLE): Likewise.
5002 [IS_IN (librt)] (CDISABLE): Likewise.
5003 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5007 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5009 (PSEUDO_END): Likewise.
5010 [IS_IN (libpthread)] (CENABLE): Likewise.
5011 [IS_IN (libpthread)] (CDISABLE): Likewise.
5012 [IS_IN (libc)] (CENABLE): Likewise.
5013 [IS_IN (libc)] (CENABLE): Likewise.
5014 [IS_IN (librt)] (CDISABLE): Likewise.
5015 [IS_IN (librt)] (CDISABLE): Likewise.
5016 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5017 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5019 (PSEUDO_END): Likewise.
5020 [IS_IN (libpthread)] (CENABLE): Likewise.
5021 [IS_IN (libpthread)] (CDISABLE): Likewise.
5022 [IS_IN (libc)] (CENABLE): Likewise.
5023 [IS_IN (libc)] (CENABLE): Likewise.
5024 [IS_IN (librt)] (CDISABLE): Likewise.
5025 [IS_IN (librt)] (CDISABLE): Likewise.
5026 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5028 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5030 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5032 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5034 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5036 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5039 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5040 middle and outer with size_t instead of int. Repleace %d and
5041 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5042 "MAX (outer, nchars - 64)" to support unsigned outer and
5043 nchars. Also exit loop when outer == 0.
5045 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5047 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5048 * include/signal.h (__sigsuspend_nocancel): Likewise.
5049 * include/time.h (__nanosleep_nocancel): Likewise.
5050 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5051 * login/utmp_file.c: Include non cancellable syscall header.
5052 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5055 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5057 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5058 .byte sequences with AVX512F instructions.
5059 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5060 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5061 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5064 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5067 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5068 Steve Ellcey <sellcey@cavium.com>
5070 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5071 Use PTR_REG macro in cmp instruction.
5073 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5075 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5076 Change the return type of the ifunc resolver to match the return
5077 type of the target function.
5079 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5081 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5082 (preadv64): Likewise.
5083 (pwrite64(: Likewise.
5084 (pwritev64): Likewise.
5086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5087 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5088 (LOAD_ARGS_0): Likewise.
5089 (LOAD_ARGS_1): Likewise.
5090 (LOAD_ARGS_2): Likewise.
5091 (LOAD_ARGS_3): Likewise.
5092 (LOAD_ARGS_4): Likewise.
5093 (LOAD_ARGS_5): Likewise.
5094 (LOAD_ARGS_6): Likewise.
5095 (LOAD_REGS_0): Likewise.
5096 (LOAD_REGS_1): Likewise.
5097 (LOAD_REGS_2): Likewise.
5098 (LOAD_REGS_3): Likewise.
5099 (LOAD_REGS_4): Likewise.
5100 (LOAD_REGS_5): Likewise.
5101 (LOAD_REGS_6): Likewise.
5102 (ASM_ARGS_0): Likewise.
5103 (ASM_ARGS_1): Likewise.
5104 (ASM_ARGS_2): Likewise.
5105 (ASM_ARGS_3): Likewise.
5106 (ASM_ARGS_4): Likewise.
5107 (ASM_ARGS_5): Likewise.
5108 (ASM_ARGS_6): Likewise.
5109 (LOAD_ARGS_TYPES_1): Likewise.
5110 (LOAD_ARGS_TYPES_2): Likewise.
5111 (LOAD_ARGS_TYPES_3): Likewise.
5112 (LOAD_ARGS_TYPES_4): Likewise.
5113 (LOAD_ARGS_TYPES_5): Likewise.
5114 (LOAD_ARGS_TYPES_6): Likewise.
5115 (LOAD_REGS_TYPES_1): Likewise.
5116 (LOAD_REGS_TYPES_2): Likewise.
5117 (LOAD_REGS_TYPES_3): Likewise.
5118 (LOAD_REGS_TYPES_4): Likewise.
5119 (LOAD_REGS_TYPES_5): Likewise.
5120 (LOAD_REGS_TYPES_6): Likewise.
5121 (TYPEFY): New define.
5123 (internal_syscall0): Likewise.
5124 (internal_syscall1): Likewise.
5125 (internal_syscall2): Likewise.
5126 (internal_syscall3): Likewise.
5127 (internal_syscall4): Likewise.
5128 (internal_syscall5): Likewise.
5129 (internal_syscall6): Likewise.
5130 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5131 (INTERNAL_SYSCALL_NCS): Remove define.
5132 (internal_syscall1): Add define.
5134 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5136 * math/w_remainder_compat.c: Remove duplicate inclusion of
5138 * math/w_remainderf_compat.c: Likewise.
5139 * math/w_remainderl_compat.c: Likewise.
5141 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5145 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5148 * math/tgmath.h (__floating_type): Simplify definitions.
5149 (__real_integer_type): New macro.
5150 (__complex_integer_type): Likewise.
5151 (__expr_is_real): Likewise.
5152 (__tgmath_real_type_sub): Update comment to describe handling of
5154 (__tgmath_complex_type_sub): New macro.
5155 (__tgmath_complex_type): Likewise.
5156 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5157 (__TGMATH_CF128): Use __expr_is_real.
5158 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5160 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5161 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5162 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5165 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5167 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5169 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5171 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5174 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5175 nanosleep_not_cancel with __nanosleep_nocancel.
5176 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5177 (__nanosleep_nocancel): New macro.
5178 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5180 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5182 (__nanosleep_nocancel): New prototype.
5184 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5185 pause_not_cancel with __pause_nocancel.
5186 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5187 (__pause_nocancel): New macro.
5188 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5190 (__pause_nocancel): New prototype.
5191 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5193 2017-08-22 Martin Sebor <msebor@redhat.com>
5195 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5196 to return a pointer to the same type as the target function.
5198 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5202 * include/printf.h (__printf_fphex): Add attribute_hidden.
5203 (__guess_grouping): New prototype.
5204 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5205 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5206 libc_hidden_proto and libc_hidden_def.
5207 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5208 (__vstrfmon_l): Remove the third argument passed to
5211 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5213 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5214 definition for issignaling that does not rely on __MATH_TG,
5215 since __MATH_TG uses __builtin_types_compatible_p, which is only
5216 available in C mode.
5217 (CFLAGS-test-math-issignaling.cc): New variable.
5218 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5219 * math/test-math-issignaling.cc: New test for C++ implementation
5220 of type-generic issignaling.
5221 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5222 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5223 options of test-math-issignaling on powerpc64le.
5225 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5227 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5229 (hidden_proto): Likewise.
5230 (hidden_tls_proto): Likewise.
5231 (__hidden_proto): Likewise.
5233 2017-08-22 Florian Weimer <fweimer@redhat.com>
5235 math: Statically link tests of internal functionality.
5236 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5238 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5239 (gmp-objs): Remove assignment.
5240 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5242 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5247 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5249 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5252 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5253 variable definitions above inclusion of ../Rules.
5255 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5257 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5258 case calling __builtin_unreachable.
5260 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5262 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5264 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5265 (__waitpid_nocancel): New macro.
5266 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5268 (__waitpid_nocancel): Replace macro with a function.
5269 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5272 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5274 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5275 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5277 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5278 __writev_nocancel_nostatus.
5279 (write_call_graph): Likewise.
5280 (write_bb_counts): Likewise.
5281 * resolv/herror.c (herror): Likewise.
5282 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5284 (__writev_nocancel_nostatus): New macro.
5285 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5287 (__writev_nocancel_nostatus): New function.
5289 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5292 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5294 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5296 (hidden_proto): Likewise.
5297 (hidden_tls_proto): Likewise.
5298 (__hidden_proto): Likewise.
5301 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5302 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5311 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5313 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5314 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5315 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5316 GLIBC_2.0 sqrtl symbol.
5318 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5319 [__USE_MISC] (_LIB_VERSION): Likewise.
5320 [__USE_MISC] (struct exception): Likewise.
5321 [__USE_MISC] (matherr): Likewise.
5322 [__USE_MISC] (DOMAIN): Likewise.
5323 [__USE_MISC] (SING): Likewise.
5324 [__USE_MISC] (OVERFLOW): Likewise.
5325 [__USE_MISC] (UNDERFLOW): Likewise.
5326 [__USE_MISC] (TLOSS): Likewise.
5327 [__USE_MISC] (PLOSS): Likewise.
5328 [__USE_MISC] (HUGE): Likewise.
5329 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
5330 * math/math-svid-compat.h: New file.
5331 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
5333 * include/math.h [!_ISOMAC] (__matherr): Remove.
5334 * manual/arith.texi (FP Exceptions): Do not document matherr.
5335 * math/Makefile (tests): Change test-matherr to test-matherr-3.
5336 (tests-internal): New variable.
5337 (install-lib): Do not add libieee.a.
5338 (non-lib.a): Likewise.
5339 (extra-objs): Do not add libieee.a and ieee-math.o.
5340 (CPPFLAGS-s_lib_version.c): Remove variable.
5341 ($(objpfx)libieee.a): Remove rule.
5342 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
5343 * math/ieee-math.c: Remove.
5344 * math/libm-test-support.c (matherr): Remove.
5345 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
5346 and license notices. Include <math-svid-compat.h> and
5348 (matherr): Undefine as macro. Use compat_symbol_reference.
5349 (_LIB_VERSION): Likewise.
5350 * math/test-matherr-2.c: New file.
5351 * math/test-matherr-3.c: Likewise.
5352 * sysdeps/generic/math_private.h (__kernel_standard): Remove
5354 (__kernel_standard_f): Likewise.
5355 (__kernel_standard_l): Likewise.
5356 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
5357 <math_private.h>. Include <math-svid-compat.h>.
5358 (_LIB_VERSION): Undefine as macro.
5359 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
5360 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
5361 [LIBM_SVID_COMPAT], use compat_symbol.
5362 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
5363 <math_private.h>. Include <math-svid-compat.h>.
5364 (matherr): Undefine as macro.
5365 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
5367 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
5368 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
5369 compat_symbol_reference.
5370 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
5371 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
5372 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
5373 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
5374 (MATHERR_D): Remove declaration.
5375 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
5376 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
5377 [LIBM_BUILD] (pmatherrf): Likewise.
5378 [LIBM_BUILD] (pmatherr): Likewise.
5379 [LIBM_BUILD] (pmatherrl): Likewise.
5382 (OVERFLOW): Likewise.
5383 (UNDERFLOW): Likewise.
5386 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
5387 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
5389 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
5390 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
5392 * math/lgamma-compat.h: Include <math-svid-compat.h>.
5393 * math/w_acos_compat.c: Likewise.
5394 * math/w_acosf_compat.c: Likewise.
5395 * math/w_acosh_compat.c: Likewise.
5396 * math/w_acoshf_compat.c: Likewise.
5397 * math/w_acoshl_compat.c: Likewise.
5398 * math/w_acosl_compat.c: Likewise.
5399 * math/w_asin_compat.c: Likewise.
5400 * math/w_asinf_compat.c: Likewise.
5401 * math/w_asinl_compat.c: Likewise.
5402 * math/w_atan2_compat.c: Likewise.
5403 * math/w_atan2f_compat.c: Likewise.
5404 * math/w_atan2l_compat.c: Likewise.
5405 * math/w_atanh_compat.c: Likewise.
5406 * math/w_atanhf_compat.c: Likewise.
5407 * math/w_atanhl_compat.c: Likewise.
5408 * math/w_cosh_compat.c: Likewise.
5409 * math/w_coshf_compat.c: Likewise.
5410 * math/w_coshl_compat.c: Likewise.
5411 * math/w_exp10_compat.c: Likewise.
5412 * math/w_exp10f_compat.c: Likewise.
5413 * math/w_exp10l_compat.c: Likewise.
5414 * math/w_exp2_compat.c: Likewise.
5415 * math/w_exp2f_compat.c: Likewise.
5416 * math/w_exp2l_compat.c: Likewise.
5417 * math/w_fmod_compat.c: Likewise.
5418 * math/w_fmodf_compat.c: Likewise.
5419 * math/w_fmodl_compat.c: Likewise.
5420 * math/w_hypot_compat.c: Likewise.
5421 * math/w_hypotf_compat.c: Likewise.
5422 * math/w_hypotl_compat.c: Likewise.
5423 * math/w_j0_compat.c: Likewise.
5424 * math/w_j0f_compat.c: Likewise.
5425 * math/w_j0l_compat.c: Likewise.
5426 * math/w_j1_compat.c: Likewise.
5427 * math/w_j1f_compat.c: Likewise.
5428 * math/w_j1l_compat.c: Likewise.
5429 * math/w_jn_compat.c: Likewise.
5430 * math/w_jnf_compat.c: Likewise.
5431 * math/w_jnl_compat.c: Likewise.
5432 * math/w_lgamma_main.c: Likewise.
5433 * math/w_lgamma_r_compat.c: Likewise.
5434 * math/w_lgammaf_main.c: Likewise.
5435 * math/w_lgammaf_r_compat.c: Likewise.
5436 * math/w_lgammal_main.c: Likewise.
5437 * math/w_lgammal_r_compat.c: Likewise.
5438 * math/w_log10_compat.c: Likewise.
5439 * math/w_log10f_compat.c: Likewise.
5440 * math/w_log10l_compat.c: Likewise.
5441 * math/w_log2_compat.c: Likewise.
5442 * math/w_log2f_compat.c: Likewise.
5443 * math/w_log2l_compat.c: Likewise.
5444 * math/w_log_compat.c: Likewise.
5445 * math/w_logf_compat.c: Likewise.
5446 * math/w_logl_compat.c: Likewise.
5447 * math/w_pow_compat.c: Likewise.
5448 * math/w_powf_compat.c: Likewise.
5449 * math/w_powl_compat.c: Likewise.
5450 * math/w_remainder_compat.c: Likewise.
5451 * math/w_remainderf_compat.c: Likewise.
5452 * math/w_remainderl_compat.c: Likewise.
5453 * math/w_scalb_compat.c: Likewise.
5454 * math/w_scalbf_compat.c: Likewise.
5455 * math/w_scalbl_compat.c: Likewise.
5456 * math/w_sinh_compat.c: Likewise.
5457 * math/w_sinhf_compat.c: Likewise.
5458 * math/w_sinhl_compat.c: Likewise.
5459 * math/w_sqrt_compat.c: Likewise.
5460 * math/w_sqrtf_compat.c: Likewise.
5461 * math/w_sqrtl_compat.c: Likewise.
5462 * math/w_tgamma_compat.c: Likewise.
5463 * math/w_tgammaf_compat.c: Likewise.
5464 * math/w_tgammal_compat.c: Likewise.
5465 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5466 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5467 * sysdeps/ieee754/k_standard.c: Likewise.
5468 * sysdeps/ieee754/k_standardf.c: Likewise.
5469 * sysdeps/ieee754/k_standardl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5473 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5475 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5477 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5478 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5485 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5486 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5488 2017-08-21 Florian Weimer <fweimer@redhat.com>
5491 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
5492 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
5493 Move before inclusion of ../Rules.
5495 2017-08-21 Florian Weimer <fweimer@redhat.com>
5498 * assert/assert.h (assert): Use static_cast (bool) for C++.
5499 Use the ternary operator in the warning branch for GNU C.
5500 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
5501 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
5502 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
5503 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
5504 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
5506 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5509 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5510 (__syscall_clock_gettime): Add attribute_hidden.
5511 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
5512 (__start_context): Likewise.
5514 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5516 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5518 (hidden_proto): Likewise.
5519 (hidden_tls_proto): Likewise.
5520 (__hidden_proto): Likewise.
5522 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5524 * include/libc-symbols.h (attribute_hidden): Enable hidden
5525 visibility in libc.a compiled with PIE.
5527 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5530 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
5531 Add attribute_hidden.
5533 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5536 * Makerules (all-nonlib): Add $(others-extras).
5537 * catgets/Makefile (others-extras): New.
5538 * elf/Makefile (others-extras): Likewise.
5539 * nss/Makefile (others-extras): Likewise.
5541 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5544 * csu/libc-start.c (__libc_multiple_libcs): Removed.
5545 * elf/dl-open.c: Include <libc-internal.h>.
5546 (__libc_multiple_libcs): Removed.
5547 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
5549 * include/libc-internal.h (__libc_multiple_libcs): New.
5550 * misc/sbrk.c: Include <libc-internal.h>.
5551 (__libc_multiple_libcs): Removed.
5553 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5556 * grp/initgroups.c (__nss_group_database): Removed.
5557 (__nss_initgroups_database): Likewise.
5558 * nscd/gai.c (__nss_hosts_database): Likewise.
5559 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
5560 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
5561 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
5562 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
5563 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
5564 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
5566 * nss/nsswitch.c (__nss_database_custom): Define only if
5567 USE_NSCD is defined.
5568 (__nss_configure_lookup): Use __nss_database_custom only if
5569 USE_NSCD is defined.
5570 * nss/nsswitch.h (__nss_database_custom): Declare only if
5571 USE_NSCD is defined. Add attribute_hidden.
5572 (__nss_setent): Add attribute_hidden.
5573 (__nss_endent): Likewise.
5574 (__nss_getent_r): Likewise.
5575 (__nss_getent): Likewise.
5576 (DEFINE_DATABASE): Declare __nss_##arg##_database.
5578 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5581 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
5582 libc_hidden_proto and libc_hidden_def.
5584 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5587 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
5588 Add libc_hidden_proto.
5589 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
5590 Add libc_hidden_def.
5592 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5595 * gmon/Makefile (routines): Remove bb_init_func and
5597 (elide-routines.os): Removed.
5598 * gmon/bb_exit_func.c: Likewise.
5599 * gmon/bb_init_func.c: Likewise.
5600 * include/sys/gmon.h (__bb): Likewise.
5601 (__bb_init_func): Likewise.
5602 (__bb_exit_func): Likewise.
5603 * sysdeps/alpha/bb_init_func.S: Likewise.
5605 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5607 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
5608 * include/setjmp.h (____longjmp_chk): Here. Add
5611 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
5614 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
5616 (__strspn_sse2): Likewise.
5618 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5620 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
5621 (close_not_cancel_no_status): Likewise.
5622 (__close_nocancel): New macro.
5623 (__close_nocancel_nostatus): Likewise.
5624 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
5626 (close_not_cancel): Likewise.
5627 (close_not_cancel_no_status): Likewise.
5628 (__close_nocancel): New prototype.
5629 (__close_nocancel_nostatus): New function.
5630 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
5631 * catgets/open_catalog.c (__open_catalog): Replace
5632 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
5633 * gmon/gmon.c (write_gmon): Likewise.
5634 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5635 * intl/loadmsgcat.c (close): Likewise.
5636 * io/ftw.c (open_dir_stream): Likewise.
5637 (ftw_startup): Likewise.
5638 * libio/fileops.c (_IO_file_open): Likewise.
5639 (_IO_file_close_mmap): Likewise.
5640 (_IO_file_close): Likewise.
5641 * libio/iopopen.c (_IO_dup2): Likewise.
5642 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5643 * locale/loadlocale.c (_nl_load_locale): Likewise.
5644 * login/utmp_file.c (pututline_file): Likewise.
5645 (endutent_file): Likewise.
5646 * misc/daemon.c (daemon): Likewise.
5647 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5648 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5649 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5650 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5651 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5652 * nscd/nscd_helper.c (open_socket): Likewise.
5653 (__nscd_open_socket): Likewise.
5654 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5655 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
5656 (__nscd_innetgr): Likewise.
5657 * nss/nss_db/db-open.c (internal_setent): Likewise.
5658 * resolv/res-close.c (__res_iclose): Likewise.
5659 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
5660 * sysdeps/posix/closedir.c (__closedir): Likewise.
5661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5662 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5663 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
5664 (opendir_tail): Likewise.
5665 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5666 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
5667 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5668 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5669 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
5670 (gethostid): Likewise.
5671 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
5672 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5675 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
5676 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
5677 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
5679 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
5680 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
5681 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
5683 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
5684 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5686 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5688 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5689 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
5690 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5693 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
5694 (openat_not_cancel_3): Likewise.
5695 (openat64_not_cancel_3): Likewise).
5696 (openat_not_cancel_3): Likewise).
5697 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
5699 (openat_not_cancel_3): Likewise.
5700 (openat64_not_cancel): Likewise.
5701 (openat64_not_cancel_3): Likewise.
5702 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
5703 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
5704 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
5705 __open{64}_nocancel.
5706 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5707 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5708 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5710 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5713 * include/argz.h (__argz_create_sep): New function prototype.
5714 (__argz_append): Likewise.
5715 (__argz_add): Likewise.
5716 (__argz_add_sep): Likewise.
5717 (__argz_delete): Likewise.
5718 (__argz_insert): Likewise.
5719 (__argz_replace): Likewise.
5720 * string/argz.h (__argz_create_sep): Removed.
5721 (__argz_append): Likewise.
5722 (__argz_add): Likewise.
5723 (__argz_add_sep): Likewise.
5724 (__argz_delete): Likewise.
5725 (__argz_insert): Likewise.
5726 (__argz_replace): Likewise.
5728 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5730 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
5731 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
5732 (GNU_PROPERTY_STACK_SIZE): Likewie.
5733 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
5734 (GNU_PROPERTY_LOPROC): Likewise.
5735 (GNU_PROPERTY_HIPROC): Likewise.
5736 (GNU_PROPERTY_LOUSER): Likewise.
5737 (GNU_PROPERTY_HIUSER): Likewise.
5738 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
5739 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
5740 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
5741 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
5742 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
5743 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
5744 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
5745 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
5746 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
5747 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
5748 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
5749 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
5750 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
5751 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
5752 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
5753 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
5754 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
5755 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
5756 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
5757 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
5758 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
5759 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
5760 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
5762 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5764 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
5767 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5770 * math/math.h (isinf): Check if in C or C++ mode before using
5771 __builtin_types_compatible_p, since this is a C mode feature.
5773 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5775 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
5776 (__write_nocancel): New macro.
5777 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
5778 Rewrite as a function prototype.
5779 (write_not_cancel): Remove macro.
5780 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
5781 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
5782 (write_gmon): Likewise.
5783 * libio/fileops.c (_IO_new_file_write): Likewise.
5784 * login/utmp_file.c (pututline_file): Likewise.
5785 (updwtmp_file): Likewise.
5786 * stdio-common/psiginfo.c (psiginfo): Likewise.
5787 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5788 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
5789 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
5791 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5794 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
5795 (__read_nocancel): New macro.
5796 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5798 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
5800 (__read_nocancel): New prototype.
5801 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
5802 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
5803 with __read_nocancel.
5804 * intl/loadmsgcat.c (read): Likewise.
5805 * libio/fileops.c (_IO_file_read): Likewise.
5806 * locale/loadlocale.c (_nl_load_locale): Likewise.
5807 * login/utmp_file.c (getutent_r_file): Likewise.
5808 (internal_getut_r): Likewise.
5809 (getutline_r_file): Likewise.
5810 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
5811 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5812 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
5813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5815 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
5816 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
5817 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
5819 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
5821 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
5823 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5825 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
5827 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5830 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
5831 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
5834 2017-08-17 DJ Delorie <dj@redhat.com>
5836 * bug17079.c: Update to new test harness.
5837 * test-digits-dots.c: Likewise.
5838 * test-netdb.c: Likewise.
5839 * tst-field.c: Likewise.
5840 * tst-nss-getpwent.c: Likewise.
5841 * tst-nss-static.c: Likewise.
5842 * tst-nss-test1.c: Likewise.
5843 * tst-nss-test2.c: Likewise.
5844 * tst-nss-test3.c: Likewise.
5845 * tst-nss-test4.c: Likewise.
5846 * tst-nss-test5.c: Likewise.
5848 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5850 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
5851 (open_not_cancel_2): Likewise.
5852 (open_nocancel): New macro.
5853 (open64_nocancel): Likewise.
5854 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
5855 (open_not_cancel_2): Likewise.
5856 (__open_nocancel): New prototype.
5857 (__open64_nocancel): Likewise.
5858 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5860 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
5861 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
5862 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
5863 with __open_nocancel.
5864 * csu/check_fds.c (check_one_fd): Likewise.
5865 * gmon/gmon.c (write_gmon): Likewise.
5866 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
5867 * intl/loadmsgcat.c (open): Likewise.
5868 * libio/fileops.c (_IO_file_open): Likewise.
5869 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5870 * locale/loadlocale.c (_nl_load_locale): Likewise.
5871 * login/utmp_file.c (setutent_file): Likewise.
5872 * misc/daemon.c (daemon): Likewise.
5873 * nss/nss_db/db-open.c (internal_setent): Likewise.
5874 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5875 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
5876 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
5877 (__opendir): Likewise.
5878 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5879 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
5880 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
5881 (gethostid): Likewise.
5882 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
5883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5885 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5886 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
5887 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
5888 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
5890 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
5892 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
5894 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5896 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5898 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5900 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5901 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
5903 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
5905 * benchtests/bench-skeleton.c (main): Add support for
5906 latency benchmarking.
5907 * benchtests/scripts/bench.py: Add support for latency benchmarking.
5909 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
5911 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
5914 2017-08-17 Florian Weimer <fweimer@redhat.com>
5916 * include/sys/socket.h (__opensock): Remove internal_function.
5917 * socket/opensock.c (__opensock): Likewise.
5918 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
5920 2017-08-16 Joseph Myers <joseph@codesourcery.com>
5923 * signal/bits/types/__sigval_t.h: New file.
5924 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
5925 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
5926 and define sigval_t using __sigval_t.
5927 * include/bits/types/__sigval_t.h: New file.
5928 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
5929 instead of <bits/types/__sigval_t.h>.
5930 (struct sigevent): Use __sigval_t instead of sigval_t.
5931 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
5932 instead of <bits/types/__sigval_t.h>.
5933 (siginfo_t): Use __sigval_t instead of sigval_t.
5934 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
5935 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
5936 (struct sigevent): Use __sigval_t instead of sigval_t.
5937 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
5938 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
5939 (siginfo_t): Use __sigval_t instead of sigval_t.
5940 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
5942 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
5944 * NEWS: Remove "[Add new features here]" for 2.27.
5946 2017-08-16 Joseph Myers <joseph@codesourcery.com>
5948 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
5951 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
5953 * NEWS: Mention x86-64 FMA optimization.
5955 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
5958 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5960 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
5961 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
5962 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
5964 2017-08-16 Andreas Schwab <schwab@suse.de>
5968 * elf/ldd.bash.in: Never run file directly.
5970 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
5973 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
5974 (L(SP_INF_0)): Likewise.
5976 2017-08-15 Florian Weimer <fweimer@redhat.com>
5978 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
5981 2017-08-15 Florian Weimer <fweimer@redhat.com>
5983 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
5984 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
5985 BROKEN_THREAD_SIGNALS code.
5986 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
5987 request_list): Remove caller_pid member used for
5988 BROKEN_THREAD_SIGNALS.
5989 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
5990 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
5991 Remove BROKEN_THREAD_SIGNALS support.
5992 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5993 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
5995 2017-08-15 Florian Weimer <fweimer@redhat.com>
5997 * gmon/Makefile (tests): Add tst-gmon.
5998 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6000 (tests-special): Add tst-gmon-prof.out.
6001 (tst-gmon.out): Depend on clean-tst-gmon-data.
6002 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6003 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6004 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6006 * aclocal.m4 (GPROF): Set and substitute.
6007 * config.amke.in (GPROF): Set.
6008 * configure: Regenerate.
6010 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6012 * elf/elf.h A (NT_PPC_TAR): New macro.
6013 (NT_PPC_PPR): Likewise.
6014 (NT_PPC_DSCR): Likewise.
6015 (NT_PPC_EBB): Likewise.
6016 (NT_PPC_PMU): Likewise.
6017 (NT_PPC_TM_CGPR): Likewise.
6018 (NT_PPC_TM_CFPR): Likewise.
6019 (NT_PPC_TM_CVMX): Likewise.
6020 (NT_PPC_TM_CVSX): Likewise.
6021 (NT_PPC_TM_SPR): Likewise.
6022 (NT_PPC_TM_CTAR): Likewise.
6023 (NT_PPC_TM_CPPR): Likewise.
6024 (NT_PPC_TM_CDSCR): Likewise.
6026 2017-08-15 Florian Weimer <fweimer@redhat.com>
6028 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6029 regparm (2) instead of internal_function.
6030 (_MCOUNT_DECL): Adjust.
6032 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6034 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6035 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6037 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6039 * conform/data/sys/wait.h-data (si_value): Do not expect for
6042 2017-08-14 Florian Weimer <fweimer@redhat.com>
6045 NSS: Create stubs for accidentally exported lookup functions.
6046 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6048 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6049 (ether_hostton): Call __nss_ethers_lookup2 instead.
6050 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6051 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6052 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6053 (setup): Call __nss_netgroup_lookup2 instead.
6054 * nss/Makefile (routines): Add compat-lookup.
6055 * nss/Versions (GLIBC_2.27): Add symbol version.
6056 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6057 (DB_COMPAT_FCT): Remove.
6058 * nss/compat-lookup.c: New file.
6059 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6061 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6062 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6063 (netname2user): Call __nss_publickey_lookup2 instead.
6064 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6065 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6068 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6069 Sergei Trofimovich <slyfox@inbox.ru>
6072 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6073 Rename to MMAP2_PAGE_UNIT.
6074 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6075 __OFF_T_MATCHES_OFF64_T is not defined.
6076 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6078 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6079 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6081 2017-08-14 Florian Weimer <fweimer@redhat.com>
6083 i386: Do not set internal_function.
6084 * config.h.in (USE_REGPARMS, internal_function): Remove.
6085 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6086 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6088 2017-08-14 Florian Weimer <fweimer@redhat.com>
6090 * elf/dl-init.c (_dl_init): Remove internal_function.
6091 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6092 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6094 2017-08-14 Florian Weimer <fweimer@redhat.com>
6096 * elf/rtld.c (_dl_start): Remove internal_function.
6097 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6100 2017-08-14 Florian Weimer <fweimer@redhat.com>
6102 * elf/dl-fini.c (_dl_fini): Remove internal_function
6103 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6105 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6107 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6108 (bit_cpu_SHSTK): Likewise.
6109 (index_cpu_IBT): Likewise.
6110 (index_cpu_SHSTK): Likewise.
6111 (reg_IBT): Likewise.
6112 (reg_SHSTK): Likewise.
6113 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6114 Handle index_cpu_IBT and index_cpu_SHSTK.
6116 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6119 * po/fr.po: Fix spelling mistake.
6121 2017-08-13 Florian Weimer <fweimer@redhat.com>
6123 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6124 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6125 (_dl_catch_error, _dl_receive_error): Likewise.
6126 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6127 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6128 (_dl_deallocate_tls): Likewise.
6129 * include/dlfcn.h (_dl_addr): Likewise.
6130 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6131 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6132 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6135 2017-08-13 Florian Weimer <fweimer@redhat.com>
6137 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6138 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6140 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6142 2017-08-13 Florian Weimer <fweimer@redhat.com>
6144 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6146 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6147 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6148 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6149 internal_function from _dl_make_stack_executable_hook member.
6150 (_dl_make_stack_executable): Remove internal_function.
6151 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6153 * sysdeps/unix/sysv/linux/dl-execstack.c
6154 (_dl_make_stack_executable): Likewise.
6156 2017-08-13 Florian Weimer <fweimer@redhat.com>
6158 * sysdeps/unix/sysv/linux/netlinkaccess.h
6159 (__netlink_assert_response): Remove internal_function.
6160 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6161 (__netlink_assert_response): Likewise.
6163 2017-08-13 Florian Weimer <fweimer@redhat.com>
6165 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6167 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6169 2017-08-13 Florian Weimer <fweimer@redhat.com>
6171 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6173 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6174 * inet/netgroup.h (__internal_setnetgrent)
6175 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6176 * inet/getnetgrent_r.c (__internal_setnetgrent)
6177 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6178 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6179 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6180 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6181 * nss/nsswitch.h (db_lookup_function): Likewise.
6183 2017-08-13 Florian Weimer <fweimer@redhat.com>
6185 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6186 Remove internal_function.
6187 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6188 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6189 message argument on the stack.
6190 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6193 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6195 Adapt test case data to the changes in the thousands
6199 * localedata/tst-langinfo.sh: Adapt test case data.
6200 * stdlib/tst-strfmon_l.c: Likewise.
6201 * stdlib/tst-strtod4.c: Likewise.
6202 * stdlib/tst-strtod5i.c: Likewise.
6204 2017-08-11 Florian Weimer <fweimer@redhat.com>
6207 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6208 Suppress pedantic warning resulting from statement expression.
6209 (__ASSERT_FUNCTION): Add missing __extension__.
6211 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6213 * benchtests/bench-memmove-large.c: Print output in JSON
6215 * benchtests/bench-memmove.c: Likewise.
6217 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6218 * benchtests/bench-memchr.c (do_one_test): Likewise.
6219 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6220 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6221 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6222 * benchtests/bench-memmove.c (do_one_test): Likewise.
6223 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6224 * benchtests/bench-memset.c (do_one_test): Likewise.
6225 * benchtests/bench-string.h (test_init): Remove memsets.
6227 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6230 (Computing the Width of an Integer Data Type): Rename section to
6231 "Width of an Integer Type". Remove inaccurate statement regarding
6232 lack of C language facilities for determining width of integer
6233 types, and reorder content to improve flow and context of
6236 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6238 * lang.texi (va_copy): Change standard from ISO to C99.
6239 (__va_copy): Add standard and header annotation.
6240 Update description for clarity of origins and current use.
6242 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6245 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6246 xssqrtqp requires operands to be in Vector Registers
6247 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6248 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6249 (__ieee754_sqrtf128): Likewise.
6251 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6253 * sysdeps/aarch64/memcmp.S (memcmp):
6254 Rewrite of optimized memcmp.
6256 2017-08-10 Florian Weimer <fweimer@redhat.com>
6258 Introduce ld.so exceptions.
6259 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6260 (_dl_exception_create, _dl_exception_create_format)
6261 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6262 (_dl_catch_exception): Declare.
6263 (_dl_catch_error): Update comment.
6264 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6265 errstring, malloced members with exception member.
6266 (_dl_out_of_memory): Remove.
6267 (fatal_error): New function, extracted from _dl_signal_error.
6268 (_dl_signal_exception, _dl_signal_cexception): New functions.
6269 (_dl_signal_error): Call _dl_exception_create to allocate an
6271 (_dl_catch_exception): New function, based on _dl_catch_error.
6272 (_dl_catch_error): Implement using _dl_catch_exception.
6273 * elf/dl-exception.c: New file.
6274 * elf/Makefile (dl-routines): Add dl-exception.
6275 (elide-routines.os): Likewise.
6276 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6277 _dl_exception_create_format, _dl_exception_free.
6278 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6279 _dl_signal_exception.
6280 * elf/dl-lookup.c (make_string): Remove.
6281 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6282 _dl_signal_cexception, _dl_exception_free.
6283 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6284 _dl_signal_exception.
6285 * elf/dl-sym.c (do_sym): Likewise.
6286 * elf/dl-version.c (make_string): Remove.
6287 (match_symbol): Use _dl_exception_create_format,
6288 _dl_signal_cexception, _dl_exception_free.
6289 (_dl_check_map_versions): Likewise.
6290 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6291 _dl_catch_exception.
6292 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6293 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6294 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6295 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6296 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6297 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6298 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6299 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6301 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6308 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6309 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6310 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6312 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6314 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6316 2017-08-10 Florian Weimer <fweimer@redhat.com>
6318 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6319 attribute_hidden, internal_function.
6320 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6323 2017-08-10 Florian Weimer <fweimer@redhat.com>
6325 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6326 function which calls __builtin_unreachable.
6328 2017-08-10 Mike FABIAN <mfabian@redhat.com>
6330 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
6331 Indian monetary formatting
6332 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
6335 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
6337 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
6338 Fix typo in comment.
6341 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
6342 PTRACE_SEIZE_DEVEL): Remove.
6343 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
6344 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6345 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6347 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6349 2017-08-09 Joseph Myers <joseph@codesourcery.com>
6351 * posix/bits/types.h (__qaddr_t): Remove.
6354 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
6355 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6357 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
6358 (ucontext_t): Use __ctx with uc_flags.
6359 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
6361 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6363 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
6364 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6366 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
6367 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6369 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
6371 (ucontext_t): Use __ctx with uc_flags.
6372 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
6373 (ucontext_t): Use __ctx with uc_flags.
6374 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
6375 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
6376 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
6377 (ucontext_t): Use __ctx with uc_flags.
6378 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
6379 undefine further down.
6380 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6382 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
6383 undefine further down.
6384 (ucontext_t): Use __ctx with uc_flags.
6385 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
6386 undefine further down.
6387 (ucontext_t): Use __ctx with uc_flags.
6388 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
6389 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
6390 Rename uc_pad to __glibc_reserved1.
6391 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
6392 undefine further down.
6393 (ucontext_t): Use __ctx with uc_flags.
6394 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
6396 (ucontext_t): Use __ctx with uc_flags.
6397 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
6398 __ctx with uc_flags.
6399 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
6400 (ucontext_t): Use __ctx with uc_flags.
6401 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
6402 __ctx with uc_flags.
6404 2017-08-09 Florian Weimer <fweimer@redhat.com>
6407 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
6408 before early return.
6410 2017-08-09 Andreas Schwab <schwab@suse.de>
6413 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
6417 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
6418 tst-compat-forwarder.
6419 (modules-names): Add tst-compat-forwarder-mod.
6420 ($(objpfx)tst-compat-forwarder): Depend on
6421 $(objpfx)tst-compat-forwarder-mod.so.
6422 * nptl/tst-compat-forwarder.c: New file.
6423 * nptl/tst-compat-forwarder-mod.c: New file.
6425 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
6427 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
6430 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
6431 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6433 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
6435 (__libc_ifunc_impl_list): Add __memcpy_falkor.
6436 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
6437 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
6438 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6440 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
6443 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6446 * manual/setjmp.texi (getcontex): Document uc_stack value
6447 compatibility differences.
6449 2017-08-08 Joseph Myers <joseph@codesourcery.com>
6451 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
6452 (old_malloc_hook): Likewise.
6453 (old_memalign_hook): Likewise.
6454 (old_realloc_hook): Likewise.
6455 (struct hdr): Likewise.
6457 (freehook): Likewise.
6458 (mallochook): Likewise.
6459 (memalignhook): Likewise.
6460 (reallochook): Likewise.
6462 * malloc/mtrace.c (mallwatch): Likewise.
6463 (tr_old_free_hook): Likewise.
6464 (tr_old_malloc_hook): Likewise.
6465 (tr_old_realloc_hook): Likewise.
6466 (tr_old_memalign_hook): Likewise.
6467 (tr_where): Likewise.
6468 (lock_and_info): Likewise.
6469 (tr_freehook): Likewise.
6470 (tr_mallochook): Likewise.
6471 (tr_reallochook): Likewise.
6472 (tr_memalignhook): Likewise.
6473 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
6474 * misc/mmap.c (__mmap): Likewise.
6475 * misc/mmap64.c (__mmap64): Likewise.
6476 * misc/mprotect.c (__mprotect): Likewise.
6477 * misc/msync.c (msync): Likewise.
6478 * misc/munmap.c (__munmap): Likewise.
6479 * posix/posix_madvise.c (posix_madvise): Likewise.
6480 * socket/send.c (__send): Likewise.
6481 * socket/sendto.c (__sendto): Likewise.
6482 * socket/setsockopt.c (__setsockopt): Likewise.
6483 * string/memcmp.c (__ptr_t): Remove macro.
6484 (MEMCMP): Use void * instead of ptr_t.
6485 * string/memrchr.c (__ptr_t): Remove macro.
6486 (__memrchr): Use void * instead of ptr_t.
6487 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
6488 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6489 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6490 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
6491 * sysdeps/mach/msync.c (msync): Likewise.
6492 * sysdeps/mach/munmap.c (__munmap): Likewise.
6493 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
6495 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6496 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
6497 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
6498 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
6499 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6500 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6501 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
6502 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
6504 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6505 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
6506 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
6507 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
6508 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
6509 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
6510 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
6511 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
6512 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
6514 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
6515 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
6516 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
6517 (MEMCMP): Use void * instead of ptr_t.
6518 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
6519 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
6521 2017-08-08 Florian Weimer <fweimer@redhat.com>
6523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
6526 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
6529 * csu/libc-tls.c: Include <startup.h> first.
6530 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
6531 * elf/dl-tunables.c: Include <startup.h> first.
6532 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
6533 * sysdeps/generic/startup.h: New file.
6534 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
6535 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
6536 (I386_USE_SYSENTER): New. Defined to 0.
6538 2017-08-08 Andreas Schwab <schwab@suse.de>
6541 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
6542 * nptl/pt-system.c (system): Likewise.
6544 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6547 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
6549 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
6550 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
6551 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
6552 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
6553 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6554 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6555 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6557 2017-08-07 Joseph Myers <joseph@codesourcery.com>
6560 * bits/sigaction.h (struct sigaction): Define sa_handler and
6561 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
6562 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6563 [__USE_XOPEN_EXTENDED].
6564 (SA_RESTART): Likewise.
6565 (SA_NODEFER): Likewise.
6566 (SA_RESETHAND): Likewise.
6567 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
6568 (struct sigaction): Define sa_handler and sa_sigaction using union
6569 also for [__USE_XOPEN_EXTENDED].
6570 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6571 [__USE_XOPEN_EXTENDED].
6572 (SA_RESTART): Likewise.
6573 (SA_NODEFER): Likewise.
6574 (SA_RESETHAND): Likewise.
6575 * sysdeps/unix/sysv/linux/bits/sigaction.h
6576 (struct sigaction): Define sa_handler and sa_sigaction using union
6577 also for [__USE_XOPEN_EXTENDED].
6578 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6579 [__USE_XOPEN_EXTENDED].
6580 (SA_RESTART): Likewise.
6581 (SA_NODEFER): Likewise.
6582 (SA_RESETHAND): Likewise.
6583 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
6584 (struct sigaction): Define sa_handler and sa_sigaction using union
6585 also for [__USE_XOPEN_EXTENDED].
6586 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6587 [__USE_XOPEN_EXTENDED].
6588 (SA_RESTART): Likewise.
6589 (SA_NODEFER): Likewise.
6590 (SA_RESETHAND): Likewise.
6591 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
6592 (struct sigaction): Define sa_handler and sa_sigaction using union
6593 also for [__USE_XOPEN_EXTENDED].
6594 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6595 [__USE_XOPEN_EXTENDED].
6596 (SA_RESTART): Likewise.
6597 (SA_NODEFER): Likewise.
6598 (SA_RESETHAND): Likewise.
6599 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6600 (struct sigaction): Define sa_handler and sa_sigaction using union
6601 also for [__USE_XOPEN_EXTENDED].
6602 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6603 [__USE_XOPEN_EXTENDED].
6604 (SA_RESTART): Likewise.
6605 (SA_NODEFER): Likewise.
6606 (SA_RESETHAND): Likewise.
6607 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6608 (struct sigaction): Define sa_handler and sa_sigaction using union
6609 also for [__USE_XOPEN_EXTENDED].
6610 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6611 [__USE_XOPEN_EXTENDED].
6612 (SA_RESTART): Likewise.
6613 (SA_NODEFER): Likewise.
6614 (SA_RESETHAND): Likewise.
6615 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6616 (struct sigaction): Define sa_handler and sa_sigaction using union
6617 also for [__USE_XOPEN_EXTENDED].
6618 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6619 [__USE_XOPEN_EXTENDED].
6620 (SA_RESTART): Likewise.
6621 (SA_NODEFER): Likewise. Define directly rather than as alias.
6622 (SA_RESETHAND): Likewise.
6623 (SA_INTERRUPT): Define only for [__USE_MISC].
6624 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
6625 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
6627 (SA_STACK): Define only for [__USE_MISC].
6628 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
6629 (struct sigaction): Define sa_handler and sa_sigaction using union
6630 also for [__USE_XOPEN_EXTENDED].
6631 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6632 [__USE_XOPEN_EXTENDED].
6633 (SA_RESTART): Likewise.
6634 (SA_NODEFER): Likewise.
6635 (SA_RESETHAND): Likewise.
6636 (SA_NOPTRACE): Define only for [__USE_MISC].
6638 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
6639 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
6640 (struct catalog_info): Likewise.
6641 * inet/htontest.c (lo): Likewise.
6643 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6644 * inet/inet_net.c (inet_network): Likewise.
6645 * inet/inet_netof.c (inet_netof): Likewise.
6646 * inet/rcmd.c (__ivaliduser): Likewise.
6647 (iruserok): Likewise.
6648 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
6649 * locale/programs/locale-spec.c (locale_special): Likewise.
6650 * nis/nis_findserv.c (struct findserv_req): Likewise.
6651 (__nis_findfastest_with_timeout): Likewise.
6652 * nss/test-netdb.c (test_network): Likewise.
6653 * resolv/inet_neta.c (inet_neta): Likewise.
6654 * resolv/ns_date.c (ns_datetosecs): Likewise.
6655 (SECS_PER_DAY): Likewise.
6656 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
6658 * resolv/res_comp.c (__putlong): Likewise.
6659 (__putshort): Likewise.
6660 (_getlong): Likewise.
6661 (_getshort): Likewise.
6662 * resolv/res_debug.c (p_time): Likewise.
6663 (precsize_ntoa): Likewise.
6664 (precsize_aton): Likewise.
6665 (latlon2ul): Likewise.
6666 (loc_aton): Likewise.
6667 (loc_ntoa): Likewise.
6668 * resolv/res_hconf.c (struct netaddr): Likewise.
6669 (_res_hconf_reorder_addrs): Likewise.
6670 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6671 (clnttcp_control): Likewise.
6672 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6673 (clntudp_control): Likewise.
6674 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6675 (clntunix_control): Likewise.
6676 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6677 * sunrpc/rpc/auth.h (union des_block): Likewise.
6678 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
6679 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
6680 (xdrrec_create): Likewise.
6681 (xdrrec_endofrecord): Likewise.
6682 (flush_out): Likewise.
6683 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
6684 (xdrstdio_putlong): Likewise.
6685 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
6688 * misc/sys/cdefs.h (__long_double_t): Remove.
6689 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
6690 instead of __long_double_t,
6691 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
6693 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6695 * benchtests/scripts/compare_strings.py: Avoid display error when
6696 running on a text terminal.
6698 * benchtests/scripts/compare_strings.py (main): Add an
6699 optional -base option.
6700 (process_results): New argument base_func.
6702 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
6704 * benchtests/bench-memcpy-large.c (test_name): Likewise.
6705 * benchtests/bench-memcpy-random.c (test_name): Likewise.
6707 2017-08-07 Andreas Schwab <schwab@suse.de>
6709 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
6710 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6711 * intl/Makefile ($(objpfx)tst-gettext.out)
6712 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
6713 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
6714 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6715 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6716 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
6717 * posix/Makefile ($(objpfx)globtest.out)
6718 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
6719 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
6720 ($(objpfx)tst-printf.out): Likewise.
6721 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
6722 ($(objpfx)tst-setcontext3.out): Likewise.
6724 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
6726 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6727 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
6728 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
6729 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
6730 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
6732 (CFLAGS-doasin-fma.c): New.
6733 (CFLAGS-dosincos-fma.c): Likewise.
6734 (CFLAGS-e_asin-fma.c): Likewise.
6735 (CFLAGS-e_atan2-fma.c): Likewise.
6736 (CFLAGS-e_exp-fma.c): Likewise.
6737 (CFLAGS-e_log-fma.c): Likewise.
6738 (CFLAGS-e_pow-fma.c): Likewise.
6739 (CFLAGS-halfulp-fma.c): Likewise.
6740 (CFLAGS-mpa-fma.c): Likewise.
6741 (CFLAGS-mpatan-fma.c): Likewise.
6742 (CFLAGS-mpatan2-fma.c): Likewise.
6743 (CFLAGS-mpexp-fma.c): Likewise.
6744 (CFLAGS-mplog-fma.c): Likewise.
6745 (CFLAGS-mpsqrt-fma.c): Likewise.
6746 (CFLAGS-mptan-fma.c): Likewise.
6747 (CFLAGS-s_atan-fma.c): Likewise.
6748 (CFLAGS-sincos32-fma.c): Likewise.
6749 (CFLAGS-slowexp-fma.c): Likewise.
6750 (CFLAGS-slowpow-fma.c): Likewise.
6751 (CFLAGS-s_sin-fma.c): Likewise.
6752 (CFLAGS-s_tan-fma.c): Likewise.
6753 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
6754 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
6755 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
6756 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
6757 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
6758 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
6759 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
6760 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
6761 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
6762 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
6763 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
6764 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
6765 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
6766 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
6767 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
6768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
6769 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
6770 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
6771 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
6772 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
6773 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
6774 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
6775 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
6776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
6777 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6780 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6781 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6782 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6785 2017-08-04 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
6788 (min_of_type_f): New macro.
6789 (min_of_type_): Likewise.
6790 (min_of_type_l): Likewise.
6791 (min_of_type_f128): Likewise.
6792 (min_of_type): Define using __MATH_TG and taking an expression
6794 (math_check_force_underflow): Pass expression instead of type to
6796 (math_check_force_underflow_nonneg): Likewise.
6798 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6800 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
6801 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
6802 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
6804 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6807 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
6808 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
6809 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
6810 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
6811 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
6812 memcpy_chk-nonshared, mempcpy_chk-nonshared,
6813 memmove_chk-nonshared and memset_chk-nonshared
6814 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
6815 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
6816 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
6817 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
6818 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
6819 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
6820 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
6821 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
6822 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
6823 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
6824 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
6825 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
6826 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
6827 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
6828 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
6829 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
6830 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
6831 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
6832 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
6833 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
6834 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
6835 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
6836 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
6837 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
6838 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
6839 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
6840 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
6841 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
6842 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
6843 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
6844 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
6845 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
6846 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
6847 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
6848 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
6849 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
6850 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
6852 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
6853 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
6854 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
6855 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
6856 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
6858 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
6860 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
6862 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
6864 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
6866 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
6867 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
6868 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
6869 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
6870 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
6871 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
6872 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
6874 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
6876 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
6878 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
6879 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
6880 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
6881 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
6882 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
6883 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6884 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
6885 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6890 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6893 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6895 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6896 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6898 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6899 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6900 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6901 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6902 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6903 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6904 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6905 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6906 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6907 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6908 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6909 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6910 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6911 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6912 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6913 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6914 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6915 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6916 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6917 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6918 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6919 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6920 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6921 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6923 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6925 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
6926 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
6927 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
6928 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
6929 svml_d_log2_core-sse2, svml_d_log4_core-sse,
6930 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
6931 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
6932 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
6933 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
6934 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
6935 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
6936 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
6937 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
6938 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
6939 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
6940 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
6941 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
6942 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
6943 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
6944 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
6945 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
6946 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
6947 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
6948 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
6949 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
6950 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
6951 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
6952 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
6953 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
6954 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
6955 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
6956 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
6957 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
6958 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
6959 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
6960 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
6961 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
6962 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
6963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
6964 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
6965 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
6966 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
6967 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
6968 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
6969 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
6970 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
6971 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
6972 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
6973 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
6974 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
6975 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
6976 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
6977 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
6978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
6979 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
6980 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
6981 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
6982 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
6983 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
6985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
6986 Don't include <sysdep.h> nor <init-arch.h>.
6987 (_ZGVbN2v_cos): Removed.
6988 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
6990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
6991 Don't include <sysdep.h> nor <init-arch.h>.
6992 (_ZGVdN4v_cos): Removed.
6993 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
6995 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
6996 Don't include <sysdep.h> nor <init-arch.h>.
6997 (_ZGVeN8v_cos): Removed.
6998 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7001 Don't include <sysdep.h> nor <init-arch.h>.
7002 (_ZGVbN2v_exp): Removed.
7003 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7006 Don't include <sysdep.h> nor <init-arch.h>.
7007 (_ZGVdN4v_exp): Removed.
7008 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7010 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7011 Don't include <sysdep.h> nor <init-arch.h>.
7012 (_ZGVeN8v_exp): Removed.
7013 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7015 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7016 Don't include <sysdep.h> nor <init-arch.h>.
7017 (_ZGVbN2v_log): Removed.
7018 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7020 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7021 Don't include <sysdep.h> nor <init-arch.h>.
7022 (_ZGVdN4v_log): Removed.
7023 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7025 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7026 Don't include <sysdep.h> nor <init-arch.h>.
7027 (_ZGVeN8v_log): Removed.
7028 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7031 Don't include <sysdep.h> nor <init-arch.h>.
7032 (_ZGVbN2vv_pow): Removed.
7033 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7036 Don't include <sysdep.h> nor <init-arch.h>.
7037 (_ZGVdN4vv_pow): Removed.
7038 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7040 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7041 Don't include <sysdep.h> nor <init-arch.h>.
7042 (_ZGVeN8vv_pow): Removed.
7043 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7045 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7046 Don't include <sysdep.h> nor <init-arch.h>.
7047 (_ZGVbN2v_sin): Removed.
7048 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7051 Don't include <sysdep.h> nor <init-arch.h>.
7052 (_ZGVbN4v_sin): Removed.
7053 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7056 Don't include <sysdep.h> nor <init-arch.h>.
7057 (_ZGVbN8v_sin): Removed.
7058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7061 Don't include <sysdep.h> nor <init-arch.h>.
7062 (_ZGVbN2vvv_sincos): Removed.
7063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7066 Don't include <sysdep.h> nor <init-arch.h>.
7067 (_ZGVdN4vvv_sincos): Removed.
7068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7071 Don't include <sysdep.h> nor <init-arch.h>.
7072 (_ZGVeN8vvv_sincos): Removed.
7073 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7075 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7076 Don't include <sysdep.h> nor <init-arch.h>.
7077 (_ZGVeN16v_cosf): Removed.
7078 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7080 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7081 Don't include <sysdep.h> nor <init-arch.h>.
7082 (_ZGVbN4v_cosf): Removed.
7083 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7085 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7086 Don't include <sysdep.h> nor <init-arch.h>.
7087 (_ZGVdN8v_cosf): Removed.
7088 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7090 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7091 Don't include <sysdep.h> nor <init-arch.h>.
7092 (_ZGVeN16v_expf): Removed.
7093 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7095 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7096 Don't include <sysdep.h> nor <init-arch.h>.
7097 (_ZGVbN4v_expf): Removed.
7098 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7100 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7101 Don't include <sysdep.h> nor <init-arch.h>.
7102 (_ZGVdN8v_expf): Removed.
7103 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7105 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7106 Don't include <sysdep.h> nor <init-arch.h>.
7107 (_ZGVeN16v_logf): Removed.
7108 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7111 Don't include <sysdep.h> nor <init-arch.h>.
7112 (_ZGVbN4v_logf): Removed.
7113 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7115 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7116 Don't include <sysdep.h> nor <init-arch.h>.
7117 (_ZGVdN8v_logf): Removed.
7118 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7120 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7121 Don't include <sysdep.h> nor <init-arch.h>.
7122 (_ZGVeN16vv_powf): Removed.
7123 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7125 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7126 Don't include <sysdep.h> nor <init-arch.h>.
7127 (_ZGVbN4vv_powf): Removed.
7128 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7130 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7131 Don't include <sysdep.h> nor <init-arch.h>.
7132 (_ZGVdN8vv_powf): Removed.
7133 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7136 Don't include <sysdep.h> nor <init-arch.h>.
7137 (_ZGVeN16vvv_sincosf): Removed.
7138 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7141 Don't include <sysdep.h> nor <init-arch.h>.
7142 (_ZGVbN4vvv_sincosf): Removed.
7143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7146 Don't include <sysdep.h> nor <init-arch.h>.
7147 (_ZGVdN8vvv_sincosf): Removed.
7148 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7150 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7151 Don't include <sysdep.h> nor <init-arch.h>.
7152 (_ZGVeN16v_sinf): Removed.
7153 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7155 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7156 Don't include <sysdep.h> nor <init-arch.h>.
7157 (_ZGVbN4v_sinf): Removed.
7158 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7160 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7161 Don't include <sysdep.h> nor <init-arch.h>.
7162 (_ZGVdN8v_sinf): Removed.
7164 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7166 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7167 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7168 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7169 s_rint-sse4_1 and s_rintf-sse4_1.
7170 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7171 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7172 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7173 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7174 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7175 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7176 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7177 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7178 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7179 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7180 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7181 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7183 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7184 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7185 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7187 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7188 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7189 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7191 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7192 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7193 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7194 (__floorf): Removed.
7195 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7197 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7198 (__nearbyint): Removed.
7199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7200 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7201 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7202 (__nearbyintf): Removed.
7203 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7204 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7205 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7207 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7208 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7209 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7212 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7214 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7215 SHARED. Avoid dynamic relocation against main in static PIE.
7217 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7220 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7221 (LDFLAGS-tst-prelink): Likewise.
7223 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7225 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7226 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7227 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7228 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7229 (INTERNAL_SYSCALL_NCS): Likewise.
7230 (LOADARGS_1): Likewise.
7231 (LOADARGS_5): Likewise.
7232 (RESTOREARGS_1): Likewise.
7233 (RESTOREARGS_5): Likewise.
7235 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7237 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7238 (MEMPCPY_SYMBOL): Likewise.
7239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7240 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7244 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7246 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7247 (__hidden_ver1): Don't use in libc.a.
7248 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7249 (__mempcpy): Don't create a weak alias in libc.a.
7250 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7252 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7253 (__hidden_ver1): Don't use in libc.a.
7255 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7257 * config.make.in (have-insert): New.
7258 * configure.ac (libc_cv_insert): New. Set to yes if linker
7259 supports INSERT in linker script.
7260 (AC_SUBST(libc_cv_insert): New.
7261 * configure: Regenerated.
7262 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7263 if $(have-insert) == yes.
7265 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7267 * elf/Makefile (tests): Add vismain only if
7268 $(have-protected-data) == yes.
7269 (tests-pie): Likewise.
7271 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7274 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7275 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7277 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7280 * sysdeps/i386/i586/memset.S
7281 (__memset_zero_constant_len_parameter): Removed.
7282 * sysdeps/i386/i686/memset.S
7283 (__memset_zero_constant_len_parameter): Likewise.
7284 * sysdeps/i386/i686/multiarch/memset_chk.S
7285 (__memset_zero_constant_len_parameter): Likewise.
7286 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7289 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7291 * stdlib/getentropy.c (getentropy): Change return type to int.
7293 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7295 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7297 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7299 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7301 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7302 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7304 (ieee_float_shape_type): Likewise.
7305 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7306 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7307 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7308 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7309 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7310 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7311 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7312 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7313 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7315 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7316 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7317 (__ieee754_yn): Likewise.
7318 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7319 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7320 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7322 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7323 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7324 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7325 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7327 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7328 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
7329 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
7330 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
7331 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
7332 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
7334 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7335 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
7336 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7337 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
7338 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7339 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
7340 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
7341 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
7342 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
7343 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7344 (__issignaling): Likewise.
7345 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
7346 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
7347 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7349 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7350 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7351 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7352 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
7354 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
7356 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
7357 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
7358 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
7359 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7360 (__erfcf): Likewise.
7361 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7362 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7363 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
7364 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
7366 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
7367 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
7369 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7370 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
7371 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7372 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
7373 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
7374 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7375 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
7376 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
7378 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
7380 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7382 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
7383 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7385 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7387 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7388 (__ieee754_ynl): Likewise.
7389 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7390 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
7392 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
7394 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7395 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
7396 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7398 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7399 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
7400 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
7401 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
7402 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
7403 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
7407 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7408 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
7409 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
7411 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
7416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7422 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7424 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7427 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7429 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
7432 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7434 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7437 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7438 (__ieee754_remainderl): Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7440 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7444 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7445 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7447 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7448 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
7449 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7450 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7451 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7454 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7455 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
7456 (__ieee754_y0l): Likewise.
7459 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7460 (__ieee754_y1l): Likewise.
7463 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7464 (__ieee754_ynl): Likewise.
7465 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7466 (__ieee754_lgammal_r): Likewise.
7467 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
7469 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7470 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
7471 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7472 (__erfcl): Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
7476 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
7477 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
7478 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
7481 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7482 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7484 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
7485 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
7487 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
7488 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7490 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
7491 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
7493 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
7494 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
7495 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
7496 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7497 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7499 2017-08-03 Florian Weimer <fweimer@redhat.com>
7502 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
7503 on memory allocation failure.
7505 2017-08-03 Alan Modra <amodra@gmail.com>
7507 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
7508 tst-tlsopt-powerpc.c with function name change and no test harness.
7509 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
7510 Call tls_get_addr_opt_test.
7511 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
7512 (modules-names): Add mod-tlsopt-powerpc.
7513 (mod-tlsopt-powerpc.so-no-z-defs): Define.
7514 (tst-tlsopt-powerpc): Depend on .so.
7515 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
7516 define. Expand use in TLS_GD and TLS_LD.
7518 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7520 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
7522 * sysdeps/posix/shm_open.c: Include <pthread.h>.
7524 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7527 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
7528 comparing size with that of double.
7529 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7530 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7531 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7532 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7533 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7534 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
7535 unsigned __int128 types.
7537 2017-08-02 Steve Ellcey <sellcey@cavium.com>
7539 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
7540 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
7541 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
7542 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
7543 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
7545 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7547 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
7549 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7551 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
7553 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7554 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7555 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7556 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7557 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7561 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7564 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
7565 bit-field expressions passed to sizeof or typeof.
7566 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7567 (__TGMATH_F128): Likewise.
7568 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7569 (__TGMATH_CF128): Likewise.
7570 (__TGMATH_UNARY_REAL_ONLY): Likewise.
7571 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
7572 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
7573 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
7574 (__TGMATH_BINARY_REAL_ONLY): Likewise.
7575 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7576 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7577 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7578 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7579 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
7580 (__TGMATH_UNARY_REAL_IMAG): Likewise.
7581 (__TGMATH_UNARY_IMAG): Likewise.
7582 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
7583 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7584 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
7586 (define_vars_for_type): Handle bit_field type specially.
7587 (Tests.__init__): Declare structure with bit-field element.
7589 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7592 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
7593 (MEMCPY_CHK): Define only if SHARED is defined.
7594 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
7596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
7599 See ChangeLog.18 for earlier changes.