1 2017-11-15 Mike FABIAN <mfabian@redhat.com>
3 * localedata/locales/az_IR: Add standard copyright header.
5 2017-11-15 Florian Weimer <fweimer@redhat.com>
8 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
9 not just the top one. Output a new "subheaps" statistic.
11 2017-11-15 Florian Weimer <fweimer@redhat.com>
14 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
15 under the per-arena lock.
16 * malloc/Makefile (tests): Add tst-malloc_info.
17 (tst-malloc_info): Link with libpthread.
18 * malloc/tst-malloc_info.c: New file.
20 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
29 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
30 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
31 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
32 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
33 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
34 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
35 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
36 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
37 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
38 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
39 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
40 (__floating_type): Likewise.
41 (__real_integer_type): Likewise.
42 (__complex_integer_type): Likewise.
43 (__expr_is_real): Likewise.
44 (__tgmath_real_type_sub): Likewise.
45 (__tgmath_real_type): Likewise.
46 (__tgmath_complex_type_sub): Likewise.
47 (__tgmath_complex_type): Likewise.
48 (__TGMATH_F128): Likewise.
49 (__TGMATH_CF128): Likewise.
50 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
52 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
53 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
55 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
57 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
58 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
59 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
60 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
62 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
63 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
65 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
66 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
67 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
69 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
70 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
71 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
75 2017-11-14 Joseph Myers <joseph@codesourcery.com>
77 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
78 for stpncpy calls for GCC 8.
79 (test_strncat): Disable -Wstringop-truncation warning for strncat
80 calls for GCC 8. Disable -Wstringop-overflow= warning for one
81 strncat call for GCC 7.
82 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
84 (test_memcmp): Use memcpy instead of strncpy for calls not copying
87 * string/bug-strncat1.c: Include <libc-diag.h>.
88 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
90 2017-11-13 Claude Paroz <claude@2xlibre.net>
93 * localedata/locales/aa_DJ: Improved readibility by replacing
94 <Uxxxx> sequences in the ASCII printable range by their ASCII
95 character equivalents.
96 * localedata/locales/aa_ER: Likewise.
97 * localedata/locales/aa_ER@saaho: Likewise.
98 * localedata/locales/aa_ET: Likewise.
99 * localedata/locales/af_ZA: Likewise.
100 * localedata/locales/agr_PE: Likewise.
101 * localedata/locales/ak_GH: Likewise.
102 * localedata/locales/am_ET: Likewise.
103 * localedata/locales/anp_IN: Likewise.
104 * localedata/locales/ar_AE: Likewise.
105 * localedata/locales/ar_BH: Likewise.
106 * localedata/locales/ar_DZ: Likewise.
107 * localedata/locales/ar_EG: Likewise.
108 * localedata/locales/ar_IN: Likewise.
109 * localedata/locales/ar_IQ: Likewise.
110 * localedata/locales/ar_JO: Likewise.
111 * localedata/locales/ar_KW: Likewise.
112 * localedata/locales/ar_LB: Likewise.
113 * localedata/locales/ar_LY: Likewise.
114 * localedata/locales/ar_MA: Likewise.
115 * localedata/locales/ar_OM: Likewise.
116 * localedata/locales/ar_QA: Likewise.
117 * localedata/locales/ar_SA: Likewise.
118 * localedata/locales/ar_SD: Likewise.
119 * localedata/locales/ar_SS: Likewise.
120 * localedata/locales/ar_SY: Likewise.
121 * localedata/locales/ar_TN: Likewise.
122 * localedata/locales/ar_YE: Likewise.
123 * localedata/locales/as_IN: Likewise.
124 * localedata/locales/ast_ES: Likewise.
125 * localedata/locales/ayc_PE: Likewise.
126 * localedata/locales/az_AZ: Likewise.
127 * localedata/locales/az_IR: Likewise.
128 * localedata/locales/be_BY: Likewise.
129 * localedata/locales/be_BY@latin: Likewise.
130 * localedata/locales/bem_ZM: Likewise.
131 * localedata/locales/ber_DZ: Likewise.
132 * localedata/locales/ber_MA: Likewise.
133 * localedata/locales/bg_BG: Likewise.
134 * localedata/locales/bhb_IN: Likewise.
135 * localedata/locales/bho_IN: Likewise.
136 * localedata/locales/bi_VU: Likewise.
137 * localedata/locales/bn_BD: Likewise.
138 * localedata/locales/bn_IN: Likewise.
139 * localedata/locales/bo_CN: Likewise.
140 * localedata/locales/bo_IN: Likewise.
141 * localedata/locales/br_FR: Likewise.
142 * localedata/locales/brx_IN: Likewise.
143 * localedata/locales/bs_BA: Likewise.
144 * localedata/locales/byn_ER: Likewise.
145 * localedata/locales/ca_AD: Likewise.
146 * localedata/locales/ca_ES: Likewise.
147 * localedata/locales/ca_FR: Likewise.
148 * localedata/locales/ca_IT: Likewise.
149 * localedata/locales/ce_RU: Likewise.
150 * localedata/locales/chr_US: Likewise.
151 * localedata/locales/cmn_TW: Likewise.
152 * localedata/locales/crh_UA: Likewise.
153 * localedata/locales/cs_CZ: Likewise.
154 * localedata/locales/csb_PL: Likewise.
155 * localedata/locales/cv_RU: Likewise.
156 * localedata/locales/cy_GB: Likewise.
157 * localedata/locales/da_DK: Likewise.
158 * localedata/locales/de_AT: Likewise.
159 * localedata/locales/de_BE: Likewise.
160 * localedata/locales/de_CH: Likewise.
161 * localedata/locales/de_DE: Likewise.
162 * localedata/locales/de_IT: Likewise.
163 * localedata/locales/de_LI: Likewise.
164 * localedata/locales/de_LU: Likewise.
165 * localedata/locales/doi_IN: Likewise.
166 * localedata/locales/dv_MV: Likewise.
167 * localedata/locales/dz_BT: Likewise.
168 * localedata/locales/el_CY: Likewise.
169 * localedata/locales/el_GR: Likewise.
170 * localedata/locales/en_AG: Likewise.
171 * localedata/locales/en_AU: Likewise.
172 * localedata/locales/en_BW: Likewise.
173 * localedata/locales/en_CA: Likewise.
174 * localedata/locales/en_DK: Likewise.
175 * localedata/locales/en_GB: Likewise.
176 * localedata/locales/en_HK: Likewise.
177 * localedata/locales/en_IE: Likewise.
178 * localedata/locales/en_IL: Likewise.
179 * localedata/locales/en_IN: Likewise.
180 * localedata/locales/en_NG: Likewise.
181 * localedata/locales/en_NZ: Likewise.
182 * localedata/locales/en_PH: Likewise.
183 * localedata/locales/en_SG: Likewise.
184 * localedata/locales/en_US: Likewise.
185 * localedata/locales/en_ZA: Likewise.
186 * localedata/locales/en_ZM: Likewise.
187 * localedata/locales/en_ZW: Likewise.
188 * localedata/locales/eo: Likewise.
189 * localedata/locales/es_AR: Likewise.
190 * localedata/locales/es_BO: Likewise.
191 * localedata/locales/es_CL: Likewise.
192 * localedata/locales/es_CO: Likewise.
193 * localedata/locales/es_CR: Likewise.
194 * localedata/locales/es_CU: Likewise.
195 * localedata/locales/es_DO: Likewise.
196 * localedata/locales/es_EC: Likewise.
197 * localedata/locales/es_ES: Likewise.
198 * localedata/locales/es_GT: Likewise.
199 * localedata/locales/es_HN: Likewise.
200 * localedata/locales/es_MX: Likewise.
201 * localedata/locales/es_NI: Likewise.
202 * localedata/locales/es_PA: Likewise.
203 * localedata/locales/es_PE: Likewise.
204 * localedata/locales/es_PR: Likewise.
205 * localedata/locales/es_PY: Likewise.
206 * localedata/locales/es_SV: Likewise.
207 * localedata/locales/es_US: Likewise.
208 * localedata/locales/es_UY: Likewise.
209 * localedata/locales/es_VE: Likewise.
210 * localedata/locales/et_EE: Likewise.
211 * localedata/locales/eu_ES: Likewise.
212 * localedata/locales/eu_ES@euro: Likewise.
213 * localedata/locales/fa_IR: Likewise.
214 * localedata/locales/ff_SN: Likewise.
215 * localedata/locales/fi_FI: Likewise.
216 * localedata/locales/fil_PH: Likewise.
217 * localedata/locales/fo_FO: Likewise.
218 * localedata/locales/fr_BE: Likewise.
219 * localedata/locales/fr_CA: Likewise.
220 * localedata/locales/fr_CH: Likewise.
221 * localedata/locales/fr_FR: Likewise.
222 * localedata/locales/fr_LU: Likewise.
223 * localedata/locales/fur_IT: Likewise.
224 * localedata/locales/fy_DE: Likewise.
225 * localedata/locales/fy_NL: Likewise.
226 * localedata/locales/ga_IE: Likewise.
227 * localedata/locales/gd_GB: Likewise.
228 * localedata/locales/gez_ER: Likewise.
229 * localedata/locales/gez_ET: Likewise.
230 * localedata/locales/gl_ES: Likewise.
231 * localedata/locales/gu_IN: Likewise.
232 * localedata/locales/gv_GB: Likewise.
233 * localedata/locales/ha_NG: Likewise.
234 * localedata/locales/hak_TW: Likewise.
235 * localedata/locales/he_IL: Likewise.
236 * localedata/locales/hi_IN: Likewise.
237 * localedata/locales/hif_FJ: Likewise.
238 * localedata/locales/hne_IN: Likewise.
239 * localedata/locales/hr_HR: Likewise.
240 * localedata/locales/hsb_DE: Likewise.
241 * localedata/locales/ht_HT: Likewise.
242 * localedata/locales/hu_HU: Likewise.
243 * localedata/locales/hy_AM: Likewise.
244 * localedata/locales/i18n: Likewise.
245 * localedata/locales/ia_FR: Likewise.
246 * localedata/locales/id_ID: Likewise.
247 * localedata/locales/ig_NG: Likewise.
248 * localedata/locales/ik_CA: Likewise.
249 * localedata/locales/is_IS: Likewise.
250 * localedata/locales/it_CH: Likewise.
251 * localedata/locales/it_IT: Likewise.
252 * localedata/locales/iu_CA: Likewise.
253 * localedata/locales/ja_JP: Likewise.
254 * localedata/locales/ka_GE: Likewise.
255 * localedata/locales/kk_KZ: Likewise.
256 * localedata/locales/kl_GL: Likewise.
257 * localedata/locales/kn_IN: Likewise.
258 * localedata/locales/ko_KR: Likewise.
259 * localedata/locales/kok_IN: Likewise.
260 * localedata/locales/ks_IN: Likewise.
261 * localedata/locales/ks_IN@devanagari: Likewise.
262 * localedata/locales/ku_TR: Likewise.
263 * localedata/locales/kw_GB: Likewise.
264 * localedata/locales/ky_KG: Likewise.
265 * localedata/locales/lb_LU: Likewise.
266 * localedata/locales/lg_UG: Likewise.
267 * localedata/locales/li_BE: Likewise.
268 * localedata/locales/li_NL: Likewise.
269 * localedata/locales/lij_IT: Likewise.
270 * localedata/locales/ln_CD: Likewise.
271 * localedata/locales/lo_LA: Likewise.
272 * localedata/locales/lt_LT: Likewise.
273 * localedata/locales/lv_LV: Likewise.
274 * localedata/locales/lzh_TW: Likewise.
275 * localedata/locales/mag_IN: Likewise.
276 * localedata/locales/mai_IN: Likewise.
277 * localedata/locales/mg_MG: Likewise.
278 * localedata/locales/mhr_RU: Likewise.
279 * localedata/locales/mi_NZ: Likewise.
280 * localedata/locales/mk_MK: Likewise.
281 * localedata/locales/ml_IN: Likewise.
282 * localedata/locales/mn_MN: Likewise.
283 * localedata/locales/mni_IN: Likewise.
284 * localedata/locales/mr_IN: Likewise.
285 * localedata/locales/ms_MY: Likewise.
286 * localedata/locales/mt_MT: Likewise.
287 * localedata/locales/my_MM: Likewise.
288 * localedata/locales/nan_TW: Likewise.
289 * localedata/locales/nan_TW@latin: Likewise.
290 * localedata/locales/nb_NO: Likewise.
291 * localedata/locales/nds_DE: Likewise.
292 * localedata/locales/nds_NL: Likewise.
293 * localedata/locales/ne_NP: Likewise.
294 * localedata/locales/nhn_MX: Likewise.
295 * localedata/locales/niu_NU: Likewise.
296 * localedata/locales/niu_NZ: Likewise.
297 * localedata/locales/nl_AW: Likewise.
298 * localedata/locales/nl_BE: Likewise.
299 * localedata/locales/nl_NL: Likewise.
300 * localedata/locales/nn_NO: Likewise.
301 * localedata/locales/nr_ZA: Likewise.
302 * localedata/locales/nso_ZA: Likewise.
303 * localedata/locales/oc_FR: Likewise.
304 * localedata/locales/om_ET: Likewise.
305 * localedata/locales/om_KE: Likewise.
306 * localedata/locales/or_IN: Likewise.
307 * localedata/locales/os_RU: Likewise.
308 * localedata/locales/pa_IN: Likewise.
309 * localedata/locales/pa_PK: Likewise.
310 * localedata/locales/pap_AW: Likewise.
311 * localedata/locales/pap_CW: Likewise.
312 * localedata/locales/pl_PL: Likewise.
313 * localedata/locales/ps_AF: Likewise.
314 * localedata/locales/pt_BR: Likewise.
315 * localedata/locales/pt_PT: Likewise.
316 * localedata/locales/quz_PE: Likewise.
317 * localedata/locales/raj_IN: Likewise.
318 * localedata/locales/ro_RO: Likewise.
319 * localedata/locales/ru_RU: Likewise.
320 * localedata/locales/ru_UA: Likewise.
321 * localedata/locales/rw_RW: Likewise.
322 * localedata/locales/sa_IN: Likewise.
323 * localedata/locales/sat_IN: Likewise.
324 * localedata/locales/sc_IT: Likewise.
325 * localedata/locales/sd_IN: Likewise.
326 * localedata/locales/sd_IN@devanagari: Likewise.
327 * localedata/locales/se_NO: Likewise.
328 * localedata/locales/sgs_LT: Likewise.
329 * localedata/locales/shs_CA: Likewise.
330 * localedata/locales/si_LK: Likewise.
331 * localedata/locales/sid_ET: Likewise.
332 * localedata/locales/sk_SK: Likewise.
333 * localedata/locales/sl_SI: Likewise.
334 * localedata/locales/sm_WS: Likewise.
335 * localedata/locales/so_DJ: Likewise.
336 * localedata/locales/so_ET: Likewise.
337 * localedata/locales/so_KE: Likewise.
338 * localedata/locales/so_SO: Likewise.
339 * localedata/locales/sq_AL: Likewise.
340 * localedata/locales/sq_MK: Likewise.
341 * localedata/locales/sr_ME: Likewise.
342 * localedata/locales/sr_RS: Likewise.
343 * localedata/locales/sr_RS@latin: Likewise.
344 * localedata/locales/ss_ZA: Likewise.
345 * localedata/locales/st_ZA: Likewise.
346 * localedata/locales/sv_FI: Likewise.
347 * localedata/locales/sv_SE: Likewise.
348 * localedata/locales/sw_KE: Likewise.
349 * localedata/locales/sw_TZ: Likewise.
350 * localedata/locales/szl_PL: Likewise.
351 * localedata/locales/ta_IN: Likewise.
352 * localedata/locales/ta_LK: Likewise.
353 * localedata/locales/tcy_IN: Likewise.
354 * localedata/locales/te_IN: Likewise.
355 * localedata/locales/tg_TJ: Likewise.
356 * localedata/locales/th_TH: Likewise.
357 * localedata/locales/the_NP: Likewise.
358 * localedata/locales/ti_ER: Likewise.
359 * localedata/locales/ti_ET: Likewise.
360 * localedata/locales/tig_ER: Likewise.
361 * localedata/locales/tk_TM: Likewise.
362 * localedata/locales/tl_PH: Likewise.
363 * localedata/locales/tn_ZA: Likewise.
364 * localedata/locales/to_TO: Likewise.
365 * localedata/locales/tpi_PG: Likewise.
366 * localedata/locales/tr_CY: Likewise.
367 * localedata/locales/tr_TR: Likewise.
368 * localedata/locales/ts_ZA: Likewise.
369 * localedata/locales/tt_RU: Likewise.
370 * localedata/locales/tt_RU@iqtelif: Likewise.
371 * localedata/locales/ug_CN: Likewise.
372 * localedata/locales/uk_UA: Likewise.
373 * localedata/locales/unm_US: Likewise.
374 * localedata/locales/ur_IN: Likewise.
375 * localedata/locales/ur_PK: Likewise.
376 * localedata/locales/uz_UZ: Likewise.
377 * localedata/locales/uz_UZ@cyrillic: Likewise.
378 * localedata/locales/ve_ZA: Likewise.
379 * localedata/locales/vi_VN: Likewise.
380 * localedata/locales/wa_BE: Likewise.
381 * localedata/locales/wae_CH: Likewise.
382 * localedata/locales/wal_ET: Likewise.
383 * localedata/locales/wo_SN: Likewise.
384 * localedata/locales/xh_ZA: Likewise.
385 * localedata/locales/yi_US: Likewise.
386 * localedata/locales/yo_NG: Likewise.
387 * localedata/locales/yue_HK: Likewise.
388 * localedata/locales/yuw_PG: Likewise.
389 * localedata/locales/zh_CN: Likewise.
390 * localedata/locales/zh_HK: Likewise.
391 * localedata/locales/zh_SG: Likewise.
392 * localedata/locales/zh_TW: Likewise.
393 * localedata/locales/zu_ZA: Likewise.
395 2017-11-13 Florian Weimer <fweimer@redhat.com>
397 * support/next_to_fault.h, support/next_to_fault.c: New files.
398 * support/Makefile (libsupport-routines): Add next_to_fault.
399 * resolv/tst-inet_pton.c (struct next_to_fault)
400 (next_to_fault_allocate, next_to_fault_free): Remove.
401 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
403 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
405 * elf/dl-support.c: Include <dl-procruntime.c>.
406 * include/link.h: Include <link_map.h>.
407 * sysdeps/generic/dl-procruntime.c: New file.
408 * sysdeps/generic/link_map.h: Likewise.
409 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
410 the writable ld.so namespace.
412 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
414 timezone: pacify GCC -Wstringop-truncation
415 Problem reported by Martin Sebor in:
416 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
417 * timezone/zic.c (writezone): Use memcpy, not strncpy.
419 2017-11-12 Florian Weimer <fweimer@redhat.com>
421 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
423 (tests): Add tst-xreadlink.
424 * support/support.h (xstrndup): Declare.
425 * support/xunistd.h (xunlink, xreadlink): Declare.
426 * support/temp_file.h (support_create_temp_directory): Declare.
427 * support/temp_file.c (support_create_temp_directory): New function.
428 * support/support_chroot.c (support_chroot_create): Use it.
429 * support/xreadlink.c: New file.
430 * support/xstrndup.c: Likewise.
431 * support/xunlink.c: Likewise.
432 * support/tst-xreadlink.c: Likewise.
434 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
436 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
438 2017-11-11 Florian Weimer <fweimer@redhat.com>
442 * resolv/res_comp.c (printable_string, binary_hnok)
443 (binary_leading_dash): New functions.
444 (res_hnok): Reimplement using these functions and ns_name_pton.
445 (res_ownok): Likewise.
446 (res_mailok): Reimplement using printable_string, ns_name_pton and
448 (res_dnok): Reimplement using printable_string and ns_name_pton.
449 * resolv/tst-res_hnok.c (tests): Add additional tests.
450 (LETTERDIGITS, PRINTABLE): Define.
451 (do_test): Adjust one_char results.
453 2017-11-11 Florian Weimer <fweimer@redhat.com>
456 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
457 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
459 2017-11-11 Florian Weimer <fweimer@redhat.com>
461 * resolv/tst-ns_name_pton.c: New file.
462 * resolv/Makefile (tests): Add tst-ns_name_pton.
463 (tst-ns_name_pton): Link against libresolv.
465 2017-11-11 Florian Weimer <fweimer@redhat.com>
467 * resolv/tst-res_hnok.c: New file.
468 * resolv/Makefile (tests): Add tst-res_hnok.
469 (tst-res_hnok): Link against libresolv.
471 2017-11-11 Florian Weimer <fweimer@redhat.com>
473 * resolv/tst-resolv-network.c: Use test framework instead explicit
476 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
478 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
480 [!_ISOMAC] (STR_HELPER): New.
481 [!_ISOMAC] (STR): Likewise.
482 [!_ISOMAC] (TEST_SIZE): Likewise.
483 [!_ISOMAC] (TEST_ALIGN): Likewise.
484 [!_ISOMAC] (TEST_OFFSET): Likewise.
485 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
486 field offsets of jmp_buf as well as sigjmp_buf.
487 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
488 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
489 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
490 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
491 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
492 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
493 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
494 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
495 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
496 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
498 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
500 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
505 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
506 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
507 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
508 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
509 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
514 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
515 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
516 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
518 2017-11-07 Joseph Myers <joseph@codesourcery.com>
521 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
522 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
523 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
524 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
525 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
526 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
527 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
528 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
529 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
530 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
532 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
534 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
536 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
538 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
540 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
542 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
544 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
546 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
548 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
550 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
552 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
554 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
556 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
558 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
560 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
562 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
564 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
566 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
568 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
570 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
572 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
574 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
576 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
578 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
580 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
582 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
584 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
586 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
588 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
590 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
592 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
594 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
596 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
598 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
600 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
602 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
604 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
606 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
608 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
610 * stdlib/tst-strtod.h (F16): New macro.
616 (IF_FLOAT16): Likewise.
617 (IF_FLOAT32): Likewise.
618 (IF_FLOAT64): Likewise.
619 (IF_FLOAT32X): Likewise.
620 (IF_FLOAT64X): Likewise.
621 (IF_FLOAT128X): Likewise.
622 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
623 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
624 (STRTOD_TEST_FOREACH): Likewise.
625 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
626 (CHOOSE_f64): Likewise.
627 (CHOOSE_f32x): Likewise.
628 (CHOOSE_f64x): Likewise.
630 2017-11-07 Andreas Schwab <schwab@suse.de>
632 * nptl/Makefile (tests-internal): Remove tst-typesizes.
634 2017-11-07 Mike FABIAN <mfabian@redhat.com>
637 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
639 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
642 2017-11-07 Claude Paroz <claude@2xlibre.net>
645 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
647 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
649 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
652 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
655 * nptl/allocatestack.c (allocate_stack): Check if
656 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
657 __PTHREAD_MUTEX_HAVE_PREV is defined.
658 * nptl/descr.h (pthread): Likewise.
659 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
661 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
662 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
663 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
664 * sysdeps/nptl/bits/thread-shared-types.h
665 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
667 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
668 of __WORDSIZE for internal layout.
669 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
670 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
671 instead of __WORDSIZE whether to use an union for __spins and __list
673 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
675 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
676 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
678 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
679 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
681 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
682 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
684 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
685 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
687 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
688 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
690 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
691 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
693 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
694 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
696 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
697 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
699 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
700 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
702 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
703 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
705 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
706 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
708 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
709 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
711 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
712 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
714 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
715 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
717 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
718 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
721 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
723 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
724 checks for expected input type size.
725 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
726 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
728 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
729 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
730 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
731 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
732 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
733 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
734 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
735 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
736 superflous runtime assert check.
737 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
739 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
741 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
743 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
745 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
747 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
749 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
750 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
751 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
753 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
755 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
757 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
759 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
761 * nptl/pthread_attr_setinheritsched.c
762 (__pthread_attr_setinheritsched): Likewise.
763 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
765 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
767 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
768 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
769 __old_pthread_attr_setstack): Likewise.
770 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
772 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
774 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
776 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
777 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
779 * nptl/tst-typesizes.c: Remove file.
781 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
782 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
783 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
784 checks for internal pthread_mutex_t offsets.
785 * sysdeps/aarch64/nptl/pthread-offsets.h
786 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
787 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
788 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
789 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
790 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
791 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
792 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
793 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
794 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
795 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
796 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
797 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
798 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
799 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
800 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
801 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
802 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
803 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
805 2017-11-07 Florian Weimer <fweimer@redhat.com>
807 * bits/mman-linux.h: Move ...
808 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
810 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
813 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
815 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
816 Redefine STRNLEN as __strnlen_power8.
818 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
820 * signal/sighold.c (sighold): Optimize implementation.
822 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
823 __NR_rt_sigqueueinfo.
825 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
827 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
828 assume __NR_rt_sigtimedwait.
829 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
830 and add LIBC_CANCEL_HANDLED for cancellation marking.
831 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
833 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
834 (sysdeps_routines): Add memchr_noneon.
835 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
836 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
837 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
838 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
839 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
840 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
841 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
843 * sysdeps/arm/arm-ifunc.h: New file.
844 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
845 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
846 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
847 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
848 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
849 (__memcpy_neon): Avoid create hidden alias.
850 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
851 (__memcpy_vfp): Likewise.
852 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
853 (sysdep_routines): Add memcpy_arm.
854 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
856 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
859 * Makerules (make-link-multidir): New.
860 * config.make.in (multidir): New.
861 * configure.ac (libc_cv_multidir): New. AC_SUBST.
862 * configure: Regenerated.
863 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
864 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
865 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
868 2017-11-06 Joseph Myers <joseph@codesourcery.com>
871 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
872 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
874 2017-11-04 Mike FABIAN <mfabian@redhat.com>
876 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
879 2017-11-04 Florian Weimer <fweimer@redhat.com>
881 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
883 2017-11-03 Joseph Myers <joseph@codesourcery.com>
885 * math/math.h [__HAVE_DISTINCT_FLOAT16
886 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
887 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
888 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
889 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
890 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
891 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
892 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
893 (__MATH_TG_F32): New macro.
894 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
895 (__MATH_TG_F64X): Likewise.
896 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
897 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
899 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
901 * po/de.po: Update translations.
902 * po/ru.po: Likewise.
904 2017-11-03 Florian Weimer <fweimer@redhat.com>
906 * manual/filesys.texi (Hard Links): Document linkat.
908 2017-11-03 Joseph Myers <joseph@codesourcery.com>
910 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
911 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
912 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
913 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
914 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
915 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
916 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
917 the same as _Float128.
918 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
919 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
920 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
923 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
925 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
927 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
929 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
930 (strtof32x): Likewise.
931 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
932 (strtof64x): Likewise.
933 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
934 (strtof128x): Likewise.
935 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
936 (strfromf16): Likewise.
937 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
938 (strfromf32): Likewise.
939 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
940 (strfromf64): Likewise.
941 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
942 (strfromf32x): Likewise.
943 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
944 (strfromf64x): Likewise.
945 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
946 (strfromf128x): Likewise.
947 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
948 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
949 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
950 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
951 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
952 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
954 2017-11-03 Richard Henderson <rth@twiddle.net>
956 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
958 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
960 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
962 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
964 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
965 DT_TLSDESC_GOT initialization.
966 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
967 (_dl_tlsdesc_resolve_hold): Likewise.
968 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
969 (_dl_tlsdesc_resolve_hold): Likewise.
970 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
971 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
973 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
975 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
977 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
980 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
981 non-lazily for R_ARM_TLS_DESC.
983 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
986 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
988 (elf_machine_lazy_rel): Remove the prelink check.
990 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
992 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
993 DT_TLSDESC_GOT initialization.
994 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
995 (_dl_tlsdesc_resolve_rela): Likewise.
996 (_dl_tlsdesc_resolve_hold): Likewise.
997 (_dl_tlsdesc_undefweak): Remove ldar.
998 (_dl_tlsdesc_dynamic): Likewise.
999 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
1000 (_dl_tlsdesc_resolve_rela): Likewise.
1001 (_dl_tlsdesc_resolve_hold): Likewise.
1002 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
1003 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1004 (_dl_tlsdesc_resolve_rela): Likewise.
1005 (_dl_tlsdesc_resolve_hold): Likewise.
1007 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1009 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
1010 binding and initialization non-lazily for R_AARCH64_TLSDESC.
1012 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1014 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
1015 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1017 2017-11-02 Joseph Myers <joseph@codesourcery.com>
1019 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
1021 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
1022 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
1023 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
1024 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
1025 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
1026 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
1027 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
1028 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
1029 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
1030 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
1031 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
1033 2017-11-02 Mike FABIAN <mfabian@redhat.com>
1036 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
1037 * localedata/locales/tpi_PG: Add standard header.
1039 2017-11-02 Florian Weimer <fweimer@redhat.com>
1041 test-errno-linux: quotactl can fail with EPERM in containers.
1042 * sysdeps/unix/sysv/linux/test-errno-linux.c
1043 (LIST, LIST_FORWARD): New macros.
1044 (check_error_in_list): New function.
1045 (test_wrp_rv): Accept list of permitted error codes.
1046 (test_wrp_rv2): Remove.
1047 (test_wrp): Call test_wrp_rv with list of error codes.
1048 (test_wrp2): Accept list of error codes.
1049 (do_test): Adjust. Allow EPERM for quotactl.
1051 2017-11-02 Florian Weimer <fweimer@redhat.com>
1053 * stdio-common/bug16.c (do_test): Use array_length.
1054 * stdio-common/errlist.c (_sys_nerr): Likewise.
1055 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
1056 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
1057 * stdio-common/psiginfo.c (psiginfo): Use array_length.
1058 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
1059 (do_test): Use array_length.
1060 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
1061 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
1062 * stdio-common/tst-printf-round.c (do_test): Likewise.
1063 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
1064 (CHECK): Use array_length.
1065 * stdio-common/tstdiomisc.c (t3, F): Likewise.
1066 * stdio-common/tstscanf.c (main): Likewise.
1067 * stdio-common/vfprintf.c (process_string_arg): Likewise.
1069 2017-11-02 Florian Weimer <fweimer@redhat.com>
1071 Add array_length and array_end macros.
1072 * include/array_length.h: New file.
1074 2017-11-02 Florian Weimer <fweimer@redhat.com>
1077 * posix/tst-glob-tilde.c (do_noescape): New variable.
1078 (one_test): Process it.
1079 (do_test): Set do_noescape. Add unescaping test case.
1081 2017-11-01 Joseph Myers <joseph@codesourcery.com>
1084 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
1085 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
1086 with appropriate macros defined and undefined.
1087 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
1088 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1089 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
1090 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1091 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
1092 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1093 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
1094 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1095 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
1096 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1099 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
1100 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
1101 that for long double. Do not condition define and undefine of
1102 _Mdouble_complex_ on [__CFLOAT128].
1104 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
1106 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1107 of <sysdeps/generic/sysdep.h>.
1108 (ALIGNARG): Removed.
1109 (ASM_SIZE_DIRECTIVE): Likewise.
1112 (ENTRY_CHK): Likewise.
1113 (END_CHK): Likewise.
1114 (syscall_error): Likewise.
1116 (PSEUDO_END): Likewise.
1118 (atom_text_section): Likewise.
1119 * sysdeps/x86/sysdep.h: New file.
1120 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1121 of <sysdeps/generic/sysdep.h>.
1122 (ALIGNARG): Removed.
1123 (ASM_SIZE_DIRECTIVE): Likewise.
1126 (ENTRY_CHK): Likewise.
1127 (END_CHK): Likewise.
1128 (syscall_error): Likewise.
1130 (PSEUDO_END): Likewise.
1132 (atom_text_section): Likewise.
1134 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
1136 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
1137 category of LC_CTYPE set to "i18n:2012".
1138 * localedata/locales/i18n_ctype: Regenerate.
1140 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
1142 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
1143 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1144 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1145 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1147 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
1148 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
1149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
1152 2017-10-31 Joseph Myers <joseph@codesourcery.com>
1155 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
1157 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
1159 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
1161 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1162 (CMPLXF32X): Likewise.
1163 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1164 (CMPLXF64X): Likewise.
1165 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1166 (CMPLXF128X): Likewise.
1169 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
1170 (__MATH_EVAL_FMT2): Define to add 0.0f.
1172 2017-10-31 Alan Modra <amodra@gmail.com>
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
1179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
1181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
1183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
1184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
1185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
1187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
1189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1190 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
1192 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1194 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
1195 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
1196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1197 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1198 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1201 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1202 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1203 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1204 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
1205 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1207 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1208 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1209 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1221 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1222 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
1228 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
1229 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1230 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1234 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1236 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1237 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1238 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
1241 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1242 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
1243 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
1244 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
1247 include sysdep.h and math_ldbl_opt.h.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
1250 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
1251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
1264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
1270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
1272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
1274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1276 2017-10-31 Alan Modra <amodra@gmail.com>
1278 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
1279 string/strncase_l.c, not string/strncase.c.
1280 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
1281 (libc_hidden_def): Redefine.
1283 2017-10-31 Alan Modra <amodra@gmail.com>
1285 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
1286 (__STRCMP, STRCMP, __strcasecmp_l): Define.
1287 (__strcasecmp): Don't define.
1289 2017-10-31 Alan Modra <amodra@gmail.com>
1291 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
1293 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1297 2017-10-31 Alan Modra <amodra@gmail.com>
1299 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
1302 2017-10-31 Alan Modra <amodra@gmail.com>
1304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
1305 Redefine only when SHARED.
1307 2017-10-30 Joseph Myers <joseph@codesourcery.com>
1309 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1310 Include <bits/math-finite.h> with appropriate macros defined and
1312 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1313 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1314 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1315 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1316 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1318 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
1319 [!_Mlong_double_] (_Mlong_double_): Likewise.
1320 [!_Mfloat16_] (_Mfloat16_): Likewise.
1321 [!_Mfloat32_] (_Mfloat32_): Likewise.
1322 [!_Mfloat64_] (_Mfloat64_): Likewise.
1323 [!_Mfloat128_] (_Mfloat128_): Likewise.
1324 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
1325 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
1326 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
1327 (_Mdouble_): Define without indirection through those macros.
1328 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
1329 [!_Mfloat128_] (_Mfloat128_): Likewise.
1330 [_Mlong_double_] (_Mlong_double_): Likewise.
1331 (_Mdouble_): Define without indirection through those macros.
1332 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
1333 not add -D_Mlong_double_=double.
1334 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
1335 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
1337 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1339 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
1341 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1343 * sysdeps/x86/libc-start.c: Reformat.
1345 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1348 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
1352 (L(Src2)): Likewise.
1353 (L(1)): Renamed to ...
1356 2017-10-30 Joseph Myers <joseph@codesourcery.com>
1358 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
1359 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
1360 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
1361 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
1362 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
1363 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
1364 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
1365 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
1366 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
1367 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
1368 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
1369 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
1370 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
1371 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
1372 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
1373 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
1374 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
1375 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
1376 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
1377 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
1378 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
1379 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
1380 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
1381 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
1382 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
1383 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
1384 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
1385 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
1386 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
1387 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
1388 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
1389 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
1390 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
1391 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
1392 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
1393 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
1394 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
1395 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
1396 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
1397 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
1398 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
1399 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
1400 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
1401 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
1402 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
1403 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
1404 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
1405 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
1406 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
1407 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
1408 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
1409 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
1410 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
1411 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
1412 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
1413 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
1414 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
1415 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
1416 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
1417 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
1418 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
1419 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
1420 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
1421 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
1422 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
1423 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
1425 2017-10-30 Florian Weimer <fweimer@redhat.com>
1427 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
1429 * io/tst-mkdirat.c (do_test): Likewise.
1430 * io/tst-mkfifoat.c (do_test): Likewise.
1431 * io/tst-mknodat.c (do_test): Likewise.
1432 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
1433 * locale/programs/locale.c (select_dirs): Likewise.
1434 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
1435 * posix/bug-glob2.c (my_readdir): Likewise.
1436 * posix/tst-dir.c (main): Likewise.
1437 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
1438 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
1440 2017-10-30 Florian Weimer <fweimer@redhat.com>
1442 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
1445 2017-10-30 Florian Weimer <fweimer@redhat.com>
1447 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
1448 Convert to support/test-driver.c.
1449 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
1450 New macro parameters.
1451 (PRINTF): Remove macro. Use test_verbose conditionals instead.
1452 * posix/tst-gnuglob.c: New file.
1453 * posix/tst-gnuglob64.c: Likewise.
1454 * posix/Makefile (tests): Add tst-gnuglob64.
1456 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
1459 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
1460 and use a better translation for March in “mon”.
1461 * localedata/locales/csb_PL: Use more ASCII to improve the
1462 readability of the source.
1464 2017-10-30 Mike FABIAN <mfabian@redhat.com>
1467 * localedata/locales/km_KH: Use ASCII as much
1468 as possible for better readability of the source and
1469 remove useless comments.
1470 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
1471 was commented out and apparently wrong anyway because it was
1472 using Lao characters. If Buddhist era should be used
1473 for km_KH, a native speaker should write the correct formaat
1475 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
1476 (According to CLDR, the first weekday for Cambodia is Sunday).
1477 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
1478 (These were using Lao characters which must be wrong. If we get
1479 the correct data from a native speaker, we could add it back, until
1480 then it is better not to have name_mr and name_mrs at all than
1483 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
1485 * locale/loadlocale.c: Correct size of
1486 _nl_value_type_LC_<category> arrays.
1488 2017-10-27 Joseph Myers <joseph@codesourcery.com>
1490 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1491 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
1492 with appropriate macros defined and undefined.
1493 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1494 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1495 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1496 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1497 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1499 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
1501 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1504 2017-10-27 Mike FABIAN <mfabian@redhat.com>
1506 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
1507 with lowercase letters to make it agree with CLDR.
1509 2017-10-27 Mike FABIAN <mfabian@redhat.com>
1512 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
1513 first letters of yesstr and nostr in yesexpr and noexpr,
1514 not for the full words.
1515 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1516 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
1517 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
1518 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
1519 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
1520 first letters of yesstr and nostr in yesexpr and noexpr,
1521 until now only English was matched in yesexpr and noexpr.
1522 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
1523 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
1524 fil but not for tl. As tl and fil are very similar, using fil
1525 is probably better than using English.
1527 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
1530 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
1531 in yesstr and nostr.
1533 2017-10-26 Joseph Myers <joseph@codesourcery.com>
1535 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1536 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
1537 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
1539 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
1541 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
1543 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
1545 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1546 (SNANF128X): Likewise.
1548 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1549 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
1550 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1551 (HUGE_VAL_F32): Likewise.
1552 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1553 (HUGE_VAL_F64): Likewise.
1554 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1555 (HUGE_VAL_F32X): Likewise.
1556 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1557 (HUGE_VAL_F64X): Likewise.
1558 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1559 (HUGE_VAL_F128X): Likewise.
1561 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1563 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
1564 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
1565 for the br_FR locale.
1567 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1570 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
1572 2017-10-25 Carlos O'Donell <carlos@redhat.com>
1574 * locale/programs/record-status.h: Define globals, and function
1575 prototypes. Move function bodies...
1576 * locale/programs/record-status.c: ... to here. New file.
1577 * iconv/Makefile (iconv_prog-modules): Add record-status.
1578 * locale/Makefile (lib-modules): Likewise.
1579 * iconv/iconv_prog.c: Remove verbose.
1580 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
1581 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
1582 record a warning about ASCII compatibility.
1583 * locale/programs/ld-monetary.c (monetary_finish): If
1584 warn_int_curr_symbol is true then record a warning about the symbol
1585 not being in our ISO 4217 list.
1586 * locale/programs/locale.c: Include record-status.h. Remove verbose.
1587 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
1588 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
1589 (OPT_NO_WARN): Define.
1591 (options): Add entry for --no-warnings, and --warnings.
1592 (set_warnings): New function to enable/disable warnings.
1593 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
1594 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
1595 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
1596 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
1597 Pass flags to generate_locale.
1598 (generate_locale): Accept new flag argument and pass it to localedef
1600 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
1601 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
1603 * localedata/Makefile (test-input-data): Use full file name.
1604 * localedata/da_DK.in: Rename to...
1605 * localedata/da_DK.ISO-8859-1.in: ...this.
1606 * localedata/de_DE.in: Rename to...
1607 * localedata/de_DE.ISO-8859-1.in: ...this.
1608 * localedata/en_US.in: Rename to...
1609 * localedata/en_US.ISO-8859-1.in: ...this.
1610 * localedata/fr_FR.in: Rename to...
1611 * localedata/fr_FR.UTF-8.in: ... this.
1612 * localedata/hr_HR.in: Rename to...
1613 * localedata/hr_HR.ISO-8859-2.in: ...this.
1614 * localedata/hu_HU.in: Rename to...
1615 * localedata/hu_HU.UTF-8.in: ...this.
1616 * localedata/si_LK.in: Rename to...
1617 * localedata/si_LK.UTF-8.in: ...this.
1618 * localedata/sv_SE.in: Rename to...
1619 * localedata/sv_SE.ISO-8859-1.in: ...this.
1620 * localedata/tr_TR.in: Rename to...
1621 * localedata/tr_TR.UTF-8.in: ...this.
1622 * localedata/uk_UA.in: Rename to...
1623 * localedata/uk_UA.UTF-8.in: ...this.
1624 * localedata/sort-test.sh: Test file is locale name with the
1627 * localedata/unicode-gen/Makefile (check_i18n): Rename to
1628 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
1630 * localedata/locales/i18n_ctype: Regenerate.
1631 * localedata/locales/tr_TR: Likewise.
1632 * localedata/locales/translit_circle: Likewise.
1633 * localedata/locales/translit_cjk_compat: Likewise.
1634 * localedata/locales/translit_combining: Likewise.
1635 * localedata/locales/translit_compat: Likewise.
1636 * localedata/locales/translit_font: Likewise.
1637 * localedata/locales/translit_fraction: Likewise.
1639 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1641 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
1642 lxvd2x/stxvd2x with lvx/stvx.
1643 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1645 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
1647 * include/alloc_buffer.h: Replace "if if " with "if " in
1649 * sysdeps/mips/memcpy.S: Likkewise.
1650 * sysdeps/mips/memset.S: Likewise.
1651 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1653 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
1655 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
1658 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1661 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
1663 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1664 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1665 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1666 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1667 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1668 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1669 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1671 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1673 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
1674 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1675 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1676 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1677 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1678 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
1679 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1680 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1681 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1682 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1683 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1684 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1686 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1688 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
1689 as possible for better readability of the source.
1690 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
1691 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
1692 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
1693 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
1694 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
1695 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
1696 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
1697 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
1698 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1699 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
1700 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
1701 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
1702 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
1703 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
1704 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
1705 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
1706 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
1707 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
1708 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
1709 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
1710 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
1711 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
1712 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
1713 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
1714 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
1715 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
1716 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
1717 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
1718 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
1719 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
1720 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
1721 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1722 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
1723 * localedata/locales/en_US (LC_MESSAGES): Likewise.
1724 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
1725 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
1726 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
1727 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
1728 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
1729 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
1730 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
1731 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
1732 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
1733 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
1734 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
1735 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
1736 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
1737 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
1738 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
1739 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
1740 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
1741 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
1742 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
1743 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1744 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1745 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
1746 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
1747 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1748 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
1749 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
1750 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
1751 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
1752 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
1753 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
1754 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
1755 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
1756 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
1757 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
1758 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
1759 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
1760 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
1761 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
1762 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
1763 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
1764 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1765 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
1766 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
1767 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
1768 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
1769 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
1770 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
1771 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
1772 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
1773 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1774 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
1775 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
1776 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
1777 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1778 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
1779 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
1780 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
1781 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
1782 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1783 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
1784 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
1785 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1786 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
1787 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1788 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
1789 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
1790 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
1791 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
1792 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
1793 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
1794 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
1795 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
1796 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
1797 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
1798 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
1799 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
1800 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
1801 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
1802 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1803 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
1804 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
1805 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
1806 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
1807 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
1808 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
1809 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
1810 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
1811 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
1812 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
1813 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
1814 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
1815 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
1816 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
1817 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
1818 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
1819 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
1820 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
1821 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
1822 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
1823 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
1824 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
1825 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
1826 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
1827 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
1828 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
1829 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
1830 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
1831 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
1832 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
1833 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
1834 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
1835 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1836 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
1837 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
1838 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
1839 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
1840 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
1841 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
1842 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
1843 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
1844 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1845 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
1846 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
1847 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
1848 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
1849 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
1850 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
1851 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
1852 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
1853 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
1854 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
1855 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1856 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
1857 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
1858 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
1859 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
1860 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1861 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1862 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1863 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
1865 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1867 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
1868 (Use first letters of yesstr and nostr correctly instead of using
1871 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1873 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
1874 (Use first letters of yesstr and nostr correctly).
1876 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1878 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
1879 also check for the first characters of yesstr and nostr.
1880 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
1881 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
1883 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1885 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
1886 also check for Chinese characters.
1888 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1890 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
1891 match also for the contents of yesstr and nostr. As the first letter
1892 of yesstr and nostr is equal, checking only for the first letter
1895 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1897 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
1898 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
1900 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1902 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
1903 of main contributor.
1905 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1907 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
1908 instead of using English.
1910 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1912 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
1913 by including the first letters of nostr and yesexpr in the regexp.
1914 Also make it more readable by using ASCII where possible.
1916 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1918 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
1919 the first letter of nostr in the regexp. It agrees with CLDR now.
1920 Also make it more readable by using ASCII where possible.
1922 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1924 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
1925 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
1926 these strings contain a U+17D6 (which somewhat looks like a colon)
1927 instead of a real colon to separate the full words for “yes”
1928 and “no” from the single letter responses.
1930 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1932 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
1933 it agree with CLDR (include the first letter of yesstr).
1934 Also make it more readable by using ASCII where possible.
1936 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1938 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
1939 and improve yesexpr and noexpr. The yesstr and nostr apparently
1940 came from CLDR. And CLDR has a bug there: these strings contain
1941 a U+0903 (which looks like a colon) instead of a real colon
1942 to separate the full words for “yes” and “no” from the single
1945 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1947 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
1948 letters of the full yesstr and nostr in yesexpr and noexpr.
1950 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1952 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
1953 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
1954 * localedata/locales/an_ES: Make source more readable by using ASCII
1957 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1960 * localedata/locales/yuw_PG: New file.
1961 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
1962 * locale/iso-639.def: Add Yau (Uruwa).
1964 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1966 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
1968 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1970 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
1971 (__libc_realloc): Likewise.
1972 (_mid_memalign): Likewise.
1973 (__libc_calloc): Likewise.
1975 2017-10-23 Mike FABIAN <mfabian@redhat.com>
1977 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
1978 by adding the generic +1 and -0 as in all other locales.
1979 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
1980 day names and make it more readable by using ASCII where possible.
1982 2017-10-24 Joseph Myers <joseph@codesourcery.com>
1984 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
1985 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
1987 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1989 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
1990 WNOHANG in waitpid call.
1992 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
1994 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
1995 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
1997 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
1998 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
1999 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
2000 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
2001 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
2002 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
2003 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
2004 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
2007 2017-10-23 Michael Collison <michael.collison@arm.com>
2009 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
2010 with __builtin_sqrt.
2011 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
2012 with __builtin_sqrtf.
2013 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
2014 with __builtin_ceil.
2015 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
2016 with __builtin_ceilf.
2017 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
2018 with __builtin_floor.
2019 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
2020 with __builtin_floorf.
2021 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
2023 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
2024 with __builtin_fmaf.
2025 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
2026 with __builtin_fmax.
2027 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
2028 with __builtin_fmaxf.
2029 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
2030 with __builtin_fmin.
2031 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
2032 with __builtin_fminf.
2033 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
2034 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
2035 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
2036 with builtin_rint and conversion to int.
2037 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
2038 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
2039 with builtin_llround.
2040 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
2041 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
2042 with builtin_rint and conversion to long int.
2043 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
2044 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
2045 with builtin_lround.
2046 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
2047 with builtin_lroundf.
2048 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
2049 statements with __builtin_nearbyint.
2050 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
2051 statements with __builtin_nearbyintf.
2052 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
2053 with __builtin_rint.
2054 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
2055 with __builtin_rintf.
2056 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
2057 with __builtin_round.
2058 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
2059 with __builtin_roundf.
2060 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
2061 with __builtin_trunc.
2062 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
2063 with __builtin_truncf.
2064 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
2065 and s_l[l]round[f].c too.
2067 2017-10-23 Alan Modra <amodra@gmail.com>
2069 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
2070 Adjust stack after restoring regs. Add missing LR cfi_restore.
2072 2017-10-23 Alan Modra <amodra@gmail.com>
2074 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
2075 Move LR save and frame setup/teardown and LR restore to
2076 immediately around memset call. Provide cfi.
2078 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2080 * sysdeps/i386/fpu/e_powf.S: Removed.
2081 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
2082 * sysdeps/i386/fpu/w_powf.c: Likewise.
2083 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
2084 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2085 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2087 (CFLAGS-e_powf-sse2.c): New.
2088 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
2089 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
2091 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2093 * sysdeps/i386/fpu/e_log2f.S: Removed.
2094 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
2095 * sysdeps/i386/fpu/w_log2f.c: Likewise.
2096 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
2097 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2098 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2100 (CFLAGS-e_log2f-sse2.c): New.
2101 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
2102 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
2104 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2106 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2108 (CFLAGS-e_powf-fma.c): New.
2109 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
2110 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
2112 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2114 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2116 (CFLAGS-e_log2f-fma.c): New.
2117 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
2118 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
2120 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2122 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2124 (CFLAGS-e_logf-fma.c): New.
2125 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
2126 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
2128 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2130 * sysdeps/i386/fpu/e_logf.S: Removed.
2131 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
2132 * sysdeps/i386/fpu/w_logf.c: Likewise.
2133 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
2134 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
2135 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2136 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2138 (CFLAGS-e_logf-sse2.c): New.
2139 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
2140 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
2142 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2144 * sysdeps/i386/fpu/e_exp2f.S: Removed.
2145 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
2146 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
2147 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2148 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2150 (CFLAGS-e_exp2f-sse2.c): New.
2151 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
2152 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
2154 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2156 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2158 (CFLAGS-e_exp2f-fma.c): New.
2159 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
2160 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
2162 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2164 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
2165 * sysdeps/i386/fpu/e_expf.S: Likewise.
2166 * sysdeps/i386/fpu/math_errf.c: Likewise.
2167 * sysdeps/i386/fpu/w_expf.c: Likewise.
2168 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
2169 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2170 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
2171 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
2172 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2173 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2175 (CFLAGS-e_expf-sse2.c): New.
2176 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
2177 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
2179 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2181 * sysdeps/x86_64/fpu/e_expf.S: Removed.
2182 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
2183 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
2186 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
2188 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
2189 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2191 (__redirect_expf): This.
2192 (SYMBOL_NAME): Changed to expf.
2193 (__ieee754_expf): Renamed to ...
2195 (__GI___expf): This.
2196 (__ieee754_expf): Add strong_alias.
2197 (__expf_finite): Likewise.
2199 Include <sysdeps/ieee754/flt-32/e_expf.c>.
2201 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
2204 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
2207 2017-10-21 Florian Weimer <fweimer@redhat.com>
2209 * posix/Makefile (tests): Add tst-glob-tilde.
2210 (tests-special): Add tst-glob-tilde-mem.out
2211 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
2212 (tst-glob-tilde-mem.out): Add mtrace check.
2213 * posix/tst-glob-tilde.c: New file.
2215 2017-10-20 Joseph Myers <joseph@codesourcery.com>
2217 * bits/floatn-common.h: New file.
2218 * math/Makefile (headers): Add bits/floatn-common.h.
2219 * bits/floatn.h: Include <bits/floatn-common.h>.
2220 * sysdeps/ia64/bits/floatn.h: Likewise.
2221 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2222 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
2223 * sysdeps/powerpc/bits/floatn.h: Likewise.
2224 * sysdeps/x86/bits/floatn.h: Likewise.
2226 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2228 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
2229 indicates whether compiler emits an warning for alias for
2230 functions with incompatible types.
2233 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
2234 the auxiliary process is terminated by a signal before calling _exit
2237 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2240 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
2242 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
2243 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
2244 and bit_arch_XSAVEC_Usable if needed.
2245 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
2246 and bit_arch_Use_dl_runtime_resolve_opt.
2247 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2249 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2250 (bit_arch_Prefer_No_AVX512): Updated.
2251 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
2252 (bit_arch_XSAVEC_Usable): New.
2253 (STATE_SAVE_OFFSET): Likewise.
2254 (STATE_SAVE_MASK): Likewise.
2255 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
2256 (cpu_features): Add xsave_state_size and xsave_state_full_size.
2257 (index_arch_Use_dl_runtime_resolve_opt): Removed.
2258 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2259 (index_arch_XSAVEC_Usable): New.
2260 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2261 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
2262 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
2264 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
2265 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
2266 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
2267 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
2268 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
2269 _dl_runtime_resolve_xsavec.
2270 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
2272 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
2273 instead of VEC_SIZE.
2274 (REGISTER_SAVE_BND0): Removed.
2275 (REGISTER_SAVE_BND1): Likewise.
2276 (REGISTER_SAVE_BND3): Likewise.
2277 (REGISTER_SAVE_RAX): Always defined to 0.
2279 (_dl_runtime_resolve_avx): Likewise.
2280 (_dl_runtime_resolve_avx_slow): Likewise.
2281 (_dl_runtime_resolve_avx_opt): Likewise.
2282 (_dl_runtime_resolve_avx512): Likewise.
2283 (_dl_runtime_resolve_avx512_opt): Likewise.
2284 (_dl_runtime_resolve_sse): Likewise.
2285 (_dl_runtime_resolve_sse_vex): Likewise.
2287 (_dl_runtime_resolve_fxsave): Likewise.
2288 (USE_XSAVE): Likewise.
2289 (_dl_runtime_resolve_xsave): Likewise.
2290 (USE_XSAVEC): Likewise.
2291 (_dl_runtime_resolve_xsavec): Likewise.
2292 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
2294 (_dl_runtime_resolve_avx512_opt): Likewise.
2295 (_dl_runtime_resolve_avx): Likewise.
2296 (_dl_runtime_resolve_avx_opt): Likewise.
2297 (_dl_runtime_resolve_sse): Likewise.
2298 (_dl_runtime_resolve_sse_vex): Likewise.
2299 (_dl_runtime_resolve_fxsave): New.
2300 (_dl_runtime_resolve_xsave): Likewise.
2301 (_dl_runtime_resolve_xsavec): Likewise.
2303 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
2307 * posix/glob.c (__glob): Fix one-byte overflow.
2309 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2311 * malloc/malloc.c (sysdep-cancel.h): Add include.
2313 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2315 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
2317 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
2319 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
2320 (tests): Remove $(objpfx)ga_test depdendency.
2321 * resolv/ga_test.c: Remove file.
2323 2017-10-20 Mike FABIAN <mfabian@redhat.com>
2326 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
2327 * localedata/locales/kab_DZ: New file.
2329 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2331 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2332 _dl_relocate_static_pie instead of _dl_start to compute load
2333 address in static PIE.
2335 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2337 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
2339 2017-10-20 Mike FABIAN <mfabian@redhat.com>
2342 * localedata/SUPPORTED: Add shn_MM/UTF-8.
2343 * localedata/locales/shn_MM: New file.
2345 2017-10-20 Florian Weimer <fweimer@redhat.com>
2348 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
2349 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
2350 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
2351 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
2352 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
2353 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
2355 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
2357 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2359 2017-10-19 Joseph Myers <joseph@codesourcery.com>
2361 * sysdeps/mips/ieee754/bits/floatn.h: New file.
2364 * sysdeps/mips/bits/long-double.h: Move to ....
2365 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
2367 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
2369 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
2371 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
2372 H.J. Lu <hongjiu.lu@intel.com>
2375 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2376 GLRO(dl_platform) to NULL.
2377 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
2378 (modules-names): Add tst-platformmod-1 and
2379 x86_64/tst-platformmod-2.
2380 (CFLAGS-tst-platform-1.c): New.
2381 (CFLAGS-tst-platformmod-1.c): Likewise.
2382 (CFLAGS-tst-platformmod-2.c): Likewise.
2383 (LDFLAGS-tst-platformmod-2.so): Likewise.
2384 ($(objpfx)tst-platform-1): Likewise.
2385 ($(objpfx)tst-platform-1.out): Likewise.
2386 (tst-platform-1-ENV): Likewise.
2387 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
2388 * sysdeps/x86_64/tst-platform-1.c: New file.
2389 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
2390 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
2392 2017-10-19 Mike FABIAN <mfabian@redhat.com>
2395 * locale/iso-639.def: Add Karbi.
2396 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
2397 * localedata/locales/mjw_IN: New file.
2399 2017-10-18 Joseph Myers <joseph@codesourcery.com>
2401 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
2402 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2403 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
2404 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
2405 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2406 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2407 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
2409 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2410 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2411 * manual/math.texi (Mathematics): Document additional architecture
2412 support for _Float128.
2413 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2414 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2427 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2429 2017-10-18 Renlin Li <renlin.li@arm.com>
2431 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
2432 _DYNAMIC symbol to calculate load address.
2434 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
2436 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
2437 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
2439 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
2440 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
2442 2017-10-18 Mike FABIAN <mfabian@redhat.com>
2445 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
2446 and improve readability by using more ASCII.
2447 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
2448 and improve readability by using more ASCII.
2450 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
2452 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
2453 not all targets support atomics on bool.
2455 2017-10-17 Joseph Myers <joseph@codesourcery.com>
2457 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
2458 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
2460 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2461 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
2462 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2463 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
2464 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2465 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
2467 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2469 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
2472 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2475 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
2476 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
2477 (do_check_remalloced_chunk): Fix build bug.
2478 (do_check_malloc_state): Add assert that checks arena->top.
2479 (malloc_consolidate): Remove initialization.
2480 (int_mallinfo): Remove call to malloc_consolidate.
2481 (__libc_mallopt): Clarify why malloc_consolidate is needed.
2483 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2485 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
2486 (have_fastchunks): Remove.
2487 (clear_fastchunks): Remove.
2488 (set_fastchunks): Remove.
2489 (malloc_state): Add have_fastchunks.
2490 (malloc_init_state): Use have_fastchunks.
2491 (do_check_malloc_state): Remove incorrect invariant checks.
2492 (_int_malloc): Use have_fastchunks.
2493 (_int_free): Likewise.
2494 (malloc_consolidate): Likewise.
2496 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2498 * malloc/malloc.c (tcache_put): Inline.
2499 (tcache_get): Inline.
2501 2017-10-17 Jordi Mallach <jordi@gnu.org>
2503 Aurelien Jarno <aurelien@aurel32.net>
2505 * localedata/locales/ca_ES@valencia: New file.
2506 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
2508 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
2511 * math/math.h: Let signbit use the builtin in C++ mode with gcc
2514 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2516 * scripts/build-many-glibcs.py (Context.add_all_configs):
2517 Add arm-linux-gnueabihf multiarch extra_glibcs.
2519 * sysdeps/generic/ifunc-init.h: New file.
2520 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
2522 2017-10-17 Mike FABIAN <mfabian@redhat.com>
2525 * localedata/locales/el_GR: Set n_cs_precedes to 0.
2526 * localedata/locales/el_CY: copy "el_GR" because it is identical.
2527 * stdlib/tst-strfmon_l.c: adapt test case.
2529 2017-10-16 Joseph Myers <joseph@codesourcery.com>
2531 * sysdeps/generic/float128-abi.h: New file.
2532 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
2533 non-__prefixed symbols to ....
2534 * math/Versions: ... here. Include <float128-abi.h>.
2535 * stdlib/Versions ... and here. Include <float128-abi.h>
2537 2017-10-16 Florian Weimer <fweimer@redhat.com>
2539 * version.h (VERSION): Switch to ".9000" as the development
2542 2017-10-16 Florian Weimer <fweimer@redhat.com>
2545 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
2546 compat_symbol_reference to access non-default version.
2548 2017-10-16 Florian Weimer <fweimer@redhat.com>
2550 * malloc/Makefile (others-extras): Set to mcheck-init.o.
2552 2017-10-16 Carlos O'Donell <carlos@redhat.com>
2554 * include/shlib-compat.h (compat_symbol_reference): Update
2557 2017-10-16 Joseph Myers <joseph@codesourcery.com>
2559 * math/Makefile (test-types): Add
2560 $(type-float128-$(float128-alias-fcts)).
2561 * math/test-float128.h (TYPE_STR): Define conditional on
2562 [FLT128_MANT_DIG == LDBL_MANT_DIG].
2563 (ULP_IDX): Likewise.
2564 (ULP_I_IDX): Likewise.
2566 * stdlib/strtold.c: Include <bits/floatn.h>
2567 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
2568 and later undefine as macro. Define as weak alias if
2570 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
2571 and later undefine as macro. Define as weak alias if
2573 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
2574 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
2575 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2576 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2577 Define and later undefine as macro. Define as weak alias if
2579 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
2581 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
2582 Define and later undefine as macro. Define as weak alias if
2584 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2585 Define and later undefine as macro. Define as weak alias if
2588 2017-10-15 Carlos O'Donell <carlos@redhat.com>
2590 * localedata/collate-test.c (allocate_arrays): Don't use \n in
2591 record_verbose messages.
2593 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
2596 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
2597 to silence -O3 -Wall warning with GCC 7.
2599 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
2601 * Makeconfig (+link-static-before-libc): Use the first of
2602 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
2603 * gmon/Makefile (tests): Add tst-gmon-static.
2604 (tests-static): Likewise.
2605 (CFLAGS-tst-gmon-static.c): New.
2606 (CRT-tst-gmon-static): Likewise.
2607 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
2608 (tst-gmon-static-ENV): Likewise.
2609 (tests-special): Likewise.
2610 ($(objpfx)tst-gmon-static.out): Likewise.
2611 (clean-tst-gmon-static-data): Likewise.
2612 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
2613 * gmon/tst-gmon-static-gprof.sh: New file.
2614 * gmon/tst-gmon-static.c: Likewise.
2616 2017-10-13 Carlos O'Donell <carlos@redhat.com>
2619 * locale/programs/linereader.c (get_string): Don't warn on
2620 non-symbolic character.
2623 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
2627 * locale/programs/record-status.h: New file
2628 * locale/programs/locale.c: Add comment.
2629 * locale/programs/charmap-dir.c: Don't include error.h.
2630 (charmap_opendir): Use record_error.
2631 * locale/programs/charmap.c: Don't include error.h.
2632 (charmap_read): Use record_error, and record_warning.
2633 (parse_charmap): Likewise.
2634 * locale/programs/ld-address.c: Don't include error.h.
2635 (address_finish): Use record_error, and record_warning.
2636 * locale/programs/ld-collate.c: Don't include error.h.
2637 (collate_finish): Use record_error, and record_error_at_line.
2638 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
2639 (ctype_class_new): Likewise.
2640 (ctype_map_new): Likewise.
2641 (set_one_default): Likewise.
2642 (set_class_defaults): Likewise.
2643 (translit_flatten): Likewise.
2644 (allocate_arrays): Use record_error, and record_verbose.
2645 * locale/programs/ld-identification.c: Don't include error.h.
2646 (indentation_finish): Use record_error and record_warning.
2647 * locale/programs/ld-measurement.c: Don't include error.h.
2648 (measurement_finish): Use record_error.
2649 * locale/programs/ld-messages.c
2650 (message_finish): Likewise.
2651 * locale/programs/ld-monetary.c
2652 (monetary_finish): Likewise.
2653 * locale/programs/ld-name.c (name_finish): Use record_error
2655 * locale/programs/ld-numeric.c
2656 (numeric_finish): Use record_error.
2657 * locale/programs/ld-paper.c: Don't include error.h.
2658 (paper_finish): Use record_error.
2659 * locale/programs/ld-telephone.c: Don't include error.h.
2660 (telephone_finish): Use record_error.
2661 * locale/programs/ld-time.c (time_finish): Likewise.
2662 * locale/programs/linereader.h (lr_error): Make inline func.
2663 * locale/programs/localedef.c: Define recorded_warning_count,
2664 and recorded_error_count.
2665 (main): Use record_error. Use recorded_error_count and
2666 recorded_warning_count to issue correct error returns.
2667 (add_to_readlist): Use record_error.
2668 (find_locale): Likewise.
2669 (load_locale): Likewise.
2670 * locale/programs/localedef.h: Remove be_quiet
2671 and WITH_CUR_LOCALE.
2672 * locale/programs/locarchive.c (compare_from_file): Use
2674 * locale/programs/locfile.c (write_locale_data): Use
2676 * locale/programs/repertoire.c: Dont include error.h.
2677 (repertoire_complain): Use record_error.
2678 * localedata/tst-fmon.sh: Expect failures from localedef.
2679 * localedata/tst-locale.sh: Likewise.
2680 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
2682 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
2683 (REPORTS): Likewise.
2685 (i18n): Rename to...
2686 (i18n_ctype): ...this.
2687 (i18n-report): Rename to...
2688 (i18n_ctype-report): ...this.
2689 * localedata/locales/i18n_ctype: Regenerate.
2690 * localedata/locales/i18n: copy i18n_ctype.
2692 2017-10-13 Joseph Myers <joseph@codesourcery.com>
2694 * stdlib/strfroml.c: Include <bits/floatn.h>.
2695 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
2696 Define before include of <stdlib.h> and undefine afterwards, then
2697 define as weak alias.
2699 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
2700 Undefine and restore default definition. Use
2701 libm_alias_ldouble_other.
2703 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
2706 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
2709 2017-10-13 James Clarke <jrtc27@jrtc27.com>
2711 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2712 Assign sym_map to be map for local symbols, as TLS relocations
2713 use sym_map to determine whether the symbol is defined and to
2714 extract the TLS information.
2715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2718 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2721 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
2722 (math_force_eval): Add powerpc version.
2725 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
2727 (do_test): Likewise.
2728 * stdio-common/tst-printf.sh: Likewise.
2729 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
2730 ifdef clause in order to set the carry bit right. Replace r0 by
2731 0 without changing the behavior.
2733 2017-10-13 Joseph Myers <joseph@codesourcery.com>
2735 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
2736 <libm-alias-ldouble.h>.
2737 (fabsl): Define using libm_alias_ldouble.
2738 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
2739 <libm-alias-ldouble.h>.
2740 (fabsl): Define using libm_alias_ldouble.
2742 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
2743 Remove conditional code.
2745 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
2746 Rename to __clog10_internal_l.
2747 (__clog10_internal_l): Define aliases using
2748 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
2751 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2753 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
2754 * benchtests/sincosf-inputs: New file.
2755 * benchtests/cosf-inputs: New file.
2756 * benchtests/sinf-inputs: New file.
2758 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2760 * posix/tst-spawn.c (do_test): Wait for both children.
2762 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
2765 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
2766 tests-pie): Add tst-gmon-pie.
2767 (CFLAGS-tst-gmon-pie.c): New.
2768 (CRT-tst-gmon-pie): Likewise.
2769 (tst-gmon-pie-ENV): Likewise.
2770 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
2771 ($(objpfx)tst-gmon-pie.out): Likewise.
2772 (clean-tst-gmon-pie-data): Likewise.
2773 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
2774 * gmon/gmon.c [PIC]: Include <link.h>.
2775 [PIC] (callback): New function.
2776 (write_hist): Add an argument for load address. Subtract load
2778 (write_call_graph): Likewise.
2779 (write_gmon): Call __dl_iterate_phdr to get load address, pass
2780 it to write_hist and write_call_graph.
2781 * gmon/tst-gmon-pie.c: New file.
2783 2017-10-11 Joseph Myers <joseph@codesourcery.com>
2785 * math/Makefile (test-types-basic): New variable.
2786 (test-types): Likewise.
2787 (libm-test-support): Use $(test-types) instead of $(types).
2788 (libm-tests-base-normal): Likewise.
2789 (libm-tests-base-finite): Likewise.
2790 (libm-tests-base-inline): Likewise.
2791 (generated): Likewise.
2792 ($(objpfx)libm-test-support-$(t).c): Likewise.
2793 (libm-tests-for-type iterator): Likewise.
2794 (libm-test-support iterator): Likewise.
2795 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
2796 (ulp_idx): Use ULP_IDX.
2797 * math/test-ldouble.h: Include <float.h>.
2798 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
2799 (ULP_IDX): New macro.
2800 (ULP_I_IDX): Likewise.
2801 * math/test-double.h (ULP_IDX): Likewise.
2802 (ULP_I_IDX): Likewise.
2803 * math/test-float.h (ULP_IDX): Likewise.
2804 (ULP_I_IDX): Likewise.
2805 * math/test-float128.h (ULP_IDX): Likewise.
2806 (ULP_I_IDX): Likewise.
2808 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2810 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
2811 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2812 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2813 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
2814 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2815 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
2816 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2818 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2819 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2820 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
2821 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2822 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2824 (SINGLE_THREAD_BY_GLOBAL): Define.
2825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2827 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2829 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2831 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2833 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
2834 (SINGLE_THREAD_BY_GLOBAL): Likewise.
2835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2838 2017-10-11 Andreas Schwab <schwab@suse.de>
2840 * nis/Makefile (aux): Remove.
2841 * nscd/Makefile (aux): Add nscd_hash.
2842 (nscd-modules): Likewise.
2843 ($(objpfx)nscd): Don't depend on libnsl.
2844 * nscd/nscd_hash.c: New file.
2845 * nscd/nscd_hash.h: Likewise.
2846 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
2847 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
2848 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
2849 instead of <nis/rpcsvc/nis.h>.
2850 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
2852 2017-10-11 Florian Weimer <fweimer@redhat.com>
2855 Avoid large NSS buffers with many addresses, aliases.
2856 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
2857 using dynarrays and struct alloc_buffer.
2858 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
2859 (tst-nss-files-hosts-multi): Link with -ldl.
2860 * nss/tst-nss-files-hosts-multi.c: New file.
2862 2017-10-11 Florian Weimer <fweimer@redhat.com>
2865 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
2866 scratch_buffer. Eliminate gotos.
2868 2017-10-11 Joseph Myers <joseph@codesourcery.com>
2870 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
2871 libm_alias_ldouble_other.
2872 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
2873 undefine and redefine.
2874 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2875 (exp10l): Do not define here.
2876 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
2877 (weak_alias): Undefine and redefine.
2878 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
2879 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2880 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
2881 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
2883 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
2884 [!__fma] (fma): Define using libm_alias_double.
2885 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
2886 [!__fmaf] (fmaf): Define using libm_alias_float.
2887 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
2888 (fmal): Define using libm_alias_ldouble.
2890 2017-10-10 Joseph Myers <joseph@codesourcery.com>
2892 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
2894 (libm_alias_double_other): Likewise.
2895 (libm_alias_double_r): Use libm_alias_double_other_r.
2896 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
2898 (libm_alias_float_other): Likewise.
2899 (libm_alias_float_r): Use libm_alias_float_other_r.
2900 * sysdeps/generic/libm-alias-float128.h
2901 (libm_alias_float128_other_r): New macro.
2902 (libm_alias_float128_other): Likewise.
2903 (libm_alias_float128_r): Use libm_alias_float128_other_r.
2904 * sysdeps/generic/libm-alias-ldouble.h
2905 (libm_alias_ldouble_other_r): New macro.
2906 (libm_alias_ldouble_other): Likewise.
2907 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2908 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
2909 (libm_alias_double_other_r): New macro.
2910 (libm_alias_double_other): Likewise.
2911 (libm_alias_double_r): Use libm_alias_double_other_r.
2912 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
2913 (libm_alias_ldouble_other_r): New macro.
2914 (libm_alias_ldouble_other): Likewise.
2915 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2916 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
2917 [!USE_AS_COMPAT]: Use libm_alias_double_other.
2918 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
2919 [!USE_AS_COMPAT]: Use libm_alias_float_other.
2920 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
2921 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
2922 * math/w_exp2f.c: Use libm_alias_float_other.
2923 * math/w_expf.c: Likewise.
2924 * math/w_log2f.c: Likewise.
2925 * math/w_logf.c: Likewise.
2926 * math/w_powf.c: Likewise.
2927 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
2928 [!__exp2f]: Use libm_alias_float_other.
2929 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
2930 [!__expf]: Use libm_alias_float_other.
2931 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
2932 [!__log2f]: Use libm_alias_float_other.
2933 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
2934 [!__logf]: Use libm_alias_float_other.
2935 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
2936 [!__powf]: Use libm_alias_float_other.
2938 2017-10-10 Florian Weimer <fweimer@redhat.com>
2940 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
2942 (_nss_files_gethostbyname3_r): Call it.
2944 2017-10-09 Joseph Myers <joseph@codesourcery.com>
2946 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
2947 error. Remove default definition of declare_mgen_alias.
2948 [!declare_mgen_alias_r]: Likewise.
2949 * sysdeps/generic/math-type-macros-double.h
2950 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
2951 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
2952 (declare_mgen_alias_r): Likewise.
2953 * sysdeps/generic/math-type-macros-float128.h
2954 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
2955 * sysdeps/generic/math-type-macros-ldouble.h
2956 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
2957 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
2959 (declare_mgen_alias_r_s): Likewise.
2960 (declare_mgen_alias_r): Likewise.
2961 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
2962 (lgamma_r): Define using libm_alias_double_r.
2963 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
2964 (lgammaf_r): Define using libm_alias_float_r.
2965 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
2966 (lgammal_r): Define using libm_alias_ldouble_r.
2967 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
2968 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2970 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2972 * lib/glob.c (__glob_pattern_type): Remove now-spurious
2975 2017-10-09 Joseph Myers <joseph@codesourcery.com>
2977 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
2979 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
2982 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
2983 [__cplusplus >= 201103] (__USE_ISOC99): Define.
2984 * math/Makefile (test-math-cxx11): New test.
2985 * math/test-math-cxx11.cc: New file.
2987 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
2989 * login/openpty.c (openpty): Close slave pty file descriptor on error.
2991 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
2992 call to allocate the slave pty file descriptor.
2994 2017-10-06 Joseph Myers <joseph@codesourcery.com>
2996 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
2997 [!__fma] (fma): Define using libm_alias_double.
2998 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
2999 [!__fma] (fma): Define using libm_alias_double.
3001 * sysdeps/ieee754/float128/float128_private.h: Include
3002 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
3003 (libm_alias_ldouble_r): Undefine and redefine.
3004 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
3005 <libm-alias-ldouble.h>.
3006 (asinhl): Define using libm_alias_ldouble.
3007 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
3008 <libm-alias-ldouble.h>.
3009 (atanl): Define using libm_alias_ldouble.
3010 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
3011 <libm-alias-ldouble.h>.
3012 (cbrtl): Define using libm_alias_ldouble.
3013 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
3014 <libm-alias-ldouble.h>.
3015 (ceill): Define using libm_alias_ldouble.
3016 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
3017 <libm-alias-ldouble.h>.
3018 (copysignl): Define using libm_alias_ldouble.
3019 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
3020 <libm-alias-ldouble.h>.
3021 (cosl): Define using libm_alias_ldouble.
3022 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
3023 <libm-alias-ldouble.h>.
3024 (erfl): Define using libm_alias_ldouble.
3026 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
3027 <libm-alias-ldouble.h>.
3028 (expm1l): Define using libm_alias_ldouble.
3029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
3030 <libm-alias-ldouble.h>.
3031 (fabsl): Define using libm_alias_ldouble.
3032 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
3033 <libm-alias-ldouble.h>.
3034 (floorl): Define using libm_alias_ldouble.
3035 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
3036 <libm-alias-ldouble.h>.
3037 (fmal): Define using libm_alias_ldouble.
3038 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
3039 <libm-alias-ldouble.h>.
3040 (frexpl): Define using libm_alias_ldouble.
3041 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
3043 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
3044 <libm-alias-ldouble.h>.
3045 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
3047 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
3048 <libm-alias-ldouble.h>.
3049 (getpayloadl): Define using libm_alias_ldouble.
3050 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
3051 <libm-alias-ldouble.h>.
3052 (llrintl): Define using libm_alias_ldouble.
3053 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
3054 <libm-alias-ldouble.h>.
3055 (llroundl): Define using libm_alias_ldouble.
3056 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
3057 <libm-alias-ldouble.h>.
3058 (logbl): Define using libm_alias_ldouble.
3059 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
3060 <libm-alias-ldouble.h>.
3061 (lrintl): Define using libm_alias_ldouble.
3062 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
3063 <libm-alias-ldouble.h>.
3064 (lroundl): Define using libm_alias_ldouble.
3065 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
3066 <libm-alias-ldouble.h>.
3067 (modfl): Define using libm_alias_ldouble.
3068 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
3069 <libm-alias-ldouble.h>.
3070 (nearbyintl): Define using libm_alias_ldouble.
3071 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
3072 <libm-alias-ldouble.h>.
3073 (nextafterl): Define using libm_alias_ldouble.
3074 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
3075 <libm-alias-ldouble.h>.
3076 (nextupl): Define using libm_alias_ldouble.
3077 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
3078 <libm-alias-ldouble.h>.
3079 (remquol): Define using libm_alias_ldouble.
3080 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
3081 <libm-alias-ldouble.h>.
3082 (rintl): Define using libm_alias_ldouble.
3083 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
3084 <libm-alias-ldouble.h>.
3085 (roundevenl): Define using libm_alias_ldouble.
3086 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
3087 <libm-alias-ldouble.h>.
3088 (roundl): Define using libm_alias_ldouble.
3089 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
3090 using libm_alias_ldouble.
3091 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
3092 <libm-alias-ldouble.h>.
3093 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
3094 Define using libm_alias_ldouble.
3095 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
3096 <libm-alias-ldouble.h>.
3097 (sincosl): Define using libm_alias_ldouble.
3098 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
3099 <libm-alias-ldouble.h>.
3100 (sinl): Define using libm_alias_ldouble.
3101 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
3102 <libm-alias-ldouble.h>.
3103 (tanhl): Define using libm_alias_ldouble.
3104 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
3105 <libm-alias-ldouble.h>.
3106 (tanl): Define using libm_alias_ldouble.
3107 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3108 <libm-alias-ldouble.h>.
3109 (totalorderl): Define using libm_alias_ldouble.
3110 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3111 <libm-alias-ldouble.h>.
3112 (totalordermagl): Define using libm_alias_ldouble.
3113 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
3114 <libm-alias-ldouble.h>.
3115 (truncl): Define using libm_alias_ldouble.
3116 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
3118 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
3120 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
3121 <libm-alias-ldouble.h>.
3122 (weak_alias): Do not undefine and redefine.
3123 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3124 (copysignl): Define with long_double_symbol only if [IS_IN
3126 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
3127 <libm-alias-ldouble.h>.
3128 (weak_alias): Do not undefine and redefine.
3129 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3130 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
3131 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
3132 <libm-alias-ldouble.h>.
3133 (weak_alias): Do not undefine and redefine.
3134 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3135 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
3136 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
3137 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
3140 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
3143 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
3146 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
3153 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
3161 2017-10-06 Carlos O'Donell <carlos@redhat.com>
3164 * malloc/malloc.c (tcache_shutting_down): Use bool type.
3165 (tcache_thread_freeres): Set tcache_shutting_down before
3167 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
3168 * malloc/tst-malloc-tcache-leak.c: New file.
3170 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3172 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
3173 back to powerpc32 file.
3174 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3175 (memrchr): Add __memrchr_power8 to ifunc list.
3176 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
3177 extra bytes for unaligned inputs.
3179 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3181 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
3182 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3187 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3189 * sysdeps/arm/libm-test-ulps: Update.
3191 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
3192 <libm-alias-ldouble.h>.
3193 (asinhl): Define using libm_alias_ldouble.
3194 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
3195 <libm-alias-ldouble.h>.
3196 (cbrtl): Define using libm_alias_ldouble.
3197 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
3198 <libm-alias-ldouble.h>.
3199 (copysignl): Define using libm_alias_ldouble.
3200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
3201 <libm-alias-ldouble.h>.
3202 (cosl): Define using libm_alias_ldouble.
3203 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
3204 <libm-alias-ldouble.h>.
3205 (erfl): Define using libm_alias_ldouble.
3207 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
3208 <libm-alias-ldouble.h>.
3209 (fmal): Define using libm_alias_ldouble.
3210 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
3211 <libm-alias-ldouble.h>.
3212 (frexpl): Define using libm_alias_ldouble.
3213 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
3215 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
3216 <libm-alias-ldouble.h>.
3217 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
3219 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
3220 <libm-alias-ldouble.h>.
3221 (getpayloadl): Define using libm_alias_ldouble.
3222 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
3223 <libm-alias-ldouble.h>.
3224 (llrintl): Define using libm_alias_ldouble.
3225 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
3226 <libm-alias-ldouble.h>.
3227 (llroundl): Define using libm_alias_ldouble.
3228 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
3229 <libm-alias-ldouble.h>.
3230 (lrintl): Define using libm_alias_ldouble.
3231 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
3232 <libm-alias-ldouble.h>.
3233 (lroundl): Define using libm_alias_ldouble.
3234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
3235 <libm-alias-ldouble.h>.
3236 (modfl): Define using libm_alias_ldouble.
3237 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
3238 <libm-alias-ldouble.h>.
3239 (nextupl): Define using libm_alias_ldouble.
3240 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
3241 <libm-alias-ldouble.h>.
3242 (remquol): Define using libm_alias_ldouble.
3243 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
3244 <libm-alias-ldouble.h>.
3245 (roundevenl): Define using libm_alias_ldouble.
3246 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
3247 <libm-alias-ldouble.h>.
3248 (roundl): Define using libm_alias_ldouble.
3249 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
3250 using libm_alias_ldouble.
3251 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
3252 <libm-alias-ldouble.h>.
3253 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
3254 <libm-alias-ldouble.h>.
3255 (setpayloadsigl): Define using libm_alias_ldouble.
3256 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
3257 <libm-alias-ldouble.h>.
3258 (sincosl): Define using libm_alias_ldouble.
3259 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
3260 <libm-alias-ldouble.h>.
3261 (sinl): Define using libm_alias_ldouble.
3262 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
3263 <libm-alias-ldouble.h>.
3264 (tanhl): Define using libm_alias_ldouble.
3265 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
3266 <libm-alias-ldouble.h>.
3267 (tanl): Define using libm_alias_ldouble.
3268 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3269 <libm-alias-ldouble.h>.
3270 (totalorderl): Define using libm_alias_ldouble.
3271 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3272 <libm-alias-ldouble.h>.
3273 (totalordermagl): Define using libm_alias_ldouble.
3274 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
3276 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
3279 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
3281 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3283 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3284 (__libc_ifunc_impl_list): Likewise.
3285 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3286 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
3288 * benchtests/bench-memmove-walk.c: New file.
3289 * benchtests/Makefile (string-benchset): Add it.
3291 * benchtests/bench-memset-walk.c: New file.
3292 * benchtests/Makefile (string-benchset): Add it.
3294 * benchtests/bench-memcpy-walk.c: New file.
3295 * benchtests/Makefile (string-benchset): Add it.
3297 2017-10-05 Florian Weimer <fweimer@redhat.com>
3299 nscd: Eliminate compilation time dependency in the build output.
3300 * nscd/nscd_stat.c (STATDATA_VERSION)
3301 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
3302 (STATDATA_VERSION_FULL): New macro definitions.
3303 (compilation): Remove.
3304 (struct statdata): Adjust version member.
3305 (send_stats): Set version from STATDATA_VERSION_FULL.
3306 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
3308 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3310 * configure.ac (--enable-add-ons): Remove option.
3311 (machine): Do not mention add-ons in comment.
3312 (LIBC_PRECONFIGURE): Likewise.
3313 (add_ons): Remove variable and sanity checks and logic to locate
3315 (add_ons_automatic): Remove variable.
3316 (configured_add_ons): Likewise.
3317 (add_ons_sfx): Likewise.
3318 (add_ons_pfx): Likewise.
3319 (add_on_subdirs): Likewise.
3320 (sysnames_add_ons): Likewise. Remove loop over add-ons and
3321 consideration of add-ons in Implies handling.
3322 (sysdeps_add_ons): Likewise.
3323 * configure: Regenerated.
3324 * libidn/configure.ac: Remove.
3325 * libidn/configure: Likewise.
3326 * sysdeps/unix/inet/configure.ac: New file.
3327 * sysdeps/unix/inet/configure: New generated file.
3328 * sysdeps/unix/inet/Subdirs: Add libidn.
3329 * Makeconfig (sysdeps-srcdirs): Remove variable.
3330 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
3331 ($(common-objpfx)config.status): Do not depend on add-on files.
3332 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
3334 (all-subdirs): Do not include $(add-on-subdirs).
3335 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
3336 * config.make.in (add-ons): Remove variable.
3337 (add-on-subdirs): Likewise.
3338 (sysdeps-add-ons): Likewise.
3339 * manual/Makefile (add-chapters): Remove.
3340 ($(objpfx)texis): Do not depend on $(add-chapters).
3341 (nonexamples): Do not handle $(add-chapters).
3342 (examples): Do not handle $(add-ons).
3343 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
3345 * manual/install.texi (Installation): Do not mention add-ons.
3346 (--enable-add-ons): Do not document configure option.
3347 * INSTALL: Regenerated.
3348 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
3349 * manual/maint.texi (Hierarchy Conventions): Do not mention
3351 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
3353 * scripts/gen-sorted.awk: Do not handle Subdirs files from
3355 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
3356 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
3358 2017-10-05 Andreas Schwab <schwab@suse.de>
3361 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
3362 (_IO_flush_all_lockp): Always lock list_all_lock.
3363 (_IO_flush_all_linebuffered): Likewise.
3364 (_IO_unbuffer_all): Likewise.
3366 2017-10-05 Florian Weimer <fweimer@redhat.com>
3369 Do not flush stdio streams on abort.
3370 * stdlib/abort.c (fflush): Remove macro definition.
3371 (abort): Remove stages related to stdio flushing.
3373 2017-10-05 Florian Weimer <fweimer@redhat.com>
3375 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
3377 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
3379 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3381 2017-10-05 Florian Weimer <fweimer@redhat.com>
3383 * support/support_format_hostent.c (support_format_hostent): Add
3384 more error information for NETDB_INTERNAL.
3386 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3388 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
3389 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
3390 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
3391 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
3392 AC_DEFINE if multi-arch is enabled.
3393 * sysdeps/i386/configure: Regenerated.
3395 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3397 * Makeconfig (+link-static-before-libc): Use
3398 $(DEFAULT-LDFLAGS-$(@F)).
3399 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
3400 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
3401 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
3403 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3405 * elf/Makefile (tests): Add tst-main1.
3406 (modules-names): Add tst-main1mod.
3407 ($(objpfx)tst-main1): New.
3408 (CRT-tst-main1): Likewise.
3409 (LDFLAGS-tst-main1): Likewise.
3410 (LDLIBS-tst-main1): Likewise.
3411 (tst-main1mod.so-no-z-defs): Likewise.
3412 * elf/tst-main1.c: New file.
3413 * elf/tst-main1mod.c: Likewise.
3415 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3417 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
3419 2017-10-04 Joseph Myers <joseph@codesourcery.com>
3421 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
3422 (fma): Define using libm_alias_double.
3423 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
3424 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
3426 (fmal): Do not define as compat symbol here.
3427 * sysdeps/alpha/fpu/s_fma.c: New file.
3429 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3431 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
3433 2017-10-04 Joseph Myers <joseph@codesourcery.com>
3436 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3438 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3440 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
3441 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3442 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
3443 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
3444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3445 Include <math_ldbl_opt.h>
3446 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3448 (compat_symbol): Undefine and redefine.
3449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3451 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3452 (compat_symbol): Undefine and redefine.
3453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
3454 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
3455 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
3457 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
3458 GLIBC_2.0 copysignl symbol.
3459 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3460 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
3462 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
3464 2017-10-04 Florian Weimer <fweimer@redhat.com>
3466 * scripts/check-local-headers.sh: Ignore nspr4 header file
3467 directory in addition to nspr.
3469 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
3472 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
3473 * configure: Regenerate.
3474 * crypt/Makefile (nss-cpp-flags): New variable.
3475 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
3476 (CPPFLAGS-md5-crypt.c): Use it.
3477 * scripts/check-local-headers.sh: Ignore nspr header file
3480 2017-10-04 Andreas Schwab <schwab@suse.de>
3482 * nis/Makefile (services): Remove compat.
3483 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
3484 ($(objpfx)libnss_compat.so): Remove rule.
3485 * nis/Versions (libnss_compat): Remove.
3486 * nss/Makefile (services): Add compat.
3487 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
3488 * nss/Versions (libnss_compat): Define.
3489 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
3490 Don't include <rpc/types.h>. Replace bool_t by bool.
3491 * nss/nss_compat/compat-initgroups.c: Likewise.
3492 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
3493 instead of <rpcsrv/ypclnt.h>.
3494 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
3495 yp_get_default_domain.
3496 * nss/nss_compat/compat-pwd.c: Likewise.
3497 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
3498 yp_get_default_domain.
3499 * nss/nss_compat/nisdomain.c: New file.
3500 * nss/nss_compat/nisdomain.h: Likewise.
3502 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3505 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
3506 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3508 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
3512 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
3514 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3516 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
3517 "movl main@GOTOFF(%ebx), %eax".
3519 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3521 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
3522 allow undefined _DYNAMIC in PIE libc.a.
3523 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
3526 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3528 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
3531 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3533 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
3536 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3538 * math/test-math-iscanonical.cc (error): Replace bool with int.
3540 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3542 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
3543 (modf): Define using libm_alias_double, only if [!__modf].
3544 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
3545 <libm-alias-double.h>.
3546 (modf): Define using libm_alias_double, only if [!__modf].
3547 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
3550 (weak_alias): Do not undefine and redefine.
3551 (strong_alias): Likewise.
3552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
3553 (weak_alias): Likewise.
3554 (strong_alias): Likewise.
3556 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
3557 (logb): Define using libm_alias_double, only if [!__logb].
3558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
3559 <libm-alias-double.h>.
3560 (logb): Define using libm_alias_double, only if [!__logb].
3561 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
3562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
3563 (weak_alias): Do not undefine and redefine.
3564 (strong_alias): Likewise.
3565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
3566 (weak_alias): Likewise.
3567 (strong_alias): Likewise.
3569 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3571 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
3572 Check SHARED instead PIC.
3574 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3576 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
3577 [!__fmaf] (fmaf): Define using libm_alias_float.
3579 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
3580 (frexp): Define using libm_alias_double.
3581 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
3582 <libm-alias-double.h>.
3583 (frexp): Define using libm_alias_double.
3584 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
3587 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3590 * math/math.h: Trivial fix for unbalanced parentheses in comment.
3591 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
3592 (CFLAGS-test-math-iscanonical.cc): New variable.
3593 * math/test-math-iscanonical.cc: New file.
3594 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
3595 Provide a C++ implementation based on function overloading,
3596 rather than using __MATH_TG, which uses C-only builtins.
3597 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
3599 * sysdeps/powerpc/powerpc64le/Makefile
3600 (CFLAGS-test-math-iscanonical.cc): New variable.
3602 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3604 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
3605 (ceil): Define using libm_alias_double.
3606 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
3607 (floor): Define using libm_alias_double.
3608 * sysdeps/ieee754/dbl-64/s_llround.c: Include
3609 <libm-alias-double.h>.
3610 (llround): Define using libm_alias_double.
3611 * sysdeps/ieee754/dbl-64/s_lround.c: Include
3612 <libm-alias-double.h>.
3613 (lround): Define using libm_alias_double.
3614 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
3615 <libm-alias-double.h>.
3616 (nearbyint): Define using libm_alias_double.
3617 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
3618 <libm-alias-double.h>.
3619 (remquo): Define using libm_alias_double.
3620 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
3621 (rint): Define using libm_alias_double.
3622 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
3623 (round): Define using libm_alias_double.
3624 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
3625 (trunc): Define using libm_alias_double.
3626 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
3627 <libm-alias-double.h>.
3628 (ceil): Define using libm_alias_double.
3629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
3630 <libm-alias-double.h>.
3631 (floor): Define using libm_alias_double.
3632 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
3633 <libm-alias-double.h>.
3634 (llround): Define using libm_alias_double.
3635 [_LP64] (lround): Likewise.
3636 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
3637 <libm-alias-double.h>.
3638 [!_LP64] (lround): Define using libm_alias_double.
3639 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
3640 <libm-alias-double.h>.
3641 (nearbyint): Define using libm_alias_double.
3642 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
3643 <libm-alias-double.h>.
3644 (remquo): Define using libm_alias_double.
3645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
3646 <libm-alias-double.h>.
3647 (rint): Define using libm_alias_double.
3648 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
3649 <libm-alias-double.h>.
3650 (round): Define using libm_alias_double.
3651 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
3652 <libm-alias-double.h>.
3653 (trunc): Define using libm_alias_double.
3654 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
3655 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
3656 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
3657 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
3658 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
3659 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
3660 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
3661 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
3662 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
3664 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3666 * math/w_remainder.c: New file.
3667 * math/w_remainderf.c: New file.
3668 * math/w_remainderl.c: New file.
3670 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3672 * elf/rtld.c (BOOTSTRAP_MAP): New.
3673 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
3674 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3676 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3678 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3681 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3683 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
3684 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
3685 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
3686 rtld_hidden_data_ver): Define to empty.
3687 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
3688 __assert_perror_fail): Likewise.
3689 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3690 (__rewinddir): Likewise.
3691 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3692 (__profile_frequency): Likewise.
3693 * include/setjmp.h (__sigsetjmp): Likewise.
3694 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
3695 __libc_sigaction): Likewise.
3696 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
3697 not set hidden attribute.
3698 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
3699 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
3700 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
3701 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
3702 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
3703 __fxstatat64): Likewise.
3704 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3705 (__uname): Likewise.
3706 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3707 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
3708 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
3709 (NO_RTLD_HIDDEN): Set.
3710 * sysdeps/mach/hurd/configure: Refresh.
3711 * config.h.in: Refresh.
3713 2017-10-02 Joseph Myers <joseph@codesourcery.com>
3715 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
3716 (atan): Define using libm_alias_double.
3717 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
3718 (tan): Define using libm_alias_double.
3719 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
3720 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
3723 define as weak alias of __atan. Do not define any aliases if
3725 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
3726 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
3727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
3728 as weak alias of __tan. Do not define any aliases if [__tan].
3729 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
3730 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
3731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
3733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
3734 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
3735 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
3736 and define as weak alias of __atan.
3737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
3739 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
3740 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
3741 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
3742 define as weak alias of __tan.
3744 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3746 * math/w_lgamma.c: New file.
3747 * math/w_lgammaf.c: New file.
3748 * math/w_lgammal.c: New file.
3750 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3752 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
3753 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
3754 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
3755 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
3756 * sysdeps/ieee754/flt-32/w_logf.c: New file.
3757 * sysdeps/ieee754/flt-32/w_powf.c: New file.
3758 * sysdeps/i386/fpu/w_log2f.c: New file.
3759 * sysdeps/i386/fpu/w_logf.c: New file.
3760 * sysdeps/i386/fpu/w_powf.c: New file.
3761 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
3762 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
3763 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
3765 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3766 H.J. Lu <hongjiu.lu@intel.com>
3768 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
3769 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
3770 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
3771 * sysdeps/ieee754/flt-32/w_expf.c: New file.
3772 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
3774 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
3775 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
3776 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
3777 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
3778 * sysdeps/i386/fpu/w_exp2f.c: New file.
3779 * sysdeps/i386/fpu/w_expf.c: New file.
3780 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
3781 * sysdeps/x86_64/fpu/w_expf.c: New file.
3783 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3785 * math/Versions (logf): New libm symbol at GLIBC_2.27.
3788 * math/w_log2f.c: New file.
3789 * math/w_logf.c: New file.
3790 * math/w_powf.c: New file.
3791 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
3792 * math/w_logf_compat.c (__logf_compat): Likewise.
3793 * math/w_powf_compat.c (__powf_compat): Likewise.
3794 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
3795 * sysdeps/ia64/fpu/e_logf.S: Likewise.
3796 * sysdeps/ia64/fpu/e_powf.S: Likewise.
3797 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3798 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3800 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3801 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3802 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3817 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3818 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3819 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3820 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3826 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3827 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3830 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3832 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3833 (sysdep_routines): Add memrchr_power8.
3834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3835 (memrchr): Add __memrchr_power8 to list of memrchr functions.
3836 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
3838 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3839 (memrchr): Add __memrchr_power8 to ifunc list.
3840 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
3842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3845 * sysdeps/unix/sysv/linux/posix_fadvise64.c
3846 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
3848 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3849 (__posix_fallocate64_l64): Likewise.
3851 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3854 * sysdeps/unix/sysv/linux/sched_setaffinity.c
3855 (__sched_setaffinity_new): Add libc_hidden_proto and
3858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3861 * include/glob.h (__glob64): Add libc_hidden_proto.
3862 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
3865 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3868 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
3871 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3874 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
3876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3879 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
3882 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3885 * csu/version.c (__libc_print_version): Add attribute_hidden.
3887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3890 * include/libc-internal.h (__init_misc): Add attribute_hidden.
3892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3895 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
3897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3900 * nscd/nscd_helper.c (__nis_hash): New prototype.
3902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3905 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
3906 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
3908 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3909 * termios/tcgetattr.c (__tcgetattr): Likewise.
3911 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3914 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
3915 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
3916 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
3917 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
3918 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
3920 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3923 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
3925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3928 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
3929 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
3931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3934 * intl/hash-string.h (__hash_string): Add attribute_hidden.
3936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3939 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
3940 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
3942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3945 * include/ifreq.h: New file.
3946 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
3947 (__ifreq): Likewise.
3948 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
3949 (__ifreq): Likewise.
3951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3954 * include/idna.h: New file.
3955 * inet/getnameinfo.c: Include <idna.h> instead of
3957 (__idna_to_unicode_lzlz): Removed.
3958 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
3960 (__idna_to_ascii_lz): Removed.
3961 (__idna_to_unicode_lzlz): Likewise.
3963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3966 * include/plural-exp.h: New file.
3967 * intl/plural-exp.c: Include <plural-exp.h> instead of
3970 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3973 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
3974 "getsourcefilter.h".
3975 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
3976 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
3977 "getsourcefilter.h".
3978 (__get_sol): Removed.
3980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3983 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
3985 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
3987 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3990 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
3993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3996 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
3998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4001 * include/search.h (__tdestroy): Add libc_hidden_proto.
4002 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
4004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4007 * include/assert.h (__assert_fail_base): Add attribute_hidden.
4009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4012 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
4015 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4018 * include/signal.h (__kill): Add libc_hidden_proto.
4019 (__sigblock): Likewise.
4020 (__sigprocmask): Likewise.
4021 (__sigaltstack): Likewise.
4022 * signal/kill.c (__kill): Add libc_hidden_def.
4023 * signal/sigblock.c (__sigblock): Likewise.
4024 * signal/sigprocmask.c (__sigprocmask): Likewise.
4025 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4026 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4027 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4028 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4029 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
4031 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4033 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4034 (__sigprocmask): Likewise.
4035 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
4037 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4038 (__sigprocmask): Likewise.
4039 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4045 * include/string.h (__strsep): Add libc_hidden_proto.
4046 * string/strsep.c (__strsep): Add libc_hidden_def.
4048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4051 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
4053 (__spawni): Likewise.
4055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4058 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
4059 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
4062 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4065 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
4067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4070 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
4071 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
4072 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4073 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
4074 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
4076 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
4077 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
4079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4082 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
4083 (__dcigettext): Likewise.
4085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4088 * include/sys/sysinfo.h (__get_nprocs_conf): Add
4090 (__get_nprocs): Likewise.
4091 (__get_phys_pages): Likewise.
4092 (__get_avphys_pages): Likewise.
4093 (__get_child_max): Add attribute_hidden.
4094 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
4095 (__get_nprocs): Likewise.
4096 (__get_phys_pages): Likewise.
4097 (__get_avphys_pages): Likewise.
4098 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
4100 (__get_nprocs): Likewise.
4101 (__get_phys_pages): Likewise.
4102 (__get_avphys_pages): Likewise.
4103 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
4105 (__get_nprocs_conf): Likewise.
4106 (__get_phys_pages): Likewise.
4107 (__get_avphys_pages): Likewise.
4109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4112 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
4114 (__netlink_close): Likewise.
4115 (__netlink_free_handle): Likewise.
4116 (__netlink_request): Likewise.
4118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4121 * include/rpc/rpc.h (__rpc_thread_variables): Add
4123 (__rpc_thread_svc_cleanup): Likewise.
4124 (__rpc_thread_clnt_cleanup): Likewise.
4125 (__rpc_thread_key_cleanup): Likewise.
4127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4130 * include/sys/uio.h (__readv): Add libc_hidden_proto.
4131 (__writev): Likewise.
4132 * misc/readv.c (__readv): Add libc_hidden_def.
4133 * misc/writev.c (__writev): Likewise.
4134 * sysdeps/posix/readv.c (__readv): Likewise.
4135 * sysdeps/posix/writev.c (__writev): Likewise.
4136 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
4137 (__readv): Likewise.
4138 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
4139 (__writev): Likewise.
4141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4144 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
4145 (__regcomp): Add libc_hidden_proto.
4146 (__regexec): Likewise.
4147 (__regfree): Likewise.
4148 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
4149 (__regfree): Likewise.
4150 * posix/regexec.c (__regexec): Likewise.
4152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4155 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
4156 (__getutent): Likewise.
4157 (__getutid): Likewise.
4158 (__getutline): Likewise.
4159 (__pututline): Likewise.
4160 (__getutent_r): Likewise.
4161 (__getutid_r): Likewise.
4162 (__getutline_r): Likewise.
4163 (__utmpname): Add attribute_hidden.
4164 (__setutent): Likewise.
4165 (__endutent): Likewise.
4166 * login/getutent.c (__getutent): Add libc_hidden_def.
4167 * login/getutent_r.c (__getutent_r): Likewise.
4168 (__pututline): Likewise.
4169 * login/getutid.c (__getutid): Likewise.
4170 * login/getutid_r.c (__getutid_r): Likewise.
4171 * login/getutline.c (__getutline): Likewise.
4172 * login/getutline_r.c (__getutline_r): Likewise.
4173 * login/updwtmp.c (__updwtmp): Likewise.
4175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4178 * include/dirent.h (__opendir): Always add attribute_hidden.
4179 (__fdopendir): Likewise.
4180 (__closedir): Likewise.
4181 (__readdir): Likewise.
4182 (__readdir64): Add libc_hidden_proto.
4183 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
4184 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
4185 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
4186 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
4189 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4192 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
4193 * include/netdb.h (__gethostbyaddr_r): Likewise.
4194 (__gethostbyname_r): Likewise.
4195 (__gethostbyname2_r): Likewise.
4196 (__getnetbyaddr_r): Likewise.
4197 (__getnetbyname_r): Likewise.
4198 (__getservbyname_r): Likewise.
4199 (__getservbyport_r): Likewise.
4200 (__getprotobyname_r): Likewise.
4201 (__getprotobynumber_r): Likewise.
4202 (__getnetgrent_r): Likewise.
4203 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
4204 (__getrpcbynumber_r): Likewise.
4205 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
4207 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4210 * include/stdio.h (__fcloseall): Add attribute_hidden.
4211 (__getline): Likewise.
4212 (__path_search): Likewise.
4213 (__gen_tempname): Likewise.
4214 (__libc_message): Likewise.
4215 (__flockfile): Likewise.
4216 (__funlockfile): Likewise.
4217 (__fxprintf): Likewise.
4218 (__fxprintf_nocancel): Likewise.
4220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4223 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
4224 (__sgetsgent_r): Likewise.
4226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4229 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
4230 (__statfs64): Likewise.
4231 (__fstatfs64): Likewise.
4232 * include/sys/statvfs.h (__statvfs64): Likewise.
4233 (__fstatvfs64): Likewise.
4234 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
4235 (__statfs_filesize_max): Likewise.
4236 (__statfs_symlinks): Likewise.
4237 (__statfs_chown_restricted): Likewise.
4239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4242 * include/time.h (__tzstring): Add attribute_hidden.
4243 (__tzfile_read): Likewise.
4244 (__tzfile_compute): Likewise.
4245 (__tzfile_default): Likewise.
4246 (__tzset_parse_tz): Likewise.
4247 (__offtime): Likewise.
4248 (__asctime_r): Likewise.
4249 (__tzset): Likewise.
4250 (__tz_convert): Likewise.
4251 (__getdate_r): Likewise.
4252 (__getclktck): Likewise.
4254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4257 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
4258 (__nscd_unmap): Likewise.
4259 (__nscd_cache_search): Likewise.
4260 (__nscd_get_nl_timestamp): Likewise.
4261 (__nscd_getpwnam_r): Likewise.
4262 (__nscd_getpwuid_r): Likewise.
4263 (__nscd_getgrnam_r): Likewise.
4264 (__nscd_getgrgid_r): Likewise.
4265 (__nscd_gethostbyname_r): Likewise.
4266 (__nscd_gethostbyname2_r): Likewise.
4267 (__nscd_gethostbyaddr_r): Likewise.
4268 (__nscd_getai): Likewise.
4269 (__nscd_getgrouplist): Likewise.
4270 (__nscd_getservbyname_r): Likewise.
4271 (__nscd_getservbyport_r): Likewise.
4272 (__nscd_innetgr): Likewise.
4273 (__nscd_setnetgrent): Likewise.
4275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4278 * include/gmp.h: Declare internal functions only if _ISOMAC is
4280 (__mpn_extract_double): Add attribute_hidden.
4281 (__mpn_extract_long_double): Likewise.
4282 (__mpn_extract_float128): Likewise.
4283 (__mpn_construct_float): Likewise.
4284 (__mpn_construct_double): Likewise.
4285 (__mpn_construct_long_double): Likewise.
4286 (__mpn_construct_float128): Likewise.
4287 (mpn_add_1): Likewise.
4288 (mpn_addmul_1): Likewise.
4289 (mpn_add_n): Likewise.
4290 (mpn_cmp): Likewise.
4291 (mpn_divrem): Likewise.
4292 (mpn_lshift): Likewise.
4293 (mpn_mul): Likewise.
4294 (mpn_mul_1): Likewise.
4295 (mpn_rshift): Likewise.
4296 (mpn_sub_1): Likewise.
4297 (mpn_submul_1): Likewise.
4298 (mpn_sub_n): Likewise.
4300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4303 * include/wchar.h (__wcsnlen): Add attribute_hidden.
4304 (__wcscat): Likewise.
4305 (__btowc): Likewise.
4306 (__wcrtomb): Likewise.
4307 (__mbsrtowcs): Likewise.
4308 (__wcsrtombs): Likewise.
4309 (__mbsnrtowcs): Likewise.
4310 (__wcsnrtombs): Likewise.
4311 (__wcsncpy): Likewise.
4312 (__wcpncpy): Likewise.
4313 (__wmemcpy): Likewise.
4314 (__wmempcpy): Likewise.
4315 (__wmemmove): Likewise.
4316 (__wcschrnul): Likewise.
4317 (__vfwscanf): Likewise.
4318 (__vswprintf): Likewise.
4319 (__fwprintf): Likewise.
4320 (__vfwprintf): Likewise.
4322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4325 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
4326 (__getgrgid_r): Likewise.
4327 (__getgrnam_r): Likewise.
4328 * include/pwd.h (__getpwuid_r): Likewise.
4329 (__getpwnam_r): Likewise.
4330 (__fgetpwent_r): Likewise.
4331 * include/shadow.h (__getspnam_r): Likewise.
4332 (__sgetspent_r): Likewise.
4333 (__fgetspent_r): Likewise.
4335 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4338 * include/unistd.h (__access): Add attribute_hidden.
4339 (__lseek64): Likewise.
4340 (__libc_pread64): Likewise.
4341 (__pipe2): Likewise.
4342 (__sleep): Likewise.
4343 (__chdir): Likewise.
4344 (__fchdir): Likewise.
4345 (__getcwd): Likewise.
4346 (__rmdir): Likewise.
4347 (__execvpe): Likewise.
4348 (__execve): Likewise.
4349 (__setsid): Likewise.
4350 (__getuid): Likewise.
4351 (__geteuid): Likewise.
4352 (__getgid): Likewise.
4353 (__getegid): Likewise.
4354 (__getgroups): Likewise.
4355 (__group_member): Likewise.
4356 (__ttyname_r): Likewise.
4357 (__isatty): Likewise.
4358 (__readlink): Likewise.
4359 (__unlink): Likewise.
4360 (__gethostname): Likewise.
4361 (__profil): Likewise.
4362 (__getdtablesize): Likewise.
4364 (__ftruncate): Likewise.
4365 (__ftruncate64): Likewise.
4367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4370 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
4371 * argp/argp-fs-xinl.c: Likewise.
4372 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
4373 * argp/argp-parse.c: Include <argp.h>.
4374 * argp/argp-xinl.c: Likewise.
4375 * include/argp-fmtstream.h: New file.
4376 * include/argp.h (__argp_error): Add attribute_hidden.
4377 (__argp_failure): Likewise.
4378 (__argp_input): Likewise.
4379 (__argp_state_help): Likewise.
4381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4384 * include/wchar.h (____wcstof_l_internal): New prototype.
4385 (____wcstod_l_internal): Likewise.
4386 (____wcstold_l_internal): Likewise.
4387 (____wcstol_l_internal): Likewise.
4388 (____wcstoul_l_internal): Likewise.
4389 (____wcstoll_l_internal): Likewise.
4390 (____wcstoull_l_internal): Likewise.
4391 (____wcstof128_l_internal): Likewise.
4392 * sysdeps/ieee754/float128/wcstof128.c
4393 (____wcstof128_l_internal): Removed.
4394 * sysdeps/ieee754/float128/wcstof128_l.c
4395 (____wcstof128_l_internal): Likewise.
4396 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
4397 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
4398 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
4399 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
4400 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
4401 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
4402 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
4403 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
4404 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
4405 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
4407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4410 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
4411 instead of <sys/statvfs.h>.
4412 (__internal_statvfs): Removed.
4413 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
4414 instead of <sys/statvfs.h>.
4415 (__internal_statvfs64): Removed.
4416 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
4417 "internal_statvfs.h" instead of <sys/statvfs.h>.
4418 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
4419 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
4420 instead of <sys/statvfs.h>.
4421 (__internal_statvfs): Removed.
4422 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
4423 instead of <sys/statvfs.h>.
4424 (__internal_statvfs64): Removed.
4426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4429 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
4430 (__gconv_close): Likewise.
4431 (__gconv): Likewise.
4432 (__gconv_find_transform): Likewise.
4433 (__gconv_lookup_cache): Likewise.
4434 (__gconv_compare_alias_cache): Likewise.
4435 (__gconv_load_cache): Likewise.
4436 (__gconv_get_path): Likewise.
4437 (__gconv_close_transform): Likewise.
4438 (__gconv_release_cache): Likewise.
4439 (__gconv_find_shlib): Likewise.
4440 (__gconv_release_shlib): Likewise.
4441 (__gconv_get_builtin_trans): Likewise.
4442 (__gconv_compare_alias): Likewise.
4443 * include/dlfcn.h (_dlerror_run): Likewise.
4444 * include/stdio.h (__fortify_fail_abort): Likewise.
4445 * include/time.h (__tz_compute): Likewise.
4446 (__strptime_internal): Likewise.
4447 * intl/gettextP.h (_nl_find_domain): Likewise.
4448 (_nl_load_domain): Likewise.
4449 (_nl_find_msg): Likewise.
4450 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
4451 (EXTRACT_PLURAL_EXPRESSION): Likewise.
4452 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
4453 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
4454 (__gai_find_request): Likewise.
4455 (__gai_remove_request): Likewise.
4456 (__gai_notify): Likewise.
4457 (__gai_notify_only): Likewise.
4458 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4459 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4460 (_dl_non_dynamic_init): Likewise.
4461 (_dl_aux_init): Likewise.
4462 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
4463 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4465 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
4466 (__wcsmbs_clone_conv): Likewise.
4467 (__wcsmbs_named_conv): Likewise.
4469 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4472 * include/stdlib.h (__random): Add attribute_hidden.
4473 (__random_r): Likewise.
4474 (__srandom_r): Likewise.
4475 (__initstate_r): Likewise.
4476 (__setstate_r): Likewise.
4477 (__erand48_r): Likewise.
4478 (__nrand48_r): Likewise.
4479 (__jrand48_r): Likewise.
4480 (__srand48_r): Likewise.
4481 (__seed48_r): Likewise.
4482 (__lcong48_r): Likewise.
4483 (__drand48_iterate): Likewise.
4484 (__setenv): Likewise.
4485 (__unsetenv): Likewise.
4486 (__clearenv): Likewise.
4487 (__ptsname_r): Likewise.
4488 (__posix_openpt): Likewise.
4489 (__add_to_environ): Likewise.
4490 (__realpath): Add libc_hidden_proto.
4491 (__ecvt_r): Likewise.
4492 (__fcvt_r): Likewise.
4493 (__qecvt_r): Likewise.
4494 (__qfcvt_r): Likewise.
4495 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
4496 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
4498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4501 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
4502 * include/time.h (__mktime_internal): Likewise.
4503 * libio/iolibio.h (__fopen_internal): Likewise.
4505 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
4507 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
4509 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
4510 Correct offset used to restore PIC register.
4512 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
4515 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
4516 code to load address of __getcontext_ret when generating PIC code.
4518 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
4520 * elf/Makefile (tests-static-internal): Add
4521 tst-tls1-static-non-pie.
4522 (LDFLAGS-tst-tls1-static-non-pie): New.
4523 * elf/tst-tls1-static-non-pie.c: New file.
4525 2017-09-29 Joseph Myers <joseph@codesourcery.com>
4527 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
4528 (asinh): Define using libm_alias_double.
4529 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
4530 (cbrt): Define using libm_alias_double.
4531 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
4532 <libm-alias-double.h>.
4533 (copysign): Define using libm_alias_double.
4534 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
4535 (erf): Define using libm_alias_double.
4537 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
4538 (expm1): Define using libm_alias_double.
4539 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
4540 (fabs): Define using libm_alias_double.
4541 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
4543 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
4544 <libm-alias-double.h>.
4545 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
4547 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
4548 <libm-alias-double.h>.
4549 (getpayload): Define using libm_alias_double.
4550 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
4551 <libm-alias-double.h>.
4552 (llrint): Define using libm_alias_double.
4553 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
4554 (lrint): Define using libm_alias_double.
4555 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
4556 <libm-alias-double.h>.
4557 (nextup): Define using libm_alias_double.
4558 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
4559 <libm-alias-double.h>.
4560 (roundeven): Define using libm_alias_double.
4561 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
4563 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
4564 <libm-alias-double.h>.
4565 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
4566 using libm_alias_double.
4567 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
4568 (cos): Define using libm_alias_double.
4570 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
4571 <libm-alias-double.h>.
4572 (sincos): Define using libm_alias_double.
4573 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
4574 (tanh): Define using libm_alias_double.
4575 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4576 <libm-alias-double.h>.
4577 (totalorder): Define using libm_alias_double.
4578 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4579 <libm-alias-double.h>.
4580 (totalordermag): Define using libm_alias_double.
4581 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
4583 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
4585 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
4586 <libm-alias-double.h>.
4587 (getpayload): Define using libm_alias_double.
4588 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
4589 <libm-alias-double.h>.
4590 (roundeven): Define using libm_alias_double.
4591 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
4592 <libm-alias-double.h>.
4593 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4594 <libm-alias-double.h>.
4595 (totalorder): Define using libm_alias_double.
4596 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4597 <libm-alias-double.h>.
4598 (totalordermag): Define using libm_alias_double.
4599 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
4600 libc compat symbol here.
4601 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
4602 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
4603 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
4604 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
4605 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
4606 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
4607 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
4608 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
4609 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
4610 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
4612 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4614 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
4615 _dl_relocate_static_pie instead of _dl_start to compute load
4616 address in static PIE. Return 0 if _DYNAMIC is undefined for
4619 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4621 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
4622 _DYNAMIC is undefined for static executable.
4624 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4626 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
4628 2017-09-29 Joseph Myers <joseph@codesourcery.com>
4630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4632 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4634 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4635 (__ieee754_lgamma_r): Use fabs rather than __fabs.
4636 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4637 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4639 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
4640 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4641 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4642 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
4643 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4644 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4645 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4646 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
4647 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4648 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4649 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4650 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
4652 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4654 * math/bits/cmathcalls.h (cimag): Remove inline.
4655 (creal): Remove inline.
4656 (conj): Remove inline.
4658 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4660 * math/Makefile (type-float-routines): Add e_powf_log2_data.
4661 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
4662 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
4663 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
4664 (issignalingf_inline): Likewise.
4665 (POWF_LOG2_TABLE_BITS): Likewise.
4666 (POWF_LOG2_POLY_ORDER): Likewise.
4667 (POWF_SCALE_BITS): Likewise.
4668 (POWF_SCALE): Likewise.
4669 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
4670 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
4671 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
4673 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4675 * math/Makefile (type-float-routines): Add e_log2f_data.
4676 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
4677 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
4678 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
4679 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
4680 * sysdeps/i386/fpu/e_log2f_data.c: New file.
4681 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
4682 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
4684 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4686 * math/Makefile (type-float-routines): Add e_logf_data.
4687 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
4688 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
4689 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
4690 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
4691 * sysdeps/i386/fpu/e_logf_data.c: New file.
4692 * sysdeps/ia64/fpu/e_logf_data.c: New file.
4693 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
4695 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
4697 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
4698 undefined _DYNAMIC in PIE libc.a.
4699 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
4702 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4704 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
4705 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
4706 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
4707 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
4708 (__signbit): Remove.
4709 (__signbitl): Remove.
4710 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
4711 (__signbit): Remove.
4712 (__signbitl): Remove.
4713 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
4714 (__signbit): Remove.
4715 (__signbitl): Remove.
4716 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
4717 (__signbit): Remove.
4718 (__signbitl): Remove.
4719 * sysdeps/tile/bits/mathinline.h: Delete file.
4720 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
4721 (__signbit): Remove.
4722 (__signbitl): Remove.
4724 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4726 * math/math.h: Improve handling of C99 isgreater macros.
4727 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
4728 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
4729 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4730 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4731 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4733 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
4735 * sysdeps/aarch64/libm-test-ulps: Update.
4737 2017-09-28 Joseph Myers <joseph@codesourcery.com>
4740 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4741 math_opt_barrier on argument when doing arithmetic on it.
4742 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4743 Likewise. Use math_force_eval not math_opt_barrier after
4745 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
4746 math_opt_barrier on argument when doing arithmetic on it.
4747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4750 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
4752 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
4754 (__freeifaddrs): Likewise.
4756 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4758 * include/dirent.h (__dirfd): New declaration.
4759 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
4761 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
4762 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
4763 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
4764 * include/unistd.h (__revoke): New declaration.
4765 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
4767 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4768 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
4770 * include/dirent.h (__seekdir): New declaration.
4771 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
4772 redefine as weak alias.
4773 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
4775 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
4776 and use libc_hidden_def on them.
4777 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
4779 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
4780 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
4781 instead of getifaddrs and freeifaddrs.
4783 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4786 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
4787 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
4788 (__dso_handle): Remove declaration.
4789 * dlfcn/tstatexit.c (__dso_handle): Removed.
4790 (main): Don't check __dso_handle.
4791 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
4792 (main): Don't check __dso_handle.
4793 * include/dso_handle.h: New file.
4794 * malloc/mtrace.c: Include <dso_handle.h>.
4795 (mtrace): Pass __dso_handle directly.
4796 * nptl/pthread_atfork.c: Include <dso_handle.h>.
4797 (__dso_handle): Remove declaration.
4798 (__pthread_atfork): Pass __dso_handle directly.
4799 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
4800 (__dso_handle): Removed.
4801 * posix/wordexp-test.c: Include <dso_handle.h>.
4802 (__dso_handle): Remove declaration.
4803 (__app_register_atfork): Pass __dso_handle directly.
4804 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
4805 (__dso_handle): Remove declaration.
4806 (at_quick_exit): Pass __dso_handle directly.
4807 * stdlib/atexit.c: Include <dso_handle.h>.
4808 (__dso_handle): Remove declaration.
4809 (atexit): Pass __dso_handle directly.
4810 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
4811 (__dso_handle): Removed.
4813 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4815 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
4818 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
4820 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
4821 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
4822 values to correct default value for given type.
4824 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4827 * elf/Makefile (tests): Add tst-debug1.
4828 ($(objpfx)tst-debug1): New.
4829 ($(objpfx)tst-debug1.out): Likewise.
4830 ($(objpfx)tst-debug1mod1.so): Likewise.
4831 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
4833 * elf/tst-debug1.c: New file.
4835 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4837 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
4838 Define using __ifunc.
4840 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4842 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
4845 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4848 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
4850 2017-09-26 Florian Weimer <fweimer@redhat.com>
4852 * resolv/Makefile (tests-internal): Fix typo in comment.
4854 2017-09-26 Florian Weimer <fweimer@redhat.com>
4856 * resolv/nss_dns/dns-host.c: Fix typo in comment.
4858 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4860 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
4861 Use an union instead of a max_align_t array for __space,
4862 so that __space is the same size on all platforms.
4863 * malloc/scratch_buffer_grow_preserve.c
4864 (__libc_scratch_buffer_grow_preserve): Likewise.
4867 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
4869 * posix/Makefile (routines): Add glob-lstat-compat and
4870 glob64-lstat-compat.
4871 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
4872 * posix/glob-lstat-compat.c: New file.
4873 * posix/glob64-lstat-compat.c: Likewise.
4874 * posix/tst-glob_lstat_compat.c: Likewise.
4875 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
4876 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
4877 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
4878 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
4880 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
4881 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4882 * posix/glob.c (glob_lstat): New function.
4883 (glob): Rename to __glob and add versioned symbol to 2.27.
4884 (glob_in_dir): Use glob_lstat.
4885 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
4886 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4887 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
4889 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
4890 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
4891 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
4892 gl_lstat on glob call.
4893 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
4895 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4896 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4897 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4898 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4899 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4900 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4901 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4902 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4903 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4904 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4905 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4906 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4909 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4911 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4912 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4913 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4914 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4918 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4919 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4920 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4922 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
4924 * configure.ac (AS): Require binutils 2.25 or later.
4925 * configure: Regenerated.
4927 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4930 * stdlib/test-atexit-race-common.c (do_test): Minimize required
4933 2017-09-25 DJ Delorie <dj@redhat.com>
4936 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
4939 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4941 * sysdeps/ieee754/dbl-64/sincos32.h
4942 [SINCCOS32_H]: Remove define.
4943 [SINCOS32_H]: Define.
4945 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4947 * math/Versions (expf): New libm symbol at GLIBC_2.27.
4949 * math/w_exp2f.c: New file.
4950 * math/w_expf.c: New file.
4951 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
4952 * math/w_expf_compat.c (__expf_compat): Likewise.
4953 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
4954 * sysdeps/ia64/fpu/e_expf.S: Likewise.
4955 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4956 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4957 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4958 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4959 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4960 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4961 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4962 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4963 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4964 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4965 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4966 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4975 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4976 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4977 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4978 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4979 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4984 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4988 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4990 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
4991 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
4992 (roundtoint, converttoint): Likewise.
4993 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
4994 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
4995 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
4996 * sysdeps/ieee754/flt-32/math_config.h: New file.
4997 * sysdeps/ieee754/flt-32/math_errf.c: New file.
4998 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
4999 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
5000 * sysdeps/i386/fpu/math_errf.c: New file.
5001 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
5002 * sysdeps/ia64/fpu/math_errf.c: New file.
5003 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
5004 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
5006 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5008 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
5009 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5010 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
5011 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
5012 to make sure that these symbols are defined.
5013 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
5015 (__need_NULL): Do not define.
5016 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
5018 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
5019 CMGROUP_MAX, cmsgcred): Do not define.
5020 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
5022 * bits/socket.h: Likewise.
5023 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
5024 __gettimeofday instead of gettimeofday.
5025 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
5026 instead of settimeofday.
5028 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5030 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
5031 (asinhf): Define using libm_alias_float.
5032 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
5033 (atanf): Define using libm_alias_float.
5034 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
5035 (cbrtf): Define using libm_alias_float.
5036 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
5037 (ceilf): Define using libm_alias_float.
5038 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
5039 <libm-alias-float.h>.
5040 (copysignf): Define using libm_alias_float.
5041 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
5042 (cosf): Define using libm_alias_float.
5043 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
5044 (erff): Define using libm_alias_float.
5046 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
5047 (expm1f): Define using libm_alias_float.
5048 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
5049 (fabsf): Define using libm_alias_float.
5050 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
5051 (floorf): Define using libm_alias_float.
5052 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
5053 (frexpf): Define using libm_alias_float.
5054 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
5056 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
5057 <libm-alias-float.h>.
5058 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
5060 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
5061 <libm-alias-float.h>.
5062 (getpayloadf): Define using libm_alias_float.
5063 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
5064 <libm-alias-float.h>.
5065 (llrintf): Define using libm_alias_float.
5066 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
5067 <libm-alias-float.h>.
5068 (llroundf): Define using libm_alias_float.
5069 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
5070 (logbf): Define using libm_alias_float.
5071 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
5072 (lrintf): Define using libm_alias_float.
5073 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
5074 (lroundf): Define using libm_alias_float.
5075 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
5076 (modff): Define using libm_alias_float.
5077 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
5078 <libm-alias-float.h>.
5079 (nearbyintf): Define using libm_alias_float.
5080 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
5081 <libm-alias-float.h>.
5082 (nextafterf): Define using libm_alias_float.
5083 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
5084 <libm-alias-float.h>.
5085 (nextupf): Define using libm_alias_float.
5086 * sysdeps/ieee754/flt-32/s_remquof.c: Include
5087 <libm-alias-float.h>.
5088 (remquof): Define using libm_alias_float.
5089 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
5090 (rintf): Define using libm_alias_float.
5091 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
5092 <libm-alias-float.h>.
5093 (roundevenf): Define using libm_alias_float.
5094 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
5095 (roundf): Define using libm_alias_float.
5096 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
5097 using libm_alias_float.
5098 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
5099 <libm-alias-float.h>.
5100 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
5101 Define using libm_alias_float.
5102 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
5103 <libm-alias-float.h>.
5104 (sincosf): Define using libm_alias_float.
5105 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
5106 (sinf): Define using libm_alias_float.
5107 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
5108 (tanf): Define using libm_alias_float.
5109 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
5110 (tanhf): Define using libm_alias_float.
5111 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5112 <libm-alias-float.h>.
5113 (totalorderf): Define using libm_alias_float.
5114 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5115 <libm-alias-float.h>.
5116 (totalordermagf): Define using libm_alias_float.
5117 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
5118 (truncf): Define using libm_alias_float.
5119 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
5121 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
5124 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5127 math/math.h: Let fpclassify use the builtin in C++ mode, even
5128 when optimazing for size.
5130 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5132 * csu/Makefile (generated): Do not add version-info.h.
5133 (before-compile): Likewise.
5134 (all-Banner-files): Remove variable.
5135 ($(objpfx)version-info.h): Remove rule.
5136 * csu/version.c (banner): Do not include "version-info.h".
5137 * libidn/Banner: Remove.
5138 * manual/contrib.texi (Simon Josefsson): New entry.
5140 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5142 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5143 Remove conditionals on LDBL_MANT_DIG.
5144 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5145 (__ieee754_lgammal_r): Likewise.
5147 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
5151 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
5152 _Float128 and L(). Replace _Float128 with long double and L(x)
5153 with xL, throughout the file.
5154 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5155 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5159 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
5162 sysdeps/ieee754/ldbl-128ibm.
5163 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
5164 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
5165 of including it. Keep _Float128 and L() intact. These will be
5166 reviewed by a separate patch.
5167 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5172 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
5175 (__finitef128): Define to __redirect___finitef128.
5176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
5177 (__isinff128): Define to __redirect___isinff128.
5178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
5179 (__isnanf128): Define to __redirect___isnanf128.
5181 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5183 * sysdeps/powerpc/powerpc64le/Makefile
5184 (CFLAGS-tst-strtod-nan-locale.c): New variable.
5185 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
5187 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5188 Carlos O'Donell <carlos@redhat.com>
5191 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
5192 * stdlib/test-dlclose-exit-race.c: New file.
5193 * stdlib/test-dlclose-exit-race-helper.c: New file.
5194 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
5196 2017-09-21 Joseph Myers <joseph@codesourcery.com>
5198 * crypt/Banner: Remove file.
5199 * nptl/Banner: Likewise.
5200 * resolv/Banner: Likewise.
5201 * soft-fp/Banner: Likewise.
5202 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
5203 ($(objpfx)version.d): Remove dependency on banner.h.
5204 ($(objpfx)version.os): Likewise.
5205 * nptl/version.c (banner): Do not include banner.h.
5206 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
5207 Jelinek and BIND code.
5209 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5210 Carlos O'Donell <carlos@redhat.com>
5212 * support/xdlfcn.h: New file.
5213 * support/xdlfcn.c: New file.
5214 * support/Makefile (libsupport-routines): Add xdlfcn.
5215 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
5217 2017-09-20 Joseph Myers <joseph@codesourcery.com>
5220 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5221 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
5222 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
5223 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
5224 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5225 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
5226 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
5227 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5229 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5230 Ricky Zhou <rickyz@google.com>
5231 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
5234 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
5236 (__new_exitfn): Fail registration when we finished at_exit processing.
5237 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5238 * stdlib/on_exit.c (__on_exit): Likewise.
5239 * stdlib/exit.c (__exit_funcs_done): New variable.
5240 (__run_exit_handlers): Use __exit_funcs_lock.
5241 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
5243 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
5244 (test-cxa_atexit-race, test-on_exit-race): New tests.
5245 * stdlib/test-atexit-race-common.c: New file.
5246 * stdlib/test-atexit-race.c: New file.
5247 * stdlib/test-at_quick_exit-race.c: New file.
5248 * stdlib/test-cxa_atexit-race.c: New file.
5249 * stdlib/test-on_exit-race.c: New file.
5251 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
5253 * benchtests/Makefile: Add exp2f and log2f benchmarks.
5254 * benchtests/exp2f-inputs: Copy of expf-inputs.
5255 * benchtests/log2f-inputs: Copy of logf-inputs.
5257 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5259 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
5260 Explicitly take address of first element of array arguments in
5261 call to INLINE_SYSCALL.
5263 2017-09-19 Andreas Schwab <schwab@suse.de>
5266 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
5268 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
5270 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
5271 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
5272 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5273 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
5274 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5275 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5276 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5277 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5278 * posix/Makefile (tests): Add tst-fexecve.
5279 * posix/tst-fexecve.c: New file.
5281 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5283 * benchtests/Makefile: Add logf benchmark.
5284 * benchtests/logf-inputs: Add reduced trace from wrf_r.
5286 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5288 * benchtests/Makefile: Add expf benchmark.
5289 * benchtests/expf-inputs: Add reduced trace from wrf_r.
5291 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5293 * csu/Makefile: Add -funwind-tables to libc-start.c.
5294 * debug/Makefile: Add -funwind-tables to backtrace.c.
5295 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
5296 * sysdeps/arm/Makefile: Likewise.
5297 * sysdeps/i386/Makefile: Likewise.
5298 * sysdeps/m68k/Makefile: Likewise.
5299 * sysdeps/mips/Makefile: Likewise.
5300 * sysdeps/nios2/Makefile: Likewise.
5301 * sysdeps/sh/Makefile: Likewise.
5302 * sysdeps/sparc/Makefile: Likewise.
5304 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5306 * benchtests/Makefile (bench-math): Add trunc and truncf.
5307 (CFLAGS-bench-trunc.c): New variable.
5308 (CFLAGS-bench-truncf.c): Likewise.
5309 * benchtests/trunc-inputs: New file.
5310 * benchtests/truncf-inputs: Likewise.
5312 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5314 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
5316 2017-09-18 Joseph Myers <joseph@codesourcery.com>
5318 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
5319 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
5321 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5322 (exp10l): Define as weak alias.
5323 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
5324 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
5326 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
5327 (remainderl): Define as weak alias.
5329 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
5330 (fmal): Define using libm_alias_ldouble.
5331 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
5332 (acoshl): Define using libm_alias_ldouble.
5333 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
5334 (acosl): Define using libm_alias_ldouble.
5335 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
5336 (asinl): Define using libm_alias_ldouble.
5337 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
5338 (atan2l): Define using libm_alias_ldouble.
5339 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
5340 (atanhl): Define using libm_alias_ldouble.
5341 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
5342 (coshl): Define using libm_alias_ldouble.
5343 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
5344 (exp10l): Define using libm_alias_ldouble.
5345 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
5346 (exp2l): Define using libm_alias_ldouble.
5347 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
5348 (expl): Define using libm_alias_ldouble.
5349 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
5350 (fmodl): Define using libm_alias_ldouble.
5351 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
5352 (hypotl): Define using libm_alias_ldouble.
5353 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
5354 (j0l): Define using libm_alias_ldouble.
5356 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
5357 (j1l): Define using libm_alias_ldouble.
5359 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
5360 (jnl): Define using libm_alias_ldouble.
5362 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
5363 (log10l): Define using libm_alias_ldouble.
5364 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
5365 (log2l): Define using libm_alias_ldouble.
5366 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
5367 (logl): Define using libm_alias_ldouble.
5368 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
5369 (powl): Define using libm_alias_ldouble.
5370 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
5371 (remainderl): Define using libm_alias_ldouble.
5372 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
5373 (sinhl): Define using libm_alias_ldouble.
5374 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
5375 (sqrtl): Define using libm_alias_ldouble.
5376 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
5377 (tgammal): Define using libm_alias_ldouble.
5378 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
5379 (exp10l): Do not use long_double_symbol here.
5380 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
5381 [LIBM_SVID_COMPAT] (remainderl): Likewise.
5382 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
5383 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5384 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5385 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5386 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5387 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5388 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5389 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5390 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5391 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5392 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5393 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5394 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5395 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5396 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5397 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5398 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5399 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5400 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5401 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5403 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
5405 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
5406 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
5408 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
5410 * io/read.c (read): Add libc_hidden_weak.
5411 * sysdeps/mach/hurd/read.c (read): Likewise.
5412 * io/write.c (write): Likewise.
5413 * sysdeps/mach/hurd/write.c (write): Likewise.
5414 * io/pread64.c (__pread64): Likewise.
5415 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
5416 * posix/pread64.c (__pread64): Add libc_hidden_def.
5418 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5420 * benchtests/scripts/compare_strings.py: New option -g.
5421 (draw_graph): Print a message that a graph is being generated.
5422 (process_results): Generate graph only if -g is passed.
5423 (main): Process option -g.
5425 * benchtests/scripts/compare_strings.py (process_results):
5426 Better spacing for output.
5428 * benchtests/scripts/compare_strings.py: Use argparse.
5429 * benchtests/README: Document existence of compare_strings.py.
5431 2017-09-15 Joseph Myers <joseph@codesourcery.com>
5433 * math/s_fma.c: Include <libm-alias-double.h>.
5434 (fma): Define using libm_alias_double.
5435 * math/s_nextafter.c: Include <libm-alias-double.h>.
5436 (nextafter): Define using libm_alias_double.
5437 * math/w_acos_compat.c: Include <libm-alias-double.h>.
5438 (acos): Define using libm_alias_double.
5439 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
5440 (aocsh): Define using libm_alias_double.
5441 * math/w_asin_compat.c: Include <libm-alias-double.h>.
5442 (asin): Define using libm_alias_double.
5443 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
5444 (atan2): Define using libm_alias_double.
5445 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
5446 (atanh): Define using libm_alias_double.
5447 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
5448 (cosh): Define using libm_alias_double.
5449 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
5450 (exp10): Define using libm_alias_double.
5451 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
5452 (exp2): Define using libm_alias_double.
5453 * math/w_exp_compat.c: Include <libm-alias-double.h>.
5454 (exp): Define using libm_alias_double.
5455 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
5456 (fmod): Define using libm_alias_double.
5457 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
5458 (hypot): Define using libm_alias_double.
5459 * math/w_j0_compat.c: Include <libm-alias-double.h>.
5460 (j0): Define using libm_alias_double.
5462 * math/w_j1_compat.c: Include <libm-alias-double.h>.
5463 (j1): Define using libm_alias_double.
5465 * math/w_jn_compat.c: Include <libm-alias-double.h>.
5466 (jn): Define using libm_alias_double.
5468 * math/w_log10_compat.c: Include <libm-alias-double.h>.
5469 (log10): Define using libm_alias_double.
5470 * math/w_log2_compat.c: Include <libm-alias-double.h>.
5471 (log2): Define using libm_alias_double.
5472 * math/w_log_compat.c: Include <libm-alias-double.h>.
5473 (log): Define using libm_alias_double.
5474 * math/w_pow_compat.c: Include <libm-alias-double.h>.
5475 (pow): Define using libm_alias_double.
5476 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
5477 (remainder): Define using libm_alias_double.
5478 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
5479 (sinh): Define using libm_alias_double.
5480 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
5481 (sqrt): Define using libm_alias_double.
5482 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
5483 (tgamma): Define using libm_alias_double.
5484 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
5485 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
5486 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
5487 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
5488 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
5489 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
5490 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
5491 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5492 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5493 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5494 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5495 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5496 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5497 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5498 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5499 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5500 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5501 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5502 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5503 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5504 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5505 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5506 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5507 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5508 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5510 * math/e_acoshl.c: Remove.
5511 * math/e_acosl.c: Likewise.
5512 * math/e_asinl.c: Likewise.
5513 * math/e_atan2l.c: Likewise.
5514 * math/e_atanhl.c: Likewise.
5515 * math/e_coshl.c: Likewise.
5516 * math/e_expl.c: Likewise.
5517 * math/e_fmodl.c: Likewise.
5518 * math/e_gammal_r.c: Likewise.
5519 * math/e_hypotl.c: Likewise.
5520 * math/e_j0l.c: Likewise.
5521 * math/e_j1l.c: Likewise.
5522 * math/e_jnl.c: Likewise.
5523 * math/e_lgammal_r.c: Likewise.
5524 * math/e_log10l.c: Likewise.
5525 * math/e_log2l.c: Likewise.
5526 * math/e_logl.c: Likewise.
5527 * math/e_powl.c: Likewise.
5528 * math/e_rem_pio2l.c: Likewise.
5529 * math/e_sinhl.c: Likewise.
5530 * math/e_sqrtf128.c: Likewise.
5531 * math/e_sqrtl.c: Likewise.
5532 * math/k_cosl.c: Likewise.
5533 * math/k_sinl.c: Likewise.
5534 * math/k_tanl.c: Likewise.
5535 * math/s_asinhl.c: Likewise.
5536 * math/s_atanl.c: Likewise.
5537 * math/s_cbrtl.c: Likewise.
5538 * math/s_erfl.c: Likewise.
5539 * math/s_expm1l.c: Likewise.
5540 * math/s_log1pl.c: Likewise.
5541 * math/s_tanhl.c: Likewise.
5543 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
5547 [$(subdir) = math] (sysdep_calls): New variable. Has the
5548 previous contents of sysdep_routines, but re-sorted..
5549 [$(subdir) = math] (sysdep_routines): Re-use the contents from
5551 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
5552 defined in sysdep_calls and replace by the respective m_* names.
5553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
5554 (compat_symbol): Undefine to avoid duplicated compat symbols in
5557 2017-09-15 Joseph Myers <joseph@codesourcery.com>
5559 * math/s_fmaf.c: Include <libm-alias-float.h>.
5560 (fmaf): Define using libm_alias_float.
5561 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
5562 (acosf): Define using libm_alias_float.
5563 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
5564 (acoshf): Define using libm_alias_float.
5565 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
5566 (asinf): Define using libm_alias_float.
5567 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
5568 (atan2f): Define using libm_alias_float.
5569 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
5570 (atanhf): Define using libm_alias_float.
5571 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
5572 (coshf): Define using libm_alias_float.
5573 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
5574 (exp10f): Define using libm_alias_float.
5575 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
5576 (fmodf): Define using libm_alias_float.
5577 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
5578 (hypotf): Define using libm_alias_float.
5579 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
5580 (j0f): Define using libm_alias_float.
5582 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
5583 (j1f): Define using libm_alias_float.
5585 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
5586 (jnf): Define using libm_alias_float.
5588 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
5589 (log10f): Define using libm_alias_float.
5590 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
5591 (log2f): Define using libm_alias_float.
5592 * math/w_logf_compat.c: Include <libm-alias-float.h>.
5593 (logf): Define using libm_alias_float.
5594 * math/w_powf_compat.c: Include <libm-alias-float.h>.
5595 (powf): Define using libm_alias_float.
5596 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
5597 (remainderf): Define using libm_alias_float.
5598 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
5599 (sinhf): Define using libm_alias_float.
5600 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
5601 (sqrtf): Define using libm_alias_float.
5602 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
5603 (tgammaf): Define using libm_alias_float.
5605 2017-09-14 Joseph Myers <joseph@codesourcery.com>
5607 * include/math.h (roundeven): Change hidden_proto call to
5609 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
5611 [NO_LONG_DOUBLE] (__j0l): New strong alias.
5612 (y0): Rename to __y0 and define as weak alias.
5613 [NO_LONG_DOUBLE] (__y0l): New strong alias.
5614 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
5616 (y0f): Rename to __y0f and define as weak alias.
5617 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
5619 [NO_LONG_DOUBLE] (__j1l): New strong alias.
5620 (y1): Rename to __y1 and define as weak alias.
5621 [NO_LONG_DOUBLE] (__y1l): New strong alias.
5622 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
5624 (y1f): Rename to __y1f and define as weak alias.
5625 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
5627 [NO_LONG_DOUBLE] (__jnl): New strong alias.
5628 (yn): Rename to __yn and define as weak alias.
5629 [NO_LONG_DOUBLE] (__ynl): New strong alias.
5630 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
5632 (ynf): Rename to __ynf and define as weak alias.
5633 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
5634 (fromfp): Define as weak alias.
5635 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
5636 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
5637 (fromfpx): Define as weak alias.
5638 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
5639 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
5640 __getpayload and define as weak alias.
5641 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5642 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
5643 __roundeven and define as weak alias.
5644 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5645 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
5647 (setpayload): Define as weak alias.
5648 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
5649 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
5651 (setpayloadsig): Define as weak alias.
5652 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
5653 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
5654 __totalorder and define as weak alias.
5655 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5656 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
5657 to __totalordermag and define as weak alias.
5658 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5659 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
5660 (ufromfp): Define as weak alias.
5661 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
5662 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
5664 (ufromfpx): Define as weak alias.
5665 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
5666 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
5667 Rename to __getpayload and define as weak alias.
5668 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5669 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
5670 Rename to __roundeven and define as weak alias.
5671 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5672 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
5673 Rename to __totalorder and define as weak alias.
5674 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5675 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
5676 (totalordermag): Rename to __totalordermag and define as weak
5678 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5679 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
5681 (__roundevenl): Likewise.
5682 (__totalorderl): Likewise.
5683 (__totalordermagl): Likewise
5684 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
5686 (fromfpf128): Define as weak alias.
5687 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
5689 (fromfpxf128): Define as weak alias.
5690 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
5692 (setpayloadf128): Define as weak alias.
5693 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
5694 __setpayloadsigf128.
5695 (setpayloadsigf128): Define as weak alias.
5696 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
5698 (ufromfpf128): Define as weak alias.
5699 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
5701 (ufromfpxf128): Define as weak alias.
5702 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
5703 (fromfpf): Define as weak alias.
5704 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
5706 (fromfpxf): Define as weak alias.
5707 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
5708 __getpayloadf and define as weak alias.
5709 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
5710 __roundevenf and define as weak alias.
5711 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
5713 (setpayloadf): Define as weak alias.
5714 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
5716 (setpayloadsigf): Define as weak alias.
5717 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
5718 __totalorderf and define as weak alias.
5719 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
5720 Rename to __totalordermagf and define as weak alias.
5721 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
5723 (ufromfpf): Define as weak alias.
5724 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
5726 (ufromfpxf): Define as weak alias.
5727 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
5729 (fromfpl): Define as weak alias.
5730 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
5732 (fromfpxl): Define as weak alias.
5733 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
5734 to __getpayloadl and define as weak alias.
5735 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
5736 __roundevenl and define as weak alias.
5737 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
5739 (setpayloadl): Define as weak alias.
5740 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
5742 (setpayloadsigl): Define as weak alias.
5743 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
5744 to __totalorderl and define as weak alias.
5745 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
5746 Rename to __totalordermagl and define as weak alias.
5747 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
5749 (ufromfpl): Define as weak alias.
5750 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
5752 (ufromfpxl): Define as weak alias.
5753 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
5755 (fromfpl): Define as weak alias.
5756 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
5758 (fromfpxl): Define as weak alias.
5759 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
5760 Rename to __getpayloadl and define as weak alias.
5761 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
5762 to __roundevenl and define as weak alias. Call __roundeven
5763 instead of roundeven.
5764 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
5766 (setpayloadl): Define as weak alias.
5767 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
5769 (setpayloadsigl): Define as weak alias.
5770 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
5771 Rename to __totalorderl and define as weak alias.
5772 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
5773 Rename to __totalordermagl and define as weak alias.
5774 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
5776 (ufromfpl): Define as weak alias.
5777 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
5779 (ufromfpxl): Define as weak alias.
5780 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
5782 (fromfpl): Define as weak alias.
5783 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
5785 (fromfpxl): Define as weak alias.
5786 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
5787 __getpayloadl and define as weak alias.
5788 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
5789 __roundevenl and define as weak alias.
5790 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
5792 (setpayloadl): Define as weak alias.
5793 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
5795 (setpayloadsigl): Define as weak alias.
5796 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
5797 __totalorderl and define as weak alias.
5798 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
5799 Rename to __totalordermagl and define as weak alias.
5800 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
5802 (ufromfpl): Define as weak alias.
5803 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
5805 (ufromfpxl): Define as weak alias.
5807 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5809 * benchtests/bench-string.h (realloc_bufs): New function.
5810 (test_init): Call it.
5811 * benchtests/bench-memset-large.c (do_test): Likewise.
5812 * benchtests/bench-memset.c (do_test): Likewise.
5814 * benchtests/bench-memset-large.c: Print output in JSON
5816 * benchtests/bench-memset.c: Likewise.
5818 2017-09-14 Mike FABIAN <mfabian@redhat.com>
5821 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
5822 * iconvdata/Makefile: Add IBM858.
5823 * iconvdata/gconv-modules: Likewise.
5824 * iconvdata/tst-tables.sh: Likewise.
5825 * iconvdata/ibm858.c: New file.
5826 * localedata/charmaps/IBM858: Likewise.
5828 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
5831 * locales/niu_NZ (LC_TIME): copy "niu_NU".
5832 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
5834 2017-09-14 Mike FABIAN <mfabian@redhat.com>
5837 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
5838 and add tel_int_fmt.
5840 2017-09-14 Joseph Myers <joseph@codesourcery.com>
5842 * sysdeps/generic/libm-alias-float128.h: New file.
5843 * sysdeps/generic/math-type-macros-float128.h: Include
5844 <libm-alias-float128.h>.
5845 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
5847 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5849 * sysdeps/generic/libm-alias-ldouble.h: New file.
5850 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
5851 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
5852 * sysdeps/generic/math-type-macros-ldouble.h: Include
5853 <libm-alias-ldouble.h>.
5854 [!declare_mgen_alias] (declare_mgen_alias): Define to use
5857 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
5859 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
5860 * math/w_exp_compat.c: ... here.
5861 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
5862 * math/w_expf_compat.c: ... here.
5863 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
5864 * math/w_expl_compat.c: ... here.
5865 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
5866 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
5867 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
5868 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5870 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5872 * math/w_scalbln_template.c (strong_alias): Do not undefine and
5874 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
5876 (ldexpl): Only define as compat symbol for libc, not libm.
5877 (scalbnl): Define as compat symbol for libc here.
5878 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
5879 define for [IS_IN (libc)].
5880 (__ldexpl_2): Remove alias.
5881 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
5882 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
5883 name in long_double_symbol call.
5884 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
5885 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5886 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5887 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
5888 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
5890 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
5891 Define as compat symbol.
5893 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5895 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
5896 * sysdeps/unix/sysv/linux/alpha/Makefile
5897 [$(subdir) = csu] (sysdep_routines): Remove rule.
5899 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5901 * sysdeps/generic/libm-alias-double.h: New file.
5902 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
5903 * sysdeps/generic/math-type-macros-double.h: Include
5904 <libm-alias-double.h>.
5905 [declare_mgen_alias] (declare_mgen_alias): Define to use
5907 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
5908 (M_LIBM_NEED_COMPAT): Remove macro.
5909 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
5910 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
5911 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
5913 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5914 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5915 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5916 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5917 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5918 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5919 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5920 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5921 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5922 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5923 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5924 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5925 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5926 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5927 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5928 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5929 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5930 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5931 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5932 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5933 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5934 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5935 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5936 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5937 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5938 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5939 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5940 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
5941 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
5943 (declare_mgen_alias): New macro.
5944 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
5945 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
5946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
5947 (M_LIBM_NEED_COMPAT): Remove macro.
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
5949 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
5951 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
5952 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
5954 2017-09-12 Joseph Myers <joseph@codesourcery.com>
5956 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
5957 (declare_mgen_alias_2): Remove.
5958 * sysdeps/generic/math-type-macros-double.h
5959 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
5961 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
5963 (ldexp): Define with declare_mgen_alias.
5966 2017-09-12 Steve Ellcey <sellcey@cavium.com>
5968 * grp/initgroups.c: Include config.h.
5969 (DEFAULT_CONFIG): New macro.
5970 (internal_getgrouplist): Use DEFAULT_CONFIG.
5971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5972 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
5973 (DEFAULT_DEFCONFIG): New macro.
5974 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
5975 * nss/grp-lookup.c: Include config.h
5976 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
5977 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
5978 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
5979 * manual/nss.texi: Update default values section.
5981 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
5984 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
5986 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
5987 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
5988 Handle MathVec_Prefer_No_AVX512.
5989 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
5990 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
5993 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
5995 * posix/sched_primax.c (__sched_get_priority_max): Add
5997 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
5998 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5999 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6000 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
6001 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
6002 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
6003 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
6004 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
6007 2017-09-11 Joseph Myers <joseph@codesourcery.com>
6009 * sysdeps/generic/libm-alias-float.h: New file.
6010 * sysdeps/generic/math-type-macros-float.h: Include
6011 <libm-alias-float.h>.
6012 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6014 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
6017 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
6018 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
6019 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
6020 (HWCAP_IMPORTANT): Likewise.
6021 (HWCAP_X86_64): New enum.
6022 (HWCAP_X86_AVX512_1): Updated.
6023 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
6024 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
6025 (modules-names): Add x86_64/tst-x86_64mod-1.
6026 (LDFLAGS-tst-x86_64mod-1.so): New.
6027 ($(objpfx)tst-x86_64-1): Likewise.
6028 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
6029 (tst-x86_64-1-clean): Likewise.
6030 * sysdeps/x86_64/tst-x86_64-1.c: New file.
6031 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
6033 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6035 * po/sv.po: Update translations.
6036 * po/fr.po: Likewise.
6038 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6040 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
6042 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
6044 * elf/rtld-Rules: Fix $(error) use.
6046 2017-09-09 Mike FABIAN <mfabian@redhat.com>
6049 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
6050 * locale/iso-639.def: Change “Bengali” to “Bangla”.
6051 * localedata/locales/bn_BD: “Bengali” was still used in some
6052 comments. Change it to “Bangla”.
6054 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
6056 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
6058 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6060 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
6061 thunderx2t99p1 to list of cpu names.
6062 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6063 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
6065 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6067 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
6068 Use strcmp instead of tunable_is_name.
6070 2017-09-08 Joseph Myers <joseph@codesourcery.com>
6072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6073 (F_GET_RW_HINT): New macro.
6074 [__USE_GNU] (F_SET_RW_HINT): Likewise.
6075 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
6076 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
6077 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
6078 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
6079 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
6080 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
6081 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
6082 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
6084 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6085 (F_ADD_SEALS): New macro.
6086 [__USE_GNU] (F_GET_SEALS): Likewise.
6087 [__USE_GNU] (F_SEAL_SEAL): Likewise.
6088 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
6089 [__USE_GNU] (F_SEAL_GROW): Likewise.
6090 [__USE_GNU] (F_SEAL_WRITE): Likewise.
6092 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6094 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
6095 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
6096 * posix/glob_internal.h (__glob_pattern_type):
6097 * posix/glob.c (glob):
6098 * posix/glob_pattern_p.c (__glob_pattern_p):
6101 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
6102 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6103 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
6104 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
6105 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
6108 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
6109 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6110 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6111 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6112 * sysdeps/wordsize-64/glob.c: Likewise.
6113 * sysdeps/wordsize-64/glob64.c: Likewise.
6114 * sysdeps/wordsize-64/globfree.c: Likewise.
6115 * sysdeps/wordsize-64/globfree64.c: Likewise.
6116 * sysdeps/unix/sysv/linux/glob.c: New file.
6117 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
6118 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
6119 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
6120 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
6121 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
6122 adds !GLOB_NO_OLD_VERSION as an extra condition.
6123 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
6124 using relative path instead of absolute one.
6125 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
6126 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6127 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6128 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
6129 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
6130 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
6133 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
6134 (glob): Use the same scratch buffer for both getlogin_r and
6135 getpwnam_r. Don’t require preallocation of the login name. This
6136 simplifies storage allocation, and corrects the handling of
6140 * posix/glob.c (glob): Port recent patches to platforms
6142 (glob): Fix longstanding misuse of errno after getpwnam_r, which
6143 returns an error number rather than setting errno.
6145 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
6146 instead of GCC extension.
6147 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
6148 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
6149 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
6153 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
6154 * posix/bug-glob1.c: Remove file.
6155 * posix/tst-glob_symlinks.c: New file.
6156 * posix/glob.c (__lstat64): New macro.
6157 (is_dir): New function.
6158 (glob, glob_in_dir): Match symlinks even if they are dangling.
6159 (link_stat, link_exists_p): Remove. All uses removed.
6163 * posix/glob.c (struct readdir_result): Remove skip_entry member.
6164 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
6169 * posix/Makefile (routines): Add globfree, globfree64, and
6171 * posix/flexmember.h: New file.
6172 * posix/glob_internal.h: Likewise.
6173 * posix/glob_pattern_p.c: Likewise.
6174 * posix/globfree.c: Likewise.
6175 * posix/globfree64.c: Likewise.
6176 * sysdeps/gnu/globfree64.c: Likewise.
6177 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
6178 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6179 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
6180 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6181 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6182 * sysdeps/wordsize-64/globfree.c: Likewise.
6183 * sysdeps/wordsize-64/globfree64.c: Likewise.
6184 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
6185 [NDEBUG): Remove comments.
6186 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
6187 (dirent_type): New type. Use uint_fast8_t not
6188 uint8_t, as C99 does not require uint8_t.
6189 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
6190 (struct readdir_result): Use dirent_type. Do not define skip_entry
6191 unless it is needed; this saves a byte on platforms lacking d_ino.
6192 (readdir_result_type, readdir_result_skip_entry):
6193 New functions, replacing ...
6194 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6195 these functions, which were removed. This makes the callers
6196 easier to read. All callers changed.
6197 (D_INO_TO_RESULT): Now empty if there is no d_ino.
6198 (size_add_wrapv, glob_use_alloca): New static functions.
6199 (glob, glob_in_dir): Check for size_t overflow in several places,
6200 and fix some size_t checks that were not quite right.
6201 Remove old code using SHELL since Bash no longer
6203 (glob, prefix_array): Separate MS code better.
6204 (glob_in_dir): Remove old Amiga and VMS code.
6205 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
6207 (glob_in_dir): Do not rely on undefined behavior in accessing
6208 struct members beyond their bounds. Use a flexible array member
6210 (link_stat): Rename from link_exists2_p and return -1/0 instead of
6211 0/1. Caller changed.
6212 (glob): Fix memory leaks.
6213 * posix/glob64 (globfree64): Move to separate file.
6214 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
6215 (globfree64): Remove hidden alias.
6216 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
6218 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
6220 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
6222 Move compat code to separate file.
6223 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
6226 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
6228 * resolv/tst-resolv-qtypes.c (domain): Changed to
6229 "const char domain[] =".
6231 2017-09-07 Joseph Myers <joseph@codesourcery.com>
6233 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6236 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
6237 (TCP_MD5SIG_EXT): Likewise.
6238 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
6239 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
6240 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
6242 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
6244 2017-09-07 Mike FABIAN <mfabian@redhat.com>
6246 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
6248 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
6251 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
6253 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6255 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
6256 before assuming that the file is empty. Avoid testing buffer content
6259 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6262 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6264 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
6266 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
6268 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
6270 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6272 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
6274 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
6277 2017-09-06 Florian Weimer <fweimer@redhat.com>
6279 * malloc/dynarray_emplace_enlarge.c
6280 (__libc_dynarray_emplace_enlarge): Add missing else.
6282 2017-09-06 Florian Weimer <fweimer@redhat.com>
6285 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
6286 case of failure to obtain the global conf object.
6288 2017-09-06 Florian Weimer <fweimer@redhat.com>
6291 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
6292 dynarray allocation failure.
6294 2017-09-06 Florian Weimer <fweimer@redhat.com>
6296 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
6297 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
6298 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
6300 (response): Call them. Add 'p', '6' flag processing.
6301 (test_reverse): New function.
6302 (test_get2_any): Call it.
6303 (test_no_inet6): Add 'p' test.
6304 (test_inet6): Likewise.
6306 2017-09-06 Florian Weimer <fweimer@redhat.com>
6308 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
6309 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
6311 (test_gai): Adjust query names. Add additional tests.
6312 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
6313 test_get2. Adjust query names. Add additional tests.
6314 (test_no_inet6): New function, extracted from threadfunc.
6315 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
6316 Add additional tests.
6318 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6321 * localedata/unicode-gen/utf8_gen.py: Set the width for
6322 characters with Prepended_Concatenation_Mark property to 1
6323 * localedata/charmaps/UTF-8: Updated using the improved script.
6325 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6328 * localedata/unicode-gen/utf8_gen.py: Improve the script to
6329 use the range notation for all ranges of neighbouring characters
6330 with the same width.
6332 2017-09-05 Joseph Myers <joseph@codesourcery.com>
6334 * sysdeps/generic/math-type-macros-double.h: Include
6335 <math-svid-compat.h>.
6336 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6337 * sysdeps/generic/math-type-macros-float.h: Include
6338 <math-svid-compat.h>.
6339 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6340 * sysdeps/generic/math-type-macros-ldouble.h: Include
6341 <math-svid-compat.h>.
6342 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6343 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
6345 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
6346 * math/w_acosf_compat.c: Likewise.
6347 * math/w_acosh_compat.c: Likewise.
6348 * math/w_acoshf_compat.c: Likewise.
6349 * math/w_acoshl_compat.c: Likewise.
6350 * math/w_acosl_compat.c: Likewise.
6351 * math/w_asin_compat.c: Likewise.
6352 * math/w_asinf_compat.c: Likewise.
6353 * math/w_asinl_compat.c: Likewise.
6354 * math/w_atan2_compat.c: Likewise.
6355 * math/w_atan2f_compat.c: Likewise.
6356 * math/w_atan2l_compat.c: Likewise.
6357 * math/w_atanh_compat.c: Likewise.
6358 * math/w_atanhf_compat.c: Likewise.
6359 * math/w_atanhl_compat.c: Likewise.
6360 * math/w_cosh_compat.c: Likewise.
6361 * math/w_coshf_compat.c: Likewise.
6362 * math/w_coshl_compat.c: Likewise.
6363 * math/w_exp10_compat.c: Likewise.
6364 * math/w_exp10f_compat.c: Likewise.
6365 * math/w_exp10l_compat.c: Likewise.
6366 * math/w_exp2_compat.c: Likewise.
6367 * math/w_exp2f_compat.c: Likewise.
6368 * math/w_exp2l_compat.c: Likewise.
6369 * math/w_fmod_compat.c: Likewise.
6370 * math/w_fmodf_compat.c: Likewise.
6371 * math/w_fmodl_compat.c: Likewise.
6372 * math/w_hypot_compat.c: Likewise.
6373 * math/w_hypotf_compat.c: Likewise.
6374 * math/w_hypotl_compat.c: Likewise.
6375 * math/w_j0_compat.c: Likewise.
6376 * math/w_j0f_compat.c: Likewise.
6377 * math/w_j0l_compat.c: Likewise.
6378 * math/w_j1_compat.c: Likewise.
6379 * math/w_j1f_compat.c: Likewise.
6380 * math/w_j1l_compat.c: Likewise.
6381 * math/w_jn_compat.c: Likewise.
6382 * math/w_jnf_compat.c: Likewise.
6383 * math/w_jnl_compat.c: Likewise.
6384 * math/w_lgamma_r_compat.c: Likewise.
6385 * math/w_lgammaf_r_compat.c: Likewise.
6386 * math/w_lgammal_r_compat.c: Likewise.
6387 * math/w_log10_compat.c: Likewise.
6388 * math/w_log10f_compat.c: Likewise.
6389 * math/w_log10l_compat.c: Likewise.
6390 * math/w_log2_compat.c: Likewise.
6391 * math/w_log2f_compat.c: Likewise.
6392 * math/w_log2l_compat.c: Likewise.
6393 * math/w_log_compat.c: Likewise.
6394 * math/w_logf_compat.c: Likewise.
6395 * math/w_logl_compat.c: Likewise.
6396 * math/w_pow_compat.c: Likewise.
6397 * math/w_powf_compat.c: Likewise.
6398 * math/w_powl_compat.c: Likewise.
6399 * math/w_remainder_compat.c: Likewise.
6400 * math/w_remainderf_compat.c: Likewise.
6401 * math/w_remainderl_compat.c: Likewise.
6402 * math/w_sinh_compat.c: Likewise.
6403 * math/w_sinhf_compat.c: Likewise.
6404 * math/w_sinhl_compat.c: Likewise.
6405 * math/w_sqrt_compat.c: Likewise.
6406 * math/w_sqrtf_compat.c: Likewise.
6407 * math/w_sqrtl_compat.c: Likewise.
6408 * math/w_tgamma_compat.c: Likewise.
6409 * math/w_tgammaf_compat.c: Likewise.
6410 * math/w_tgammal_compat.c: Likewise.
6411 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
6413 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
6414 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
6416 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
6417 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
6419 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
6420 * sysdeps/i386/fpu/w_sqrt.c: New file.
6421 * sysdeps/ia64/fpu/w_acos.c: Likewise.
6422 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6423 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6424 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6425 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6426 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6427 * sysdeps/ia64/fpu/w_asin.c: Likewise.
6428 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6429 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6430 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6431 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6432 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6433 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6434 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6435 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6436 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6437 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6438 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6439 * sysdeps/ia64/fpu/w_exp.c: Likewise.
6440 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6441 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6442 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6443 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6444 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6445 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6446 * sysdeps/ia64/fpu/w_expf.c: Likewise.
6447 * sysdeps/ia64/fpu/w_expl.c: Likewise.
6448 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6449 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6450 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6451 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6452 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6453 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6454 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6455 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6456 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6457 * sysdeps/ia64/fpu/w_log.c: Likewise.
6458 * sysdeps/ia64/fpu/w_log10.c: Likewise.
6459 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6460 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6461 * sysdeps/ia64/fpu/w_log2.c: Likewise.
6462 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6463 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6464 * sysdeps/ia64/fpu/w_logf.c: Likewise.
6465 * sysdeps/ia64/fpu/w_logl.c: Likewise.
6466 * sysdeps/ia64/fpu/w_pow.c: Likewise.
6467 * sysdeps/ia64/fpu/w_powf.c: Likewise.
6468 * sysdeps/ia64/fpu/w_powl.c: Likewise.
6469 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6470 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6471 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6472 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6473 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6474 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6475 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6476 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6477 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6478 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
6479 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
6480 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
6483 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6484 * sysdeps/ieee754/k_standard.c: Likewise.
6485 * sysdeps/ieee754/k_standardf.c: Likewise.
6486 * sysdeps/ieee754/k_standardl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6489 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6490 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
6491 long_double_symbol call on [LIBM_SVID_COMPAT].
6492 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6493 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6494 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6495 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6496 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6497 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6498 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6499 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6500 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6501 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6502 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6503 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6504 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6505 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6506 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6507 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6508 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6509 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6510 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6511 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6512 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
6513 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
6515 2017-09-05 Steve Ellcey <sellcey@cavium.com>
6517 * include/shlib-compat.h (TEST_COMPAT): New Macro.
6518 * malloc/tst-mallocstate.c: Convert from test-skeleton
6519 to test-driver. Ifdef code using TEST_COMPAT macro.
6520 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
6521 * math/test-matherr.c: Likewise.
6523 2017-09-05 Joseph Myers <joseph@codesourcery.com>
6526 * debug/pcprofiledump.c (main): Use byte-swapped mask when
6527 comparing word with byte-swapped constant.
6529 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
6532 * locale/iso-639.def: add Miskito.
6533 * localedata/SUPPORTED: Add miq_NI/UTF-8.
6534 * localedata/locales/miq_NI: New file.
6536 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
6539 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
6540 (__mkdir): Likewise.
6541 * io/chmod.c (__chmod): Add libc_hidden_def.
6542 * io/mkdir.c (__mkdir): Likewise.
6543 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6544 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6545 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
6546 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
6548 2017-09-04 Joseph Myers <joseph@codesourcery.com>
6550 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6554 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
6555 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
6557 2017-09-04 Florian Weimer <fweimer@redhat.com>
6559 * math/math.h: Issue warning if log is defined.
6561 2017-09-04 Joseph Myers <joseph@codesourcery.com>
6563 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6564 kernel version to 4.13.
6566 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6568 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
6569 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
6571 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
6572 just <bits/types.h>.
6573 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
6574 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
6575 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
6576 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
6577 * misc/preadv2.c: Include <errno.h>.
6578 * misc/preadv64v2.c: Include <errno.h>.
6579 * misc/pwritev2.c: Include <errno.h>.
6580 * misc/pwritev64v2.c: Include <errno.h>.
6581 * sysdeps/posix/preadv2.c: Include <errno.h>.
6582 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
6583 Fix <unistd.h> inclusion.
6584 * sysdeps/posix/pwritev2.c: Include <errno.h>.
6585 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
6586 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
6587 __strtoul_internal): New functions.
6588 * sysdeps/posix/pause.c: Include <sigsetops.h>.
6589 * sysdeps/posix/system.c: Include <sigsetops.h>.
6590 * sysdeps/mach/hurd/i386/Makefile
6591 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6592 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6593 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6594 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
6595 __feraiseexcept_renamed to feraiseexcept instead of
6597 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
6598 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
6599 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
6600 RWF_NOWAIT): Define to 0 if undefined already.
6601 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
6603 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
6604 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
6606 2017-09-01 Joseph Myers <joseph@codesourcery.com>
6608 * manual/math.texi (pow10): Do not document.
6611 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
6612 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
6613 * math/libm-test-exp10.inc (pow10_test): Remove.
6614 (do_test): Do not call pow10.
6615 * math/w_exp10_compat.c (pow10): Make into compat symbol.
6616 [NO_LONG_DOUBLE] (pow10l): Likewise.
6617 * math/w_exp10f_compat.c (pow10f): Likewise.
6618 * math/w_exp10l_compat.c (pow10l): Likewise.
6619 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
6620 (pow10): Make into compat symbol.
6621 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
6622 (pow10f): Make into compat symbol.
6623 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
6624 (pow10l): Make into compat symbol.
6625 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
6627 (CFLAGS-nldbl-pow10.c): Remove variable..
6628 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
6629 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
6630 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
6631 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
6632 Undefine and redefine.
6633 (pow10l): Make into compat symbol.
6634 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
6635 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6636 * sysdeps/arm/libm-test-ulps: Likewise.
6637 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
6638 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6639 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6640 * sysdeps/microblaze/libm-test-ulps: Likewise.
6641 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6642 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6643 * sysdeps/nios2/libm-test-ulps: Likewise.
6644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6645 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6646 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6647 * sysdeps/sh/libm-test-ulps: Likewise.
6648 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6649 * sysdeps/tile/libm-test-ulps: Likewise.
6650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6652 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6654 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
6656 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6658 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
6659 "../ChangeLog.old/ChangeLog.8".
6660 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
6661 "../ChangeLog.old/ChangeLog.14".
6663 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6665 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
6668 2017-09-01 Joseph Myers <joseph@codesourcery.com>
6670 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
6672 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6674 * csu/version.c (banner): Remove "by Roland McGrath et al.".
6675 * nptl/Banner: Remove "by Ulrich Drepper et al.".
6677 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6679 * stdlib/tst-atexit-common.c (do_test): Test support for at least
6682 2017-09-01 Zack Weinberg <zackw@panix.com>
6684 * math/math.h (HUGE_VAL): Improve commentary.
6686 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6687 Andreas Schwab <schwab@suse.de>
6690 * include/stdio.h (__gen_tempfd): New function.
6691 * stdio-common/Makefile (routines): Add gentempfd.
6692 * stdio-common/gentempfd.c: New file.
6693 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
6694 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
6697 2017-09-01 Florian Weimer <fweimer@redhat.com>
6701 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
6702 result to determine success or failure, not the errno value.
6703 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
6704 (tst-nss-files-hosts-erange): Link with -ldl.
6705 * nss/tst-nss-files-hosts-erange.c: New file.
6706 * nss/tst-resolv-basic.c (response): Handle nodata.example.
6707 (do_test): Add NO_DATA tests.
6708 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
6711 2017-09-01 Florian Weimer <fweimer@redhat.com>
6714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
6715 coming from gethostbyname2_r.
6717 2017-09-01 Florian Weimer <fweimer@redhat.com>
6719 * support/namespace.h (struct support_chroot_configuration): Add
6721 (struct support_chroot): Add path_hosts, path_host_conf.
6722 * support/support_chroot.c (write_file): New function.
6723 (support_chroot_create): Call it to process /etc/resolv.conf,
6724 /etc/hosts, /etc/host.conf.
6725 (support_chroot_free): Update.
6727 2017-09-01 Florian Weimer <fweimer@redhat.com>
6729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
6730 status indicates it is set.
6732 2017-09-01 Florian Weimer <fweimer@redhat.com>
6734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
6735 function lookup failures more reliable.
6737 2017-09-01 Florian Weimer <fweimer@redhat.com>
6739 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
6740 (getcanonname): Likewise.
6741 (gaih_inet): Likewise.
6743 2017-09-01 Florian Weimer <fweimer@redhat.com>
6745 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
6746 (getcanonname): Likewise.
6747 (gaih_inet): Likewise.
6749 2017-08-31 Steve Ellcey <sellcey@cavium.com>
6750 Richard Henderson <rth@twiddle.net>
6752 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
6753 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
6754 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
6755 (IREG_SIZE, OREG_SIZE): New macros.
6756 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
6757 (IREG_SIZE, OREG_SIZE): New macros.
6758 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
6759 (IREG_SIZE): New macro.
6760 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
6761 (IREG_SIZE): New macro.
6762 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
6764 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
6765 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6766 (__CONCATX): Handle exceptions correctly on large values that may
6768 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
6769 Initialize if not already set.
6770 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6772 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6774 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
6775 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
6777 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
6779 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
6781 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
6783 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
6785 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
6787 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
6789 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
6790 (NO_CANCELLATION): Likewise.
6791 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
6793 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
6795 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
6797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
6798 (NO_CANCELLATION): Likewise.
6799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
6800 (NO_CANCELLATION): Likewise.
6801 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
6803 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
6805 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
6807 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
6809 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
6811 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
6812 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
6814 2017-08-31 Steve Ellcey <sellcey@cavium.com>
6816 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
6819 2017-08-31 Florian Weimer <fweimer@redhat.com>
6821 * include/libc-symbols.h (internal_function): Remove.
6823 2017-08-31 Florian Weimer <fweimer@redhat.com>
6825 * stdlib/fmtmsg.c (internal_addseverity): Remove
6828 2017-08-31 Florian Weimer <fweimer@redhat.com>
6830 * stdio-common/printf_fp.c (group_number): Remove
6832 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6834 2017-08-31 Florian Weimer <fweimer@redhat.com>
6836 * posix/fnmatch.c (internal_function): Remove definition.
6837 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
6838 * posix/regcomp.c (peek_token, init_word_char)
6839 (duplicate_node_closure, fetch_token, peek_token)
6840 (peek_token_bracket, build_range_exp, build_collating_symbol):
6842 * posix/regex_internal.c (re_string_construct_common)
6843 (create_ci_newstate, create_cd_newstate, re_string_allocate)
6844 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
6845 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
6846 (re_string_translate_buffer, re_string_reconstruct)
6847 (re_string_peek_byte_case, re_string_fetch_byte_case)
6848 (re_string_destruct, re_string_context_at, re_node_set_alloc)
6849 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
6850 (re_node_set_add_intersect, re_node_set_init_union)
6851 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
6852 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
6853 (re_dfa_add_node, calc_state_hash, re_acquire_state)
6854 (re_acquire_state_context): Likewise.
6855 * posix/regex_internal.h (internal_function): Remove definition.
6856 (re_string_realloc_buffers, build_wcs_buffer)
6857 (build_wcs_upper_buffer, build_upper_buffer)
6858 (re_string_translate_buffer, re_string_context_at)
6859 (re_string_char_size_at, re_string_wchar_at)
6860 (re_string_elem_size_at): Likewise.
6861 * posix/regexec.c (match_ctx_init, match_ctx_clean)
6862 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
6863 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
6864 (re_search_internal, re_search_2_stub, re_search_stub)
6865 (re_copy_regs, prune_impossible_nodes, check_matching)
6866 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
6867 (free_fail_stack_return, sift_states_iter_mb)
6868 (sift_states_backward, build_sifted_states)
6869 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
6870 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
6871 (check_subexp_limits, sift_states_bkref, merge_state_array)
6872 (find_recover_state, transit_state, merge_state_with_log)
6873 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
6874 (transit_state_mb, transit_state_bkref, get_subexp)
6875 (get_subexp_sub, find_subexp_node, check_arrival)
6876 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
6877 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
6878 (check_node_accept_bytes, find_collation_sequence_value)
6879 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
6880 (acquire_init_state_context, check_halt_node_context)
6881 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
6882 (sub_epsilon_src_nodes): Likewise.
6883 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
6884 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
6885 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
6886 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
6887 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
6888 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
6889 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
6890 * sysdeps/posix/ttyname.c (getttyname): Likewise.
6891 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6892 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
6894 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
6896 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
6897 (PWRITEV): Likewise.
6898 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
6899 (PWRITEV): Likewise.
6900 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
6901 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
6903 2017-08-31 Florian Weimer <fweimer@redhat.com>
6905 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
6906 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
6907 Remove internal_function.
6908 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6909 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
6910 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
6911 (__deallocate_stack, __libc_pthread_init)
6912 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
6913 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
6914 (__libc_disable_asynccancel, __librt_disable_asynccancel):
6916 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
6917 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
6918 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
6920 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
6921 (__pthread_mutex_unlock_usercnt): Likewise.
6923 2017-08-31 Florian Weimer <fweimer@redhat.com>
6925 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
6926 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
6927 (fts_safe_changedir): Remove internal_function.
6928 * io/ftw.c (internal_function): Remove definition.
6929 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
6931 2017-08-31 Florian Weimer <fweimer@redhat.com>
6933 * inet/deadline.c (__deadline_current_time)
6934 (__deadline_from_timeval, __deadline_to_ms): Remove
6936 * inet/getnameinfo.c (nrl_domainname): Likewise.
6937 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6938 * inet/inet6_option.c (add_pad): Likewise.
6939 * inet/net-internal.h (__deadline_current_time)
6940 (__deadline_from_timeval, __deadline_to_ms): Likewise.
6941 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
6942 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
6943 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
6945 2017-08-31 Joseph Myers <joseph@codesourcery.com>
6947 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
6948 include <bits/nan.h>.
6949 * math/Makefile (headers): Remove bits/nan.h.
6950 * bits/nan.h: Remove.
6951 * sysdeps/ieee754/bits/nan.h: Likewise.
6952 * sysdeps/mips/bits/nan.h: Likewise.
6954 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
6955 not include <bits/inf.h>.
6956 * math/Makefile (headers): Remove bits/inf.h.
6957 * bits/inf.h: Remove.
6958 * sysdeps/ieee754/bits/inf.h: Likewise.
6960 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
6961 bits/huge_vall.h or bits/huge_val_flt128.h.
6962 (HUGE_VAL): Define directly here.
6963 [__USE_ISOC99] (HUGE_VALF): Likewise.
6964 [__USE_ISOC99] (HUGE_VALL): Likewise.
6965 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6966 (HUGE_VAL_F128): Likewise.
6967 * math/Makefile (headers): Remove bits/huge_val.h,
6968 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
6969 * bits/huge_val.h: Remove.
6970 * bits/huge_val_flt128.h: Likewise.
6971 * bits/huge_valf.h: Likewise.
6972 * bits/huge_vall.h: Likewise.
6973 * sysdeps/ia64/bits/huge_vall.h: Likewise.
6974 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6975 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
6976 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
6977 * sysdeps/sh/bits/huge_val.h: Likewise.
6978 * sysdeps/sparc/bits/huge_vall.h: Likewise.
6979 * sysdeps/x86/bits/huge_vall.h: Likewise.
6981 2017-08-31 Florian Weimer <fweimer@redhat.com>
6983 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
6985 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
6987 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
6988 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6989 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
6990 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
6991 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6992 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6993 * elf/dl-libc.c (dlerror_run): Likewise.
6994 * elf/dl-load.c (add_name_to_object, decompose_rpath)
6995 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
6996 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
6997 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
6999 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
7000 (_dl_higher_prime_number, _dl_strtoul): Likewise.
7001 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
7002 * elf/dl-profile.c (_dl_start_profile): Likewise.
7003 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
7004 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
7006 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
7007 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
7008 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
7009 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
7010 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
7011 (_dl_allocate_tls_storage): Likewise.
7012 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
7013 (_dl_check_all_versions): Likewise.
7014 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7015 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
7016 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
7017 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7018 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
7019 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
7020 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
7021 internal_function from __dl_start.
7022 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
7023 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7024 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
7025 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
7026 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
7027 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
7028 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
7029 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
7030 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
7031 (_dl_next_ld_env_entry, _dl_important_hwcaps)
7032 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
7033 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
7034 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
7035 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
7036 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
7038 (struct rtld_global_ro): Remove internal_function from the
7039 _dl_lookup_symbol_x member.
7040 (_dl_symbol_value): Remove. No longer defined anywhere.
7041 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
7043 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7044 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7045 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
7046 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
7047 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
7048 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
7049 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
7050 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
7051 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
7052 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7053 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7054 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7056 2017-08-31 Florian Weimer <fweimer@redhat.com>
7058 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
7059 Remove internal_function.
7060 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7062 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7065 2017-08-31 Florian Weimer <fweimer@redhat.com>
7067 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
7068 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
7069 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
7071 2017-08-31 Florian Weimer <fweimer@redhat.com>
7073 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
7074 (__gai_enqueue_request): Remove internal_function.
7075 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
7076 (__gai_remove_request, __gai_notify, __gai_notify_only)
7077 (__gai_sigqueue): Likewise.
7078 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
7079 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7080 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
7081 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7084 2017-08-31 Florian Weimer <fweimer@redhat.com>
7086 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
7087 * include/dirent.h (__opendirat, __getdents, __getdents64)
7088 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
7089 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7090 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7091 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7093 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
7095 2017-08-31 Florian Weimer <fweimer@redhat.com>
7097 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
7099 (GETCWD_RETURN_TYPE): Likewise.
7101 2017-08-31 Florian Weimer <fweimer@redhat.com>
7103 * include/time.h (__tz_compute, __strptime_internal): Remove
7105 * time/strptime_l.c (__strptime_internal): Likewise.
7106 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
7108 2017-08-31 Florian Weimer <fweimer@redhat.com>
7110 * iconv/gconv.c (__gconv): Remove internal_function.
7111 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
7112 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
7113 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
7114 (__gconv_release_cache): Likewise.
7115 * iconv/gconv_close.c (__gconv_close): Likewise.
7116 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
7117 (read_conf_file, __gconv_get_path): Likewise.
7118 * iconv/gconv_db.c (derivation_lookup, add_derivation)
7119 (__gconv_release_step, gen_steps, increment_counter)
7120 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
7121 (__gconv_close_transform, free_modules_db): Likewise.
7122 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
7124 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
7125 (__gconv_find_transform, __gconv_lookup_cache)
7126 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
7127 (__gconv_close_transform, __gconv_release_cache)
7128 (__gconv_loaded_object, __gconv_release_shlib)
7129 (__gconv_compare_alias): Likewise.
7130 * iconv/gconv_open.c (__gconv_open): Likewise.
7131 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
7132 * iconv/iconvconfig.c (add_module): Likewise.
7133 * intl/dcigettext.c (plural_lookup, guess_category_value)
7134 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
7135 * intl/eval-plural.h (plural_eval): Likewise.
7136 * intl/finddomain.c (_nl_find_domain): Likewise.
7137 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
7138 (_nl_load_domain, _nl_find_msg): Likewise.
7139 (internal_function): Remove definition.
7140 * intl/loadinfo.h (internal_function): Likewise.
7141 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
7143 * intl/localealias.c (internal_function): Remove definition.
7144 (read_alias_file): Remove internal_function.
7145 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
7146 * intl/plural-exp.h (internal_function): Remove definition.
7147 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
7149 * intl/plural.c: Regenerate.
7150 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
7151 * locale/coll-lookup.c (__collidx_table_lookup)
7152 (__collseq_table_lookup): Likewise.
7153 * locale/coll-lookup.h (__collidx_table_lookup)
7154 (__collseq_table_lookup): Likewise.
7155 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
7156 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7157 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
7158 (_nl_unload_locale): Likewise.
7159 * locale/localeinfo.h (struct __locale_data): Remove
7160 internal_function from cleanup member.
7161 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
7162 (_nl_remove_locale, _nl_load_locale_from_archive)
7163 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
7164 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
7165 (_nl_cleanup_time): Remove internal_function.
7166 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
7167 (_nl_parse_alt_digit): Likewise.
7168 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
7169 (_nl_select_era_entry): Likewise.
7170 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
7171 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7172 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7173 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7174 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7176 2017-08-31 Florian Weimer <fweimer@redhat.com>
7178 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
7179 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7180 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
7181 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
7183 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
7184 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
7185 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
7186 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7188 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
7190 2017-08-31 Florian Weimer <fweimer@redhat.com>
7192 * misc/getttyent.c (skip, value): Remove internal_function.
7193 * misc/syslog.c (openlog_internal): Likewise.
7194 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
7196 2017-08-31 Florian Weimer <fweimer@redhat.com>
7198 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
7199 (__nss_rewrite_field): Remove internal_function.
7200 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7201 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7202 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7203 * nss/nsswitch.c (nss_parse_file, nss_getline)
7204 (nss_parse_service_list, nss_new_service): Likewise.
7205 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
7206 * nss/valid_field.c (__nss_valid_field): Likewise.
7207 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7209 2017-08-31 Florian Weimer <fweimer@redhat.com>
7211 * malloc/arena.c (__malloc_fork_lock_parent)
7212 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
7213 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
7214 internal_function from defintions.
7215 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
7216 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
7217 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
7218 internal_function from declarations.
7219 * malloc/malloc.c (internal_function): Do not define.
7220 (mem2mem_check): Remove internal_function from declaration.
7221 (munmap_chunk, mremap_chunk): Remove internal_function.
7222 * malloc/mtrace.c (tr_where): Likewise.
7224 2017-08-31 Florian Weimer <fweimer@redhat.com>
7226 * include/rpc/pmap_clnt.h (__get_socket): Remove
7228 * sunrpc/auth_des.c (synchronize): Likewise.
7229 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
7230 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
7231 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
7232 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
7233 (key_call): Likewise.
7234 * sunrpc/pm_getport.c (__get_socket): Likewise.
7235 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
7236 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
7237 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
7238 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
7239 (invalidate): Likewise.
7240 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
7241 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
7242 (set_input_fragment, get_input_bytes): Likewise.
7244 2017-08-31 Florian Weimer <fweimer@redhat.com>
7246 * malloc/malloc.c (_int_free): Remove locked variable and related
7249 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
7252 * Makerules (build-module-helper-objlist): Filter out
7253 $(elf-objpfx)sofini.os.
7254 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
7257 2017-08-31 Florian Weimer <fweimer@redhat.com>
7259 * libio/fcloseall.c: Assume weak_alias is defined.
7260 * libio/feof.c: Likewise.
7261 * libio/fileno.c: Likewise.
7262 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
7263 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7265 (_IO_file_open): Call __open directly.
7266 (_IO_new_file_sync): Assume ESPIPE is defined.
7267 (_IO_file_seekoff_maybe_mmap): Call __read directly.
7268 (_IO_new_file_write): Call __write directly.
7269 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
7270 * libio/ftello64.c (__ftello64): Assume EIO is defined.
7271 * libio/genops.c: Assume _LIBC is defined.
7272 (save_for_backup): Remove internal_function.
7273 * libio/getc.c: Assume weak_alias is defined.
7274 * libio/getwc.c: Likewise.
7275 * libio/iofclose.c: Assume _LIBC is defined.
7276 * libio/iofdopen.c: Likewise.
7277 (_IO_fcntl): Remove macro definition.
7278 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
7279 Call __fcntl directly.
7280 * libio/iofflush.c: Assume weak_alias is defined.
7281 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
7283 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
7284 * libio/iofgets.c: Likewise.
7285 * libio/iofopen.c: Assume _LIBC is defined.
7286 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
7287 * libio/iofputs.c: Assume weak_alias is defined.
7288 * libio/iofread.c: Likewise.
7289 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
7290 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7291 * libio/ioftell.c: Assume weak_alias is defined.
7292 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
7293 * libio/iofwide.c: Assume _LIBC is defined.
7294 (_IO_fwide): Drop SHARED conditional because it is implied by
7296 * libio/iofwrite.c: Assume weak_alias is defined.
7297 * libio/iogetdelim.c: Likewise.
7298 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
7299 * libio/iogetwline.c (wmemcpy): Remove macro definition.
7300 (_IO_getwline): Call __wmemcpy directly.
7301 * libio/iopopen.c: Assume _LIBC is defined.
7302 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7303 (_IO_close): Remove macro definitions.
7304 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
7306 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
7308 * libio/ioputs.c: Assume weak_alias is defined.
7309 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
7310 * libio/iosetbuffer.c: Assume weak_alias is defined.
7311 * libio/iosetvbuf.c: Likewise.
7312 * libio/ioungetc.c: Likewise.
7313 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
7314 libc_hidden_def, libc_hidden_weak, NULL are defined.
7315 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
7316 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
7318 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7320 (_IO_old_file_init_internal): Drop SHARED conditional because it
7321 is implied by SHLIB_COMPAT.
7322 (_IO_old_file_fopen): Call __open directly.
7323 (_IO_old_file_sync): Assume ESPIPE is defined.
7324 (_IO_old_file_write): Call __write directly.
7325 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
7326 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
7327 Call __fcntl directly.
7328 * libio/oldiofgetpos.c: Assume weak_alias is defined.
7329 (_IO_old_fgetpos): Assume EIO is defined.
7330 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
7331 (_IO_old_fgetpos64): Assume EIO is defined.
7332 * libio/oldiofsetpos.c: Assume weak_alias is defined.
7333 (_IO_old_fsetpos): Assume EIO is defined.
7334 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
7335 (_IO_old_fsetpos64): Assume EIO is defined.
7336 * libio/oldiopopen.c: Assume _LIBC is defined.
7337 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7338 (_IO_close): Remove macro definitions.
7339 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
7341 (_IO_old_proc_close): Call __close, __waitpid directly.
7342 * libio/put.c: Assume weak_alias is defined.
7343 * libio/stdfiles.c: Assume _LIBC is defined.
7344 * libio/stdio.c: Likewise.
7345 * libio/wfileops.c: Likewise.
7346 (_IO_wfile_sync): Assume ESPIPE is defined.
7347 * libio/wgenops.c: Assume _LIBC is defined.
7348 (save_for_wbackup): Remove internal_function.
7350 2017-08-31 Florian Weimer <fweimer@redhat.com>
7352 * malloc/malloc.c (top_check): Change return type to void. Remove
7354 * malloc/hooks.c (top_check): Likewise.
7355 (malloc_check, realloc_check, memalign_check): Adjust.
7357 2017-08-30 Joseph Myers <joseph@codesourcery.com>
7360 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7361 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
7362 sigcontext and namespace requirements.
7363 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7364 * sysdeps/m68k/sys/ucontext.h: Likewise.
7365 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
7366 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
7367 <bits/sigcontext.h>.
7368 (__ctx): Define earlier.
7369 (mcontext_t): Define structure contents rather than using struct
7371 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
7372 __glibc_reserved1 instead of __reserved.
7373 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
7374 <bits/sigcontext.h>.
7375 (__ctx): Define earlier.
7376 (mcontext_t): Define structure contents rather than using struct
7378 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
7379 mcontext_t instead of struct sigcontext.
7380 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
7381 <bits/sigcontext.h>.
7382 (__ctx): Define earlier.
7383 (mcontext_t): Define structure contents rather than using struct
7385 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
7386 <bits/sigcontext.h>.
7387 (__ctx): Define earlier.
7388 (mcontext_t): Define structure contents rather than using struct
7390 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
7391 mcontext_t instead of struct sigcontext.
7392 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
7393 mcontext_t instead of struct sigcontext.
7394 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
7395 <bits/sigcontext.h>.
7397 (struct __ia64_fpreg_mcontext): New type.
7398 (mcontext_t): Define structure contents rather than using struct
7400 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
7401 (uc_sigmask): Define using __ctx.
7402 (uc_stack): Likewise.
7403 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
7404 <bits/sigcontext.h>.
7405 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7406 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
7407 <bits/sigcontext.h>.
7408 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
7409 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
7410 <bits/sigcontext.h>.
7411 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
7412 <bits/sigcontext.h>.
7413 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
7414 <bits/sigcontext.h>.
7415 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
7416 <bits/sigcontext.h>.
7417 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
7418 <bits/sigcontext.h>.
7419 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
7420 <bits/sigcontext.h>.
7421 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
7422 <bits/sigcontext.h>.
7423 (__ctx): Define earlier.
7424 (mcontext_t): Define structure contents rather than using struct
7426 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
7427 <bits/sigcontext.h>. Include <bits/types.h>.
7428 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
7429 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
7430 (test-xfail-XPG42/ucontext.h/conform): Likewise.
7431 (test-xfail-UNIX98/signal.h/conform): Likewise.
7432 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7433 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7434 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7435 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7436 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7437 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7438 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7439 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7440 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7442 2017-08-30 Florian Weimer <fweimer@redhat.com>
7444 * malloc/dynarray_emplace_enlarge.c
7445 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
7446 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7447 * malloc/tst-dynarray.c (test_long_overflow): New function.
7450 2017-08-30 Florian Weimer <fweimer@redhat.com>
7452 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
7453 (set_arena_corrupt): Remove definitions.
7454 (mtrim): Do not check for corrupt arena.
7455 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
7458 2017-08-30 Florian Weimer <fweimer@redhat.com>
7461 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
7463 (ptmalloc_init): Do not set or use check_action.
7464 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
7465 call to malloc_printerr. Remove return statement.
7466 (free_check): Likewise. Remove arena unlock.
7467 (top_check): Update comment. Adjust call to malloc_printerr.
7468 Remove heap repair code.
7469 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
7470 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
7471 (sysmalloc): Adjust call to malloc_printerr.
7472 (munmap_chunk, __libc_realloc): Likewise. Remove return
7474 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
7475 Remove errout label and corresponding gotos.
7476 (_int_free): Likewise. Remove arena unlock.
7477 (do_set_mallopt_check): Do not set check_action.
7478 (malloc_printerr): Adjust parameter list. Do not mark arena as
7480 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
7482 * manual/probes.texi (Memory Allocation Probes): Remove
7483 memory_mallopt_check_action.
7485 2017-08-30 Steve Ellcey <sellcey@cavium.com>
7487 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
7488 Use pointer to uint64_t instead of long int for sp.
7490 2017-08-30 Florian Weimer <fweimer@redhat.com>
7493 * malloc/malloc.c (malloc_printerr): Always terminate the process,
7494 without printing a backtrace. Do not leak any information in the
7496 * manual/memory.texi (Heap Consistency Checking): Update.
7497 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
7499 2017-08-30 Florian Weimer <fweimer@redhat.com>
7501 Do not scale NPTL tests with available number of CPUs.
7502 * nptl/tst-cond16.c (count): Set to constant value of 8.
7503 * nptl/tst-cond18.c (count): Likewise.
7505 2017-08-29 Joseph Myers <joseph@codesourcery.com>
7508 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
7509 Define to take a second argument that is a macro that
7510 concatentates a suffix, not the suffix itself.
7511 (__CONCAT_d): New macro.
7512 (__CONCAT_f): Likewise.
7513 (__CONCAT_l): Likewise.
7515 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
7517 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
7520 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7521 Aurelien Jarno <aurelien@aurel32.net>
7522 Maciej W. Rozycki <macro@imgtec.com>
7525 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
7526 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
7527 `mips16-syscall6' and `mips16-syscall7'.
7528 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
7529 (CFLAGS-mips16-syscall7.c): Remove.
7530 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
7531 Remove `__mips16_syscall5', `__mips16_syscall6' and
7532 `__mips16_syscall7'.
7533 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
7534 (__mips16_syscall0): Rename `__mips16_syscall_return' to
7535 `__mips_syscall_return'.
7536 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
7537 (__mips16_syscall1): Likewise.
7538 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
7539 (__mips16_syscall2): Likewise.
7540 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
7541 (__mips16_syscall3): Likewise.
7542 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
7543 (__mips16_syscall4): Likewise.
7544 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
7546 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
7548 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
7550 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
7551 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
7552 `__mips16_syscall5'. Remove prototype.
7553 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
7554 `__mips16_syscall6'. Remove prototype.
7555 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
7556 `__mips16_syscall7'. Remove prototype.
7557 (__nomips16, __mips16_syscall_return): Move to...
7558 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7559 (__nomips16, __mips_syscall_return): ... here.
7560 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
7561 `__mips16_syscall_return' to `__mips_syscall_return'.
7562 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
7563 `internal_syscall##nr'.
7564 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
7565 `internal_syscall##nr'.
7566 (FORCE_FRAME_POINTER): Remove.
7567 (__mips_syscall5): New prototype.
7568 (internal_syscall5): Rewrite to call `__mips_syscall5'.
7569 (__mips_syscall6): New prototype.
7570 (internal_syscall6): Rewrite to call `__mips_syscall6'.
7571 (__mips_syscall7): New prototype.
7572 (internal_syscall7): Rewrite to call `__mips_syscall7'.
7573 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
7574 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
7575 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
7576 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
7577 (sysdep_routines): Add libc-do-syscall.
7578 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
7579 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
7581 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7584 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
7585 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
7586 (advise_stack_range): New function.
7587 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
7588 stack non required to advise_stack_range at allocatestack.c
7590 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7592 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
7594 2017-08-29 Florian Weimer <fweimer@redhat.com>
7597 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
7598 __end_fct. Mangle __end_fct after setting it to NULL.
7599 * iconv/Makefile (tests): Add tst-gconv-init-failure.
7600 (modules-names, modules-names-tests): Add
7601 tst-gconv-init-failure-mod.
7602 (gconv-modules): New target.
7603 (tst-gconv-init-failure-mod.so): Link against libsupport.
7604 (tst-gconv-init-failure): Depend on gconv-modules,
7605 tst-gconv-init-failure-mod.so.
7606 * iconv/tst-gconv-init-failure-mod.c: New file.
7607 * iconv/tst-gconv-init-failure.c: Likewise.
7608 * iconv/test-gconv-modules: Likewise.
7610 2017-08-29 Florian Weimer <fweimer@redhat.com>
7613 * iconv/gconv_db.c (free_derivation): Remove redundant
7615 (gen_steps): Unconditionally mangle __btowc_fct after
7617 (increment_counter): Likewise. Do not call init_fct for internal
7620 2017-08-29 Joseph Myers <joseph@codesourcery.com>
7623 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7624 (_MSUF_): Remove macro.
7625 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
7627 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7628 (__REDIRFROM_X): New macro.
7629 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
7631 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
7632 (__REDIRTO_X): Likewise.
7633 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
7635 (__MATH_REDIRCALL_2): Likewise.
7636 (__MATH_REDIRCALL_INTERNAL): Likewise.
7637 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7638 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
7639 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
7640 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7641 * math/test-finite-macros.c: New file.
7642 * math/Makefile (tests): Add test-finite-macros.
7643 (CFLAGS-test-finite-macros.c): New variable.
7645 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
7646 Jeff Law <law@redhat.com>
7649 Mangle NULL pointers in iconv/gconv.
7650 * iconv/gconv_cache.c (find_module): Demangle init_fct before
7651 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
7652 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
7653 is non-NULL before demangling the end_fct. Check for NULL
7654 end_fct after demangling.
7655 (__gconv_release_step): Demangle the end_fct before checking
7656 it for NULL. Remove assert on __shlibc_handle != NULL.
7657 (gen_steps): Don't check btowc_fct for NULL before mangling.
7658 Demangle init_fct before checking for NULL.
7659 (increment_counter): Likewise.
7660 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
7661 end_fct for NULL before mangling.
7662 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
7665 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
7668 * locale/iso-639.def: add Morisyen.
7670 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7673 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
7674 (iszero): New C++ implementation that does not use
7675 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
7676 signaling nans are enabled, since __builtin_types_compatible_p
7677 is a C-only feature.
7678 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
7679 defined, include ieee754_float128.h for access to the union and
7680 member ieee854_float128.ieee.
7681 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
7682 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
7683 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
7684 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
7685 options of test-math-zero on powerpc64le.
7687 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
7689 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7690 Change double to float.
7692 2017-08-28 Joseph Myers <joseph@codesourcery.com>
7694 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
7696 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
7697 conditional code; define contents only for [LIBM_SVID_COMPAT].
7699 2017-08-28 Florian Weimer <fweimer@redhat.com>
7701 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
7702 (abi-lp64_be-options): Remove.
7703 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
7704 (abi-hard-options): Likewise.
7705 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
7706 (abi-o32_hard-options, abi-o32_soft_2008-options)
7707 (abi-o32_hard_2008-options, abi-n32_soft-options)
7708 (abi-n32_hard-options, abi-n32_soft_2008-options)
7709 (abi-n32_hard_2008-options, abi-n64_soft-options)
7710 (abi-n64_hard-options, abi-n64_soft_2008-options)
7711 (abi-n64_hard_2008-options): Likewise.
7712 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
7713 (abi-64-v1-options, abi-64-v2-options): Likewise.
7714 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
7715 (abi-64-options): Likewise.
7716 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
7717 (abi-64-options): Likewise.
7718 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
7719 (abi-64-options): Likewise.
7720 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
7721 (abi-64-options, abi-x32-options): Likewise.
7723 2017-08-28 Florian Weimer <fweimer@redhat.com>
7725 Store supported list of SYS_* system calls in the source tree.
7726 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7727 (bits/syscall.h): Generate from list file.
7728 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
7729 [$(subdir) = misc] (tests): Add tst-syscall-list.
7730 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
7731 [$(subdir) = misc] (tst-syscall-list-macros.list)
7732 [$(subdir) = misc] (tst-syscall-list-nr.list)
7733 (tst-syscall-list-sys.list): Helper targets for new
7734 tst-syscall-list test.
7735 [$(subdir) = misc] (tst-syscall-list.out): Run test script
7736 tst-syscall-list.sh.
7737 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
7738 target. Do not include bits/syscall.d.
7739 [$(subdir) = misc] (generated): Do not update.
7740 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
7741 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
7742 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
7743 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
7745 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7747 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
7748 (tst-cxa_atexit, tst-on_exit): Likewise.
7749 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
7750 tst-cxa_atexit, and tst-on_exit.
7751 * stdlib/tst-atexit-common.c: New file.
7752 * stdlib/tst-atexit.c: New file.
7753 * stdlib/tst-at_quick_exit.c: New file.
7754 * stdlib/tst-cxa_atexit.c: New file.
7755 * stdlib/tst-on_exit.c: New file.
7757 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7759 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
7760 * mach/stack_chk_fail_local.c: New file.
7761 * hurd/stack_chk_fail_local.c: New file.
7762 * mach/Machrules ($(interface-library)-routines): Add
7763 stack_chk_fail_local.
7764 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
7765 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
7766 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
7767 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
7768 * hurd/Makefile (CFLAGS-hurdstartup.o,
7769 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
7771 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
7773 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7774 (index_cpu_*, index_arch_*): Removed.
7776 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
7778 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
7779 Use uint64_t instead of unsigned long.
7781 2017-08-25 Joseph Myers <joseph@codesourcery.com>
7783 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
7784 [__HAVE_DISTINCT_FLOAT128].
7786 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
7787 of <bits/math-finite.h>.
7788 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
7789 inclusion of <bits/math-finite.h>.
7790 * math/bits/math-finite.h (__REDIRTO_X): Do not define
7791 conditionally on [__MATH_DECLARING_LDOUBLE && defined
7792 __NO_LONG_DOUBLE_MATH].
7793 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
7794 (__MATH_REDIRCALL_2): Likewise.
7795 (__MATH_REDIRCALL_INTERNAL): Likewise.
7796 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7797 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
7798 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7812 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7813 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7815 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7817 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
7818 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
7819 w_sqrtf_compat-ppc32.
7821 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7823 * math/math.h [defined __cplusplus] (issignaling): In the long
7824 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
7825 is not defined. Call __issignaling, otherwise.
7827 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7829 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
7830 syscall definitions and replace __builtin_expect with __glibc_likely.
7831 * sysdeps/unix/syscall-template.S: Update comment about cancellable
7833 (SYSCALL_CANCELLABLE): Removedefinition
7834 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
7836 (PSEUDO_END): Likewise.
7837 [IS_IN (libpthread)] (CENABLE): Likewise.
7838 [IS_IN (libpthread)] (CDISABLE): Likewise.
7839 [IS_IN (libc)] (CENABLE): Likewise.
7840 [IS_IN (libc)] (CENABLE): Likewise.
7841 [IS_IN (librt)] (CDISABLE): Likewise.
7842 [IS_IN (librt)] (CDISABLE): Likewise.
7843 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7844 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
7846 (PSEUDO_END): Likewise.
7847 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
7848 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
7849 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7850 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7851 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7852 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7853 (CENABLE): Likewise.
7854 (CDISABLE): Likewise.
7855 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7856 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
7858 (PSEUDO_END): Likewise.
7859 [IS_IN (libpthread)] (CENABLE): Likewise.
7860 [IS_IN (libpthread)] (CDISABLE): Likewise.
7861 [IS_IN (libc)] (CENABLE): Likewise.
7862 [IS_IN (libc)] (CENABLE): Likewise.
7863 [IS_IN (librt)] (CDISABLE): Likewise.
7864 [IS_IN (librt)] (CDISABLE): Likewise.
7865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7866 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
7868 (PSEUDO_END): Likewise.
7869 [IS_IN (libpthread)] (CENABLE): Likewise.
7870 [IS_IN (libpthread)] (CDISABLE): Likewise.
7871 [IS_IN (libc)] (CENABLE): Likewise.
7872 [IS_IN (libc)] (CENABLE): Likewise.
7873 [IS_IN (librt)] (CDISABLE): Likewise.
7874 [IS_IN (librt)] (CDISABLE): Likewise.
7875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7876 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
7878 (PSEUDO_END): Likewise.
7879 [IS_IN (libpthread)] (CENABLE): Likewise.
7880 [IS_IN (libpthread)] (CDISABLE): Likewise.
7881 [IS_IN (libc)] (CENABLE): Likewise.
7882 [IS_IN (libc)] (CENABLE): Likewise.
7883 [IS_IN (librt)] (CDISABLE): Likewise.
7884 [IS_IN (librt)] (CDISABLE): Likewise.
7885 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7886 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
7888 (PSEUDO_END): Likewise.
7889 [IS_IN (libpthread)] (CENABLE): Likewise.
7890 [IS_IN (libpthread)] (CDISABLE): Likewise.
7891 [IS_IN (libc)] (CENABLE): Likewise.
7892 [IS_IN (libc)] (CENABLE): Likewise.
7893 [IS_IN (librt)] (CDISABLE): Likewise.
7894 [IS_IN (librt)] (CDISABLE): Likewise.
7895 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7896 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
7898 (PSEUDO_END): Likewise.
7899 [IS_IN (libpthread)] (CENABLE): Likewise.
7900 [IS_IN (libpthread)] (CDISABLE): Likewise.
7901 [IS_IN (libc)] (CENABLE): Likewise.
7902 [IS_IN (libc)] (CENABLE): Likewise.
7903 [IS_IN (librt)] (CDISABLE): Likewise.
7904 [IS_IN (librt)] (CDISABLE): Likewise.
7905 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7906 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
7908 (PSEUDO_END): Likewise.
7909 [IS_IN (libpthread)] (CENABLE): Likewise.
7910 [IS_IN (libpthread)] (CDISABLE): Likewise.
7911 [IS_IN (libc)] (CENABLE): Likewise.
7912 [IS_IN (libc)] (CENABLE): Likewise.
7913 [IS_IN (librt)] (CDISABLE): Likewise.
7914 [IS_IN (librt)] (CDISABLE): Likewise.
7915 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7916 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
7918 (PSEUDO_END): Likewise.
7919 [IS_IN (libpthread)] (CENABLE): Likewise.
7920 [IS_IN (libpthread)] (CDISABLE): Likewise.
7921 [IS_IN (libc)] (CENABLE): Likewise.
7922 [IS_IN (libc)] (CENABLE): Likewise.
7923 [IS_IN (librt)] (CDISABLE): Likewise.
7924 [IS_IN (librt)] (CDISABLE): Likewise.
7925 (SINGLE_THREAD_P): Likewise.
7926 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
7928 (PSEUDO_END): Likewise.
7929 [IS_IN (libpthread)] (CENABLE): Likewise.
7930 [IS_IN (libpthread)] (CDISABLE): Likewise.
7931 [IS_IN (libc)] (CENABLE): Likewise.
7932 [IS_IN (libc)] (CENABLE): Likewise.
7933 [IS_IN (librt)] (CDISABLE): Likewise.
7934 [IS_IN (librt)] (CDISABLE): Likewise.
7935 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7936 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
7938 (PSEUDO_END): Likewise.
7939 [IS_IN (libpthread)] (CENABLE): Likewise.
7940 [IS_IN (libpthread)] (CDISABLE): Likewise.
7941 [IS_IN (libc)] (CENABLE): Likewise.
7942 [IS_IN (libc)] (CENABLE): Likewise.
7943 [IS_IN (librt)] (CDISABLE): Likewise.
7944 [IS_IN (librt)] (CDISABLE): Likewise.
7945 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7946 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
7947 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7948 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
7949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
7951 (PSEUDO_END): Likewise.
7952 [IS_IN (libpthread)] (CENABLE): Likewise.
7953 [IS_IN (libpthread)] (CDISABLE): Likewise.
7954 [IS_IN (libc)] (CENABLE): Likewise.
7955 [IS_IN (libc)] (CENABLE): Likewise.
7956 [IS_IN (librt)] (CDISABLE): Likewise.
7957 [IS_IN (librt)] (CDISABLE): Likewise.
7958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
7961 (PSEUDO_END): Likewise.
7962 [IS_IN (libpthread)] (CENABLE): Likewise.
7963 [IS_IN (libpthread)] (CDISABLE): Likewise.
7964 [IS_IN (libc)] (CENABLE): Likewise.
7965 [IS_IN (libc)] (CENABLE): Likewise.
7966 [IS_IN (librt)] (CDISABLE): Likewise.
7967 [IS_IN (librt)] (CDISABLE): Likewise.
7968 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7969 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
7971 (PSEUDO_END): Likewise.
7972 [IS_IN (libpthread)] (CENABLE): Likewise.
7973 [IS_IN (libpthread)] (CDISABLE): Likewise.
7974 [IS_IN (libc)] (CENABLE): Likewise.
7975 [IS_IN (libc)] (CENABLE): Likewise.
7976 [IS_IN (librt)] (CDISABLE): Likewise.
7977 [IS_IN (librt)] (CDISABLE): Likewise.
7978 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
7980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7981 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
7982 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
7984 (PSEUDO_END): Likewise.
7985 [IS_IN (libpthread)] (CENABLE): Likewise.
7986 [IS_IN (libpthread)] (CDISABLE): Likewise.
7987 [IS_IN (libc)] (CENABLE): Likewise.
7988 [IS_IN (libc)] (CENABLE): Likewise.
7989 [IS_IN (librt)] (CDISABLE): Likewise.
7990 [IS_IN (librt)] (CDISABLE): Likewise.
7991 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7992 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
7994 (PSEUDO_END): Likewise.
7995 [IS_IN (libpthread)] (CENABLE): Likewise.
7996 [IS_IN (libpthread)] (CDISABLE): Likewise.
7997 [IS_IN (libc)] (CENABLE): Likewise.
7998 [IS_IN (libc)] (CENABLE): Likewise.
7999 [IS_IN (librt)] (CDISABLE): Likewise.
8000 [IS_IN (librt)] (CDISABLE): Likewise.
8001 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8003 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8005 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
8007 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8009 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8011 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8014 * string/stratcliff.c (do_test): Declare size, nchars, inner,
8015 middle and outer with size_t instead of int. Repleace %d and
8016 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
8017 "MAX (outer, nchars - 64)" to support unsigned outer and
8018 nchars. Also exit loop when outer == 0.
8020 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8022 * include/fcntl.h (__fcntl_nocancel): Remove definition.
8023 * include/signal.h (__sigsuspend_nocancel): Likewise.
8024 * include/time.h (__nanosleep_nocancel): Likewise.
8025 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
8026 * login/utmp_file.c: Include non cancellable syscall header.
8027 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
8030 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8032 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
8033 .byte sequences with AVX512F instructions.
8034 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
8035 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8036 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
8039 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8042 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
8043 Steve Ellcey <sellcey@cavium.com>
8045 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
8046 Use PTR_REG macro in cmp instruction.
8048 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8050 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
8051 Change the return type of the ifunc resolver to match the return
8052 type of the target function.
8054 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8056 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8057 (preadv64): Likewise.
8058 (pwrite64(: Likewise.
8059 (pwritev64): Likewise.
8061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8062 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
8063 (LOAD_ARGS_0): Likewise.
8064 (LOAD_ARGS_1): Likewise.
8065 (LOAD_ARGS_2): Likewise.
8066 (LOAD_ARGS_3): Likewise.
8067 (LOAD_ARGS_4): Likewise.
8068 (LOAD_ARGS_5): Likewise.
8069 (LOAD_ARGS_6): Likewise.
8070 (LOAD_REGS_0): Likewise.
8071 (LOAD_REGS_1): Likewise.
8072 (LOAD_REGS_2): Likewise.
8073 (LOAD_REGS_3): Likewise.
8074 (LOAD_REGS_4): Likewise.
8075 (LOAD_REGS_5): Likewise.
8076 (LOAD_REGS_6): Likewise.
8077 (ASM_ARGS_0): Likewise.
8078 (ASM_ARGS_1): Likewise.
8079 (ASM_ARGS_2): Likewise.
8080 (ASM_ARGS_3): Likewise.
8081 (ASM_ARGS_4): Likewise.
8082 (ASM_ARGS_5): Likewise.
8083 (ASM_ARGS_6): Likewise.
8084 (LOAD_ARGS_TYPES_1): Likewise.
8085 (LOAD_ARGS_TYPES_2): Likewise.
8086 (LOAD_ARGS_TYPES_3): Likewise.
8087 (LOAD_ARGS_TYPES_4): Likewise.
8088 (LOAD_ARGS_TYPES_5): Likewise.
8089 (LOAD_ARGS_TYPES_6): Likewise.
8090 (LOAD_REGS_TYPES_1): Likewise.
8091 (LOAD_REGS_TYPES_2): Likewise.
8092 (LOAD_REGS_TYPES_3): Likewise.
8093 (LOAD_REGS_TYPES_4): Likewise.
8094 (LOAD_REGS_TYPES_5): Likewise.
8095 (LOAD_REGS_TYPES_6): Likewise.
8096 (TYPEFY): New define.
8098 (internal_syscall0): Likewise.
8099 (internal_syscall1): Likewise.
8100 (internal_syscall2): Likewise.
8101 (internal_syscall3): Likewise.
8102 (internal_syscall4): Likewise.
8103 (internal_syscall5): Likewise.
8104 (internal_syscall6): Likewise.
8105 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
8106 (INTERNAL_SYSCALL_NCS): Remove define.
8107 (internal_syscall1): Add define.
8109 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8111 * math/w_remainder_compat.c: Remove duplicate inclusion of
8113 * math/w_remainderf_compat.c: Likewise.
8114 * math/w_remainderl_compat.c: Likewise.
8116 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8120 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8123 * math/tgmath.h (__floating_type): Simplify definitions.
8124 (__real_integer_type): New macro.
8125 (__complex_integer_type): Likewise.
8126 (__expr_is_real): Likewise.
8127 (__tgmath_real_type_sub): Update comment to describe handling of
8129 (__tgmath_complex_type_sub): New macro.
8130 (__tgmath_complex_type): Likewise.
8131 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8132 (__TGMATH_CF128): Use __expr_is_real.
8133 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
8135 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8136 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
8137 * math/gen-tgmath-tests.py (Type.create_type): Create complex
8140 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8142 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
8144 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
8146 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
8149 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
8150 nanosleep_not_cancel with __nanosleep_nocancel.
8151 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
8152 (__nanosleep_nocancel): New macro.
8153 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
8155 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
8157 (__nanosleep_nocancel): New prototype.
8159 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
8160 pause_not_cancel with __pause_nocancel.
8161 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
8162 (__pause_nocancel): New macro.
8163 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
8165 (__pause_nocancel): New prototype.
8166 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
8168 2017-08-22 Martin Sebor <msebor@redhat.com>
8170 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
8171 to return a pointer to the same type as the target function.
8173 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8177 * include/printf.h (__printf_fphex): Add attribute_hidden.
8178 (__guess_grouping): New prototype.
8179 * stdio-common/printf_fp.c (__guess_grouping): Removed.
8180 * stdio-common/reg-printf.c (__register_printf_specifier): Add
8181 libc_hidden_proto and libc_hidden_def.
8182 * stdlib/strfmon_l.c (__guess_grouping): Removed.
8183 (__vstrfmon_l): Remove the third argument passed to
8186 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8188 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
8189 definition for issignaling that does not rely on __MATH_TG,
8190 since __MATH_TG uses __builtin_types_compatible_p, which is only
8191 available in C mode.
8192 (CFLAGS-test-math-issignaling.cc): New variable.
8193 * math/Makefile [CXX] (tests): Add test-math-issignaling.
8194 * math/test-math-issignaling.cc: New test for C++ implementation
8195 of type-generic issignaling.
8196 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8197 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
8198 options of test-math-issignaling on powerpc64le.
8200 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8202 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8204 (hidden_proto): Likewise.
8205 (hidden_tls_proto): Likewise.
8206 (__hidden_proto): Likewise.
8208 2017-08-22 Florian Weimer <fweimer@redhat.com>
8210 math: Statically link tests of internal functionality.
8211 * math/Makefile (tests): Remove atest-exp, atest-sincos,
8213 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
8214 (gmp-objs): Remove assignment.
8215 (atest-exp, atest-sincos, atest-exp2): Remove targets.
8217 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8220 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
8222 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
8224 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
8227 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
8228 variable definitions above inclusion of ../Rules.
8230 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8232 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
8233 case calling __builtin_unreachable.
8235 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8237 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
8239 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
8240 (__waitpid_nocancel): New macro.
8241 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
8243 (__waitpid_nocancel): Replace macro with a function.
8244 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
8247 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
8249 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
8250 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
8252 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
8253 __writev_nocancel_nostatus.
8254 (write_call_graph): Likewise.
8255 (write_bb_counts): Likewise.
8256 * resolv/herror.c (herror): Likewise.
8257 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
8259 (__writev_nocancel_nostatus): New macro.
8260 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
8262 (__writev_nocancel_nostatus): New function.
8264 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8267 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8269 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8271 (hidden_proto): Likewise.
8272 (hidden_tls_proto): Likewise.
8273 (__hidden_proto): Likewise.
8276 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
8277 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
8287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8288 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8289 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8290 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8291 GLIBC_2.0 sqrtl symbol.
8293 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
8294 [__USE_MISC] (_LIB_VERSION): Likewise.
8295 [__USE_MISC] (struct exception): Likewise.
8296 [__USE_MISC] (matherr): Likewise.
8297 [__USE_MISC] (DOMAIN): Likewise.
8298 [__USE_MISC] (SING): Likewise.
8299 [__USE_MISC] (OVERFLOW): Likewise.
8300 [__USE_MISC] (UNDERFLOW): Likewise.
8301 [__USE_MISC] (TLOSS): Likewise.
8302 [__USE_MISC] (PLOSS): Likewise.
8303 [__USE_MISC] (HUGE): Likewise.
8304 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
8305 * math/math-svid-compat.h: New file.
8306 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
8308 * include/math.h [!_ISOMAC] (__matherr): Remove.
8309 * manual/arith.texi (FP Exceptions): Do not document matherr.
8310 * math/Makefile (tests): Change test-matherr to test-matherr-3.
8311 (tests-internal): New variable.
8312 (install-lib): Do not add libieee.a.
8313 (non-lib.a): Likewise.
8314 (extra-objs): Do not add libieee.a and ieee-math.o.
8315 (CPPFLAGS-s_lib_version.c): Remove variable.
8316 ($(objpfx)libieee.a): Remove rule.
8317 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
8318 * math/ieee-math.c: Remove.
8319 * math/libm-test-support.c (matherr): Remove.
8320 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
8321 and license notices. Include <math-svid-compat.h> and
8323 (matherr): Undefine as macro. Use compat_symbol_reference.
8324 (_LIB_VERSION): Likewise.
8325 * math/test-matherr-2.c: New file.
8326 * math/test-matherr-3.c: Likewise.
8327 * sysdeps/generic/math_private.h (__kernel_standard): Remove
8329 (__kernel_standard_f): Likewise.
8330 (__kernel_standard_l): Likewise.
8331 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
8332 <math_private.h>. Include <math-svid-compat.h>.
8333 (_LIB_VERSION): Undefine as macro.
8334 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
8335 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
8336 [LIBM_SVID_COMPAT], use compat_symbol.
8337 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
8338 <math_private.h>. Include <math-svid-compat.h>.
8339 (matherr): Undefine as macro.
8340 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
8342 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
8343 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
8344 compat_symbol_reference.
8345 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
8346 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
8347 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
8348 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
8349 (MATHERR_D): Remove declaration.
8350 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
8351 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
8352 [LIBM_BUILD] (pmatherrf): Likewise.
8353 [LIBM_BUILD] (pmatherr): Likewise.
8354 [LIBM_BUILD] (pmatherrl): Likewise.
8357 (OVERFLOW): Likewise.
8358 (UNDERFLOW): Likewise.
8361 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
8362 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
8364 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
8365 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
8367 * math/lgamma-compat.h: Include <math-svid-compat.h>.
8368 * math/w_acos_compat.c: Likewise.
8369 * math/w_acosf_compat.c: Likewise.
8370 * math/w_acosh_compat.c: Likewise.
8371 * math/w_acoshf_compat.c: Likewise.
8372 * math/w_acoshl_compat.c: Likewise.
8373 * math/w_acosl_compat.c: Likewise.
8374 * math/w_asin_compat.c: Likewise.
8375 * math/w_asinf_compat.c: Likewise.
8376 * math/w_asinl_compat.c: Likewise.
8377 * math/w_atan2_compat.c: Likewise.
8378 * math/w_atan2f_compat.c: Likewise.
8379 * math/w_atan2l_compat.c: Likewise.
8380 * math/w_atanh_compat.c: Likewise.
8381 * math/w_atanhf_compat.c: Likewise.
8382 * math/w_atanhl_compat.c: Likewise.
8383 * math/w_cosh_compat.c: Likewise.
8384 * math/w_coshf_compat.c: Likewise.
8385 * math/w_coshl_compat.c: Likewise.
8386 * math/w_exp10_compat.c: Likewise.
8387 * math/w_exp10f_compat.c: Likewise.
8388 * math/w_exp10l_compat.c: Likewise.
8389 * math/w_exp2_compat.c: Likewise.
8390 * math/w_exp2f_compat.c: Likewise.
8391 * math/w_exp2l_compat.c: Likewise.
8392 * math/w_fmod_compat.c: Likewise.
8393 * math/w_fmodf_compat.c: Likewise.
8394 * math/w_fmodl_compat.c: Likewise.
8395 * math/w_hypot_compat.c: Likewise.
8396 * math/w_hypotf_compat.c: Likewise.
8397 * math/w_hypotl_compat.c: Likewise.
8398 * math/w_j0_compat.c: Likewise.
8399 * math/w_j0f_compat.c: Likewise.
8400 * math/w_j0l_compat.c: Likewise.
8401 * math/w_j1_compat.c: Likewise.
8402 * math/w_j1f_compat.c: Likewise.
8403 * math/w_j1l_compat.c: Likewise.
8404 * math/w_jn_compat.c: Likewise.
8405 * math/w_jnf_compat.c: Likewise.
8406 * math/w_jnl_compat.c: Likewise.
8407 * math/w_lgamma_main.c: Likewise.
8408 * math/w_lgamma_r_compat.c: Likewise.
8409 * math/w_lgammaf_main.c: Likewise.
8410 * math/w_lgammaf_r_compat.c: Likewise.
8411 * math/w_lgammal_main.c: Likewise.
8412 * math/w_lgammal_r_compat.c: Likewise.
8413 * math/w_log10_compat.c: Likewise.
8414 * math/w_log10f_compat.c: Likewise.
8415 * math/w_log10l_compat.c: Likewise.
8416 * math/w_log2_compat.c: Likewise.
8417 * math/w_log2f_compat.c: Likewise.
8418 * math/w_log2l_compat.c: Likewise.
8419 * math/w_log_compat.c: Likewise.
8420 * math/w_logf_compat.c: Likewise.
8421 * math/w_logl_compat.c: Likewise.
8422 * math/w_pow_compat.c: Likewise.
8423 * math/w_powf_compat.c: Likewise.
8424 * math/w_powl_compat.c: Likewise.
8425 * math/w_remainder_compat.c: Likewise.
8426 * math/w_remainderf_compat.c: Likewise.
8427 * math/w_remainderl_compat.c: Likewise.
8428 * math/w_scalb_compat.c: Likewise.
8429 * math/w_scalbf_compat.c: Likewise.
8430 * math/w_scalbl_compat.c: Likewise.
8431 * math/w_sinh_compat.c: Likewise.
8432 * math/w_sinhf_compat.c: Likewise.
8433 * math/w_sinhl_compat.c: Likewise.
8434 * math/w_sqrt_compat.c: Likewise.
8435 * math/w_sqrtf_compat.c: Likewise.
8436 * math/w_sqrtl_compat.c: Likewise.
8437 * math/w_tgamma_compat.c: Likewise.
8438 * math/w_tgammaf_compat.c: Likewise.
8439 * math/w_tgammal_compat.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8441 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8442 * sysdeps/ieee754/k_standard.c: Likewise.
8443 * sysdeps/ieee754/k_standardf.c: Likewise.
8444 * sysdeps/ieee754/k_standardl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8447 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8448 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8449 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8450 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8451 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8452 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8453 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8460 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8461 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8463 2017-08-21 Florian Weimer <fweimer@redhat.com>
8466 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
8467 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
8468 Move before inclusion of ../Rules.
8470 2017-08-21 Florian Weimer <fweimer@redhat.com>
8473 * assert/assert.h (assert): Use static_cast (bool) for C++.
8474 Use the ternary operator in the warning branch for GNU C.
8475 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
8476 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
8477 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
8478 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
8479 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
8481 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8484 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8485 (__syscall_clock_gettime): Add attribute_hidden.
8486 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
8487 (__start_context): Likewise.
8489 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8491 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8493 (hidden_proto): Likewise.
8494 (hidden_tls_proto): Likewise.
8495 (__hidden_proto): Likewise.
8497 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8499 * include/libc-symbols.h (attribute_hidden): Enable hidden
8500 visibility in libc.a compiled with PIE.
8502 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8505 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
8506 Add attribute_hidden.
8508 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8511 * Makerules (all-nonlib): Add $(others-extras).
8512 * catgets/Makefile (others-extras): New.
8513 * elf/Makefile (others-extras): Likewise.
8514 * nss/Makefile (others-extras): Likewise.
8516 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8519 * csu/libc-start.c (__libc_multiple_libcs): Removed.
8520 * elf/dl-open.c: Include <libc-internal.h>.
8521 (__libc_multiple_libcs): Removed.
8522 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
8524 * include/libc-internal.h (__libc_multiple_libcs): New.
8525 * misc/sbrk.c: Include <libc-internal.h>.
8526 (__libc_multiple_libcs): Removed.
8528 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8531 * grp/initgroups.c (__nss_group_database): Removed.
8532 (__nss_initgroups_database): Likewise.
8533 * nscd/gai.c (__nss_hosts_database): Likewise.
8534 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
8535 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
8536 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
8537 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
8538 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
8539 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
8541 * nss/nsswitch.c (__nss_database_custom): Define only if
8542 USE_NSCD is defined.
8543 (__nss_configure_lookup): Use __nss_database_custom only if
8544 USE_NSCD is defined.
8545 * nss/nsswitch.h (__nss_database_custom): Declare only if
8546 USE_NSCD is defined. Add attribute_hidden.
8547 (__nss_setent): Add attribute_hidden.
8548 (__nss_endent): Likewise.
8549 (__nss_getent_r): Likewise.
8550 (__nss_getent): Likewise.
8551 (DEFINE_DATABASE): Declare __nss_##arg##_database.
8553 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8556 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
8557 libc_hidden_proto and libc_hidden_def.
8559 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8562 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
8563 Add libc_hidden_proto.
8564 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
8565 Add libc_hidden_def.
8567 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8570 * gmon/Makefile (routines): Remove bb_init_func and
8572 (elide-routines.os): Removed.
8573 * gmon/bb_exit_func.c: Likewise.
8574 * gmon/bb_init_func.c: Likewise.
8575 * include/sys/gmon.h (__bb): Likewise.
8576 (__bb_init_func): Likewise.
8577 (__bb_exit_func): Likewise.
8578 * sysdeps/alpha/bb_init_func.S: Likewise.
8580 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8582 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
8583 * include/setjmp.h (____longjmp_chk): Here. Add
8586 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
8589 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
8591 (__strspn_sse2): Likewise.
8593 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8595 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
8596 (close_not_cancel_no_status): Likewise.
8597 (__close_nocancel): New macro.
8598 (__close_nocancel_nostatus): Likewise.
8599 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
8601 (close_not_cancel): Likewise.
8602 (close_not_cancel_no_status): Likewise.
8603 (__close_nocancel): New prototype.
8604 (__close_nocancel_nostatus): New function.
8605 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
8606 * catgets/open_catalog.c (__open_catalog): Replace
8607 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
8608 * gmon/gmon.c (write_gmon): Likewise.
8609 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8610 * intl/loadmsgcat.c (close): Likewise.
8611 * io/ftw.c (open_dir_stream): Likewise.
8612 (ftw_startup): Likewise.
8613 * libio/fileops.c (_IO_file_open): Likewise.
8614 (_IO_file_close_mmap): Likewise.
8615 (_IO_file_close): Likewise.
8616 * libio/iopopen.c (_IO_dup2): Likewise.
8617 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8618 * locale/loadlocale.c (_nl_load_locale): Likewise.
8619 * login/utmp_file.c (pututline_file): Likewise.
8620 (endutent_file): Likewise.
8621 * misc/daemon.c (daemon): Likewise.
8622 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8623 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8624 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8625 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8626 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8627 * nscd/nscd_helper.c (open_socket): Likewise.
8628 (__nscd_open_socket): Likewise.
8629 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8630 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
8631 (__nscd_innetgr): Likewise.
8632 * nss/nss_db/db-open.c (internal_setent): Likewise.
8633 * resolv/res-close.c (__res_iclose): Likewise.
8634 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
8635 * sysdeps/posix/closedir.c (__closedir): Likewise.
8636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
8637 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8638 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8639 (opendir_tail): Likewise.
8640 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8641 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
8642 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8643 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8644 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8645 (gethostid): Likewise.
8646 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8650 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
8651 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8652 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8654 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
8655 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
8656 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8658 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
8659 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8661 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8663 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8664 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8665 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8668 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
8669 (openat_not_cancel_3): Likewise.
8670 (openat64_not_cancel_3): Likewise).
8671 (openat_not_cancel_3): Likewise).
8672 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
8674 (openat_not_cancel_3): Likewise.
8675 (openat64_not_cancel): Likewise.
8676 (openat64_not_cancel_3): Likewise.
8677 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
8678 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
8679 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
8680 __open{64}_nocancel.
8681 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8682 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8683 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8685 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8688 * include/argz.h (__argz_create_sep): New function prototype.
8689 (__argz_append): Likewise.
8690 (__argz_add): Likewise.
8691 (__argz_add_sep): Likewise.
8692 (__argz_delete): Likewise.
8693 (__argz_insert): Likewise.
8694 (__argz_replace): Likewise.
8695 * string/argz.h (__argz_create_sep): Removed.
8696 (__argz_append): Likewise.
8697 (__argz_add): Likewise.
8698 (__argz_add_sep): Likewise.
8699 (__argz_delete): Likewise.
8700 (__argz_insert): Likewise.
8701 (__argz_replace): Likewise.
8703 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8705 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
8706 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
8707 (GNU_PROPERTY_STACK_SIZE): Likewie.
8708 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
8709 (GNU_PROPERTY_LOPROC): Likewise.
8710 (GNU_PROPERTY_HIPROC): Likewise.
8711 (GNU_PROPERTY_LOUSER): Likewise.
8712 (GNU_PROPERTY_HIUSER): Likewise.
8713 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
8714 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
8715 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
8716 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
8717 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
8718 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
8719 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
8720 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
8721 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
8722 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
8723 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
8724 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
8725 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
8726 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
8727 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
8728 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
8729 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
8730 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
8731 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
8732 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
8733 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
8734 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
8735 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
8737 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8739 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
8742 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8745 * math/math.h (isinf): Check if in C or C++ mode before using
8746 __builtin_types_compatible_p, since this is a C mode feature.
8748 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8750 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
8751 (__write_nocancel): New macro.
8752 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
8753 Rewrite as a function prototype.
8754 (write_not_cancel): Remove macro.
8755 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
8756 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
8757 (write_gmon): Likewise.
8758 * libio/fileops.c (_IO_new_file_write): Likewise.
8759 * login/utmp_file.c (pututline_file): Likewise.
8760 (updwtmp_file): Likewise.
8761 * stdio-common/psiginfo.c (psiginfo): Likewise.
8762 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8763 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8764 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8766 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8769 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
8770 (__read_nocancel): New macro.
8771 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8773 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
8775 (__read_nocancel): New prototype.
8776 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
8777 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
8778 with __read_nocancel.
8779 * intl/loadmsgcat.c (read): Likewise.
8780 * libio/fileops.c (_IO_file_read): Likewise.
8781 * locale/loadlocale.c (_nl_load_locale): Likewise.
8782 * login/utmp_file.c (getutent_r_file): Likewise.
8783 (internal_getut_r): Likewise.
8784 (getutline_r_file): Likewise.
8785 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8786 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8787 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8788 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8790 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
8791 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8792 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8794 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8796 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8798 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8800 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8802 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8805 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
8806 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
8809 2017-08-17 DJ Delorie <dj@redhat.com>
8811 * bug17079.c: Update to new test harness.
8812 * test-digits-dots.c: Likewise.
8813 * test-netdb.c: Likewise.
8814 * tst-field.c: Likewise.
8815 * tst-nss-getpwent.c: Likewise.
8816 * tst-nss-static.c: Likewise.
8817 * tst-nss-test1.c: Likewise.
8818 * tst-nss-test2.c: Likewise.
8819 * tst-nss-test3.c: Likewise.
8820 * tst-nss-test4.c: Likewise.
8821 * tst-nss-test5.c: Likewise.
8823 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8825 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
8826 (open_not_cancel_2): Likewise.
8827 (open_nocancel): New macro.
8828 (open64_nocancel): Likewise.
8829 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
8830 (open_not_cancel_2): Likewise.
8831 (__open_nocancel): New prototype.
8832 (__open64_nocancel): Likewise.
8833 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8835 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
8836 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
8837 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
8838 with __open_nocancel.
8839 * csu/check_fds.c (check_one_fd): Likewise.
8840 * gmon/gmon.c (write_gmon): Likewise.
8841 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
8842 * intl/loadmsgcat.c (open): Likewise.
8843 * libio/fileops.c (_IO_file_open): Likewise.
8844 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8845 * locale/loadlocale.c (_nl_load_locale): Likewise.
8846 * login/utmp_file.c (setutent_file): Likewise.
8847 * misc/daemon.c (daemon): Likewise.
8848 * nss/nss_db/db-open.c (internal_setent): Likewise.
8849 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8850 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
8851 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8852 (__opendir): Likewise.
8853 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8854 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8855 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8856 (gethostid): Likewise.
8857 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8861 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
8862 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8863 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8865 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8867 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8869 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8871 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8873 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8875 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8878 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
8880 * benchtests/bench-skeleton.c (main): Add support for
8881 latency benchmarking.
8882 * benchtests/scripts/bench.py: Add support for latency benchmarking.
8884 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
8886 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
8889 2017-08-17 Florian Weimer <fweimer@redhat.com>
8891 * include/sys/socket.h (__opensock): Remove internal_function.
8892 * socket/opensock.c (__opensock): Likewise.
8893 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
8895 2017-08-16 Joseph Myers <joseph@codesourcery.com>
8898 * signal/bits/types/__sigval_t.h: New file.
8899 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
8900 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
8901 and define sigval_t using __sigval_t.
8902 * include/bits/types/__sigval_t.h: New file.
8903 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
8904 instead of <bits/types/__sigval_t.h>.
8905 (struct sigevent): Use __sigval_t instead of sigval_t.
8906 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
8907 instead of <bits/types/__sigval_t.h>.
8908 (siginfo_t): Use __sigval_t instead of sigval_t.
8909 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
8910 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8911 (struct sigevent): Use __sigval_t instead of sigval_t.
8912 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
8913 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8914 (siginfo_t): Use __sigval_t instead of sigval_t.
8915 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
8917 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8919 * NEWS: Remove "[Add new features here]" for 2.27.
8921 2017-08-16 Joseph Myers <joseph@codesourcery.com>
8923 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
8926 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8928 * NEWS: Mention x86-64 FMA optimization.
8930 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8933 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8935 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
8936 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
8937 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
8939 2017-08-16 Andreas Schwab <schwab@suse.de>
8943 * elf/ldd.bash.in: Never run file directly.
8945 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
8948 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
8949 (L(SP_INF_0)): Likewise.
8951 2017-08-15 Florian Weimer <fweimer@redhat.com>
8953 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
8956 2017-08-15 Florian Weimer <fweimer@redhat.com>
8958 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
8959 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
8960 BROKEN_THREAD_SIGNALS code.
8961 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
8962 request_list): Remove caller_pid member used for
8963 BROKEN_THREAD_SIGNALS.
8964 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
8965 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
8966 Remove BROKEN_THREAD_SIGNALS support.
8967 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8968 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
8970 2017-08-15 Florian Weimer <fweimer@redhat.com>
8972 * gmon/Makefile (tests): Add tst-gmon.
8973 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
8975 (tests-special): Add tst-gmon-prof.out.
8976 (tst-gmon.out): Depend on clean-tst-gmon-data.
8977 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
8978 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
8979 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
8981 * aclocal.m4 (GPROF): Set and substitute.
8982 * config.amke.in (GPROF): Set.
8983 * configure: Regenerate.
8985 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
8987 * elf/elf.h A (NT_PPC_TAR): New macro.
8988 (NT_PPC_PPR): Likewise.
8989 (NT_PPC_DSCR): Likewise.
8990 (NT_PPC_EBB): Likewise.
8991 (NT_PPC_PMU): Likewise.
8992 (NT_PPC_TM_CGPR): Likewise.
8993 (NT_PPC_TM_CFPR): Likewise.
8994 (NT_PPC_TM_CVMX): Likewise.
8995 (NT_PPC_TM_CVSX): Likewise.
8996 (NT_PPC_TM_SPR): Likewise.
8997 (NT_PPC_TM_CTAR): Likewise.
8998 (NT_PPC_TM_CPPR): Likewise.
8999 (NT_PPC_TM_CDSCR): Likewise.
9001 2017-08-15 Florian Weimer <fweimer@redhat.com>
9003 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
9004 regparm (2) instead of internal_function.
9005 (_MCOUNT_DECL): Adjust.
9007 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9009 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
9010 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9012 2017-08-14 Joseph Myers <joseph@codesourcery.com>
9014 * conform/data/sys/wait.h-data (si_value): Do not expect for
9017 2017-08-14 Florian Weimer <fweimer@redhat.com>
9020 NSS: Create stubs for accidentally exported lookup functions.
9021 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
9023 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
9024 (ether_hostton): Call __nss_ethers_lookup2 instead.
9025 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
9026 (ether_ntohost): Call __nss_ethers_lookup2 instead.
9027 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
9028 (setup): Call __nss_netgroup_lookup2 instead.
9029 * nss/Makefile (routines): Add compat-lookup.
9030 * nss/Versions (GLIBC_2.27): Add symbol version.
9031 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
9032 (DB_COMPAT_FCT): Remove.
9033 * nss/compat-lookup.c: New file.
9034 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
9036 * nss/service-lookup.c (NO_COMPAT): Remove definition.
9037 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
9038 (netname2user): Call __nss_publickey_lookup2 instead.
9039 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
9040 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
9043 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9044 Sergei Trofimovich <slyfox@inbox.ru>
9047 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
9048 Rename to MMAP2_PAGE_UNIT.
9049 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
9050 __OFF_T_MATCHES_OFF64_T is not defined.
9051 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
9053 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
9054 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
9056 2017-08-14 Florian Weimer <fweimer@redhat.com>
9058 i386: Do not set internal_function.
9059 * config.h.in (USE_REGPARMS, internal_function): Remove.
9060 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
9061 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
9063 2017-08-14 Florian Weimer <fweimer@redhat.com>
9065 * elf/dl-init.c (_dl_init): Remove internal_function.
9066 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
9067 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
9069 2017-08-14 Florian Weimer <fweimer@redhat.com>
9071 * elf/rtld.c (_dl_start): Remove internal_function.
9072 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
9075 2017-08-14 Florian Weimer <fweimer@redhat.com>
9077 * elf/dl-fini.c (_dl_fini): Remove internal_function
9078 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9080 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
9082 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
9083 (bit_cpu_SHSTK): Likewise.
9084 (index_cpu_IBT): Likewise.
9085 (index_cpu_SHSTK): Likewise.
9086 (reg_IBT): Likewise.
9087 (reg_SHSTK): Likewise.
9088 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9089 Handle index_cpu_IBT and index_cpu_SHSTK.
9091 2017-08-14 Mike FABIAN <mfabian@redhat.com>
9094 * po/fr.po: Fix spelling mistake.
9096 2017-08-13 Florian Weimer <fweimer@redhat.com>
9098 * elf/dl-addr.c (_dl_addr): Remove internal_function.
9099 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
9100 (_dl_catch_error, _dl_receive_error): Likewise.
9101 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
9102 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
9103 (_dl_deallocate_tls): Likewise.
9104 * include/dlfcn.h (_dl_addr): Likewise.
9105 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
9106 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
9107 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
9110 2017-08-13 Florian Weimer <fweimer@redhat.com>
9112 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
9113 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
9115 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
9117 2017-08-13 Florian Weimer <fweimer@redhat.com>
9119 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
9121 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
9122 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
9123 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
9124 internal_function from _dl_make_stack_executable_hook member.
9125 (_dl_make_stack_executable): Remove internal_function.
9126 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
9128 * sysdeps/unix/sysv/linux/dl-execstack.c
9129 (_dl_make_stack_executable): Likewise.
9131 2017-08-13 Florian Weimer <fweimer@redhat.com>
9133 * sysdeps/unix/sysv/linux/netlinkaccess.h
9134 (__netlink_assert_response): Remove internal_function.
9135 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9136 (__netlink_assert_response): Likewise.
9138 2017-08-13 Florian Weimer <fweimer@redhat.com>
9140 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
9142 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
9144 2017-08-13 Florian Weimer <fweimer@redhat.com>
9146 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
9148 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
9149 * inet/netgroup.h (__internal_setnetgrent)
9150 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9151 * inet/getnetgrent_r.c (__internal_setnetgrent)
9152 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9153 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
9154 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
9155 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
9156 * nss/nsswitch.h (db_lookup_function): Likewise.
9158 2017-08-13 Florian Weimer <fweimer@redhat.com>
9160 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
9161 Remove internal_function.
9162 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
9163 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
9164 message argument on the stack.
9165 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
9168 2017-08-12 Mike FABIAN <mfabian@redhat.com>
9170 Adapt test case data to the changes in the thousands
9174 * localedata/tst-langinfo.sh: Adapt test case data.
9175 * stdlib/tst-strfmon_l.c: Likewise.
9176 * stdlib/tst-strtod4.c: Likewise.
9177 * stdlib/tst-strtod5i.c: Likewise.
9179 2017-08-11 Florian Weimer <fweimer@redhat.com>
9182 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
9183 Suppress pedantic warning resulting from statement expression.
9184 (__ASSERT_FUNCTION): Add missing __extension__.
9186 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9188 * benchtests/bench-memmove-large.c: Print output in JSON
9190 * benchtests/bench-memmove.c: Likewise.
9192 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
9193 * benchtests/bench-memchr.c (do_one_test): Likewise.
9194 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
9195 * benchtests/bench-memcpy.c (do_one_test): Likewise.
9196 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
9197 * benchtests/bench-memmove.c (do_one_test): Likewise.
9198 * benchtests/bench-memset-large.c (do_one_test): Likewise.
9199 * benchtests/bench-memset.c (do_one_test): Likewise.
9200 * benchtests/bench-string.h (test_init): Remove memsets.
9202 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9205 (Computing the Width of an Integer Data Type): Rename section to
9206 "Width of an Integer Type". Remove inaccurate statement regarding
9207 lack of C language facilities for determining width of integer
9208 types, and reorder content to improve flow and context of
9211 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9213 * lang.texi (va_copy): Change standard from ISO to C99.
9214 (__va_copy): Add standard and header annotation.
9215 Update description for clarity of origins and current use.
9217 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9220 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
9221 xssqrtqp requires operands to be in Vector Registers
9222 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
9223 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
9224 (__ieee754_sqrtf128): Likewise.
9226 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9228 * sysdeps/aarch64/memcmp.S (memcmp):
9229 Rewrite of optimized memcmp.
9231 2017-08-10 Florian Weimer <fweimer@redhat.com>
9233 Introduce ld.so exceptions.
9234 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
9235 (_dl_exception_create, _dl_exception_create_format)
9236 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
9237 (_dl_catch_exception): Declare.
9238 (_dl_catch_error): Update comment.
9239 * elf/dl-error-skeleton.c (struct catch): Replace objname,
9240 errstring, malloced members with exception member.
9241 (_dl_out_of_memory): Remove.
9242 (fatal_error): New function, extracted from _dl_signal_error.
9243 (_dl_signal_exception, _dl_signal_cexception): New functions.
9244 (_dl_signal_error): Call _dl_exception_create to allocate an
9246 (_dl_catch_exception): New function, based on _dl_catch_error.
9247 (_dl_catch_error): Implement using _dl_catch_exception.
9248 * elf/dl-exception.c: New file.
9249 * elf/Makefile (dl-routines): Add dl-exception.
9250 (elide-routines.os): Likewise.
9251 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
9252 _dl_exception_create_format, _dl_exception_free.
9253 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
9254 _dl_signal_exception.
9255 * elf/dl-lookup.c (make_string): Remove.
9256 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
9257 _dl_signal_cexception, _dl_exception_free.
9258 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
9259 _dl_signal_exception.
9260 * elf/dl-sym.c (do_sym): Likewise.
9261 * elf/dl-version.c (make_string): Remove.
9262 (match_symbol): Use _dl_exception_create_format,
9263 _dl_signal_cexception, _dl_exception_free.
9264 (_dl_check_map_versions): Likewise.
9265 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
9266 _dl_catch_exception.
9267 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9268 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9269 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9270 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9271 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9272 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9273 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9274 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9276 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9283 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9284 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9287 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9289 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9291 2017-08-10 Florian Weimer <fweimer@redhat.com>
9293 * inet/net-internal.h (__inet6_scopeid_pton): Remove
9294 attribute_hidden, internal_function.
9295 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
9298 2017-08-10 Florian Weimer <fweimer@redhat.com>
9300 * malloc/malloc.c (get_max_fast): Reimplement as an inline
9301 function which calls __builtin_unreachable.
9303 2017-08-10 Mike FABIAN <mfabian@redhat.com>
9305 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
9306 Indian monetary formatting
9307 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
9310 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
9312 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
9313 Fix typo in comment.
9316 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
9317 PTRACE_SEIZE_DEVEL): Remove.
9318 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
9319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9324 2017-08-09 Joseph Myers <joseph@codesourcery.com>
9326 * posix/bits/types.h (__qaddr_t): Remove.
9329 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
9330 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9332 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
9333 (ucontext_t): Use __ctx with uc_flags.
9334 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
9336 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9338 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
9339 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9341 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
9342 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9344 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
9346 (ucontext_t): Use __ctx with uc_flags.
9347 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
9348 (ucontext_t): Use __ctx with uc_flags.
9349 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
9350 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
9351 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
9352 (ucontext_t): Use __ctx with uc_flags.
9353 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
9354 undefine further down.
9355 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9357 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
9358 undefine further down.
9359 (ucontext_t): Use __ctx with uc_flags.
9360 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
9361 undefine further down.
9362 (ucontext_t): Use __ctx with uc_flags.
9363 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
9364 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
9365 Rename uc_pad to __glibc_reserved1.
9366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
9367 undefine further down.
9368 (ucontext_t): Use __ctx with uc_flags.
9369 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
9371 (ucontext_t): Use __ctx with uc_flags.
9372 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
9373 __ctx with uc_flags.
9374 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
9375 (ucontext_t): Use __ctx with uc_flags.
9376 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
9377 __ctx with uc_flags.
9379 2017-08-09 Florian Weimer <fweimer@redhat.com>
9382 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
9383 before early return.
9385 2017-08-09 Andreas Schwab <schwab@suse.de>
9388 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
9392 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
9393 tst-compat-forwarder.
9394 (modules-names): Add tst-compat-forwarder-mod.
9395 ($(objpfx)tst-compat-forwarder): Depend on
9396 $(objpfx)tst-compat-forwarder-mod.so.
9397 * nptl/tst-compat-forwarder.c: New file.
9398 * nptl/tst-compat-forwarder-mod.c: New file.
9400 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
9402 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
9405 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
9406 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9408 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
9410 (__libc_ifunc_impl_list): Add __memcpy_falkor.
9411 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
9412 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
9413 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
9415 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
9418 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9421 * manual/setjmp.texi (getcontex): Document uc_stack value
9422 compatibility differences.
9424 2017-08-08 Joseph Myers <joseph@codesourcery.com>
9426 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
9427 (old_malloc_hook): Likewise.
9428 (old_memalign_hook): Likewise.
9429 (old_realloc_hook): Likewise.
9430 (struct hdr): Likewise.
9432 (freehook): Likewise.
9433 (mallochook): Likewise.
9434 (memalignhook): Likewise.
9435 (reallochook): Likewise.
9437 * malloc/mtrace.c (mallwatch): Likewise.
9438 (tr_old_free_hook): Likewise.
9439 (tr_old_malloc_hook): Likewise.
9440 (tr_old_realloc_hook): Likewise.
9441 (tr_old_memalign_hook): Likewise.
9442 (tr_where): Likewise.
9443 (lock_and_info): Likewise.
9444 (tr_freehook): Likewise.
9445 (tr_mallochook): Likewise.
9446 (tr_reallochook): Likewise.
9447 (tr_memalignhook): Likewise.
9448 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
9449 * misc/mmap.c (__mmap): Likewise.
9450 * misc/mmap64.c (__mmap64): Likewise.
9451 * misc/mprotect.c (__mprotect): Likewise.
9452 * misc/msync.c (msync): Likewise.
9453 * misc/munmap.c (__munmap): Likewise.
9454 * posix/posix_madvise.c (posix_madvise): Likewise.
9455 * socket/send.c (__send): Likewise.
9456 * socket/sendto.c (__sendto): Likewise.
9457 * socket/setsockopt.c (__setsockopt): Likewise.
9458 * string/memcmp.c (__ptr_t): Remove macro.
9459 (MEMCMP): Use void * instead of ptr_t.
9460 * string/memrchr.c (__ptr_t): Remove macro.
9461 (__memrchr): Use void * instead of ptr_t.
9462 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
9463 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
9464 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
9465 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
9466 * sysdeps/mach/msync.c (msync): Likewise.
9467 * sysdeps/mach/munmap.c (__munmap): Likewise.
9468 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
9470 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9471 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
9472 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
9473 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
9474 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9475 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9476 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
9477 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
9479 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9480 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
9481 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
9482 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
9483 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
9484 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
9485 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
9486 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
9487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
9489 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
9490 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
9491 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
9492 (MEMCMP): Use void * instead of ptr_t.
9493 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
9494 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
9496 2017-08-08 Florian Weimer <fweimer@redhat.com>
9498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
9501 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
9504 * csu/libc-tls.c: Include <startup.h> first.
9505 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
9506 * elf/dl-tunables.c: Include <startup.h> first.
9507 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
9508 * sysdeps/generic/startup.h: New file.
9509 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
9510 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
9511 (I386_USE_SYSENTER): New. Defined to 0.
9513 2017-08-08 Andreas Schwab <schwab@suse.de>
9516 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
9517 * nptl/pt-system.c (system): Likewise.
9519 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9522 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
9524 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
9525 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
9526 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
9527 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
9528 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9529 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9530 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9532 2017-08-07 Joseph Myers <joseph@codesourcery.com>
9535 * bits/sigaction.h (struct sigaction): Define sa_handler and
9536 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
9537 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9538 [__USE_XOPEN_EXTENDED].
9539 (SA_RESTART): Likewise.
9540 (SA_NODEFER): Likewise.
9541 (SA_RESETHAND): Likewise.
9542 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
9543 (struct sigaction): Define sa_handler and sa_sigaction using union
9544 also for [__USE_XOPEN_EXTENDED].
9545 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9546 [__USE_XOPEN_EXTENDED].
9547 (SA_RESTART): Likewise.
9548 (SA_NODEFER): Likewise.
9549 (SA_RESETHAND): Likewise.
9550 * sysdeps/unix/sysv/linux/bits/sigaction.h
9551 (struct sigaction): Define sa_handler and sa_sigaction using union
9552 also for [__USE_XOPEN_EXTENDED].
9553 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9554 [__USE_XOPEN_EXTENDED].
9555 (SA_RESTART): Likewise.
9556 (SA_NODEFER): Likewise.
9557 (SA_RESETHAND): Likewise.
9558 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
9559 (struct sigaction): Define sa_handler and sa_sigaction using union
9560 also for [__USE_XOPEN_EXTENDED].
9561 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9562 [__USE_XOPEN_EXTENDED].
9563 (SA_RESTART): Likewise.
9564 (SA_NODEFER): Likewise.
9565 (SA_RESETHAND): Likewise.
9566 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
9567 (struct sigaction): Define sa_handler and sa_sigaction using union
9568 also for [__USE_XOPEN_EXTENDED].
9569 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9570 [__USE_XOPEN_EXTENDED].
9571 (SA_RESTART): Likewise.
9572 (SA_NODEFER): Likewise.
9573 (SA_RESETHAND): Likewise.
9574 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9575 (struct sigaction): Define sa_handler and sa_sigaction using union
9576 also for [__USE_XOPEN_EXTENDED].
9577 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9578 [__USE_XOPEN_EXTENDED].
9579 (SA_RESTART): Likewise.
9580 (SA_NODEFER): Likewise.
9581 (SA_RESETHAND): Likewise.
9582 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9583 (struct sigaction): Define sa_handler and sa_sigaction using union
9584 also for [__USE_XOPEN_EXTENDED].
9585 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9586 [__USE_XOPEN_EXTENDED].
9587 (SA_RESTART): Likewise.
9588 (SA_NODEFER): Likewise.
9589 (SA_RESETHAND): Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9591 (struct sigaction): Define sa_handler and sa_sigaction using union
9592 also for [__USE_XOPEN_EXTENDED].
9593 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9594 [__USE_XOPEN_EXTENDED].
9595 (SA_RESTART): Likewise.
9596 (SA_NODEFER): Likewise. Define directly rather than as alias.
9597 (SA_RESETHAND): Likewise.
9598 (SA_INTERRUPT): Define only for [__USE_MISC].
9599 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
9600 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
9602 (SA_STACK): Define only for [__USE_MISC].
9603 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
9604 (struct sigaction): Define sa_handler and sa_sigaction using union
9605 also for [__USE_XOPEN_EXTENDED].
9606 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9607 [__USE_XOPEN_EXTENDED].
9608 (SA_RESTART): Likewise.
9609 (SA_NODEFER): Likewise.
9610 (SA_RESETHAND): Likewise.
9611 (SA_NOPTRACE): Define only for [__USE_MISC].
9613 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
9614 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
9615 (struct catalog_info): Likewise.
9616 * inet/htontest.c (lo): Likewise.
9618 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9619 * inet/inet_net.c (inet_network): Likewise.
9620 * inet/inet_netof.c (inet_netof): Likewise.
9621 * inet/rcmd.c (__ivaliduser): Likewise.
9622 (iruserok): Likewise.
9623 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
9624 * locale/programs/locale-spec.c (locale_special): Likewise.
9625 * nis/nis_findserv.c (struct findserv_req): Likewise.
9626 (__nis_findfastest_with_timeout): Likewise.
9627 * nss/test-netdb.c (test_network): Likewise.
9628 * resolv/inet_neta.c (inet_neta): Likewise.
9629 * resolv/ns_date.c (ns_datetosecs): Likewise.
9630 (SECS_PER_DAY): Likewise.
9631 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
9633 * resolv/res_comp.c (__putlong): Likewise.
9634 (__putshort): Likewise.
9635 (_getlong): Likewise.
9636 (_getshort): Likewise.
9637 * resolv/res_debug.c (p_time): Likewise.
9638 (precsize_ntoa): Likewise.
9639 (precsize_aton): Likewise.
9640 (latlon2ul): Likewise.
9641 (loc_aton): Likewise.
9642 (loc_ntoa): Likewise.
9643 * resolv/res_hconf.c (struct netaddr): Likewise.
9644 (_res_hconf_reorder_addrs): Likewise.
9645 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9646 (clnttcp_control): Likewise.
9647 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9648 (clntudp_control): Likewise.
9649 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9650 (clntunix_control): Likewise.
9651 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9652 * sunrpc/rpc/auth.h (union des_block): Likewise.
9653 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
9654 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
9655 (xdrrec_create): Likewise.
9656 (xdrrec_endofrecord): Likewise.
9657 (flush_out): Likewise.
9658 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
9659 (xdrstdio_putlong): Likewise.
9660 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
9663 * misc/sys/cdefs.h (__long_double_t): Remove.
9664 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
9665 instead of __long_double_t,
9666 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
9668 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9670 * benchtests/scripts/compare_strings.py: Avoid display error when
9671 running on a text terminal.
9673 * benchtests/scripts/compare_strings.py (main): Add an
9674 optional -base option.
9675 (process_results): New argument base_func.
9677 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
9679 * benchtests/bench-memcpy-large.c (test_name): Likewise.
9680 * benchtests/bench-memcpy-random.c (test_name): Likewise.
9682 2017-08-07 Andreas Schwab <schwab@suse.de>
9684 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
9685 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9686 * intl/Makefile ($(objpfx)tst-gettext.out)
9687 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
9688 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
9689 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9691 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
9692 * posix/Makefile ($(objpfx)globtest.out)
9693 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
9694 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
9695 ($(objpfx)tst-printf.out): Likewise.
9696 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
9697 ($(objpfx)tst-setcontext3.out): Likewise.
9699 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
9701 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9702 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
9703 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
9704 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
9705 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
9707 (CFLAGS-doasin-fma.c): New.
9708 (CFLAGS-dosincos-fma.c): Likewise.
9709 (CFLAGS-e_asin-fma.c): Likewise.
9710 (CFLAGS-e_atan2-fma.c): Likewise.
9711 (CFLAGS-e_exp-fma.c): Likewise.
9712 (CFLAGS-e_log-fma.c): Likewise.
9713 (CFLAGS-e_pow-fma.c): Likewise.
9714 (CFLAGS-halfulp-fma.c): Likewise.
9715 (CFLAGS-mpa-fma.c): Likewise.
9716 (CFLAGS-mpatan-fma.c): Likewise.
9717 (CFLAGS-mpatan2-fma.c): Likewise.
9718 (CFLAGS-mpexp-fma.c): Likewise.
9719 (CFLAGS-mplog-fma.c): Likewise.
9720 (CFLAGS-mpsqrt-fma.c): Likewise.
9721 (CFLAGS-mptan-fma.c): Likewise.
9722 (CFLAGS-s_atan-fma.c): Likewise.
9723 (CFLAGS-sincos32-fma.c): Likewise.
9724 (CFLAGS-slowexp-fma.c): Likewise.
9725 (CFLAGS-slowpow-fma.c): Likewise.
9726 (CFLAGS-s_sin-fma.c): Likewise.
9727 (CFLAGS-s_tan-fma.c): Likewise.
9728 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
9729 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
9730 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
9731 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
9732 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
9733 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
9734 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
9735 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
9736 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
9737 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
9738 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
9739 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
9740 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
9741 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
9742 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
9743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
9744 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
9745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
9746 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
9748 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
9749 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
9750 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
9751 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
9752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9753 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9754 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9755 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9760 2017-08-04 Joseph Myers <joseph@codesourcery.com>
9762 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
9763 (min_of_type_f): New macro.
9764 (min_of_type_): Likewise.
9765 (min_of_type_l): Likewise.
9766 (min_of_type_f128): Likewise.
9767 (min_of_type): Define using __MATH_TG and taking an expression
9769 (math_check_force_underflow): Pass expression instead of type to
9771 (math_check_force_underflow_nonneg): Likewise.
9773 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9775 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
9776 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
9777 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
9779 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9782 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
9783 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
9784 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
9785 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
9786 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
9787 memcpy_chk-nonshared, mempcpy_chk-nonshared,
9788 memmove_chk-nonshared and memset_chk-nonshared
9789 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
9790 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
9791 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
9792 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
9793 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
9794 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
9795 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
9796 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
9797 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
9798 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
9799 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
9800 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
9801 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
9802 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
9803 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
9804 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
9805 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
9806 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
9807 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
9808 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
9809 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
9810 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
9811 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
9812 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
9813 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
9814 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
9815 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
9816 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
9817 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
9818 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
9819 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
9820 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
9821 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
9822 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9823 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9824 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
9825 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
9826 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
9827 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
9828 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
9829 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
9830 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
9831 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
9832 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
9833 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
9834 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
9835 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
9836 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
9837 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
9838 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
9839 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
9840 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
9841 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
9842 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
9843 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
9844 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
9845 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
9846 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
9847 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
9848 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
9849 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
9850 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
9851 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
9852 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
9853 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
9854 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
9855 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
9856 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
9857 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
9858 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
9859 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
9860 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9861 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9862 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9863 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9864 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9865 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9866 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9867 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9868 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9869 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9870 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9871 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9872 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9873 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9874 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9876 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9877 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9878 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9881 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9883 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9884 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9885 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9886 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9888 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9889 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9890 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9891 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9892 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9893 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9894 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9895 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9896 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9898 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9900 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
9901 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
9902 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
9903 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
9904 svml_d_log2_core-sse2, svml_d_log4_core-sse,
9905 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
9906 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
9907 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
9908 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
9909 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
9910 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
9911 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
9912 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
9913 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
9914 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
9915 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
9916 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
9917 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
9918 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
9919 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
9920 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
9921 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
9922 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
9923 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
9924 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
9925 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
9926 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
9927 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
9928 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
9929 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
9930 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
9931 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
9932 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
9933 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
9934 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
9935 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
9936 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
9937 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
9938 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
9939 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
9940 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
9941 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
9942 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
9943 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
9944 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
9945 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
9946 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
9947 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
9948 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
9949 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
9950 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
9951 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
9952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
9953 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
9954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
9955 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
9956 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
9957 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
9958 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
9960 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
9961 Don't include <sysdep.h> nor <init-arch.h>.
9962 (_ZGVbN2v_cos): Removed.
9963 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
9965 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
9966 Don't include <sysdep.h> nor <init-arch.h>.
9967 (_ZGVdN4v_cos): Removed.
9968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
9970 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
9971 Don't include <sysdep.h> nor <init-arch.h>.
9972 (_ZGVeN8v_cos): Removed.
9973 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
9975 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
9976 Don't include <sysdep.h> nor <init-arch.h>.
9977 (_ZGVbN2v_exp): Removed.
9978 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
9980 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
9981 Don't include <sysdep.h> nor <init-arch.h>.
9982 (_ZGVdN4v_exp): Removed.
9983 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
9985 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
9986 Don't include <sysdep.h> nor <init-arch.h>.
9987 (_ZGVeN8v_exp): Removed.
9988 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
9990 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
9991 Don't include <sysdep.h> nor <init-arch.h>.
9992 (_ZGVbN2v_log): Removed.
9993 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
9995 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
9996 Don't include <sysdep.h> nor <init-arch.h>.
9997 (_ZGVdN4v_log): Removed.
9998 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
10000 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
10001 Don't include <sysdep.h> nor <init-arch.h>.
10002 (_ZGVeN8v_log): Removed.
10003 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
10005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
10006 Don't include <sysdep.h> nor <init-arch.h>.
10007 (_ZGVbN2vv_pow): Removed.
10008 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
10010 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
10011 Don't include <sysdep.h> nor <init-arch.h>.
10012 (_ZGVdN4vv_pow): Removed.
10013 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
10015 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
10016 Don't include <sysdep.h> nor <init-arch.h>.
10017 (_ZGVeN8vv_pow): Removed.
10018 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
10020 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
10021 Don't include <sysdep.h> nor <init-arch.h>.
10022 (_ZGVbN2v_sin): Removed.
10023 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
10025 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
10026 Don't include <sysdep.h> nor <init-arch.h>.
10027 (_ZGVbN4v_sin): Removed.
10028 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
10030 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
10031 Don't include <sysdep.h> nor <init-arch.h>.
10032 (_ZGVbN8v_sin): Removed.
10033 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
10035 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
10036 Don't include <sysdep.h> nor <init-arch.h>.
10037 (_ZGVbN2vvv_sincos): Removed.
10038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
10040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
10041 Don't include <sysdep.h> nor <init-arch.h>.
10042 (_ZGVdN4vvv_sincos): Removed.
10043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
10045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
10046 Don't include <sysdep.h> nor <init-arch.h>.
10047 (_ZGVeN8vvv_sincos): Removed.
10048 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
10050 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
10051 Don't include <sysdep.h> nor <init-arch.h>.
10052 (_ZGVeN16v_cosf): Removed.
10053 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
10055 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
10056 Don't include <sysdep.h> nor <init-arch.h>.
10057 (_ZGVbN4v_cosf): Removed.
10058 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
10060 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
10061 Don't include <sysdep.h> nor <init-arch.h>.
10062 (_ZGVdN8v_cosf): Removed.
10063 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
10065 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
10066 Don't include <sysdep.h> nor <init-arch.h>.
10067 (_ZGVeN16v_expf): Removed.
10068 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
10070 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
10071 Don't include <sysdep.h> nor <init-arch.h>.
10072 (_ZGVbN4v_expf): Removed.
10073 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
10075 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
10076 Don't include <sysdep.h> nor <init-arch.h>.
10077 (_ZGVdN8v_expf): Removed.
10078 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
10080 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
10081 Don't include <sysdep.h> nor <init-arch.h>.
10082 (_ZGVeN16v_logf): Removed.
10083 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
10085 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
10086 Don't include <sysdep.h> nor <init-arch.h>.
10087 (_ZGVbN4v_logf): Removed.
10088 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
10090 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
10091 Don't include <sysdep.h> nor <init-arch.h>.
10092 (_ZGVdN8v_logf): Removed.
10093 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
10095 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
10096 Don't include <sysdep.h> nor <init-arch.h>.
10097 (_ZGVeN16vv_powf): Removed.
10098 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
10100 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
10101 Don't include <sysdep.h> nor <init-arch.h>.
10102 (_ZGVbN4vv_powf): Removed.
10103 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
10105 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
10106 Don't include <sysdep.h> nor <init-arch.h>.
10107 (_ZGVdN8vv_powf): Removed.
10108 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
10110 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
10111 Don't include <sysdep.h> nor <init-arch.h>.
10112 (_ZGVeN16vvv_sincosf): Removed.
10113 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
10115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
10116 Don't include <sysdep.h> nor <init-arch.h>.
10117 (_ZGVbN4vvv_sincosf): Removed.
10118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
10120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
10121 Don't include <sysdep.h> nor <init-arch.h>.
10122 (_ZGVdN8vvv_sincosf): Removed.
10123 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
10125 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
10126 Don't include <sysdep.h> nor <init-arch.h>.
10127 (_ZGVeN16v_sinf): Removed.
10128 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
10130 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
10131 Don't include <sysdep.h> nor <init-arch.h>.
10132 (_ZGVbN4v_sinf): Removed.
10133 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
10135 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
10136 Don't include <sysdep.h> nor <init-arch.h>.
10137 (_ZGVdN8v_sinf): Removed.
10139 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10141 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10142 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
10143 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
10144 s_rint-sse4_1 and s_rintf-sse4_1.
10145 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
10146 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10147 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10148 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10149 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
10152 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10153 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10154 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
10155 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
10156 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10158 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
10159 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
10160 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10161 (__ceilf): Removed.
10162 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
10163 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
10164 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10165 (__floor): Removed.
10166 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
10167 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
10168 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10169 (__floorf): Removed.
10170 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
10171 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
10172 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10173 (__nearbyint): Removed.
10174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
10175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
10176 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10177 (__nearbyintf): Removed.
10178 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
10179 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
10180 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10182 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
10183 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
10184 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10185 (__rintf): Removed.
10187 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10189 * sysdeps/i386/start.S (_start): Check Check PIC instead of
10190 SHARED. Avoid dynamic relocation against main in static PIE.
10192 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10195 * elf/Makefile (CFLAGS-tst-prelink.c): New.
10196 (LDFLAGS-tst-prelink): Likewise.
10198 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10200 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
10201 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
10202 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
10203 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10204 (INTERNAL_SYSCALL_NCS): Likewise.
10205 (LOADARGS_1): Likewise.
10206 (LOADARGS_5): Likewise.
10207 (RESTOREARGS_1): Likewise.
10208 (RESTOREARGS_5): Likewise.
10210 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10212 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
10213 (MEMPCPY_SYMBOL): Likewise.
10214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10215 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
10216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
10218 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10219 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10221 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
10222 (__hidden_ver1): Don't use in libc.a.
10223 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10224 (__mempcpy): Don't create a weak alias in libc.a.
10225 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
10227 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
10228 (__hidden_ver1): Don't use in libc.a.
10230 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10232 * config.make.in (have-insert): New.
10233 * configure.ac (libc_cv_insert): New. Set to yes if linker
10234 supports INSERT in linker script.
10235 (AC_SUBST(libc_cv_insert): New.
10236 * configure: Regenerated.
10237 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
10238 if $(have-insert) == yes.
10240 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10242 * elf/Makefile (tests): Add vismain only if
10243 $(have-protected-data) == yes.
10244 (tests-pie): Likewise.
10246 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10249 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10250 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
10252 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10255 * sysdeps/i386/i586/memset.S
10256 (__memset_zero_constant_len_parameter): Removed.
10257 * sysdeps/i386/i686/memset.S
10258 (__memset_zero_constant_len_parameter): Likewise.
10259 * sysdeps/i386/i686/multiarch/memset_chk.S
10260 (__memset_zero_constant_len_parameter): Likewise.
10261 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
10264 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10266 * stdlib/getentropy.c (getentropy): Change return type to int.
10268 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10270 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10272 2017-08-03 Joseph Myers <joseph@codesourcery.com>
10274 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
10276 * math/s_nexttowardf.c (__nexttowardf): Likewise.
10277 * sysdeps/generic/math_private.h (ieee_double_shape_type):
10279 (ieee_float_shape_type): Likewise.
10280 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
10281 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
10282 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10283 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10284 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10285 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
10286 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
10287 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10288 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10290 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10291 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10292 (__ieee754_yn): Likewise.
10293 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10294 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10295 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
10297 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10298 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
10299 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
10300 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
10301 (__erfc): Likewise.
10302 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10303 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
10304 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
10305 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
10306 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
10307 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
10309 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10310 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
10311 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10312 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
10313 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10314 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
10315 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
10316 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
10317 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
10318 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10319 (__issignaling): Likewise.
10320 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
10321 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
10322 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10324 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10325 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10326 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10327 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
10329 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
10331 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
10332 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
10333 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
10334 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10335 (__erfcf): Likewise.
10336 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10337 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10338 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
10339 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
10341 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
10342 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
10344 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10345 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
10346 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10347 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
10348 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
10349 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10350 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
10351 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
10353 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
10355 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10357 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
10358 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10360 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10362 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10363 (__ieee754_ynl): Likewise.
10364 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10365 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
10367 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
10369 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10370 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
10371 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10373 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10374 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
10375 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
10376 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
10377 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
10378 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10379 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
10380 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
10382 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10383 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
10384 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
10386 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
10387 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
10388 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10389 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10390 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
10391 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10393 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10395 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10397 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10399 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
10405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
10407 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10412 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10413 (__ieee754_remainderl): Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10416 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10417 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10422 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10423 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
10424 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10425 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10426 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10427 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10429 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10430 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10431 (__ieee754_y0l): Likewise.
10434 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10435 (__ieee754_y1l): Likewise.
10438 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10439 (__ieee754_ynl): Likewise.
10440 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10441 (__ieee754_lgammal_r): Likewise.
10442 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
10444 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10445 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10447 (__erfcl): Likewise.
10448 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10449 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
10451 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
10453 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10454 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
10456 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10457 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10459 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
10460 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
10462 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
10463 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10465 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
10466 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
10468 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
10469 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
10470 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
10471 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10472 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10474 2017-08-03 Florian Weimer <fweimer@redhat.com>
10477 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
10478 on memory allocation failure.
10480 2017-08-03 Alan Modra <amodra@gmail.com>
10482 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
10483 tst-tlsopt-powerpc.c with function name change and no test harness.
10484 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
10485 Call tls_get_addr_opt_test.
10486 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
10487 (modules-names): Add mod-tlsopt-powerpc.
10488 (mod-tlsopt-powerpc.so-no-z-defs): Define.
10489 (tst-tlsopt-powerpc): Depend on .so.
10490 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
10491 define. Expand use in TLS_GD and TLS_LD.
10493 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10495 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
10497 * sysdeps/posix/shm_open.c: Include <pthread.h>.
10499 2017-08-02 Joseph Myers <joseph@codesourcery.com>
10502 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
10503 comparing size with that of double.
10504 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10505 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10506 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10507 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10508 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10509 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
10510 unsigned __int128 types.
10512 2017-08-02 Steve Ellcey <sellcey@cavium.com>
10514 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
10515 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
10516 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
10517 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
10518 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
10520 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
10524 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10526 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
10528 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10533 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10536 2017-08-02 Joseph Myers <joseph@codesourcery.com>
10539 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
10540 bit-field expressions passed to sizeof or typeof.
10541 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10542 (__TGMATH_F128): Likewise.
10543 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10544 (__TGMATH_CF128): Likewise.
10545 (__TGMATH_UNARY_REAL_ONLY): Likewise.
10546 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
10547 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
10548 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
10549 (__TGMATH_BINARY_REAL_ONLY): Likewise.
10550 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10551 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10552 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10553 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10554 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
10555 (__TGMATH_UNARY_REAL_IMAG): Likewise.
10556 (__TGMATH_UNARY_IMAG): Likewise.
10557 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
10558 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10559 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
10561 (define_vars_for_type): Handle bit_field type specially.
10562 (Tests.__init__): Declare structure with bit-field element.
10564 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10567 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
10568 (MEMCPY_CHK): Define only if SHARED is defined.
10569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
10571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
10574 See ChangeLog.18 for earlier changes.