]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
malloc: Add missing arena lock in malloc_info [BZ #22408]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7a9368a1
FW
12017-11-15 Florian Weimer <fweimer@redhat.com>
2
3 [BZ #22408]
4 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
5 under the per-arena lock.
6 * malloc/Makefile (tests): Add tst-malloc_info.
7 (tst-malloc_info): Link with libpthread.
8 * malloc/tst-malloc_info.c: New file.
9
be3a79a3
JM
102017-11-15 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #21660]
13 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
14 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
15 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
16 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
17 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
18 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
19 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
29 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
30 (__floating_type): Likewise.
31 (__real_integer_type): Likewise.
32 (__complex_integer_type): Likewise.
33 (__expr_is_real): Likewise.
34 (__tgmath_real_type_sub): Likewise.
35 (__tgmath_real_type): Likewise.
36 (__tgmath_complex_type_sub): Likewise.
37 (__tgmath_complex_type): Likewise.
38 (__TGMATH_F128): Likewise.
39 (__TGMATH_CF128): Likewise.
40 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
41 new macros.
42 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
43 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
44 Likewise.
45 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
46 Likewise.
47 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
48 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
49 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
50 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
51 Likewise.
52 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
53 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
54 Likewise.
55 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
56 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
57 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
58 Likewise.
59 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
60 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
61 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
62 (cimag): Likewise.
63 (creal): Likewise.
64
ec72135e
JM
652017-11-14 Joseph Myers <joseph@codesourcery.com>
66
2e64ec9c
JM
67 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
68 for stpncpy calls for GCC 8.
69 (test_strncat): Disable -Wstringop-truncation warning for strncat
70 calls for GCC 8. Disable -Wstringop-overflow= warning for one
71 strncat call for GCC 7.
72 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
73 calls for GCC 8.
74 (test_memcmp): Use memcpy instead of strncpy for calls not copying
75 trailing NUL.
76
ec72135e
JM
77 * string/bug-strncat1.c: Include <libc-diag.h>.
78 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
79
a259f5d3
CP
802017-11-13 Claude Paroz <claude@2xlibre.net>
81
82 [BZ #22387]
83 * localedata/locales/aa_DJ: Improved readibility by replacing
84 <Uxxxx> sequences in the ASCII printable range by their ASCII
85 character equivalents.
86 * localedata/locales/aa_ER: Likewise.
87 * localedata/locales/aa_ER@saaho: Likewise.
88 * localedata/locales/aa_ET: Likewise.
89 * localedata/locales/af_ZA: Likewise.
90 * localedata/locales/agr_PE: Likewise.
91 * localedata/locales/ak_GH: Likewise.
92 * localedata/locales/am_ET: Likewise.
93 * localedata/locales/anp_IN: Likewise.
94 * localedata/locales/ar_AE: Likewise.
95 * localedata/locales/ar_BH: Likewise.
96 * localedata/locales/ar_DZ: Likewise.
97 * localedata/locales/ar_EG: Likewise.
98 * localedata/locales/ar_IN: Likewise.
99 * localedata/locales/ar_IQ: Likewise.
100 * localedata/locales/ar_JO: Likewise.
101 * localedata/locales/ar_KW: Likewise.
102 * localedata/locales/ar_LB: Likewise.
103 * localedata/locales/ar_LY: Likewise.
104 * localedata/locales/ar_MA: Likewise.
105 * localedata/locales/ar_OM: Likewise.
106 * localedata/locales/ar_QA: Likewise.
107 * localedata/locales/ar_SA: Likewise.
108 * localedata/locales/ar_SD: Likewise.
109 * localedata/locales/ar_SS: Likewise.
110 * localedata/locales/ar_SY: Likewise.
111 * localedata/locales/ar_TN: Likewise.
112 * localedata/locales/ar_YE: Likewise.
113 * localedata/locales/as_IN: Likewise.
114 * localedata/locales/ast_ES: Likewise.
115 * localedata/locales/ayc_PE: Likewise.
116 * localedata/locales/az_AZ: Likewise.
117 * localedata/locales/az_IR: Likewise.
118 * localedata/locales/be_BY: Likewise.
119 * localedata/locales/be_BY@latin: Likewise.
120 * localedata/locales/bem_ZM: Likewise.
121 * localedata/locales/ber_DZ: Likewise.
122 * localedata/locales/ber_MA: Likewise.
123 * localedata/locales/bg_BG: Likewise.
124 * localedata/locales/bhb_IN: Likewise.
125 * localedata/locales/bho_IN: Likewise.
126 * localedata/locales/bi_VU: Likewise.
127 * localedata/locales/bn_BD: Likewise.
128 * localedata/locales/bn_IN: Likewise.
129 * localedata/locales/bo_CN: Likewise.
130 * localedata/locales/bo_IN: Likewise.
131 * localedata/locales/br_FR: Likewise.
132 * localedata/locales/brx_IN: Likewise.
133 * localedata/locales/bs_BA: Likewise.
134 * localedata/locales/byn_ER: Likewise.
135 * localedata/locales/ca_AD: Likewise.
136 * localedata/locales/ca_ES: Likewise.
137 * localedata/locales/ca_FR: Likewise.
138 * localedata/locales/ca_IT: Likewise.
139 * localedata/locales/ce_RU: Likewise.
140 * localedata/locales/chr_US: Likewise.
141 * localedata/locales/cmn_TW: Likewise.
142 * localedata/locales/crh_UA: Likewise.
143 * localedata/locales/cs_CZ: Likewise.
144 * localedata/locales/csb_PL: Likewise.
145 * localedata/locales/cv_RU: Likewise.
146 * localedata/locales/cy_GB: Likewise.
147 * localedata/locales/da_DK: Likewise.
148 * localedata/locales/de_AT: Likewise.
149 * localedata/locales/de_BE: Likewise.
150 * localedata/locales/de_CH: Likewise.
151 * localedata/locales/de_DE: Likewise.
152 * localedata/locales/de_IT: Likewise.
153 * localedata/locales/de_LI: Likewise.
154 * localedata/locales/de_LU: Likewise.
155 * localedata/locales/doi_IN: Likewise.
156 * localedata/locales/dv_MV: Likewise.
157 * localedata/locales/dz_BT: Likewise.
158 * localedata/locales/el_CY: Likewise.
159 * localedata/locales/el_GR: Likewise.
160 * localedata/locales/en_AG: Likewise.
161 * localedata/locales/en_AU: Likewise.
162 * localedata/locales/en_BW: Likewise.
163 * localedata/locales/en_CA: Likewise.
164 * localedata/locales/en_DK: Likewise.
165 * localedata/locales/en_GB: Likewise.
166 * localedata/locales/en_HK: Likewise.
167 * localedata/locales/en_IE: Likewise.
168 * localedata/locales/en_IL: Likewise.
169 * localedata/locales/en_IN: Likewise.
170 * localedata/locales/en_NG: Likewise.
171 * localedata/locales/en_NZ: Likewise.
172 * localedata/locales/en_PH: Likewise.
173 * localedata/locales/en_SG: Likewise.
174 * localedata/locales/en_US: Likewise.
175 * localedata/locales/en_ZA: Likewise.
176 * localedata/locales/en_ZM: Likewise.
177 * localedata/locales/en_ZW: Likewise.
178 * localedata/locales/eo: Likewise.
179 * localedata/locales/es_AR: Likewise.
180 * localedata/locales/es_BO: Likewise.
181 * localedata/locales/es_CL: Likewise.
182 * localedata/locales/es_CO: Likewise.
183 * localedata/locales/es_CR: Likewise.
184 * localedata/locales/es_CU: Likewise.
185 * localedata/locales/es_DO: Likewise.
186 * localedata/locales/es_EC: Likewise.
187 * localedata/locales/es_ES: Likewise.
188 * localedata/locales/es_GT: Likewise.
189 * localedata/locales/es_HN: Likewise.
190 * localedata/locales/es_MX: Likewise.
191 * localedata/locales/es_NI: Likewise.
192 * localedata/locales/es_PA: Likewise.
193 * localedata/locales/es_PE: Likewise.
194 * localedata/locales/es_PR: Likewise.
195 * localedata/locales/es_PY: Likewise.
196 * localedata/locales/es_SV: Likewise.
197 * localedata/locales/es_US: Likewise.
198 * localedata/locales/es_UY: Likewise.
199 * localedata/locales/es_VE: Likewise.
200 * localedata/locales/et_EE: Likewise.
201 * localedata/locales/eu_ES: Likewise.
202 * localedata/locales/eu_ES@euro: Likewise.
203 * localedata/locales/fa_IR: Likewise.
204 * localedata/locales/ff_SN: Likewise.
205 * localedata/locales/fi_FI: Likewise.
206 * localedata/locales/fil_PH: Likewise.
207 * localedata/locales/fo_FO: Likewise.
208 * localedata/locales/fr_BE: Likewise.
209 * localedata/locales/fr_CA: Likewise.
210 * localedata/locales/fr_CH: Likewise.
211 * localedata/locales/fr_FR: Likewise.
212 * localedata/locales/fr_LU: Likewise.
213 * localedata/locales/fur_IT: Likewise.
214 * localedata/locales/fy_DE: Likewise.
215 * localedata/locales/fy_NL: Likewise.
216 * localedata/locales/ga_IE: Likewise.
217 * localedata/locales/gd_GB: Likewise.
218 * localedata/locales/gez_ER: Likewise.
219 * localedata/locales/gez_ET: Likewise.
220 * localedata/locales/gl_ES: Likewise.
221 * localedata/locales/gu_IN: Likewise.
222 * localedata/locales/gv_GB: Likewise.
223 * localedata/locales/ha_NG: Likewise.
224 * localedata/locales/hak_TW: Likewise.
225 * localedata/locales/he_IL: Likewise.
226 * localedata/locales/hi_IN: Likewise.
227 * localedata/locales/hif_FJ: Likewise.
228 * localedata/locales/hne_IN: Likewise.
229 * localedata/locales/hr_HR: Likewise.
230 * localedata/locales/hsb_DE: Likewise.
231 * localedata/locales/ht_HT: Likewise.
232 * localedata/locales/hu_HU: Likewise.
233 * localedata/locales/hy_AM: Likewise.
234 * localedata/locales/i18n: Likewise.
235 * localedata/locales/ia_FR: Likewise.
236 * localedata/locales/id_ID: Likewise.
237 * localedata/locales/ig_NG: Likewise.
238 * localedata/locales/ik_CA: Likewise.
239 * localedata/locales/is_IS: Likewise.
240 * localedata/locales/it_CH: Likewise.
241 * localedata/locales/it_IT: Likewise.
242 * localedata/locales/iu_CA: Likewise.
243 * localedata/locales/ja_JP: Likewise.
244 * localedata/locales/ka_GE: Likewise.
245 * localedata/locales/kk_KZ: Likewise.
246 * localedata/locales/kl_GL: Likewise.
247 * localedata/locales/kn_IN: Likewise.
248 * localedata/locales/ko_KR: Likewise.
249 * localedata/locales/kok_IN: Likewise.
250 * localedata/locales/ks_IN: Likewise.
251 * localedata/locales/ks_IN@devanagari: Likewise.
252 * localedata/locales/ku_TR: Likewise.
253 * localedata/locales/kw_GB: Likewise.
254 * localedata/locales/ky_KG: Likewise.
255 * localedata/locales/lb_LU: Likewise.
256 * localedata/locales/lg_UG: Likewise.
257 * localedata/locales/li_BE: Likewise.
258 * localedata/locales/li_NL: Likewise.
259 * localedata/locales/lij_IT: Likewise.
260 * localedata/locales/ln_CD: Likewise.
261 * localedata/locales/lo_LA: Likewise.
262 * localedata/locales/lt_LT: Likewise.
263 * localedata/locales/lv_LV: Likewise.
264 * localedata/locales/lzh_TW: Likewise.
265 * localedata/locales/mag_IN: Likewise.
266 * localedata/locales/mai_IN: Likewise.
267 * localedata/locales/mg_MG: Likewise.
268 * localedata/locales/mhr_RU: Likewise.
269 * localedata/locales/mi_NZ: Likewise.
270 * localedata/locales/mk_MK: Likewise.
271 * localedata/locales/ml_IN: Likewise.
272 * localedata/locales/mn_MN: Likewise.
273 * localedata/locales/mni_IN: Likewise.
274 * localedata/locales/mr_IN: Likewise.
275 * localedata/locales/ms_MY: Likewise.
276 * localedata/locales/mt_MT: Likewise.
277 * localedata/locales/my_MM: Likewise.
278 * localedata/locales/nan_TW: Likewise.
279 * localedata/locales/nan_TW@latin: Likewise.
280 * localedata/locales/nb_NO: Likewise.
281 * localedata/locales/nds_DE: Likewise.
282 * localedata/locales/nds_NL: Likewise.
283 * localedata/locales/ne_NP: Likewise.
284 * localedata/locales/nhn_MX: Likewise.
285 * localedata/locales/niu_NU: Likewise.
286 * localedata/locales/niu_NZ: Likewise.
287 * localedata/locales/nl_AW: Likewise.
288 * localedata/locales/nl_BE: Likewise.
289 * localedata/locales/nl_NL: Likewise.
290 * localedata/locales/nn_NO: Likewise.
291 * localedata/locales/nr_ZA: Likewise.
292 * localedata/locales/nso_ZA: Likewise.
293 * localedata/locales/oc_FR: Likewise.
294 * localedata/locales/om_ET: Likewise.
295 * localedata/locales/om_KE: Likewise.
296 * localedata/locales/or_IN: Likewise.
297 * localedata/locales/os_RU: Likewise.
298 * localedata/locales/pa_IN: Likewise.
299 * localedata/locales/pa_PK: Likewise.
300 * localedata/locales/pap_AW: Likewise.
301 * localedata/locales/pap_CW: Likewise.
302 * localedata/locales/pl_PL: Likewise.
303 * localedata/locales/ps_AF: Likewise.
304 * localedata/locales/pt_BR: Likewise.
305 * localedata/locales/pt_PT: Likewise.
306 * localedata/locales/quz_PE: Likewise.
307 * localedata/locales/raj_IN: Likewise.
308 * localedata/locales/ro_RO: Likewise.
309 * localedata/locales/ru_RU: Likewise.
310 * localedata/locales/ru_UA: Likewise.
311 * localedata/locales/rw_RW: Likewise.
312 * localedata/locales/sa_IN: Likewise.
313 * localedata/locales/sat_IN: Likewise.
314 * localedata/locales/sc_IT: Likewise.
315 * localedata/locales/sd_IN: Likewise.
316 * localedata/locales/sd_IN@devanagari: Likewise.
317 * localedata/locales/se_NO: Likewise.
318 * localedata/locales/sgs_LT: Likewise.
319 * localedata/locales/shs_CA: Likewise.
320 * localedata/locales/si_LK: Likewise.
321 * localedata/locales/sid_ET: Likewise.
322 * localedata/locales/sk_SK: Likewise.
323 * localedata/locales/sl_SI: Likewise.
324 * localedata/locales/sm_WS: Likewise.
325 * localedata/locales/so_DJ: Likewise.
326 * localedata/locales/so_ET: Likewise.
327 * localedata/locales/so_KE: Likewise.
328 * localedata/locales/so_SO: Likewise.
329 * localedata/locales/sq_AL: Likewise.
330 * localedata/locales/sq_MK: Likewise.
331 * localedata/locales/sr_ME: Likewise.
332 * localedata/locales/sr_RS: Likewise.
333 * localedata/locales/sr_RS@latin: Likewise.
334 * localedata/locales/ss_ZA: Likewise.
335 * localedata/locales/st_ZA: Likewise.
336 * localedata/locales/sv_FI: Likewise.
337 * localedata/locales/sv_SE: Likewise.
338 * localedata/locales/sw_KE: Likewise.
339 * localedata/locales/sw_TZ: Likewise.
340 * localedata/locales/szl_PL: Likewise.
341 * localedata/locales/ta_IN: Likewise.
342 * localedata/locales/ta_LK: Likewise.
343 * localedata/locales/tcy_IN: Likewise.
344 * localedata/locales/te_IN: Likewise.
345 * localedata/locales/tg_TJ: Likewise.
346 * localedata/locales/th_TH: Likewise.
347 * localedata/locales/the_NP: Likewise.
348 * localedata/locales/ti_ER: Likewise.
349 * localedata/locales/ti_ET: Likewise.
350 * localedata/locales/tig_ER: Likewise.
351 * localedata/locales/tk_TM: Likewise.
352 * localedata/locales/tl_PH: Likewise.
353 * localedata/locales/tn_ZA: Likewise.
354 * localedata/locales/to_TO: Likewise.
355 * localedata/locales/tpi_PG: Likewise.
356 * localedata/locales/tr_CY: Likewise.
357 * localedata/locales/tr_TR: Likewise.
358 * localedata/locales/ts_ZA: Likewise.
359 * localedata/locales/tt_RU: Likewise.
360 * localedata/locales/tt_RU@iqtelif: Likewise.
361 * localedata/locales/ug_CN: Likewise.
362 * localedata/locales/uk_UA: Likewise.
363 * localedata/locales/unm_US: Likewise.
364 * localedata/locales/ur_IN: Likewise.
365 * localedata/locales/ur_PK: Likewise.
366 * localedata/locales/uz_UZ: Likewise.
367 * localedata/locales/uz_UZ@cyrillic: Likewise.
368 * localedata/locales/ve_ZA: Likewise.
369 * localedata/locales/vi_VN: Likewise.
370 * localedata/locales/wa_BE: Likewise.
371 * localedata/locales/wae_CH: Likewise.
372 * localedata/locales/wal_ET: Likewise.
373 * localedata/locales/wo_SN: Likewise.
374 * localedata/locales/xh_ZA: Likewise.
375 * localedata/locales/yi_US: Likewise.
376 * localedata/locales/yo_NG: Likewise.
377 * localedata/locales/yue_HK: Likewise.
378 * localedata/locales/yuw_PG: Likewise.
379 * localedata/locales/zh_CN: Likewise.
380 * localedata/locales/zh_HK: Likewise.
381 * localedata/locales/zh_SG: Likewise.
382 * localedata/locales/zh_TW: Likewise.
383 * localedata/locales/zu_ZA: Likewise.
384
cae87e64
FW
3852017-11-13 Florian Weimer <fweimer@redhat.com>
386
387 * support/next_to_fault.h, support/next_to_fault.c: New files.
388 * support/Makefile (libsupport-routines): Add next_to_fault.
389 * resolv/tst-inet_pton.c (struct next_to_fault)
390 (next_to_fault_allocate, next_to_fault_free): Remove.
391 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
392
4a306ef1
L
3932017-11-13 H.J. Lu <hongjiu.lu@intel.com>
394
395 * elf/dl-support.c: Include <dl-procruntime.c>.
396 * include/link.h: Include <link_map.h>.
397 * sysdeps/generic/dl-procruntime.c: New file.
398 * sysdeps/generic/link_map.h: Likewise.
399 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
400 the writable ld.so namespace.
401
e69897bf
PE
4022017-11-12 Paul Eggert <eggert@cs.ucla.edu>
403
404 timezone: pacify GCC -Wstringop-truncation
405 Problem reported by Martin Sebor in:
406 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
407 * timezone/zic.c (writezone): Use memcpy, not strncpy.
408
1ffe1ccb
FW
4092017-11-12 Florian Weimer <fweimer@redhat.com>
410
eceed671
FW
411 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
412 tst-xreadlink.
413 (tests): Add tst-xreadlink.
1ffe1ccb
FW
414 * support/support.h (xstrndup): Declare.
415 * support/xunistd.h (xunlink, xreadlink): Declare.
416 * support/temp_file.h (support_create_temp_directory): Declare.
417 * support/temp_file.c (support_create_temp_directory): New function.
418 * support/support_chroot.c (support_chroot_create): Use it.
419 * support/xreadlink.c: New file.
420 * support/xstrndup.c: Likewise.
421 * support/xunlink.c: Likewise.
422 * support/tst-xreadlink.c: Likewise.
423
456b40a9
JDA
4242017-11-11 John David Anglin <danglin@gcc.gnu.org>
425
426 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
427
c0a25aa9
FW
4282017-11-11 Florian Weimer <fweimer@redhat.com>
429
430 [BZ #22409]
431 [BZ #22412]
432 * resolv/res_comp.c (printable_string, binary_hnok)
433 (binary_leading_dash): New functions.
434 (res_hnok): Reimplement using these functions and ns_name_pton.
435 (res_ownok): Likewise.
436 (res_mailok): Reimplement using printable_string, ns_name_pton and
437 binary_hnok.
438 (res_dnok): Reimplement using printable_string and ns_name_pton.
439 * resolv/tst-res_hnok.c (tests): Add additional tests.
440 (LETTERDIGITS, PRINTABLE): Define.
441 (do_test): Adjust one_char results.
442
9e0ad304
FW
4432017-11-11 Florian Weimer <fweimer@redhat.com>
444
445 [BZ #22413]
446 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
447 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
448
e2a9fca8
FW
4492017-11-11 Florian Weimer <fweimer@redhat.com>
450
451 * resolv/tst-ns_name_pton.c: New file.
452 * resolv/Makefile (tests): Add tst-ns_name_pton.
453 (tst-ns_name_pton): Link against libresolv.
454
5c1a6923
FW
4552017-11-11 Florian Weimer <fweimer@redhat.com>
456
457 * resolv/tst-res_hnok.c: New file.
458 * resolv/Makefile (tests): Add tst-res_hnok.
459 (tst-res_hnok): Link against libresolv.
460
a19c0a1d
FW
4612017-11-11 Florian Weimer <fweimer@redhat.com>
462
463 * resolv/tst-resolv-network.c: Use test framework instead explicit
464 main function.
465
8cb5295d
L
4662017-11-09 H.J. Lu <hongjiu.lu@intel.com>
467
468 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
469 <jmp_buf-macros.h>.
470 [!_ISOMAC] (STR_HELPER): New.
471 [!_ISOMAC] (STR): Likewise.
472 [!_ISOMAC] (TEST_SIZE): Likewise.
473 [!_ISOMAC] (TEST_ALIGN): Likewise.
474 [!_ISOMAC] (TEST_OFFSET): Likewise.
475 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
476 field offsets of jmp_buf as well as sigjmp_buf.
477 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
478 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
479 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
480 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
481 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
482 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
483 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
484 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
485 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
486 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
487 Likewise.
488 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
489 Likewise.
490 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
492 Likewise.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
494 Likewise.
495 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
496 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
497 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
498 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
499 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
501 Likewise.
502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
503 Likewise.
504 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
505 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
506 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
507
58c4a161
JM
5082017-11-07 Joseph Myers <joseph@codesourcery.com>
509
3683b423
JM
510 * include/float.h
511 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
512 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
513 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
514 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
515 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
516 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
517 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
518 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
519 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
520 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
521 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
522 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
523 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
524 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
525 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
526 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
527 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
528 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
529 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
530 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
532 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
534 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
536 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
538 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
540 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
542 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
544 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
546 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
548 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
550 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
552 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
554 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
556 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
558 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
560 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
562 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
564 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
566 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
568 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
570 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
572 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
574 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
576 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
578 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
580 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
582 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
584 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
586 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
588 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
590 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
592 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
594 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
596 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
598 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
599
58c4a161
JM
600 * stdlib/tst-strtod.h (F16): New macro.
601 (F32): Likewise.
602 (F64): Likewise.
603 (F32X): Likewise.
604 (F64X): Likewise.
605 (F128X): Likewise.
606 (IF_FLOAT16): Likewise.
607 (IF_FLOAT32): Likewise.
608 (IF_FLOAT64): Likewise.
609 (IF_FLOAT32X): Likewise.
610 (IF_FLOAT64X): Likewise.
611 (IF_FLOAT128X): Likewise.
612 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
613 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
614 (STRTOD_TEST_FOREACH): Likewise.
615 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
616 (CHOOSE_f64): Likewise.
617 (CHOOSE_f32x): Likewise.
618 (CHOOSE_f64x): Likewise.
619
feda96a1
AS
6202017-11-07 Andreas Schwab <schwab@suse.de>
621
622 * nptl/Makefile (tests-internal): Remove tst-typesizes.
623
1bd0cbb8
MF
6242017-11-07 Mike FABIAN <mfabian@redhat.com>
625
626 [BZ #22403]
627 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
628 to be escaped.
629 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
630 to be escaped.
631
d8301314
CP
6322017-11-07 Claude Paroz <claude@2xlibre.net>
633
634 [BZ #22403]
635 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
636 to be escaped.
637 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
638 to be escaped.
639 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
640 to be escaped.
641
dff91cd4
AZ
6422017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
643
06be6368
AZ
644 [BZ #22298]
645 * nptl/allocatestack.c (allocate_stack): Check if
646 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
647 __PTHREAD_MUTEX_HAVE_PREV is defined.
648 * nptl/descr.h (pthread): Likewise.
649 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
650 Likewise.
651 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
652 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
653 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
654 * sysdeps/nptl/bits/thread-shared-types.h
655 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
656 defines.
657 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
658 of __WORDSIZE for internal layout.
659 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
660 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
661 instead of __WORDSIZE whether to use an union for __spins and __list
662 fields.
663 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
664 case.
665 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
666 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
667 defines.
668 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
669 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
670 Likewise.
671 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
672 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
673 Likewise.
674 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
675 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
676 Likewise.
677 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
678 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
679 Likewise.
680 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
681 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
682 Likewise.
683 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
684 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
685 Likewise.
686 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
687 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
688 Likewise.
689 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
690 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
691 Likewise.
692 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
693 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
694 Likewise.
695 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
696 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
697 Likewise.
698 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
699 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
700 Likewise.
701 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
702 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
703 Likewise.
704 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
705 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
706 Likewise.
707 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
709 Likewise.
710
72b3c6ee
AZ
711 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
712 New macros.
713 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
714 checks for expected input type size.
715 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
716 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
717 Likewise.
718 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
719 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
720 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
721 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
722 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
723 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
724 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
725 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
726 superflous runtime assert check.
727 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
728 Likewise.
729 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
730 Likewise.
731 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
732 Likewise.
733 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
734 Likewise.
735 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
736 Likewise.
737 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
738 Likewise.
739 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
740 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
741 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
742 Likewise.
743 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
744 Likewise.
745 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
746 Likewise.
747 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
748 Likewise.
749 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
750 Likewise.
751 * nptl/pthread_attr_setinheritsched.c
752 (__pthread_attr_setinheritsched): Likewise.
753 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
754 Likewise.
755 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
756 Likewise.
757 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
758 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
759 __old_pthread_attr_setstack): Likewise.
760 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
761 Likewise.
762 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
763 Likewise.
764 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
765 Likewise.
766 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
767 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
768 Likewise.
769 * nptl/tst-typesizes.c: Remove file.
770
dff91cd4
AZ
771 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
772 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
773 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
774 checks for internal pthread_mutex_t offsets.
775 * sysdeps/aarch64/nptl/pthread-offsets.h
776 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
777 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
778 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
779 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
780 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
781 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
782 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
783 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
784 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
785 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
786 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
787 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
788 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
789 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
790 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
791 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
792 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
793 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
794
b7fc95f8
FW
7952017-11-07 Florian Weimer <fweimer@redhat.com>
796
797 * bits/mman-linux.h: Move ...
798 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
799 comment.
800 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
801 outdated comment.
802
6b860364
RS
8032017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
804
805 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
806 Redefine STRNLEN as __strnlen_power8.
807
802c1f16
AZ
8082017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
809
d83da3a4
AZ
810 * signal/sighold.c (sighold): Optimize implementation.
811
6a4235f1
AZ
812 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
813 __NR_rt_sigqueueinfo.
814
8b0e795a
AZ
815 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
816 __sigtimedwait.
817 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
818 assume __NR_rt_sigtimedwait.
819 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
820 and add LIBC_CANCEL_HANDLED for cancellation marking.
821 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
822
a1a638dd
AZ
823 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
824 (sysdeps_routines): Add memchr_noneon.
825 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
826 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
827 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
828 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
829 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
830 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
831 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
832
802c1f16
AZ
833 * sysdeps/arm/arm-ifunc.h: New file.
834 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
835 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
836 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
837 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
838 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
839 (__memcpy_neon): Avoid create hidden alias.
840 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
841 (__memcpy_vfp): Likewise.
842 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
843 (sysdep_routines): Add memcpy_arm.
844 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
845
abcb584d
L
8462017-11-06 H.J. Lu <hongjiu.lu@intel.com>
847
848 [BZ #22362]
849 * Makerules (make-link-multidir): New.
850 * config.make.in (multidir): New.
851 * configure.ac (libc_cv_multidir): New. AC_SUBST.
852 * configure: Regenerated.
853 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
854 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
855 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
856 New target.
857
4e2dff67
JM
8582017-11-06 Joseph Myers <joseph@codesourcery.com>
859
860 [BZ #22402]
861 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
862 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
863
a1c7cd3c
MF
8642017-11-04 Mike FABIAN <mfabian@redhat.com>
865
866 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
867 to be escaped.
868
b9af29c0
FW
8692017-11-04 Florian Weimer <fweimer@redhat.com>
870
871 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
872
4ca70e1a
JM
8732017-11-03 Joseph Myers <joseph@codesourcery.com>
874
875 * math/math.h [__HAVE_DISTINCT_FLOAT16
876 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
877 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
878 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
879 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
880 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
881 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
882 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
883 (__MATH_TG_F32): New macro.
884 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
885 (__MATH_TG_F64X): Likewise.
886 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
887 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
888
ba0e6668
DL
8892017-11-03 Dmitry V. Levin <ldv@altlinux.org>
890
891 * po/de.po: Update translations.
892 * po/ru.po: Likewise.
893
bc18a6d3
FW
8942017-11-03 Florian Weimer <fweimer@redhat.com>
895
896 * manual/filesys.texi (Hard Links): Document linkat.
897
97255170
JM
8982017-11-03 Joseph Myers <joseph@codesourcery.com>
899
86ec4865
JM
900 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
901 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
902 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
903 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
904 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
905 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
906 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
907 the same as _Float128.
908 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
909 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
910 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
911
97255170
JM
912 * stdlib/stdlib.h
913 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
914 Declare.
915 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
916 Likewise.
917 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
918 Likewise.
919 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
920 (strtof32x): Likewise.
921 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
922 (strtof64x): Likewise.
923 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
924 (strtof128x): Likewise.
925 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
926 (strfromf16): Likewise.
927 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
928 (strfromf32): Likewise.
929 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
930 (strfromf64): Likewise.
931 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
932 (strfromf32x): Likewise.
933 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
934 (strfromf64x): Likewise.
935 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
936 (strfromf128x): Likewise.
937 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
938 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
939 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
940 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
941 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
942 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
943
6d58ce5e
RH
9442017-11-03 Richard Henderson <rth@twiddle.net>
945
946 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
947
659ca267
SN
9482017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
949
950 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
951
94d2f0af
SN
9522017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
953
954 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
955 DT_TLSDESC_GOT initialization.
956 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
957 (_dl_tlsdesc_resolve_hold): Likewise.
958 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
959 (_dl_tlsdesc_resolve_hold): Likewise.
960 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
961 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
962
28e1ddf3
SN
9632017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
964
965 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
966
0ca3d1d6
SN
9672017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
968
969 [BZ #18572]
970 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
971 non-lazily for R_ARM_TLS_DESC.
972
2c1d4e5f
SN
9732017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
974
975 [BZ #17078]
976 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
977 R_ARM_TLS_DESC case.
978 (elf_machine_lazy_rel): Remove the prelink check.
979
91c5a366
SN
9802017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
981
982 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
983 DT_TLSDESC_GOT initialization.
984 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
985 (_dl_tlsdesc_resolve_rela): Likewise.
986 (_dl_tlsdesc_resolve_hold): Likewise.
987 (_dl_tlsdesc_undefweak): Remove ldar.
988 (_dl_tlsdesc_dynamic): Likewise.
989 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
990 (_dl_tlsdesc_resolve_rela): Likewise.
991 (_dl_tlsdesc_resolve_hold): Likewise.
992 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
993 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
994 (_dl_tlsdesc_resolve_rela): Likewise.
995 (_dl_tlsdesc_resolve_hold): Likewise.
996
b7cf203b
SN
9972017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
998
999 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
1000 binding and initialization non-lazily for R_AARCH64_TLSDESC.
1001
0cc5b022
SN
10022017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1003
1004 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
1005 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1006
43ddff2e
JM
10072017-11-02 Joseph Myers <joseph@codesourcery.com>
1008
1009 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
1010 Declare.
1011 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
1012 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
1013 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
1014 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
1015 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
1016 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
1017 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
1018 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
1019 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
1020 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
1021 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
1022
5baac970
MF
10232017-11-02 Mike FABIAN <mfabian@redhat.com>
1024
1025 [BZ #22382]
1026 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
1027 * localedata/locales/tpi_PG: Add standard header.
1028
ef11081f
FW
10292017-11-02 Florian Weimer <fweimer@redhat.com>
1030
1031 test-errno-linux: quotactl can fail with EPERM in containers.
1032 * sysdeps/unix/sysv/linux/test-errno-linux.c
1033 (LIST, LIST_FORWARD): New macros.
1034 (check_error_in_list): New function.
1035 (test_wrp_rv): Accept list of permitted error codes.
1036 (test_wrp_rv2): Remove.
1037 (test_wrp): Call test_wrp_rv with list of error codes.
1038 (test_wrp2): Accept list of error codes.
1039 (do_test): Adjust. Allow EPERM for quotactl.
1040
d10b132b
FW
10412017-11-02 Florian Weimer <fweimer@redhat.com>
1042
1043 * stdio-common/bug16.c (do_test): Use array_length.
1044 * stdio-common/errlist.c (_sys_nerr): Likewise.
1045 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
1046 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
1047 * stdio-common/psiginfo.c (psiginfo): Use array_length.
1048 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
1049 (do_test): Use array_length.
1050 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
1051 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
1052 * stdio-common/tst-printf-round.c (do_test): Likewise.
1053 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
1054 (CHECK): Use array_length.
1055 * stdio-common/tstdiomisc.c (t3, F): Likewise.
1056 * stdio-common/tstscanf.c (main): Likewise.
1057 * stdio-common/vfprintf.c (process_string_arg): Likewise.
1058
c94a5688
FW
10592017-11-02 Florian Weimer <fweimer@redhat.com>
1060
1061 Add array_length and array_end macros.
1062 * include/array_length.h: New file.
1063
2fac6a6c
FW
10642017-11-02 Florian Weimer <fweimer@redhat.com>
1065
1066 [BZ #22332]
1067 * posix/tst-glob-tilde.c (do_noescape): New variable.
1068 (one_test): Process it.
1069 (do_test): Set do_noescape. Add unescaping test case.
1070
2f1b212e
JM
10712017-11-01 Joseph Myers <joseph@codesourcery.com>
1072
260fbd0a
JM
1073 * math/complex.h
1074 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
1075 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
1076 with appropriate macros defined and undefined.
1077 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
1078 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1079 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
1080 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1081 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
1082 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1083 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
1084 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1085 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
1086 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1087
2f1b212e
JM
1088 * math/complex.h
1089 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
1090 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
1091 that for long double. Do not condition define and undefine of
1092 _Mdouble_complex_ on [__CFLOAT128].
1093
95b93c6e
L
10942017-11-01 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1097 of <sysdeps/generic/sysdep.h>.
1098 (ALIGNARG): Removed.
1099 (ASM_SIZE_DIRECTIVE): Likewise.
1100 (ENTRY): Likewise.
1101 (END): Likewise.
1102 (ENTRY_CHK): Likewise.
1103 (END_CHK): Likewise.
1104 (syscall_error): Likewise.
1105 (mcount): Likewise.
1106 (PSEUDO_END): Likewise.
1107 (L): Likewise.
1108 (atom_text_section): Likewise.
1109 * sysdeps/x86/sysdep.h: New file.
1110 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1111 of <sysdeps/generic/sysdep.h>.
1112 (ALIGNARG): Removed.
1113 (ASM_SIZE_DIRECTIVE): Likewise.
1114 (ENTRY): Likewise.
1115 (END): Likewise.
1116 (ENTRY_CHK): Likewise.
1117 (END_CHK): Likewise.
1118 (syscall_error): Likewise.
1119 (mcount): Likewise.
1120 (PSEUDO_END): Likewise.
1121 (L): Likewise.
1122 (atom_text_section): Likewise.
1123
1bb36539
RL
11242017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
1125
1126 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
1127 category of LC_CTYPE set to "i18n:2012".
1128 * localedata/locales/i18n_ctype: Regenerate.
1129
067f5d97 11302017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 1131
87bbc4cf
YN
1132 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
1133 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1134 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1135 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1136
e8681faa
YN
1137 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
1138 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
1141
540af6e2
JM
11422017-10-31 Joseph Myers <joseph@codesourcery.com>
1143
43e66283
JM
1144 * math/complex.h
1145 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
1146 New macro.
1147 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
1148 Likewise.
1149 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
1150 Likewise.
1151 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1152 (CMPLXF32X): Likewise.
1153 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1154 (CMPLXF64X): Likewise.
1155 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1156 (CMPLXF128X): Likewise.
1157
540af6e2
JM
1158 * math/math.h
1159 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
1160 (__MATH_EVAL_FMT2): Define to add 0.0f.
1161
58af72b4
AM
11622017-10-31 Alan Modra <amodra@gmail.com>
1163
1164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
1165 include sysdep.h.
1166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
1169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
1171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
1173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
1175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
1177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
1179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1180 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
1181 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
1182 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
1183 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1184 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
1185 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
1186 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1188 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1192 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1194 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
1195 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
1196 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1197 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1198 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1199 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
1201 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1202 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1203 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
1204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
1205 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
1207 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
1208 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1209 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1221 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1222 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1228 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1229 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1230 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
1234 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
1235
1236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
1237 include sysdep.h and math_ldbl_opt.h.
1238
1239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
1240 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
1250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
1264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1265
112f30b3
AM
12662017-10-31 Alan Modra <amodra@gmail.com>
1267
1268 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
1269 string/strncase_l.c, not string/strncase.c.
1270 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
1271 (libc_hidden_def): Redefine.
1272
e9e7eced
AM
12732017-10-31 Alan Modra <amodra@gmail.com>
1274
1275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
1276 (__STRCMP, STRCMP, __strcasecmp_l): Define.
1277 (__strcasecmp): Don't define.
1278
f7b465cf
AM
12792017-10-31 Alan Modra <amodra@gmail.com>
1280
1281 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
1282 IS_IN (libc).
1283 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1286
d46b09f9
AM
12872017-10-31 Alan Modra <amodra@gmail.com>
1288
1289 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
1290 USE_AS_STPNCPY.
1291
e9b8e194
AM
12922017-10-31 Alan Modra <amodra@gmail.com>
1293
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
1295 Redefine only when SHARED.
1296
eda162dd
JM
12972017-10-30 Joseph Myers <joseph@codesourcery.com>
1298
b61afe8c
JM
1299 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1300 Include <bits/math-finite.h> with appropriate macros defined and
1301 undefined.
1302 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1303 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1304 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1305 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1306 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1307
eda162dd
JM
1308 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
1309 [!_Mlong_double_] (_Mlong_double_): Likewise.
1310 [!_Mfloat16_] (_Mfloat16_): Likewise.
1311 [!_Mfloat32_] (_Mfloat32_): Likewise.
1312 [!_Mfloat64_] (_Mfloat64_): Likewise.
1313 [!_Mfloat128_] (_Mfloat128_): Likewise.
1314 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
1315 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
1316 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
1317 (_Mdouble_): Define without indirection through those macros.
1318 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
1319 [!_Mfloat128_] (_Mfloat128_): Likewise.
1320 [_Mlong_double_] (_Mlong_double_): Likewise.
1321 (_Mdouble_): Define without indirection through those macros.
1322 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
1323 not add -D_Mlong_double_=double.
1324 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
1325 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
1326
4ad5106e
L
13272017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
1330
fe326df7
L
13312017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 * sysdeps/x86/libc-start.c: Reformat.
1334
c5cc4514
L
13352017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1336
1337 [BZ #22353]
1338 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
1339 (1): Renamed to ...
1340 (L(Src0)): This.
1341 (L(Src1)): New.
1342 (L(Src2)): Likewise.
1343 (L(1)): Renamed to ...
1344 (L(Src3)): This.
1345
ce12269f
JM
13462017-10-30 Joseph Myers <joseph@codesourcery.com>
1347
1348 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
1349 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
1350 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
1351 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
1352 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
1353 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
1354 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
1355 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
1356 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
1357 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
1358 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
1359 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
1360 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
1361 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
1362 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
1363 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
1364 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
1365 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
1366 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
1367 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
1368 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
1369 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
1370 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
1371 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
1372 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
1373 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
1374 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
1375 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
1376 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
1377 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
1378 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
1379 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
1380 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
1381 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
1382 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
1383 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
1384 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
1385 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
1386 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
1387 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
1388 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
1389 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
1390 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
1391 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
1392 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
1393 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
1394 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
1395 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
1396 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
1397 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
1398 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
1399 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
1400 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
1401 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
1402 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
1403 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
1404 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
1405 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
1406 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
1407 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
1408 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
1409 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
1410 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
1411 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
1412 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
1413 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
1414
4484b9e2
FW
14152017-10-30 Florian Weimer <fweimer@redhat.com>
1416
1417 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
1418 always defined.
1419 * io/tst-mkdirat.c (do_test): Likewise.
1420 * io/tst-mkfifoat.c (do_test): Likewise.
1421 * io/tst-mknodat.c (do_test): Likewise.
1422 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
1423 * locale/programs/locale.c (select_dirs): Likewise.
1424 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
1425 * posix/bug-glob2.c (my_readdir): Likewise.
1426 * posix/tst-dir.c (main): Likewise.
1427 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
1428 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
1429
68fe16dd
FW
14302017-10-30 Florian Weimer <fweimer@redhat.com>
1431
1432 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
1433 just __USE_GNU.
1434
dadf23f0
FW
14352017-10-30 Florian Weimer <fweimer@redhat.com>
1436
1437 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
1438 Convert to support/test-driver.c.
1439 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
1440 New macro parameters.
1441 (PRINTF): Remove macro. Use test_verbose conditionals instead.
1442 * posix/tst-gnuglob.c: New file.
1443 * posix/tst-gnuglob64.c: Likewise.
1444 * posix/Makefile (tests): Add tst-gnuglob64.
1445
fbcecc08
MF
14462017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
1447
1448 [BZ #19485]
1449 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
1450 and use a better translation for March in “mon”.
1451 * localedata/locales/csb_PL: Use more ASCII to improve the
1452 readability of the source.
1453
b110af82
MF
14542017-10-30 Mike FABIAN <mfabian@redhat.com>
1455
1456 [BZ #13953]
1457 * localedata/locales/km_KH: Use ASCII as much
1458 as possible for better readability of the source and
1459 remove useless comments.
1460 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
1461 was commented out and apparently wrong anyway because it was
1462 using Lao characters. If Buddhist era should be used
1463 for km_KH, a native speaker should write the correct formaat
1464 for Khmer.
1465 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
1466 (According to CLDR, the first weekday for Cambodia is Sunday).
1467 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
1468 (These were using Lao characters which must be wrong. If we get
1469 the correct data from a native speaker, we could add it back, until
1470 then it is better not to have name_mr and name_mrs at all than
1471 having it wrong).
1472
f301e533
RL
14732017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
1474
1475 * locale/loadlocale.c: Correct size of
1476 _nl_value_type_LC_<category> arrays.
1477
7e9d7073
JM
14782017-10-27 Joseph Myers <joseph@codesourcery.com>
1479
1480 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1481 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
1482 with appropriate macros defined and undefined.
1483 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1484 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1485 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1486 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1487 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1488
63d3b468
L
14892017-10-27 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1492 "-O2 -march=i586".
1493
a4cc02c7
MF
14942017-10-27 Mike FABIAN <mfabian@redhat.com>
1495
1496 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
1497 with lowercase letters to make it agree with CLDR.
1498
1e5971ec
MF
14992017-10-27 Mike FABIAN <mfabian@redhat.com>
1500
1501 [BZ #15260]
1502 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
1503 first letters of yesstr and nostr in yesexpr and noexpr,
1504 not for the full words.
1505 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1506 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
1507 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
1508 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
1509 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
1510 first letters of yesstr and nostr in yesexpr and noexpr,
1511 until now only English was matched in yesexpr and noexpr.
1512 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
1513 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
1514 fil but not for tl. As tl and fil are very similar, using fil
1515 is probably better than using English.
1516
bc5fc7de
MF
15172017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
1518
1519 [BZ #21706]
1520 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
1521 in yesstr and nostr.
1522
5d220788
JM
15232017-10-26 Joseph Myers <joseph@codesourcery.com>
1524
ecc7da5b
JM
1525 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1526 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
1527 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
1528 Likewise.
1529 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
1530 Likewise.
1531 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
1532 Likewise.
1533 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
1534 Likewise.
1535 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1536 (SNANF128X): Likewise.
1537
5d220788
JM
1538 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1539 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
1540 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1541 (HUGE_VAL_F32): Likewise.
1542 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1543 (HUGE_VAL_F64): Likewise.
1544 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1545 (HUGE_VAL_F32X): Likewise.
1546 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1547 (HUGE_VAL_F64X): Likewise.
1548 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1549 (HUGE_VAL_F128X): Likewise.
1550
67ad7163
TV
15512017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1552
1553 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
1554 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
1555 for the br_FR locale.
1556
408dff7e
TV
15572017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1558
1559 [BZ #21706]
1560 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
1561
337ff3c5
CD
15622017-10-25 Carlos O'Donell <carlos@redhat.com>
1563
02eec681
CD
1564 * locale/programs/record-status.h: Define globals, and function
1565 prototypes. Move function bodies...
1566 * locale/programs/record-status.c: ... to here. New file.
1567 * iconv/Makefile (iconv_prog-modules): Add record-status.
1568 * locale/Makefile (lib-modules): Likewise.
1569 * iconv/iconv_prog.c: Remove verbose.
1570 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
1571 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
1572 record a warning about ASCII compatibility.
1573 * locale/programs/ld-monetary.c (monetary_finish): If
1574 warn_int_curr_symbol is true then record a warning about the symbol
1575 not being in our ISO 4217 list.
1576 * locale/programs/locale.c: Include record-status.h. Remove verbose.
1577 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
1578 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
1579 (OPT_NO_WARN): Define.
1580 (OPT_WARN): Define.
1581 (options): Add entry for --no-warnings, and --warnings.
1582 (set_warnings): New function to enable/disable warnings.
1583 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
1584 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
1585 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
1586 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
1587 Pass flags to generate_locale.
1588 (generate_locale): Accept new flag argument and pass it to localedef
1589 invocation.
1590 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
1591 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
1592
56fa555a
CD
1593 * localedata/Makefile (test-input-data): Use full file name.
1594 * localedata/da_DK.in: Rename to...
1595 * localedata/da_DK.ISO-8859-1.in: ...this.
1596 * localedata/de_DE.in: Rename to...
1597 * localedata/de_DE.ISO-8859-1.in: ...this.
1598 * localedata/en_US.in: Rename to...
1599 * localedata/en_US.ISO-8859-1.in: ...this.
1600 * localedata/fr_FR.in: Rename to...
1601 * localedata/fr_FR.UTF-8.in: ... this.
1602 * localedata/hr_HR.in: Rename to...
1603 * localedata/hr_HR.ISO-8859-2.in: ...this.
1604 * localedata/hu_HU.in: Rename to...
1605 * localedata/hu_HU.UTF-8.in: ...this.
1606 * localedata/si_LK.in: Rename to...
1607 * localedata/si_LK.UTF-8.in: ...this.
1608 * localedata/sv_SE.in: Rename to...
1609 * localedata/sv_SE.ISO-8859-1.in: ...this.
1610 * localedata/tr_TR.in: Rename to...
1611 * localedata/tr_TR.UTF-8.in: ...this.
1612 * localedata/uk_UA.in: Rename to...
1613 * localedata/uk_UA.UTF-8.in: ...this.
1614 * localedata/sort-test.sh: Test file is locale name with the
1615 suffix.
1616
337ff3c5
CD
1617 * localedata/unicode-gen/Makefile (check_i18n): Rename to
1618 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
1619 file.
1620 * localedata/locales/i18n_ctype: Regenerate.
1621 * localedata/locales/tr_TR: Likewise.
1622 * localedata/locales/translit_circle: Likewise.
1623 * localedata/locales/translit_cjk_compat: Likewise.
1624 * localedata/locales/translit_combining: Likewise.
1625 * localedata/locales/translit_compat: Likewise.
1626 * localedata/locales/translit_font: Likewise.
1627 * localedata/locales/translit_fraction: Likewise.
1628
63da5cd4
RS
16292017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1630
1631 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
1632 lxvd2x/stxvd2x with lvx/stvx.
1633 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1634
a122dbfb
L
16352017-10-25 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 * include/alloc_buffer.h: Replace "if if " with "if " in
1638 comments.
1639 * sysdeps/mips/memcpy.S: Likkewise.
1640 * sysdeps/mips/memset.S: Likewise.
1641 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1642 Likewise.
1643 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
1644 Likewise.
1645 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
1646 Likewise.
1647
9be7530c
MF
16482017-10-25 Mike FABIAN <mfabian@redhat.com>
1649
1650 [BZ #15261]
1651 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
1652 yesexpr and noexpr.
1653 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1654 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1655 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1656 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1657 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1658 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1659 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1660
6ccbf6ff
MF
16612017-10-25 Mike FABIAN <mfabian@redhat.com>
1662
1663 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
1664 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1665 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1666 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1667 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1668 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
1669 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1670 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1671 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1672 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1673 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1674 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1675
58b1a7ea
MF
16762017-10-25 Mike FABIAN <mfabian@redhat.com>
1677
1678 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
1679 as possible for better readability of the source.
1680 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
1681 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
1682 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
1683 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
1684 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
1685 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
1686 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
1687 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
1688 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1689 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
1690 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
1691 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
1692 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
1693 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
1694 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
1695 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
1696 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
1697 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
1698 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
1699 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
1700 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
1701 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
1702 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
1703 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
1704 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
1705 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
1706 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
1707 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
1708 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
1709 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
1710 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
1711 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1712 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
1713 * localedata/locales/en_US (LC_MESSAGES): Likewise.
1714 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
1715 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
1716 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
1717 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
1718 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
1719 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
1720 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
1721 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
1722 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
1723 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
1724 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
1725 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
1726 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
1727 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
1728 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
1729 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
1730 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
1731 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
1732 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
1733 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1734 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1735 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
1736 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
1737 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1738 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
1739 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
1740 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
1741 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
1742 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
1743 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
1744 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
1745 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
1746 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
1747 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
1748 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
1749 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
1750 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
1751 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
1752 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
1753 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
1754 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1755 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
1756 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
1757 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
1758 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
1759 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
1760 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
1761 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
1762 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
1763 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1764 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
1765 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
1766 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
1767 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1768 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
1769 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
1770 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
1771 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
1772 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1773 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
1774 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
1775 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1776 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
1777 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1778 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
1779 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
1780 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
1781 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
1782 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
1783 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
1784 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
1785 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
1786 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
1787 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
1788 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
1789 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
1790 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
1791 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
1792 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1793 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
1794 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
1795 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
1796 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
1797 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
1798 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
1799 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
1800 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
1801 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
1802 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
1803 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
1804 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
1805 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
1806 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
1807 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
1808 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
1809 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
1810 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
1811 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
1812 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
1813 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
1814 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
1815 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
1816 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
1817 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
1818 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
1819 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
1820 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
1821 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
1822 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
1823 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
1824 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
1825 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1826 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
1827 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
1828 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
1829 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
1830 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
1831 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
1832 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
1833 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
1834 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1835 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
1836 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
1837 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
1838 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
1839 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
1840 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
1841 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
1842 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
1843 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
1844 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
1845 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1846 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
1847 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
1848 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
1849 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
1850 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1851 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1852 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1853 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
1854
17e78edb
MF
18552017-10-25 Mike FABIAN <mfabian@redhat.com>
1856
1857 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
1858 (Use first letters of yesstr and nostr correctly instead of using
1859 full words).
1860
74e7284f
MF
18612017-10-25 Mike FABIAN <mfabian@redhat.com>
1862
1863 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
1864 (Use first letters of yesstr and nostr correctly).
1865
b41a0ff1
MF
18662017-10-25 Mike FABIAN <mfabian@redhat.com>
1867
1868 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
1869 also check for the first characters of yesstr and nostr.
1870 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
1871 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
1872
d971f380
MF
18732017-10-25 Mike FABIAN <mfabian@redhat.com>
1874
1875 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
1876 also check for Chinese characters.
1877
effc9e1d
MF
18782017-10-25 Mike FABIAN <mfabian@redhat.com>
1879
1880 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
1881 match also for the contents of yesstr and nostr. As the first letter
1882 of yesstr and nostr is equal, checking only for the first letter
1883 is not enough.
1884
10320881
MF
18852017-10-25 Mike FABIAN <mfabian@redhat.com>
1886
1887 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
1888 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
1889
d8682a15
MF
18902017-10-25 Mike FABIAN <mfabian@redhat.com>
1891
1892 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
1893 of main contributor.
1894
1bfb86ae
MF
18952017-10-25 Mike FABIAN <mfabian@redhat.com>
1896
1897 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
1898 instead of using English.
1899
da33d60b
MF
19002017-10-25 Mike FABIAN <mfabian@redhat.com>
1901
1902 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
1903 by including the first letters of nostr and yesexpr in the regexp.
1904 Also make it more readable by using ASCII where possible.
1905
725bbb3e
MF
19062017-10-25 Mike FABIAN <mfabian@redhat.com>
1907
1908 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
1909 the first letter of nostr in the regexp. It agrees with CLDR now.
1910 Also make it more readable by using ASCII where possible.
1911
fe043d8a
MF
19122017-10-24 Mike FABIAN <mfabian@redhat.com>
1913
1914 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
1915 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
1916 these strings contain a U+17D6 (which somewhat looks like a colon)
1917 instead of a real colon to separate the full words for “yes”
1918 and “no” from the single letter responses.
1919
360a8df3
MF
19202017-10-24 Mike FABIAN <mfabian@redhat.com>
1921
1922 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
1923 it agree with CLDR (include the first letter of yesstr).
1924 Also make it more readable by using ASCII where possible.
1925
bab7b6b0
MF
19262017-10-24 Mike FABIAN <mfabian@redhat.com>
1927
1928 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
1929 and improve yesexpr and noexpr. The yesstr and nostr apparently
1930 came from CLDR. And CLDR has a bug there: these strings contain
1931 a U+0903 (which looks like a colon) instead of a real colon
1932 to separate the full words for “yes” and “no” from the single
1933 letter responses.
1934
3e79f758
MF
19352017-10-24 Mike FABIAN <mfabian@redhat.com>
1936
1937 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
1938 letters of the full yesstr and nostr in yesexpr and noexpr.
1939
4960c879
MF
19402017-10-24 Mike FABIAN <mfabian@redhat.com>
1941
1942 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
1943 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
1944 * localedata/locales/an_ES: Make source more readable by using ASCII
1945 where possible.
1946
b06a054f
MF
19472017-10-24 Mike FABIAN <mfabian@redhat.com>
1948
1949 [BZ #20952]
1950 * localedata/locales/yuw_PG: New file.
1951 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
1952 * locale/iso-639.def: Add Yau (Uruwa).
1953
905a7725
WD
19542017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1955
1956 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
1957
3f6bb8a3
WD
19582017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1959
1960 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
1961 (__libc_realloc): Likewise.
1962 (_mid_memalign): Likewise.
1963 (__libc_calloc): Likewise.
1964
1d479c8c
MF
19652017-10-23 Mike FABIAN <mfabian@redhat.com>
1966
1967 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
1968 by adding the generic +1 and -0 as in all other locales.
1969 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
1970 day names and make it more readable by using ASCII where possible.
1971
91c3985c
JM
19722017-10-24 Joseph Myers <joseph@codesourcery.com>
1973
1974 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
1975 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
1976
aa95a241
AZ
19772017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1978
1979 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
1980 WNOHANG in waitpid call.
1981
db9bab09
SP
19822017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
1983
a2e0a7f1
SP
1984 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
1985 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
1986
db9bab09
SP
1987 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
1988 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
1989 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
1990 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
1991 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
1992 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
1993 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
1994 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
1995 variables.
1996
5062680c
MC
19972017-10-23 Michael Collison <michael.collison@arm.com>
1998
1999 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
2000 with __builtin_sqrt.
2001 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
2002 with __builtin_sqrtf.
2003 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
2004 with __builtin_ceil.
2005 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
2006 with __builtin_ceilf.
2007 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
2008 with __builtin_floor.
2009 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
2010 with __builtin_floorf.
2011 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
2012 with __builtin_fma.
2013 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
2014 with __builtin_fmaf.
2015 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
2016 with __builtin_fmax.
2017 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
2018 with __builtin_fmaxf.
2019 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
2020 with __builtin_fmin.
2021 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
2022 with __builtin_fminf.
2023 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
2024 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
2025 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
2026 with builtin_rint and conversion to int.
2027 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
2028 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
2029 with builtin_llround.
2030 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
2031 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
2032 with builtin_rint and conversion to long int.
2033 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
2034 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
2035 with builtin_lround.
2036 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
2037 with builtin_lroundf.
2038 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
2039 statements with __builtin_nearbyint.
2040 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
2041 statements with __builtin_nearbyintf.
2042 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
2043 with __builtin_rint.
2044 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
2045 with __builtin_rintf.
2046 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
2047 with __builtin_round.
2048 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
2049 with __builtin_roundf.
2050 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
2051 with __builtin_trunc.
2052 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
2053 with __builtin_truncf.
be080b6c
SN
2054 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
2055 and s_l[l]round[f].c too.
5062680c 2056
174935af
AM
20572017-10-23 Alan Modra <amodra@gmail.com>
2058
2059 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
2060 Adjust stack after restoring regs. Add missing LR cfi_restore.
2061
750a0e49
AM
20622017-10-23 Alan Modra <amodra@gmail.com>
2063
2064 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
2065 Move LR save and frame setup/teardown and LR restore to
2066 immediately around memset call. Provide cfi.
2067
5313581c
L
20682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2069
2070 * sysdeps/i386/fpu/e_powf.S: Removed.
2071 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
2072 * sysdeps/i386/fpu/w_powf.c: Likewise.
2073 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
2074 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2075 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2076 Add e_powf-sse2.
2077 (CFLAGS-e_powf-sse2.c): New.
2078 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
2079 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
2080
6089a3ee
L
20812017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 * sysdeps/i386/fpu/e_log2f.S: Removed.
2084 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
2085 * sysdeps/i386/fpu/w_log2f.c: Likewise.
2086 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
2087 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2088 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2089 Add e_log2f-sse2.
2090 (CFLAGS-e_log2f-sse2.c): New.
2091 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
2092 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
2093
80bb5935
L
20942017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2097 Add e_powf-fma.
2098 (CFLAGS-e_powf-fma.c): New.
2099 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
2100 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
2101
5c7adbd8
L
21022017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2103
2104 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2105 Add e_log2f-fma.
2106 (CFLAGS-e_log2f-fma.c): New.
2107 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
2108 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
2109
0ccc7153
L
21102017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2111
2112 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2113 Add e_logf-fma.
2114 (CFLAGS-e_logf-fma.c): New.
2115 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
2116 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
2117
fe596486
L
21182017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 * sysdeps/i386/fpu/e_logf.S: Removed.
2121 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
2122 * sysdeps/i386/fpu/w_logf.c: Likewise.
2123 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
2124 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
2125 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2126 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2127 Add e_logf-sse2.
2128 (CFLAGS-e_logf-sse2.c): New.
2129 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
2130 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
2131
7eda65f6
L
21322017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2133
2134 * sysdeps/i386/fpu/e_exp2f.S: Removed.
2135 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
2136 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
2137 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2138 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2139 Add e_exp2f-sse2.
2140 (CFLAGS-e_exp2f-sse2.c): New.
2141 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
2142 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
2143
5d15c969
L
21442017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2147 Add e_exp2f-fma.
2148 (CFLAGS-e_exp2f-fma.c): New.
2149 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
2150 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
2151
b2f6137e
L
21522017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2153
2154 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
2155 * sysdeps/i386/fpu/e_expf.S: Likewise.
2156 * sysdeps/i386/fpu/math_errf.c: Likewise.
2157 * sysdeps/i386/fpu/w_expf.c: Likewise.
2158 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
2159 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2160 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
2161 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
2162 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2163 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2164 Remove e_expf-ia32.
2165 (CFLAGS-e_expf-sse2.c): New.
2166 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
2167 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
2168
e1f59beb
L
21692017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 * sysdeps/x86_64/fpu/e_expf.S: Removed.
2172 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
2173 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
2174 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
2175 e_expf.c.
2176 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
2177 New.
2178 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
2179 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2180 Renamed to ...
2181 (__redirect_expf): This.
2182 (SYMBOL_NAME): Changed to expf.
2183 (__ieee754_expf): Renamed to ...
2184 (__expf): This.
2185 (__GI___expf): This.
2186 (__ieee754_expf): Add strong_alias.
2187 (__expf_finite): Likewise.
2188 (__expf): New.
2189 Include <sysdeps/ieee754/flt-32/e_expf.c>.
2190
a159b53f
PE
21912017-10-22 Paul Eggert <eggert@cs.ucla.edu>
2192
2193 [BZ #22332]
2194 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
2195 unescaping.
2196
e80fc1fc
FW
21972017-10-21 Florian Weimer <fweimer@redhat.com>
2198
2199 * posix/Makefile (tests): Add tst-glob-tilde.
2200 (tests-special): Add tst-glob-tilde-mem.out
2201 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
2202 (tst-glob-tilde-mem.out): Add mtrace check.
2203 * posix/tst-glob-tilde.c: New file.
2204
797ba44b
JM
22052017-10-20 Joseph Myers <joseph@codesourcery.com>
2206
2207 * bits/floatn-common.h: New file.
2208 * math/Makefile (headers): Add bits/floatn-common.h.
2209 * bits/floatn.h: Include <bits/floatn-common.h>.
2210 * sysdeps/ia64/bits/floatn.h: Likewise.
2211 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2212 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
2213 * sysdeps/powerpc/bits/floatn.h: Likewise.
2214 * sysdeps/x86/bits/floatn.h: Likewise.
2215
fe05e1cb
AZ
22162017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2217
8f6f5362
AZ
2218 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
2219 indicates whether compiler emits an warning for alias for
2220 functions with incompatible types.
2221
fe05e1cb
AZ
2222 [BZ #22273]
2223 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
2224 the auxiliary process is terminated by a signal before calling _exit
2225 or execve.
2226
b52b0d79
L
22272017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 [BZ #21265]
2230 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
2231 New.
2232 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
2233 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
2234 and bit_arch_XSAVEC_Usable if needed.
2235 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
2236 and bit_arch_Use_dl_runtime_resolve_opt.
2237 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2238 Removed.
2239 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2240 (bit_arch_Prefer_No_AVX512): Updated.
2241 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
2242 (bit_arch_XSAVEC_Usable): New.
2243 (STATE_SAVE_OFFSET): Likewise.
2244 (STATE_SAVE_MASK): Likewise.
2245 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
2246 (cpu_features): Add xsave_state_size and xsave_state_full_size.
2247 (index_arch_Use_dl_runtime_resolve_opt): Removed.
2248 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2249 (index_arch_XSAVEC_Usable): New.
2250 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2251 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
2252 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
2253 is enabled.
2254 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
2255 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
2256 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
2257 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
2258 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
2259 _dl_runtime_resolve_xsavec.
2260 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
2261 Removed.
2262 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
2263 instead of VEC_SIZE.
2264 (REGISTER_SAVE_BND0): Removed.
2265 (REGISTER_SAVE_BND1): Likewise.
2266 (REGISTER_SAVE_BND3): Likewise.
2267 (REGISTER_SAVE_RAX): Always defined to 0.
2268 (VMOV): Removed.
2269 (_dl_runtime_resolve_avx): Likewise.
2270 (_dl_runtime_resolve_avx_slow): Likewise.
2271 (_dl_runtime_resolve_avx_opt): Likewise.
2272 (_dl_runtime_resolve_avx512): Likewise.
2273 (_dl_runtime_resolve_avx512_opt): Likewise.
2274 (_dl_runtime_resolve_sse): Likewise.
2275 (_dl_runtime_resolve_sse_vex): Likewise.
2276 (USE_FXSAVE): New.
2277 (_dl_runtime_resolve_fxsave): Likewise.
2278 (USE_XSAVE): Likewise.
2279 (_dl_runtime_resolve_xsave): Likewise.
2280 (USE_XSAVEC): Likewise.
2281 (_dl_runtime_resolve_xsavec): Likewise.
2282 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
2283 Removed.
2284 (_dl_runtime_resolve_avx512_opt): Likewise.
2285 (_dl_runtime_resolve_avx): Likewise.
2286 (_dl_runtime_resolve_avx_opt): Likewise.
2287 (_dl_runtime_resolve_sse): Likewise.
2288 (_dl_runtime_resolve_sse_vex): Likewise.
2289 (_dl_runtime_resolve_fxsave): New.
2290 (_dl_runtime_resolve_xsave): Likewise.
2291 (_dl_runtime_resolve_xsavec): Likewise.
2292
c369d66e
PE
22932017-10-20 Paul Eggert <eggert@cs.ucla.edu>
2294
2295 [BZ #22320]
2296 CVE-2017-15670
2297 * posix/glob.c (__glob): Fix one-byte overflow.
2298
6d43de4b
WD
22992017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2300
2301 * malloc/malloc.c (sysdep-cancel.h): Add include.
2302
a15d53e2
WD
23032017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2304
2305 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
2306
b9a558e7
WH
23072017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
2308
2309 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
2310 (tests): Remove $(objpfx)ga_test depdendency.
2311 * resolv/ga_test.c: Remove file.
2312
b6b08b8e
MF
23132017-10-20 Mike FABIAN <mfabian@redhat.com>
2314
2315 [BZ #18812]
2316 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
2317 * localedata/locales/kab_DZ: New file.
2318
9ba7e810
L
23192017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2322 _dl_relocate_static_pie instead of _dl_start to compute load
2323 address in static PIE.
2324
4027a4fd
L
23252017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
2328
2f9314b4
MF
23292017-10-20 Mike FABIAN <mfabian@redhat.com>
2330
2331 [BZ #13605]
2332 * localedata/SUPPORTED: Add shn_MM/UTF-8.
2333 * localedata/locales/shn_MM: New file.
2334
63b4baa4
FW
23352017-10-20 Florian Weimer <fweimer@redhat.com>
2336
2337 [BZ #22321]
2338 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
2339 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
2340 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
2341 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
2342 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
2343 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
2344
95ccb619
L
23452017-10-19 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2348
37bb78cb
JM
23492017-10-19 Joseph Myers <joseph@codesourcery.com>
2350
76f2ed92
JM
2351 * sysdeps/mips/ieee754/bits/floatn.h: New file.
2352
37bb78cb
JM
2353 [BZ #22322]
2354 * sysdeps/mips/bits/long-double.h: Move to ....
2355 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
2356
d74e6f6c
WD
23572017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
2358
2359 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
2360
4d916f0f
L
23612017-10-19 Valery Reznic <valery_reznic@yahoo.com>
2362 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 [BZ #22299]
2365 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2366 GLRO(dl_platform) to NULL.
2367 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
2368 (modules-names): Add tst-platformmod-1 and
2369 x86_64/tst-platformmod-2.
2370 (CFLAGS-tst-platform-1.c): New.
2371 (CFLAGS-tst-platformmod-1.c): Likewise.
2372 (CFLAGS-tst-platformmod-2.c): Likewise.
2373 (LDFLAGS-tst-platformmod-2.so): Likewise.
2374 ($(objpfx)tst-platform-1): Likewise.
2375 ($(objpfx)tst-platform-1.out): Likewise.
2376 (tst-platform-1-ENV): Likewise.
2377 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
2378 * sysdeps/x86_64/tst-platform-1.c: New file.
2379 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
2380 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
2381
4b0fa403
MF
23822017-10-19 Mike FABIAN <mfabian@redhat.com>
2383
2384 [BZ #13994]
2385 * locale/iso-639.def: Add Karbi.
2386 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
2387 * localedata/locales/mjw_IN: New file.
2388
81325b12
JM
23892017-10-18 Joseph Myers <joseph@codesourcery.com>
2390
2391 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
2392 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2393 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
2394 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
2395 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2396 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2397 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
2398 <bits/floatn.h>.
2399 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2400 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2401 * manual/math.texi (Mathematics): Document additional architecture
2402 support for _Float128.
2403 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2404 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2405 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2406 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2407 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2408 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2418
a68ba2f3
SN
24192017-10-18 Renlin Li <renlin.li@arm.com>
2420
2421 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
2422 _DYNAMIC symbol to calculate load address.
2423
346729f6
PC
24242017-10-18 Paul A. Clarke <pc@us.ibm.com>
2425
2426 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
2427 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
2428 summary bits.
2429 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
2430 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
2431
508b1e71
MF
24322017-10-18 Mike FABIAN <mfabian@redhat.com>
2433
2434 [BZ #16777]
2435 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
2436 and improve readability by using more ASCII.
2437 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
2438 and improve readability by using more ASCII.
2439
2c2245b9
WD
24402017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
2441
2442 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
2443 not all targets support atomics on bool.
2444
13c92696
JM
24452017-10-17 Joseph Myers <joseph@codesourcery.com>
2446
2447 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
2448 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
2449 __f128.
2450 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2451 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
2452 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2453 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
2454 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2455 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
2456
71d85045
AZ
24572017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2458
2459 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
2460 defines.
2461
3381be5c
WD
24622017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2463
2464 [BZ #22159]
2465 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
2466 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
2467 (do_check_remalloced_chunk): Fix build bug.
2468 (do_check_malloc_state): Add assert that checks arena->top.
2469 (malloc_consolidate): Remove initialization.
2470 (int_mallinfo): Remove call to malloc_consolidate.
2471 (__libc_mallopt): Clarify why malloc_consolidate is needed.
2472
e956075a
WD
24732017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2474
2475 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
2476 (have_fastchunks): Remove.
2477 (clear_fastchunks): Remove.
2478 (set_fastchunks): Remove.
2479 (malloc_state): Add have_fastchunks.
2480 (malloc_init_state): Use have_fastchunks.
2481 (do_check_malloc_state): Remove incorrect invariant checks.
2482 (_int_malloc): Use have_fastchunks.
2483 (_int_free): Likewise.
2484 (malloc_consolidate): Likewise.
2485
e4dd4ace
WD
24862017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2487
2488 * malloc/malloc.c (tcache_put): Inline.
2489 (tcache_get): Inline.
2490
5bf58bc7
AJ
24912017-10-17 Jordi Mallach <jordi@gnu.org>
2492
2493 Aurelien Jarno <aurelien@aurel32.net>
2494 [BZ #2522]
2495 * localedata/locales/ca_ES@valencia: New file.
2496 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
2497
386e1c26
RN
24982017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
2499
2500 [BZ #22296]
2501 * math/math.h: Let signbit use the builtin in C++ mode with gcc
2502 < 6.x
2503
4e17c78e
AZ
25042017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2505
3d265601
AZ
2506 * scripts/build-many-glibcs.py (Context.add_all_configs):
2507 Add arm-linux-gnueabihf multiarch extra_glibcs.
2508
4e17c78e
AZ
2509 * sysdeps/generic/ifunc-init.h: New file.
2510 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
2511
56a752ab
MF
25122017-10-17 Mike FABIAN <mfabian@redhat.com>
2513
2514 [BZ #22019]
2515 * localedata/locales/el_GR: Set n_cs_precedes to 0.
2516 * localedata/locales/el_CY: copy "el_GR" because it is identical.
2517 * stdlib/tst-strfmon_l.c: adapt test case.
2518
c38a4bfd
JM
25192017-10-16 Joseph Myers <joseph@codesourcery.com>
2520
2521 * sysdeps/generic/float128-abi.h: New file.
2522 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
2523 non-__prefixed symbols to ....
2524 * math/Versions: ... here. Include <float128-abi.h>.
2525 * stdlib/Versions ... and here. Include <float128-abi.h>
2526
76009b26
FW
25272017-10-16 Florian Weimer <fweimer@redhat.com>
2528
2529 * version.h (VERSION): Switch to ".9000" as the development
2530 version suffix.
2531
7ece6cd5
FW
25322017-10-16 Florian Weimer <fweimer@redhat.com>
2533
2534 [BZ #22050]
2535 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
2536 compat_symbol_reference to access non-default version.
2537
d8287b36
FW
25382017-10-16 Florian Weimer <fweimer@redhat.com>
2539
2540 * malloc/Makefile (others-extras): Set to mcheck-init.o.
2541
3480ddc4
CD
25422017-10-16 Carlos O'Donell <carlos@redhat.com>
2543
2544 * include/shlib-compat.h (compat_symbol_reference): Update
2545 comment.
2546
02010e79
JM
25472017-10-16 Joseph Myers <joseph@codesourcery.com>
2548
596f7013
JM
2549 * math/Makefile (test-types): Add
2550 $(type-float128-$(float128-alias-fcts)).
2551 * math/test-float128.h (TYPE_STR): Define conditional on
2552 [FLT128_MANT_DIG == LDBL_MANT_DIG].
2553 (ULP_IDX): Likewise.
2554 (ULP_I_IDX): Likewise.
2555
02010e79
JM
2556 * stdlib/strtold.c: Include <bits/floatn.h>
2557 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
2558 and later undefine as macro. Define as weak alias if
2559 [!USE_WIDE_CHAR].
2560 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
2561 and later undefine as macro. Define as weak alias if
2562 [USE_WIDE_CHAR].
2563 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
2564 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
2565 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2566 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2567 Define and later undefine as macro. Define as weak alias if
2568 [USE_WIDE_CHAR].
2569 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
2570 <bits/floatn.h>.
2571 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
2572 Define and later undefine as macro. Define as weak alias if
2573 [!USE_WIDE_CHAR].
2574 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2575 Define and later undefine as macro. Define as weak alias if
2576 [USE_WIDE_CHAR].
2577
ea91c315
CD
25782017-10-15 Carlos O'Donell <carlos@redhat.com>
2579
2580 * localedata/collate-test.c (allocate_arrays): Don't use \n in
2581 record_verbose messages.
2582
8e57c943
L
25832017-10-15 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 [BZ #22052]
2586 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
2587 to silence -O3 -Wall warning with GCC 7.
2588
a4777c46
L
25892017-10-14 H.J. Lu <hongjiu.lu@intel.com>
2590
2591 * Makeconfig (+link-static-before-libc): Use the first of
2592 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
2593 * gmon/Makefile (tests): Add tst-gmon-static.
2594 (tests-static): Likewise.
2595 (CFLAGS-tst-gmon-static.c): New.
2596 (CRT-tst-gmon-static): Likewise.
2597 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
2598 (tst-gmon-static-ENV): Likewise.
2599 (tests-special): Likewise.
2600 ($(objpfx)tst-gmon-static.out): Likewise.
2601 (clean-tst-gmon-static-data): Likewise.
2602 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
2603 * gmon/tst-gmon-static-gprof.sh: New file.
2604 * gmon/tst-gmon-static.c: Likewise.
2605
bc3821bb
CD
26062017-10-13 Carlos O'Donell <carlos@redhat.com>
2607
2608 [BZ #22295]
2609 * locale/programs/linereader.c (get_string): Don't warn on
2610 non-symbolic character.
2611
a3e23a2c
CD
2612 [BZ #22294]
2613 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
2614 int_curr_symbol.
2615
f16491eb
CD
2616 [BZ #22292]
2617 * locale/programs/record-status.h: New file
2618 * locale/programs/locale.c: Add comment.
2619 * locale/programs/charmap-dir.c: Don't include error.h.
2620 (charmap_opendir): Use record_error.
2621 * locale/programs/charmap.c: Don't include error.h.
2622 (charmap_read): Use record_error, and record_warning.
2623 (parse_charmap): Likewise.
2624 * locale/programs/ld-address.c: Don't include error.h.
2625 (address_finish): Use record_error, and record_warning.
2626 * locale/programs/ld-collate.c: Don't include error.h.
2627 (collate_finish): Use record_error, and record_error_at_line.
2628 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
2629 (ctype_class_new): Likewise.
2630 (ctype_map_new): Likewise.
2631 (set_one_default): Likewise.
2632 (set_class_defaults): Likewise.
2633 (translit_flatten): Likewise.
2634 (allocate_arrays): Use record_error, and record_verbose.
2635 * locale/programs/ld-identification.c: Don't include error.h.
2636 (indentation_finish): Use record_error and record_warning.
2637 * locale/programs/ld-measurement.c: Don't include error.h.
2638 (measurement_finish): Use record_error.
2639 * locale/programs/ld-messages.c
2640 (message_finish): Likewise.
2641 * locale/programs/ld-monetary.c
2642 (monetary_finish): Likewise.
2643 * locale/programs/ld-name.c (name_finish): Use record_error
2644 and record_warning.
2645 * locale/programs/ld-numeric.c
2646 (numeric_finish): Use record_error.
2647 * locale/programs/ld-paper.c: Don't include error.h.
2648 (paper_finish): Use record_error.
2649 * locale/programs/ld-telephone.c: Don't include error.h.
2650 (telephone_finish): Use record_error.
2651 * locale/programs/ld-time.c (time_finish): Likewise.
2652 * locale/programs/linereader.h (lr_error): Make inline func.
2653 * locale/programs/localedef.c: Define recorded_warning_count,
2654 and recorded_error_count.
2655 (main): Use record_error. Use recorded_error_count and
2656 recorded_warning_count to issue correct error returns.
2657 (add_to_readlist): Use record_error.
2658 (find_locale): Likewise.
2659 (load_locale): Likewise.
2660 * locale/programs/localedef.h: Remove be_quiet
2661 and WITH_CUR_LOCALE.
2662 * locale/programs/locarchive.c (compare_from_file): Use
2663 record_error.
2664 * locale/programs/locfile.c (write_locale_data): Use
2665 record_error.
2666 * locale/programs/repertoire.c: Dont include error.h.
2667 (repertoire_complain): Use record_error.
2668 * localedata/tst-fmon.sh: Expect failures from localedef.
2669 * localedata/tst-locale.sh: Likewise.
2670 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
2671
8dc8be75
CD
2672 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
2673 (REPORTS): Likewise.
2674 (check): Likewise.
2675 (i18n): Rename to...
2676 (i18n_ctype): ...this.
2677 (i18n-report): Rename to...
2678 (i18n_ctype-report): ...this.
2679 * localedata/locales/i18n_ctype: Regenerate.
2680 * localedata/locales/i18n: copy i18n_ctype.
2681
f8718a9e
JM
26822017-10-13 Joseph Myers <joseph@codesourcery.com>
2683
18c08b96
JM
2684 * stdlib/strfroml.c: Include <bits/floatn.h>.
2685 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
2686 Define before include of <stdlib.h> and undefine afterwards, then
2687 define as weak alias.
2688
f8718a9e
JM
2689 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
2690 Undefine and restore default definition. Use
2691 libm_alias_ldouble_other.
2692
e4f530da
PZ
26932017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
2694
2695 [BZ #22153]
2696 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
2697 in coredumps.
2698
86445888
JC
26992017-10-13 James Clarke <jrtc27@jrtc27.com>
2700
2701 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2702 Assign sym_map to be map for local symbols, as TLS relocations
2703 use sym_map to determine whether the symbol is defined and to
2704 extract the TLS information.
2705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2707
179dcdb7
TMQMF
27082017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2709
e8dbd6a3
TMQMF
2710 [BZ #22189]
2711 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
2712 (math_force_eval): Add powerpc version.
2713
179dcdb7
TMQMF
2714 [BZ #22142]
2715 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
2716 -DBL_MAX.
2717 (do_test): Likewise.
2718 * stdio-common/tst-printf.sh: Likewise.
2719 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
2720 ifdef clause in order to set the carry bit right. Replace r0 by
2721 0 without changing the behavior.
2722
7d25d410
JM
27232017-10-13 Joseph Myers <joseph@codesourcery.com>
2724
006e7664
JM
2725 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
2726 <libm-alias-ldouble.h>.
2727 (fabsl): Define using libm_alias_ldouble.
2728 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
2729 <libm-alias-ldouble.h>.
2730 (fabsl): Define using libm_alias_ldouble.
2731
1def91b3
JM
2732 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
2733 Remove conditional code.
2734
7d25d410
JM
2735 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
2736 Rename to __clog10_internal_l.
2737 (__clog10_internal_l): Define aliases using
2738 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
2739 with __clog10.
2740
077ee129
RS
27412017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2742
2743 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
2744 * benchtests/sincosf-inputs: New file.
2745 * benchtests/cosf-inputs: New file.
2746 * benchtests/sinf-inputs: New file.
2747
5ba41de9
SN
27482017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2749
2750 * posix/tst-spawn.c (do_test): Wait for both children.
2751
d165ca64
L
27522017-10-12 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 [BZ #22284]
2755 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
2756 tests-pie): Add tst-gmon-pie.
2757 (CFLAGS-tst-gmon-pie.c): New.
2758 (CRT-tst-gmon-pie): Likewise.
2759 (tst-gmon-pie-ENV): Likewise.
2760 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
2761 ($(objpfx)tst-gmon-pie.out): Likewise.
2762 (clean-tst-gmon-pie-data): Likewise.
2763 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
2764 * gmon/gmon.c [PIC]: Include <link.h>.
2765 [PIC] (callback): New function.
2766 (write_hist): Add an argument for load address. Subtract load
2767 address from PCs.
2768 (write_call_graph): Likewise.
2769 (write_gmon): Call __dl_iterate_phdr to get load address, pass
2770 it to write_hist and write_call_graph.
7bacdcfc 2771 * gmon/tst-gmon-pie.c: New file.
d165ca64 2772
bc9620d0
JM
27732017-10-11 Joseph Myers <joseph@codesourcery.com>
2774
2775 * math/Makefile (test-types-basic): New variable.
2776 (test-types): Likewise.
2777 (libm-test-support): Use $(test-types) instead of $(types).
2778 (libm-tests-base-normal): Likewise.
2779 (libm-tests-base-finite): Likewise.
2780 (libm-tests-base-inline): Likewise.
2781 (generated): Likewise.
2782 ($(objpfx)libm-test-support-$(t).c): Likewise.
2783 (libm-tests-for-type iterator): Likewise.
2784 (libm-test-support iterator): Likewise.
2785 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
2786 (ulp_idx): Use ULP_IDX.
2787 * math/test-ldouble.h: Include <float.h>.
2788 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
2789 (ULP_IDX): New macro.
2790 (ULP_I_IDX): Likewise.
2791 * math/test-double.h (ULP_IDX): Likewise.
2792 (ULP_I_IDX): Likewise.
2793 * math/test-float.h (ULP_IDX): Likewise.
2794 (ULP_I_IDX): Likewise.
2795 * math/test-float128.h (ULP_IDX): Likewise.
2796 (ULP_I_IDX): Likewise.
2797
09c76a74
AZ
27982017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2799
2800 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
2801 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2802 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2803 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
2804 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2805 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
2806 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2808 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2809 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2810 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
2811 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2812 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2814 (SINGLE_THREAD_BY_GLOBAL): Define.
2815 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2816 Likewise.
2817 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2818 Likewise.
2819 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2820 Likewise.
2821 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
2824 (SINGLE_THREAD_BY_GLOBAL): Likewise.
2825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2826 Likewise.
2827
2faa42da
AS
28282017-10-11 Andreas Schwab <schwab@suse.de>
2829
2830 * nis/Makefile (aux): Remove.
2831 * nscd/Makefile (aux): Add nscd_hash.
2832 (nscd-modules): Likewise.
2833 ($(objpfx)nscd): Don't depend on libnsl.
2834 * nscd/nscd_hash.c: New file.
2835 * nscd/nscd_hash.h: Likewise.
2836 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
2837 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
2838 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
2839 instead of <nis/rpcsvc/nis.h>.
2840 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
2841
d8425e11
FW
28422017-10-11 Florian Weimer <fweimer@redhat.com>
2843
2844 [BZ #22078]
2845 Avoid large NSS buffers with many addresses, aliases.
2846 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
2847 using dynarrays and struct alloc_buffer.
2848 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
2849 (tst-nss-files-hosts-multi): Link with -ldl.
2850 * nss/tst-nss-files-hosts-multi.c: New file.
2851
78e806fd
FW
28522017-10-11 Florian Weimer <fweimer@redhat.com>
2853
2854 [BZ #18023]
2855 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
2856 scratch_buffer. Eliminate gotos.
2857
541f19ba
JM
28582017-10-11 Joseph Myers <joseph@codesourcery.com>
2859
0ff64d3a
JM
2860 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
2861 libm_alias_ldouble_other.
2862 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
2863 undefine and redefine.
2864 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2865 (exp10l): Do not define here.
2866 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
2867 (weak_alias): Undefine and redefine.
2868 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
2869 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2870 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
2871 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
2872
541f19ba
JM
2873 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
2874 [!__fma] (fma): Define using libm_alias_double.
2875 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
2876 [!__fmaf] (fmaf): Define using libm_alias_float.
2877 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
2878 (fmal): Define using libm_alias_ldouble.
2879
24b6515d
JM
28802017-10-10 Joseph Myers <joseph@codesourcery.com>
2881
2882 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
2883 New macro.
2884 (libm_alias_double_other): Likewise.
2885 (libm_alias_double_r): Use libm_alias_double_other_r.
2886 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
2887 New macro.
2888 (libm_alias_float_other): Likewise.
2889 (libm_alias_float_r): Use libm_alias_float_other_r.
2890 * sysdeps/generic/libm-alias-float128.h
2891 (libm_alias_float128_other_r): New macro.
2892 (libm_alias_float128_other): Likewise.
2893 (libm_alias_float128_r): Use libm_alias_float128_other_r.
2894 * sysdeps/generic/libm-alias-ldouble.h
2895 (libm_alias_ldouble_other_r): New macro.
2896 (libm_alias_ldouble_other): Likewise.
2897 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2898 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
2899 (libm_alias_double_other_r): New macro.
2900 (libm_alias_double_other): Likewise.
2901 (libm_alias_double_r): Use libm_alias_double_other_r.
2902 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
2903 (libm_alias_ldouble_other_r): New macro.
2904 (libm_alias_ldouble_other): Likewise.
2905 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2906 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
2907 [!USE_AS_COMPAT]: Use libm_alias_double_other.
2908 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
2909 [!USE_AS_COMPAT]: Use libm_alias_float_other.
2910 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
2911 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
2912 * math/w_exp2f.c: Use libm_alias_float_other.
2913 * math/w_expf.c: Likewise.
2914 * math/w_log2f.c: Likewise.
2915 * math/w_logf.c: Likewise.
2916 * math/w_powf.c: Likewise.
2917 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
2918 [!__exp2f]: Use libm_alias_float_other.
2919 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
2920 [!__expf]: Use libm_alias_float_other.
2921 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
2922 [!__log2f]: Use libm_alias_float_other.
2923 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
2924 [!__logf]: Use libm_alias_float_other.
2925 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
2926 [!__powf]: Use libm_alias_float_other.
2927
8ed70de2
FW
29282017-10-10 Florian Weimer <fweimer@redhat.com>
2929
2930 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
2931 function.
2932 (_nss_files_gethostbyname3_r): Call it.
2933
a8dce619
JM
29342017-10-09 Joseph Myers <joseph@codesourcery.com>
2935
2936 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
2937 error. Remove default definition of declare_mgen_alias.
2938 [!declare_mgen_alias_r]: Likewise.
2939 * sysdeps/generic/math-type-macros-double.h
2940 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
2941 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
2942 (declare_mgen_alias_r): Likewise.
2943 * sysdeps/generic/math-type-macros-float128.h
2944 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
2945 * sysdeps/generic/math-type-macros-ldouble.h
2946 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
2947 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
2948 macro.
2949 (declare_mgen_alias_r_s): Likewise.
2950 (declare_mgen_alias_r): Likewise.
2951 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
2952 (lgamma_r): Define using libm_alias_double_r.
2953 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
2954 (lgammaf_r): Define using libm_alias_float_r.
2955 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
2956 (lgammal_r): Define using libm_alias_ldouble_r.
2957 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
2958 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2959
bedac136
AZ
29602017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2961
2962 * lib/glob.c (__glob_pattern_type): Remove now-spurious
2963 extern declaration.
2964
c7509db2
JM
29652017-10-09 Joseph Myers <joseph@codesourcery.com>
2966
2967 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
2968
d6c064e9
JW
29692017-10-09 Jonathan Wakely <jwakely@redhat.com>
2970
2971 [BZ #21326]
2972 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
2973 [__cplusplus >= 201103] (__USE_ISOC99): Define.
2974 * math/Makefile (test-math-cxx11): New test.
2975 * math/test-math-cxx11.cc: New file.
2976
98e07420
CB
29772017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
2978
2979 * login/openpty.c (openpty): Close slave pty file descriptor on error.
2980
645ac9aa
CB
2981 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
2982 call to allocate the slave pty file descriptor.
2983
fd3b4e7c
JM
29842017-10-06 Joseph Myers <joseph@codesourcery.com>
2985
f85a176f
JM
2986 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
2987 [!__fma] (fma): Define using libm_alias_double.
2988 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
2989 [!__fma] (fma): Define using libm_alias_double.
2990
fd3b4e7c
JM
2991 * sysdeps/ieee754/float128/float128_private.h: Include
2992 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
2993 (libm_alias_ldouble_r): Undefine and redefine.
2994 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
2995 <libm-alias-ldouble.h>.
2996 (asinhl): Define using libm_alias_ldouble.
2997 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
2998 <libm-alias-ldouble.h>.
2999 (atanl): Define using libm_alias_ldouble.
3000 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
3001 <libm-alias-ldouble.h>.
3002 (cbrtl): Define using libm_alias_ldouble.
3003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
3004 <libm-alias-ldouble.h>.
3005 (ceill): Define using libm_alias_ldouble.
3006 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
3007 <libm-alias-ldouble.h>.
3008 (copysignl): Define using libm_alias_ldouble.
3009 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
3010 <libm-alias-ldouble.h>.
3011 (cosl): Define using libm_alias_ldouble.
3012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
3013 <libm-alias-ldouble.h>.
3014 (erfl): Define using libm_alias_ldouble.
3015 (erfcl): Likewise.
3016 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
3017 <libm-alias-ldouble.h>.
3018 (expm1l): Define using libm_alias_ldouble.
3019 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
3020 <libm-alias-ldouble.h>.
3021 (fabsl): Define using libm_alias_ldouble.
3022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
3023 <libm-alias-ldouble.h>.
3024 (floorl): Define using libm_alias_ldouble.
3025 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
3026 <libm-alias-ldouble.h>.
3027 (fmal): Define using libm_alias_ldouble.
3028 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
3029 <libm-alias-ldouble.h>.
3030 (frexpl): Define using libm_alias_ldouble.
3031 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
3032 libm_alias_ldouble.
3033 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
3034 <libm-alias-ldouble.h>.
3035 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
3036 libm_alias_ldouble.
3037 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
3038 <libm-alias-ldouble.h>.
3039 (getpayloadl): Define using libm_alias_ldouble.
3040 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
3041 <libm-alias-ldouble.h>.
3042 (llrintl): Define using libm_alias_ldouble.
3043 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
3044 <libm-alias-ldouble.h>.
3045 (llroundl): Define using libm_alias_ldouble.
3046 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
3047 <libm-alias-ldouble.h>.
3048 (logbl): Define using libm_alias_ldouble.
3049 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
3050 <libm-alias-ldouble.h>.
3051 (lrintl): Define using libm_alias_ldouble.
3052 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
3053 <libm-alias-ldouble.h>.
3054 (lroundl): Define using libm_alias_ldouble.
3055 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
3056 <libm-alias-ldouble.h>.
3057 (modfl): Define using libm_alias_ldouble.
3058 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
3059 <libm-alias-ldouble.h>.
3060 (nearbyintl): Define using libm_alias_ldouble.
3061 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
3062 <libm-alias-ldouble.h>.
3063 (nextafterl): Define using libm_alias_ldouble.
3064 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
3065 <libm-alias-ldouble.h>.
3066 (nextupl): Define using libm_alias_ldouble.
3067 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
3068 <libm-alias-ldouble.h>.
3069 (remquol): Define using libm_alias_ldouble.
3070 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
3071 <libm-alias-ldouble.h>.
3072 (rintl): Define using libm_alias_ldouble.
3073 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
3074 <libm-alias-ldouble.h>.
3075 (roundevenl): Define using libm_alias_ldouble.
3076 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
3077 <libm-alias-ldouble.h>.
3078 (roundl): Define using libm_alias_ldouble.
3079 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
3080 using libm_alias_ldouble.
3081 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
3082 <libm-alias-ldouble.h>.
3083 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
3084 Define using libm_alias_ldouble.
3085 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
3086 <libm-alias-ldouble.h>.
3087 (sincosl): Define using libm_alias_ldouble.
3088 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
3089 <libm-alias-ldouble.h>.
3090 (sinl): Define using libm_alias_ldouble.
3091 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
3092 <libm-alias-ldouble.h>.
3093 (tanhl): Define using libm_alias_ldouble.
3094 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
3095 <libm-alias-ldouble.h>.
3096 (tanl): Define using libm_alias_ldouble.
3097 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3098 <libm-alias-ldouble.h>.
3099 (totalorderl): Define using libm_alias_ldouble.
3100 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3101 <libm-alias-ldouble.h>.
3102 (totalordermagl): Define using libm_alias_ldouble.
3103 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
3104 <libm-alias-ldouble.h>.
3105 (truncl): Define using libm_alias_ldouble.
3106 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
3107 libm_alias_ldouble.
3108 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
3109 libm_alias_ldouble.
3110 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
3111 <libm-alias-ldouble.h>.
3112 (weak_alias): Do not undefine and redefine.
3113 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3114 (copysignl): Define with long_double_symbol only if [IS_IN
3115 (libc)].
3116 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
3117 <libm-alias-ldouble.h>.
3118 (weak_alias): Do not undefine and redefine.
3119 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3120 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
3121 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
3122 <libm-alias-ldouble.h>.
3123 (weak_alias): Do not undefine and redefine.
3124 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3125 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
3126 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
3127 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
3130 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
3133 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
3136 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
3143 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
3150
1e26d351
CD
31512017-10-06 Carlos O'Donell <carlos@redhat.com>
3152
3153 [BZ #22111]
3154 * malloc/malloc.c (tcache_shutting_down): Use bool type.
3155 (tcache_thread_freeres): Set tcache_shutting_down before
3156 freeing the tcache.
3157 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
3158 * malloc/tst-malloc-tcache-leak.c: New file.
3159
d1386762
RS
31602017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3161
3162 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
3163 back to powerpc32 file.
3164 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3165 (memrchr): Add __memrchr_power8 to ifunc list.
3166 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
3167 extra bytes for unaligned inputs.
3168
6dff1983
JM
31692017-10-06 Joseph Myers <joseph@codesourcery.com>
3170
3171 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
3172 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3176
86f9568a
JM
31772017-10-05 Joseph Myers <joseph@codesourcery.com>
3178
0db0b931
JM
3179 * sysdeps/arm/libm-test-ulps: Update.
3180
86f9568a
JM
3181 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
3182 <libm-alias-ldouble.h>.
3183 (asinhl): Define using libm_alias_ldouble.
3184 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
3185 <libm-alias-ldouble.h>.
3186 (cbrtl): Define using libm_alias_ldouble.
3187 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
3188 <libm-alias-ldouble.h>.
3189 (copysignl): Define using libm_alias_ldouble.
3190 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
3191 <libm-alias-ldouble.h>.
3192 (cosl): Define using libm_alias_ldouble.
3193 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
3194 <libm-alias-ldouble.h>.
3195 (erfl): Define using libm_alias_ldouble.
3196 (erfcl): Likewise.
3197 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
3198 <libm-alias-ldouble.h>.
3199 (fmal): Define using libm_alias_ldouble.
3200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
3201 <libm-alias-ldouble.h>.
3202 (frexpl): Define using libm_alias_ldouble.
3203 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
3204 libm_alias_ldouble.
3205 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
3206 <libm-alias-ldouble.h>.
3207 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
3208 libm_alias_ldouble.
3209 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
3210 <libm-alias-ldouble.h>.
3211 (getpayloadl): Define using libm_alias_ldouble.
3212 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
3213 <libm-alias-ldouble.h>.
3214 (llrintl): Define using libm_alias_ldouble.
3215 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
3216 <libm-alias-ldouble.h>.
3217 (llroundl): Define using libm_alias_ldouble.
3218 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
3219 <libm-alias-ldouble.h>.
3220 (lrintl): Define using libm_alias_ldouble.
3221 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
3222 <libm-alias-ldouble.h>.
3223 (lroundl): Define using libm_alias_ldouble.
3224 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
3225 <libm-alias-ldouble.h>.
3226 (modfl): Define using libm_alias_ldouble.
3227 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
3228 <libm-alias-ldouble.h>.
3229 (nextupl): Define using libm_alias_ldouble.
3230 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
3231 <libm-alias-ldouble.h>.
3232 (remquol): Define using libm_alias_ldouble.
3233 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
3234 <libm-alias-ldouble.h>.
3235 (roundevenl): Define using libm_alias_ldouble.
3236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
3237 <libm-alias-ldouble.h>.
3238 (roundl): Define using libm_alias_ldouble.
3239 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
3240 using libm_alias_ldouble.
3241 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
3242 <libm-alias-ldouble.h>.
3243 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
3244 <libm-alias-ldouble.h>.
3245 (setpayloadsigl): Define using libm_alias_ldouble.
3246 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
3247 <libm-alias-ldouble.h>.
3248 (sincosl): Define using libm_alias_ldouble.
3249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
3250 <libm-alias-ldouble.h>.
3251 (sinl): Define using libm_alias_ldouble.
3252 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
3253 <libm-alias-ldouble.h>.
3254 (tanhl): Define using libm_alias_ldouble.
3255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
3256 <libm-alias-ldouble.h>.
3257 (tanl): Define using libm_alias_ldouble.
3258 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3259 <libm-alias-ldouble.h>.
3260 (totalorderl): Define using libm_alias_ldouble.
3261 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3262 <libm-alias-ldouble.h>.
3263 (totalordermagl): Define using libm_alias_ldouble.
3264 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
3265 libm_alias_ldouble.
3266 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
3267 libm_alias_ldouble.
3268
9ec87fd2
SP
32692017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
3270
dd5bc7f1
SP
3271 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3272 memmove_falkor.
3273 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3274 (__libc_ifunc_impl_list): Likewise.
3275 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3276 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
3277
5bfb0404
SP
3278 * benchtests/bench-memmove-walk.c: New file.
3279 * benchtests/Makefile (string-benchset): Add it.
3280
36bb8edf
SP
3281 * benchtests/bench-memset-walk.c: New file.
3282 * benchtests/Makefile (string-benchset): Add it.
3283
9ec87fd2
SP
3284 * benchtests/bench-memcpy-walk.c: New file.
3285 * benchtests/Makefile (string-benchset): Add it.
3286
1e9522c6
FW
32872017-10-05 Florian Weimer <fweimer@redhat.com>
3288
3289 nscd: Eliminate compilation time dependency in the build output.
3290 * nscd/nscd_stat.c (STATDATA_VERSION)
3291 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
3292 (STATDATA_VERSION_FULL): New macro definitions.
3293 (compilation): Remove.
3294 (struct statdata): Adjust version member.
3295 (send_stats): Set version from STATDATA_VERSION_FULL.
3296 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
3297
644d3857
JM
32982017-10-05 Joseph Myers <joseph@codesourcery.com>
3299
3300 * configure.ac (--enable-add-ons): Remove option.
3301 (machine): Do not mention add-ons in comment.
3302 (LIBC_PRECONFIGURE): Likewise.
3303 (add_ons): Remove variable and sanity checks and logic to locate
3304 add-ons.
3305 (add_ons_automatic): Remove variable.
3306 (configured_add_ons): Likewise.
3307 (add_ons_sfx): Likewise.
3308 (add_ons_pfx): Likewise.
3309 (add_on_subdirs): Likewise.
3310 (sysnames_add_ons): Likewise. Remove loop over add-ons and
3311 consideration of add-ons in Implies handling.
3312 (sysdeps_add_ons): Likewise.
3313 * configure: Regenerated.
3314 * libidn/configure.ac: Remove.
3315 * libidn/configure: Likewise.
3316 * sysdeps/unix/inet/configure.ac: New file.
3317 * sysdeps/unix/inet/configure: New generated file.
3318 * sysdeps/unix/inet/Subdirs: Add libidn.
3319 * Makeconfig (sysdeps-srcdirs): Remove variable.
3320 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
3321 ($(common-objpfx)config.status): Do not depend on add-on files.
3322 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
3323 comment.
3324 (all-subdirs): Do not include $(add-on-subdirs).
3325 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
3326 * config.make.in (add-ons): Remove variable.
3327 (add-on-subdirs): Likewise.
3328 (sysdeps-add-ons): Likewise.
3329 * manual/Makefile (add-chapters): Remove.
3330 ($(objpfx)texis): Do not depend on $(add-chapters).
3331 (nonexamples): Do not handle $(add-chapters).
3332 (examples): Do not handle $(add-ons).
3333 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
3334 libc-texinfo.sh.
3335 * manual/install.texi (Installation): Do not mention add-ons.
3336 (--enable-add-ons): Do not document configure option.
3337 * INSTALL: Regenerated.
3338 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
3339 * manual/maint.texi (Hierarchy Conventions): Do not mention
3340 add-ons.
3341 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
3342 --enable-add-ons.
3343 * scripts/gen-sorted.awk: Do not handle Subdirs files from
3344 add-ons.
3345 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
3346 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
3347
19f82f35
AS
33482017-10-05 Andreas Schwab <schwab@suse.de>
3349
3350 [BZ #15142]
3351 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
3352 (_IO_flush_all_lockp): Always lock list_all_lock.
3353 (_IO_flush_all_linebuffered): Likewise.
3354 (_IO_unbuffer_all): Likewise.
3355
91e7cf98
FW
33562017-10-05 Florian Weimer <fweimer@redhat.com>
3357
3358 [BZ #15436]
3359 Do not flush stdio streams on abort.
3360 * stdlib/abort.c (fflush): Remove macro definition.
3361 (abort): Remove stages related to stdio flushing.
3362
0c251257
FW
33632017-10-05 Florian Weimer <fweimer@redhat.com>
3364
3365 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
3366
7ea59e3e
SL
33672017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
3368
3369 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3370
84d0e6f0
FW
33712017-10-05 Florian Weimer <fweimer@redhat.com>
3372
3373 * support/support_format_hostent.c (support_format_hostent): Add
3374 more error information for NETDB_INTERNAL.
3375
ee417882
L
33762017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3377
3378 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
3379 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
3380 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
3381 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
3382 AC_DEFINE if multi-arch is enabled.
3383 * sysdeps/i386/configure: Regenerated.
3384
a67029ff
L
33852017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 * Makeconfig (+link-static-before-libc): Use
3388 $(DEFAULT-LDFLAGS-$(@F)).
3389 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
3390 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
3391 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
3392
5dba84b3
L
33932017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * elf/Makefile (tests): Add tst-main1.
3396 (modules-names): Add tst-main1mod.
3397 ($(objpfx)tst-main1): New.
3398 (CRT-tst-main1): Likewise.
3399 (LDFLAGS-tst-main1): Likewise.
3400 (LDLIBS-tst-main1): Likewise.
3401 (tst-main1mod.so-no-z-defs): Likewise.
3402 * elf/tst-main1.c: New file.
3403 * elf/tst-main1mod.c: Likewise.
3404
758f1bfa
L
34052017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
3408
7e16a5d1
JM
34092017-10-04 Joseph Myers <joseph@codesourcery.com>
3410
3411 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
3412 (fma): Define using libm_alias_double.
3413 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
3414 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
3415 <math_ldbl_opt.h>.
3416 (fmal): Do not define as compat symbol here.
3417 * sysdeps/alpha/fpu/s_fma.c: New file.
3418
db4f87ba
SN
34192017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3420
3421 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
3422
72d13ed1
JM
34232017-10-04 Joseph Myers <joseph@codesourcery.com>
3424
32d372d5
JM
3425 [BZ #22229]
3426 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3427 <math_ldbl_opt.h>
3428 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3429 and libc.
3430 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
3431 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3432 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
3433 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3435 Include <math_ldbl_opt.h>
3436 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3437 and libc.
3438 (compat_symbol): Undefine and redefine.
3439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3440 <math_ldbl_opt.h>
3441 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3442 (compat_symbol): Undefine and redefine.
3443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
3444 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
3445 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
3446 GLIBC_2_1 for libm.
3447 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
3448 GLIBC_2.0 copysignl symbol.
3449 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3450 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
3451
72d13ed1
JM
3452 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
3453
11c4f501
FW
34542017-10-04 Florian Weimer <fweimer@redhat.com>
3455
3456 * scripts/check-local-headers.sh: Ignore nspr4 header file
3457 directory in addition to nspr.
3458
57b4af19
GT
34592017-10-04 Guido Trentalancia <guido@trentalancia.net>
3460
3461 [BZ #17956]
3462 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
3463 * configure: Regenerate.
3464 * crypt/Makefile (nss-cpp-flags): New variable.
3465 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
3466 (CPPFLAGS-md5-crypt.c): Use it.
3467 * scripts/check-local-headers.sh: Ignore nspr header file
3468 directory.
3469
64d1e08e
AS
34702017-10-04 Andreas Schwab <schwab@suse.de>
3471
3472 * nis/Makefile (services): Remove compat.
3473 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
3474 ($(objpfx)libnss_compat.so): Remove rule.
3475 * nis/Versions (libnss_compat): Remove.
3476 * nss/Makefile (services): Add compat.
3477 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
3478 * nss/Versions (libnss_compat): Define.
3479 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
3480 Don't include <rpc/types.h>. Replace bool_t by bool.
3481 * nss/nss_compat/compat-initgroups.c: Likewise.
3482 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
3483 instead of <rpcsrv/ypclnt.h>.
3484 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
3485 yp_get_default_domain.
3486 * nss/nss_compat/compat-pwd.c: Likewise.
3487 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
3488 yp_get_default_domain.
3489 * nss/nss_compat/nisdomain.c: New file.
3490 * nss/nss_compat/nisdomain.h: Likewise.
3491
86c27ade
SN
34922017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3493
3494 [BZ #22244]
3495 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
3496 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3497
8f8f8ef7
SN
34982017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3499
3500 [BZ #22243]
3501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
3502 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
3503
95577475
L
35042017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3505
3506 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
3507 "movl main@GOTOFF(%ebx), %eax".
3508
02d2d892
L
35092017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3510
3511 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
3512 allow undefined _DYNAMIC in PIE libc.a.
3513 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
3514 Likewse.
3515
0c609d19
L
35162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
3519 check _DYNAMIC.
3520
c34a19ed
L
35212017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3522
3523 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
3524 check _DYNAMIC.
3525
cdd4155d
L
35262017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 * math/test-math-iscanonical.cc (error): Replace bool with int.
3529
4699cb8b
JM
35302017-10-03 Joseph Myers <joseph@codesourcery.com>
3531
d8f619b3
JM
3532 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
3533 (modf): Define using libm_alias_double, only if [!__modf].
3534 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
3535 <libm-alias-double.h>.
3536 (modf): Define using libm_alias_double, only if [!__modf].
3537 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
3538 compat symbol here.
3539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
3540 (weak_alias): Do not undefine and redefine.
3541 (strong_alias): Likewise.
3542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
3543 (weak_alias): Likewise.
3544 (strong_alias): Likewise.
3545
4699cb8b
JM
3546 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
3547 (logb): Define using libm_alias_double, only if [!__logb].
3548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
3549 <libm-alias-double.h>.
3550 (logb): Define using libm_alias_double, only if [!__logb].
3551 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
3552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
3553 (weak_alias): Do not undefine and redefine.
3554 (strong_alias): Likewise.
3555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
3556 (weak_alias): Likewise.
3557 (strong_alias): Likewise.
3558
bcc4e4bb
L
35592017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3560
3561 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
3562 Check SHARED instead PIC.
3563
39793865
JM
35642017-10-03 Joseph Myers <joseph@codesourcery.com>
3565
7f1cbdf8
JM
3566 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
3567 [!__fmaf] (fmaf): Define using libm_alias_float.
3568
39793865
JM
3569 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
3570 (frexp): Define using libm_alias_double.
3571 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
3572 <libm-alias-double.h>.
3573 (frexp): Define using libm_alias_double.
3574 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
3575 compat symbol here.
3576
aa0235df
GG
35772017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3578
3579 [BZ #22235]
3580 * math/math.h: Trivial fix for unbalanced parentheses in comment.
3581 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
3582 (CFLAGS-test-math-iscanonical.cc): New variable.
3583 * math/test-math-iscanonical.cc: New file.
3584 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
3585 Provide a C++ implementation based on function overloading,
3586 rather than using __MATH_TG, which uses C-only builtins.
3587 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
3588 Likewise.
3589 * sysdeps/powerpc/powerpc64le/Makefile
3590 (CFLAGS-test-math-iscanonical.cc): New variable.
3591
a1132b5e
JM
35922017-10-03 Joseph Myers <joseph@codesourcery.com>
3593
3594 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
3595 (ceil): Define using libm_alias_double.
3596 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
3597 (floor): Define using libm_alias_double.
3598 * sysdeps/ieee754/dbl-64/s_llround.c: Include
3599 <libm-alias-double.h>.
3600 (llround): Define using libm_alias_double.
3601 * sysdeps/ieee754/dbl-64/s_lround.c: Include
3602 <libm-alias-double.h>.
3603 (lround): Define using libm_alias_double.
3604 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
3605 <libm-alias-double.h>.
3606 (nearbyint): Define using libm_alias_double.
3607 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
3608 <libm-alias-double.h>.
3609 (remquo): Define using libm_alias_double.
3610 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
3611 (rint): Define using libm_alias_double.
3612 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
3613 (round): Define using libm_alias_double.
3614 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
3615 (trunc): Define using libm_alias_double.
3616 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
3617 <libm-alias-double.h>.
3618 (ceil): Define using libm_alias_double.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
3620 <libm-alias-double.h>.
3621 (floor): Define using libm_alias_double.
3622 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
3623 <libm-alias-double.h>.
3624 (llround): Define using libm_alias_double.
3625 [_LP64] (lround): Likewise.
3626 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
3627 <libm-alias-double.h>.
3628 [!_LP64] (lround): Define using libm_alias_double.
3629 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
3630 <libm-alias-double.h>.
3631 (nearbyint): Define using libm_alias_double.
3632 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
3633 <libm-alias-double.h>.
3634 (remquo): Define using libm_alias_double.
3635 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
3636 <libm-alias-double.h>.
3637 (rint): Define using libm_alias_double.
3638 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
3639 <libm-alias-double.h>.
3640 (round): Define using libm_alias_double.
3641 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
3642 <libm-alias-double.h>.
3643 (trunc): Define using libm_alias_double.
3644 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
3645 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
3646 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
3647 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
3648 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
3649 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
3650 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
3651 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
3652 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
3653
f275f64e
SN
36542017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3655
3656 * math/w_remainder.c: New file.
3657 * math/w_remainderf.c: New file.
3658 * math/w_remainderl.c: New file.
3659
b8818ab5
L
36602017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3661
3662 * elf/rtld.c (BOOTSTRAP_MAP): New.
3663 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
3664 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3665 Likewise.
3666 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3667 Likewise.
3668 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3669 Likewise.
3670
3d1870fa
ST
36712017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3672
3673 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
3674 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
3675 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
3676 rtld_hidden_data_ver): Define to empty.
3677 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
3678 __assert_perror_fail): Likewise.
3679 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3680 (__rewinddir): Likewise.
3681 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3682 (__profile_frequency): Likewise.
3683 * include/setjmp.h (__sigsetjmp): Likewise.
3684 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
3685 __libc_sigaction): Likewise.
3686 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
3687 not set hidden attribute.
3688 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
3689 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
3690 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
3691 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
3692 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
3693 __fxstatat64): Likewise.
3694 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3695 (__uname): Likewise.
3696 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3697 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
3698 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
3699 (NO_RTLD_HIDDEN): Set.
3700 * sysdeps/mach/hurd/configure: Refresh.
3701 * config.h.in: Refresh.
3702
527cd19c
JM
37032017-10-02 Joseph Myers <joseph@codesourcery.com>
3704
38722448
JM
3705 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
3706 (atan): Define using libm_alias_double.
3707 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
3708 (tan): Define using libm_alias_double.
3709 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
3710 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
3711
527cd19c
JM
3712 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
3713 define as weak alias of __atan. Do not define any aliases if
3714 [__atan].
3715 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
3716 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
3717 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
3718 as weak alias of __tan. Do not define any aliases if [__tan].
3719 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
3720 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
3721 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
3722 __atan.
3723 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
3724 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
3725 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
3726 and define as weak alias of __atan.
3727 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
3728 __atan.
3729 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
3730 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
3731 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
3732 define as weak alias of __tan.
3733
bdc5c592
SN
37342017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3735
3736 * math/w_lgamma.c: New file.
3737 * math/w_lgammaf.c: New file.
3738 * math/w_lgammal.c: New file.
3739
bd4430c2
SN
37402017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3741
3742 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
3743 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
3744 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
3745 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
3746 * sysdeps/ieee754/flt-32/w_logf.c: New file.
3747 * sysdeps/ieee754/flt-32/w_powf.c: New file.
3748 * sysdeps/i386/fpu/w_log2f.c: New file.
3749 * sysdeps/i386/fpu/w_logf.c: New file.
3750 * sysdeps/i386/fpu/w_powf.c: New file.
3751 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
3752 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
3753 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
3754
f7a0b063
SN
37552017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3756 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
3759 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
3760 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
3761 * sysdeps/ieee754/flt-32/w_expf.c: New file.
3762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
3763 the new expf code.
3764 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
3765 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
3766 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
3767 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
3768 * sysdeps/i386/fpu/w_exp2f.c: New file.
3769 * sysdeps/i386/fpu/w_expf.c: New file.
3770 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
3771 * sysdeps/x86_64/fpu/w_expf.c: New file.
3772
72d3d281
SN
37732017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3774
3775 * math/Versions (logf): New libm symbol at GLIBC_2.27.
3776 (log2f): Likewise.
3777 (powf): Likewise.
3778 * math/w_log2f.c: New file.
3779 * math/w_logf.c: New file.
3780 * math/w_powf.c: New file.
3781 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
3782 * math/w_logf_compat.c (__logf_compat): Likewise.
3783 * math/w_powf_compat.c (__powf_compat): Likewise.
3784 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
3785 * sysdeps/ia64/fpu/e_logf.S: Likewise.
3786 * sysdeps/ia64/fpu/e_powf.S: Likewise.
3787 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3788 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3789 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3790 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3791 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3792 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3793 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3794 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3795 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3796 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3797 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3798 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3800 Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3802 Likewise.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3804 Likewise.
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3806 Likewise.
3807 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3809 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3810 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3811 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3813 Likewise.
3814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3815 Likewise.
3816 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3817 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3818 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3819
59ba2d2b
RS
38202017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3821
3822 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3823 (sysdep_routines): Add memrchr_power8.
3824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3825 (memrchr): Add __memrchr_power8 to list of memrchr functions.
3826 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
3827 New file.
3828 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3829 (memrchr): Add __memrchr_power8 to ifunc list.
3830 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
3831
397286ea
L
38322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 [BZ #18822]
3835 * sysdeps/unix/sysv/linux/posix_fadvise64.c
3836 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
3837 libc_hidden_def.
3838 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3839 (__posix_fallocate64_l64): Likewise.
3840
d0a4512b
L
38412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3842
3843 [BZ #18822]
3844 * sysdeps/unix/sysv/linux/sched_setaffinity.c
3845 (__sched_setaffinity_new): Add libc_hidden_proto and
3846 libc_hidden_def.
3847
c0769f70
L
38482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3849
3850 [BZ #18822]
3851 * include/glob.h (__glob64): Add libc_hidden_proto.
3852 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
3853 libc_hidden_def.
3854
0e7d5b6e
L
38552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 [BZ #18822]
3858 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
3859 attribute_hidden.
3860
bde06c87
L
38612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3862
3863 [BZ #18822]
3864 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
3865
fa426590
L
38662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3867
3868 [BZ #18822]
3869 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
3870 libc_hidden_def.
3871
2f8a05d8
L
38722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3873
3874 [BZ #18822]
3875 * csu/version.c (__libc_print_version): Add attribute_hidden.
3876
7bfd08ac
L
38772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 [BZ #18822]
3880 * include/libc-internal.h (__init_misc): Add attribute_hidden.
3881
0e1fd06c
L
38822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3883
3884 [BZ #18822]
3885 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
3886
36e7ae1e
L
38872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3888
3889 [BZ #18822]
3890 * nscd/nscd_helper.c (__nis_hash): New prototype.
3891
87078544
L
38922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 [BZ #18822]
3895 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
3896 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
3897 libc_hidden_def.
3898 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3899 * termios/tcgetattr.c (__tcgetattr): Likewise.
3900
dd3121df
L
39012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 [BZ #18822]
3904 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
3905 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
3906 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
3907 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
3908 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
3909
047d1a81
L
39102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3911
3912 [BZ #18822]
3913 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
3914
fd331b11
L
39152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 [BZ #18822]
3918 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
3919 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
3920
57f859bd
L
39212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3922
3923 [BZ #18822]
3924 * intl/hash-string.h (__hash_string): Add attribute_hidden.
3925
d1903329
L
39262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3927
3928 [BZ #18822]
3929 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
3930 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
3931
b4744101
L
39322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3933
3934 [BZ #18822]
3935 * include/ifreq.h: New file.
3936 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
3937 (__ifreq): Likewise.
3938 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
3939 (__ifreq): Likewise.
3940
43b7dfd1
L
39412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3942
3943 [BZ #18822]
3944 * include/idna.h: New file.
3945 * inet/getnameinfo.c: Include <idna.h> instead of
3946 <libidn/idna.h>.
3947 (__idna_to_unicode_lzlz): Removed.
3948 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
3949 <libidn/idna.h>.
3950 (__idna_to_ascii_lz): Removed.
3951 (__idna_to_unicode_lzlz): Likewise.
3952
2c0cd8f8
L
39532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3954
3955 [BZ #18822]
3956 * include/plural-exp.h: New file.
3957 * intl/plural-exp.c: Include <plural-exp.h> instead of
3958 "plural-exp.h".
3959
8369d216
L
39602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3961
3962 [BZ #18822]
3963 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
3964 "getsourcefilter.h".
3965 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
3966 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
3967 "getsourcefilter.h".
3968 (__get_sol): Removed.
3969
a0aef783
L
39702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3971
3972 [BZ #18822]
3973 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
3974 to ...
3975 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
3976
3ee8209b
L
39772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3978
3979 [BZ #18822]
3980 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
3981 attribute_hidden.
3982
6036fc38
L
39832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 [BZ #18822]
3986 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
3987
fe84fed0
L
39882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3989
3990 [BZ #18822]
3991 * include/search.h (__tdestroy): Add libc_hidden_proto.
3992 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
3993
048dd681
L
39942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3995
3996 [BZ #18822]
3997 * include/assert.h (__assert_fail_base): Add attribute_hidden.
3998
6e342af6
L
39992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4000
4001 [BZ #18822]
4002 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
4003 attribute_hidden.
4004
6a088436
L
40052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4006
4007 [BZ #18822]
4008 * include/signal.h (__kill): Add libc_hidden_proto.
4009 (__sigblock): Likewise.
4010 (__sigprocmask): Likewise.
4011 (__sigaltstack): Likewise.
4012 * signal/kill.c (__kill): Add libc_hidden_def.
4013 * signal/sigblock.c (__sigblock): Likewise.
4014 * signal/sigprocmask.c (__sigprocmask): Likewise.
4015 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4016 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4017 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4018 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4019 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
4020 Likewise.
4021 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4022 Likewise.
4023 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4024 (__sigprocmask): Likewise.
4025 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
4026 Likewise.
4027 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4028 (__sigprocmask): Likewise.
4029 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4030 Likewise.
4031
78cf1d74
L
40322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4033
4034 [BZ #18822]
4035 * include/string.h (__strsep): Add libc_hidden_proto.
4036 * string/strsep.c (__strsep): Add libc_hidden_def.
4037
85b35894
L
40382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 [BZ #18822]
4041 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
4042 attribute_hidden.
4043 (__spawni): Likewise.
4044
225f7eec
L
40452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 [BZ #18822]
4048 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
4049 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
4050 libc_hidden_def.
4051
372fe247
L
40522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4053
4054 [BZ #18822]
4055 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
4056
9e5ee8b8
L
40572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 [BZ #18822]
4060 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
4061 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
4062 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4063 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
4064 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
4065 Likewise.
4066 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
4067 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
4068
2ff16592
L
40692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4070
4071 [BZ #18822]
4072 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
4073 (__dcigettext): Likewise.
4074
b5648377
L
40752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4076
4077 [BZ #18822]
4078 * include/sys/sysinfo.h (__get_nprocs_conf): Add
4079 libc_hidden_proto.
4080 (__get_nprocs): Likewise.
4081 (__get_phys_pages): Likewise.
4082 (__get_avphys_pages): Likewise.
4083 (__get_child_max): Add attribute_hidden.
4084 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
4085 (__get_nprocs): Likewise.
4086 (__get_phys_pages): Likewise.
4087 (__get_avphys_pages): Likewise.
4088 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
4089 libc_hidden_def.
4090 (__get_nprocs): Likewise.
4091 (__get_phys_pages): Likewise.
4092 (__get_avphys_pages): Likewise.
4093 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
4094 libc_hidden_def.
4095 (__get_nprocs_conf): Likewise.
4096 (__get_phys_pages): Likewise.
4097 (__get_avphys_pages): Likewise.
4098
0389a6aa
L
40992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4100
4101 [BZ #18822]
4102 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
4103 attribute_hidden.
4104 (__netlink_close): Likewise.
4105 (__netlink_free_handle): Likewise.
4106 (__netlink_request): Likewise.
4107
d48354d8
L
41082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4109
4110 [BZ #18822]
4111 * include/rpc/rpc.h (__rpc_thread_variables): Add
4112 attribute_hidden.
4113 (__rpc_thread_svc_cleanup): Likewise.
4114 (__rpc_thread_clnt_cleanup): Likewise.
4115 (__rpc_thread_key_cleanup): Likewise.
4116
d6daff12
L
41172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4118
4119 [BZ #18822]
4120 * include/sys/uio.h (__readv): Add libc_hidden_proto.
4121 (__writev): Likewise.
4122 * misc/readv.c (__readv): Add libc_hidden_def.
4123 * misc/writev.c (__writev): Likewise.
4124 * sysdeps/posix/readv.c (__readv): Likewise.
4125 * sysdeps/posix/writev.c (__writev): Likewise.
4126 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
4127 (__readv): Likewise.
4128 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
4129 (__writev): Likewise.
4130
b68f8620
L
41312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4132
4133 [BZ #18822]
4134 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
4135 (__regcomp): Add libc_hidden_proto.
4136 (__regexec): Likewise.
4137 (__regfree): Likewise.
4138 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
4139 (__regfree): Likewise.
4140 * posix/regexec.c (__regexec): Likewise.
4141
59c04e67
L
41422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4143
4144 [BZ #18822]
4145 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
4146 (__getutent): Likewise.
4147 (__getutid): Likewise.
4148 (__getutline): Likewise.
4149 (__pututline): Likewise.
4150 (__getutent_r): Likewise.
4151 (__getutid_r): Likewise.
4152 (__getutline_r): Likewise.
4153 (__utmpname): Add attribute_hidden.
4154 (__setutent): Likewise.
4155 (__endutent): Likewise.
4156 * login/getutent.c (__getutent): Add libc_hidden_def.
4157 * login/getutent_r.c (__getutent_r): Likewise.
4158 (__pututline): Likewise.
4159 * login/getutid.c (__getutid): Likewise.
4160 * login/getutid_r.c (__getutid_r): Likewise.
4161 * login/getutline.c (__getutline): Likewise.
4162 * login/getutline_r.c (__getutline_r): Likewise.
4163 * login/updwtmp.c (__updwtmp): Likewise.
4164
4587a421
L
41652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4166
4167 [BZ #18822]
4168 * include/dirent.h (__opendir): Always add attribute_hidden.
4169 (__fdopendir): Likewise.
4170 (__closedir): Likewise.
4171 (__readdir): Likewise.
4172 (__readdir64): Add libc_hidden_proto.
4173 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
4174 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
4175 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
4176 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
4177 New alias.
4178
9635ce69
L
41792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 [BZ #18822]
4182 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
4183 * include/netdb.h (__gethostbyaddr_r): Likewise.
4184 (__gethostbyname_r): Likewise.
4185 (__gethostbyname2_r): Likewise.
4186 (__getnetbyaddr_r): Likewise.
4187 (__getnetbyname_r): Likewise.
4188 (__getservbyname_r): Likewise.
4189 (__getservbyport_r): Likewise.
4190 (__getprotobyname_r): Likewise.
4191 (__getprotobynumber_r): Likewise.
4192 (__getnetgrent_r): Likewise.
4193 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
4194 (__getrpcbynumber_r): Likewise.
4195 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
4196
2e0a6909
L
41972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4198
4199 [BZ #18822]
4200 * include/stdio.h (__fcloseall): Add attribute_hidden.
4201 (__getline): Likewise.
4202 (__path_search): Likewise.
4203 (__gen_tempname): Likewise.
4204 (__libc_message): Likewise.
4205 (__flockfile): Likewise.
4206 (__funlockfile): Likewise.
4207 (__fxprintf): Likewise.
4208 (__fxprintf_nocancel): Likewise.
4209
94fd682c
L
42102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4211
4212 [BZ #18822]
4213 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
4214 (__sgetsgent_r): Likewise.
4215
e1b33bba
L
42162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 [BZ #18822]
4219 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
4220 (__statfs64): Likewise.
4221 (__fstatfs64): Likewise.
4222 * include/sys/statvfs.h (__statvfs64): Likewise.
4223 (__fstatvfs64): Likewise.
4224 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
4225 (__statfs_filesize_max): Likewise.
4226 (__statfs_symlinks): Likewise.
4227 (__statfs_chown_restricted): Likewise.
4228
b0f56784
L
42292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 [BZ #18822]
4232 * include/time.h (__tzstring): Add attribute_hidden.
4233 (__tzfile_read): Likewise.
4234 (__tzfile_compute): Likewise.
4235 (__tzfile_default): Likewise.
4236 (__tzset_parse_tz): Likewise.
4237 (__offtime): Likewise.
4238 (__asctime_r): Likewise.
4239 (__tzset): Likewise.
4240 (__tz_convert): Likewise.
4241 (__getdate_r): Likewise.
4242 (__getclktck): Likewise.
4243
a4338d99
L
42442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 [BZ #18822]
4247 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
4248 (__nscd_unmap): Likewise.
4249 (__nscd_cache_search): Likewise.
4250 (__nscd_get_nl_timestamp): Likewise.
4251 (__nscd_getpwnam_r): Likewise.
4252 (__nscd_getpwuid_r): Likewise.
4253 (__nscd_getgrnam_r): Likewise.
4254 (__nscd_getgrgid_r): Likewise.
4255 (__nscd_gethostbyname_r): Likewise.
4256 (__nscd_gethostbyname2_r): Likewise.
4257 (__nscd_gethostbyaddr_r): Likewise.
4258 (__nscd_getai): Likewise.
4259 (__nscd_getgrouplist): Likewise.
4260 (__nscd_getservbyname_r): Likewise.
4261 (__nscd_getservbyport_r): Likewise.
4262 (__nscd_innetgr): Likewise.
4263 (__nscd_setnetgrent): Likewise.
4264
a2ca1652
L
42652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4266
4267 [BZ #18822]
4268 * include/gmp.h: Declare internal functions only if _ISOMAC is
4269 undefined.
4270 (__mpn_extract_double): Add attribute_hidden.
4271 (__mpn_extract_long_double): Likewise.
4272 (__mpn_extract_float128): Likewise.
4273 (__mpn_construct_float): Likewise.
4274 (__mpn_construct_double): Likewise.
4275 (__mpn_construct_long_double): Likewise.
4276 (__mpn_construct_float128): Likewise.
4277 (mpn_add_1): Likewise.
4278 (mpn_addmul_1): Likewise.
4279 (mpn_add_n): Likewise.
4280 (mpn_cmp): Likewise.
4281 (mpn_divrem): Likewise.
4282 (mpn_lshift): Likewise.
4283 (mpn_mul): Likewise.
4284 (mpn_mul_1): Likewise.
4285 (mpn_rshift): Likewise.
4286 (mpn_sub_1): Likewise.
4287 (mpn_submul_1): Likewise.
4288 (mpn_sub_n): Likewise.
4289
44af8a32
L
42902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 [BZ #18822]
4293 * include/wchar.h (__wcsnlen): Add attribute_hidden.
4294 (__wcscat): Likewise.
4295 (__btowc): Likewise.
4296 (__wcrtomb): Likewise.
4297 (__mbsrtowcs): Likewise.
4298 (__wcsrtombs): Likewise.
4299 (__mbsnrtowcs): Likewise.
4300 (__wcsnrtombs): Likewise.
4301 (__wcsncpy): Likewise.
4302 (__wcpncpy): Likewise.
4303 (__wmemcpy): Likewise.
4304 (__wmempcpy): Likewise.
4305 (__wmemmove): Likewise.
4306 (__wcschrnul): Likewise.
4307 (__vfwscanf): Likewise.
4308 (__vswprintf): Likewise.
4309 (__fwprintf): Likewise.
4310 (__vfwprintf): Likewise.
4311
783cd767
L
43122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4313
4314 [BZ #18822]
4315 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
4316 (__getgrgid_r): Likewise.
4317 (__getgrnam_r): Likewise.
4318 * include/pwd.h (__getpwuid_r): Likewise.
4319 (__getpwnam_r): Likewise.
4320 (__fgetpwent_r): Likewise.
4321 * include/shadow.h (__getspnam_r): Likewise.
4322 (__sgetspent_r): Likewise.
4323 (__fgetspent_r): Likewise.
4324
7ec4b39a
L
43252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4326
4327 [BZ #18822]
4328 * include/unistd.h (__access): Add attribute_hidden.
4329 (__lseek64): Likewise.
4330 (__libc_pread64): Likewise.
4331 (__pipe2): Likewise.
4332 (__sleep): Likewise.
4333 (__chdir): Likewise.
4334 (__fchdir): Likewise.
4335 (__getcwd): Likewise.
4336 (__rmdir): Likewise.
4337 (__execvpe): Likewise.
4338 (__execve): Likewise.
4339 (__setsid): Likewise.
4340 (__getuid): Likewise.
4341 (__geteuid): Likewise.
4342 (__getgid): Likewise.
4343 (__getegid): Likewise.
4344 (__getgroups): Likewise.
4345 (__group_member): Likewise.
4346 (__ttyname_r): Likewise.
4347 (__isatty): Likewise.
4348 (__readlink): Likewise.
4349 (__unlink): Likewise.
4350 (__gethostname): Likewise.
4351 (__profil): Likewise.
4352 (__getdtablesize): Likewise.
4353 (__brk): Likewise.
4354 (__ftruncate): Likewise.
4355 (__ftruncate64): Likewise.
4356
8345a760
L
43572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4358
4359 [BZ #18822]
4360 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
4361 * argp/argp-fs-xinl.c: Likewise.
4362 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
4363 * argp/argp-parse.c: Include <argp.h>.
4364 * argp/argp-xinl.c: Likewise.
4365 * include/argp-fmtstream.h: New file.
4366 * include/argp.h (__argp_error): Add attribute_hidden.
4367 (__argp_failure): Likewise.
4368 (__argp_input): Likewise.
4369 (__argp_state_help): Likewise.
4370
c26dd7c6
L
43712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4372
4373 [BZ #18822]
4374 * include/wchar.h (____wcstof_l_internal): New prototype.
4375 (____wcstod_l_internal): Likewise.
4376 (____wcstold_l_internal): Likewise.
4377 (____wcstol_l_internal): Likewise.
4378 (____wcstoul_l_internal): Likewise.
4379 (____wcstoll_l_internal): Likewise.
4380 (____wcstoull_l_internal): Likewise.
4381 (____wcstof128_l_internal): Likewise.
4382 * sysdeps/ieee754/float128/wcstof128.c
4383 (____wcstof128_l_internal): Removed.
4384 * sysdeps/ieee754/float128/wcstof128_l.c
4385 (____wcstof128_l_internal): Likewise.
4386 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
4387 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
4388 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
4389 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
4390 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
4391 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
4392 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
4393 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
4394 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
4395 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
4396
3aff5644
L
43972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4398
4399 [BZ #18822]
4400 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
4401 instead of <sys/statvfs.h>.
4402 (__internal_statvfs): Removed.
4403 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
4404 instead of <sys/statvfs.h>.
4405 (__internal_statvfs64): Removed.
4406 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
4407 "internal_statvfs.h" instead of <sys/statvfs.h>.
4408 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
4409 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
4410 instead of <sys/statvfs.h>.
4411 (__internal_statvfs): Removed.
4412 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
4413 instead of <sys/statvfs.h>.
4414 (__internal_statvfs64): Removed.
4415
8bcdb7e0
L
44162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4417
4418 [BZ #18822]
4419 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
4420 (__gconv_close): Likewise.
4421 (__gconv): Likewise.
4422 (__gconv_find_transform): Likewise.
4423 (__gconv_lookup_cache): Likewise.
4424 (__gconv_compare_alias_cache): Likewise.
4425 (__gconv_load_cache): Likewise.
4426 (__gconv_get_path): Likewise.
4427 (__gconv_close_transform): Likewise.
4428 (__gconv_release_cache): Likewise.
4429 (__gconv_find_shlib): Likewise.
4430 (__gconv_release_shlib): Likewise.
4431 (__gconv_get_builtin_trans): Likewise.
4432 (__gconv_compare_alias): Likewise.
4433 * include/dlfcn.h (_dlerror_run): Likewise.
4434 * include/stdio.h (__fortify_fail_abort): Likewise.
4435 * include/time.h (__tz_compute): Likewise.
4436 (__strptime_internal): Likewise.
4437 * intl/gettextP.h (_nl_find_domain): Likewise.
4438 (_nl_load_domain): Likewise.
4439 (_nl_find_msg): Likewise.
4440 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
4441 (EXTRACT_PLURAL_EXPRESSION): Likewise.
4442 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
4443 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
4444 (__gai_find_request): Likewise.
4445 (__gai_remove_request): Likewise.
4446 (__gai_notify): Likewise.
4447 (__gai_notify_only): Likewise.
4448 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4449 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4450 (_dl_non_dynamic_init): Likewise.
4451 (_dl_aux_init): Likewise.
4452 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
4453 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4454 Likewise.
4455 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
4456 (__wcsmbs_clone_conv): Likewise.
4457 (__wcsmbs_named_conv): Likewise.
4458
8ed3b643
L
44592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 [BZ #18822]
4462 * include/stdlib.h (__random): Add attribute_hidden.
4463 (__random_r): Likewise.
4464 (__srandom_r): Likewise.
4465 (__initstate_r): Likewise.
4466 (__setstate_r): Likewise.
4467 (__erand48_r): Likewise.
4468 (__nrand48_r): Likewise.
4469 (__jrand48_r): Likewise.
4470 (__srand48_r): Likewise.
4471 (__seed48_r): Likewise.
4472 (__lcong48_r): Likewise.
4473 (__drand48_iterate): Likewise.
4474 (__setenv): Likewise.
4475 (__unsetenv): Likewise.
4476 (__clearenv): Likewise.
4477 (__ptsname_r): Likewise.
4478 (__posix_openpt): Likewise.
4479 (__add_to_environ): Likewise.
4480 (__realpath): Add libc_hidden_proto.
4481 (__ecvt_r): Likewise.
4482 (__fcvt_r): Likewise.
4483 (__qecvt_r): Likewise.
4484 (__qfcvt_r): Likewise.
4485 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
4486 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
4487
ef9b6f73
L
44882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 [BZ #18822]
4491 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
4492 * include/time.h (__mktime_internal): Likewise.
4493 * libio/iolibio.h (__fopen_internal): Likewise.
4494
8da92e72
JDA
44952017-10-01 John David Anglin <danglin@gcc.gnu.org>
4496
4497 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
4498 pointer in frame.
4499 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
4500 Correct offset used to restore PIC register.
4501
388784cf
JDA
45022017-09-30 John David Anglin <danglin@gcc.gnu.org>
4503
4504 [BZ libc/22165]
4505 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
4506 code to load address of __getcontext_ret when generating PIC code.
4507
2000067a
L
45082017-09-30 H.J. Lu <hongjiu.lu@intel.com>
4509
4510 * elf/Makefile (tests-static-internal): Add
4511 tst-tls1-static-non-pie.
4512 (LDFLAGS-tst-tls1-static-non-pie): New.
4513 * elf/tst-tls1-static-non-pie.c: New file.
4514
1e2bffd0
JM
45152017-09-29 Joseph Myers <joseph@codesourcery.com>
4516
4517 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
4518 (asinh): Define using libm_alias_double.
4519 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
4520 (cbrt): Define using libm_alias_double.
4521 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
4522 <libm-alias-double.h>.
4523 (copysign): Define using libm_alias_double.
4524 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
4525 (erf): Define using libm_alias_double.
4526 (erfc): Likewise.
4527 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
4528 (expm1): Define using libm_alias_double.
4529 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
4530 (fabs): Define using libm_alias_double.
4531 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
4532 libm_alias_double.
4533 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
4534 <libm-alias-double.h>.
4535 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
4536 libm_alias_double.
4537 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
4538 <libm-alias-double.h>.
4539 (getpayload): Define using libm_alias_double.
4540 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
4541 <libm-alias-double.h>.
4542 (llrint): Define using libm_alias_double.
4543 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
4544 (lrint): Define using libm_alias_double.
4545 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
4546 <libm-alias-double.h>.
4547 (nextup): Define using libm_alias_double.
4548 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
4549 <libm-alias-double.h>.
4550 (roundeven): Define using libm_alias_double.
4551 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
4552 libm_alias_double.
4553 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
4554 <libm-alias-double.h>.
4555 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
4556 using libm_alias_double.
4557 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
4558 (cos): Define using libm_alias_double.
4559 (sin): Likewise.
4560 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
4561 <libm-alias-double.h>.
4562 (sincos): Define using libm_alias_double.
4563 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
4564 (tanh): Define using libm_alias_double.
4565 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4566 <libm-alias-double.h>.
4567 (totalorder): Define using libm_alias_double.
4568 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4569 <libm-alias-double.h>.
4570 (totalordermag): Define using libm_alias_double.
4571 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
4572 libm_alias_double.
4573 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
4574 libm_alias_double.
4575 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
4576 <libm-alias-double.h>.
4577 (getpayload): Define using libm_alias_double.
4578 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
4579 <libm-alias-double.h>.
4580 (roundeven): Define using libm_alias_double.
4581 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
4582 <libm-alias-double.h>.
4583 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4584 <libm-alias-double.h>.
4585 (totalorder): Define using libm_alias_double.
4586 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4587 <libm-alias-double.h>.
4588 (totalordermag): Define using libm_alias_double.
4589 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
4590 libc compat symbol here.
4591 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
4592 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
4593 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
4594 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
4595 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
4596 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
4597 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
4598 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
4599 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
4600 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
4601
8172aad9
L
46022017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4603
4604 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
4605 _dl_relocate_static_pie instead of _dl_start to compute load
4606 address in static PIE. Return 0 if _DYNAMIC is undefined for
4607 static executable.
4608
54464e74
L
46092017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4610
4611 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
4612 _DYNAMIC is undefined for static executable.
4613
f6c5e5bc
L
46142017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4615
4616 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
4617
2f92505d
JM
46182017-09-29 Joseph Myers <joseph@codesourcery.com>
4619
4620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4621
bd8d53bb
WD
46222017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4623
4624 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4625 (__ieee754_lgamma_r): Use fabs rather than __fabs.
4626 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4627 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4628 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4629 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
4630 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4631 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4632 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
4633 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4634 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4635 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4636 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
4637 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4640 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
4641
fffb1507
WD
46422017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4643
4644 * math/bits/cmathcalls.h (cimag): Remove inline.
4645 (creal): Remove inline.
4646 (conj): Remove inline.
4647
4ea49f4c
SN
46482017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4649
4650 * math/Makefile (type-float-routines): Add e_powf_log2_data.
4651 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
4652 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
4653 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
4654 (issignalingf_inline): Likewise.
4655 (POWF_LOG2_TABLE_BITS): Likewise.
4656 (POWF_LOG2_POLY_ORDER): Likewise.
4657 (POWF_SCALE_BITS): Likewise.
4658 (POWF_SCALE): Likewise.
4659 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
4660 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
4661 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
4662
875c76c7
SN
46632017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4664
4665 * math/Makefile (type-float-routines): Add e_log2f_data.
4666 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
4667 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
4668 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
4669 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
4670 * sysdeps/i386/fpu/e_log2f_data.c: New file.
4671 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
4672 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
4673
90c42e40
SN
46742017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4675
4676 * math/Makefile (type-float-routines): Add e_logf_data.
4677 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
4678 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
4679 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
4680 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
4681 * sysdeps/i386/fpu/e_logf_data.c: New file.
4682 * sysdeps/ia64/fpu/e_logf_data.c: New file.
4683 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
4684
4088d8dd
L
46852017-09-28 H.J. Lu <hongjiu.lu@intel.com>
4686
4687 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
4688 undefined _DYNAMIC in PIE libc.a.
4689 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
4690 Likewse.
4691
4d3693ec
WD
46922017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4693
4694 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
4695 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
4696 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
4697 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
4698 (__signbit): Remove.
4699 (__signbitl): Remove.
4700 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
4701 (__signbit): Remove.
4702 (__signbitl): Remove.
4703 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
4704 (__signbit): Remove.
4705 (__signbitl): Remove.
4706 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
4707 (__signbit): Remove.
4708 (__signbitl): Remove.
4709 * sysdeps/tile/bits/mathinline.h: Delete file.
4710 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
4711 (__signbit): Remove.
4712 (__signbitl): Remove.
4713
1e6d0723
WD
47142017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4715
4716 * math/math.h: Improve handling of C99 isgreater macros.
4717 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
4718 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
4719 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4720 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4721 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4722
b2f03cf3
SN
47232017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
4724
4725 * sysdeps/aarch64/libm-test-ulps: Update.
4726
f124cb38
JM
47272017-09-28 Joseph Myers <joseph@codesourcery.com>
4728
4729 [BZ #22225]
4730 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4731 math_opt_barrier on argument when doing arithmetic on it.
4732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4733 Likewise. Use math_force_eval not math_opt_barrier after
4734 arithmetic.
4735 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
4736 math_opt_barrier on argument when doing arithmetic on it.
4737 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4738 Likewise.
4739
7edd0691
L
47402017-09-27 H.J. Lu <hongjiu.lu@intel.com>
4741
4742 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
4743 libc_hidden_def.
4744 (__freeifaddrs): Likewise.
4745
2c7bbfaf
ST
47462017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4747
4748 * include/dirent.h (__dirfd): New declaration.
4749 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
4750 alias.
4751 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
4752 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
4753 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
4754 * include/unistd.h (__revoke): New declaration.
4755 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
4756 alias.
4757 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4758 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
4759 revoke.
64a4af28
ST
4760 * include/dirent.h (__seekdir): New declaration.
4761 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
4762 redefine as weak alias.
4763 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
4764 of seekdir.
4009ddc6
ST
4765 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
4766 and use libc_hidden_def on them.
4767 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
4768 them.
4769 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
4770 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
4771 instead of getifaddrs and freeifaddrs.
2c7bbfaf 4772
825adeee
L
47732017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 [BZ #18822]
4776 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
4777 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
4778 (__dso_handle): Remove declaration.
4779 * dlfcn/tstatexit.c (__dso_handle): Removed.
4780 (main): Don't check __dso_handle.
4781 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
4782 (main): Don't check __dso_handle.
4783 * include/dso_handle.h: New file.
4784 * malloc/mtrace.c: Include <dso_handle.h>.
4785 (mtrace): Pass __dso_handle directly.
4786 * nptl/pthread_atfork.c: Include <dso_handle.h>.
4787 (__dso_handle): Remove declaration.
4788 (__pthread_atfork): Pass __dso_handle directly.
4789 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
4790 (__dso_handle): Removed.
4791 * posix/wordexp-test.c: Include <dso_handle.h>.
4792 (__dso_handle): Remove declaration.
4793 (__app_register_atfork): Pass __dso_handle directly.
4794 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
4795 (__dso_handle): Remove declaration.
4796 (at_quick_exit): Pass __dso_handle directly.
4797 * stdlib/atexit.c: Include <dso_handle.h>.
4798 (__dso_handle): Remove declaration.
4799 (atexit): Pass __dso_handle directly.
4800 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
4801 (__dso_handle): Removed.
4802
bfb0deb3
JM
48032017-09-26 Joseph Myers <joseph@codesourcery.com>
4804
4805 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
4806 using VDSO.
4807
cebcb9f8
AM
48082017-09-26 Alexey Makhalov <amakhalov@vmware.com>
4809
4810 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
4811 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
4812 values to correct default value for given type.
4813
592d5c75
L
48142017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4815
4816 [BZ #22101]
4817 * elf/Makefile (tests): Add tst-debug1.
4818 ($(objpfx)tst-debug1): New.
4819 ($(objpfx)tst-debug1.out): Likewise.
4820 ($(objpfx)tst-debug1mod1.so): Likewise.
4821 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
4822 with p_filesz == 0.
4823 * elf/tst-debug1.c: New file.
4824
2d9193f2
JM
48252017-09-26 Joseph Myers <joseph@codesourcery.com>
4826
4827 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
4828 Define using __ifunc.
4829
4c5a7a02
TMQMF
48302017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4831
4832 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
4833 exp2f() values.
4834
12ef66c4
JM
48352017-09-26 Joseph Myers <joseph@codesourcery.com>
4836
4837 [BZ #22156]
4838 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
4839
44dade71
FW
48402017-09-26 Florian Weimer <fweimer@redhat.com>
4841
4842 * resolv/Makefile (tests-internal): Fix typo in comment.
4843
eaca16f1
FW
48442017-09-26 Florian Weimer <fweimer@redhat.com>
4845
4846 * resolv/nss_dns/dns-host.c: Fix typo in comment.
4847
ccf970c7
AZ
48482017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4849
5f9f31ad
AZ
4850 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
4851 Use an union instead of a max_align_t array for __space,
4852 so that __space is the same size on all platforms.
4853 * malloc/scratch_buffer_grow_preserve.c
4854 (__libc_scratch_buffer_grow_preserve): Likewise.
4855
ccf970c7
AZ
4856 [BZ #22183]
4857 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
4858 version to 2.
4859 * posix/Makefile (routines): Add glob-lstat-compat and
4860 glob64-lstat-compat.
4861 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
4862 * posix/glob-lstat-compat.c: New file.
4863 * posix/glob64-lstat-compat.c: Likewise.
4864 * posix/tst-glob_lstat_compat.c: Likewise.
4865 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
4866 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
4867 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
4868 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
4869 Likewise.
4870 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
4871 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4872 * posix/glob.c (glob_lstat): New function.
4873 (glob): Rename to __glob and add versioned symbol to 2.27.
4874 (glob_in_dir): Use glob_lstat.
4875 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
4876 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4877 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
4878 2.27.
4879 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
4880 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
4881 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
4882 gl_lstat on glob call.
4883 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
4884 and glob64 symbols.
4885 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4886 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4887 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4888 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4889 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4890 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4891 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4892 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4894 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4895 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4896 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4898 Likewise.
4899 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4901 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4902 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4903 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4908 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4910 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4911
b4396163
L
49122017-09-25 H.J. Lu <hongjiu.lu@intel.com>
4913
4914 * configure.ac (AS): Require binutils 2.25 or later.
4915 * configure: Regenerated.
4916
8f834987
PP
49172017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4918
4919 [BZ #22207]
4920 * stdlib/test-atexit-race-common.c (do_test): Minimize required
4921 VM size.
4922
3de93d19
DD
49232017-09-25 DJ Delorie <dj@redhat.com>
4924
4925 [BZ #22161]
4926 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
4927 resetting timeout.
4928
9947638d
SL
49292017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4930
4931 * sysdeps/ieee754/dbl-64/sincos32.h
4932 [SINCCOS32_H]: Remove define.
4933 [SINCOS32_H]: Define.
4934
f5f0f526
SN
49352017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4936
4937 * math/Versions (expf): New libm symbol at GLIBC_2.27.
4938 (exp2f): Likewise.
4939 * math/w_exp2f.c: New file.
4940 * math/w_expf.c: New file.
4941 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
4942 * math/w_expf_compat.c (__expf_compat): Likewise.
4943 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
4944 * sysdeps/ia64/fpu/e_expf.S: Likewise.
4945 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4946 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4947 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4948 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4949 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4950 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4951 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4953 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4954 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4955 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4958 Likewise.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4960 Likewise.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4962 Likewise.
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4964 Likewise.
4965 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4966 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4967 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4971 Likewise.
4972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4973 Likewise.
4974 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4975 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4977
72aa6233
SN
49782017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4979
4980 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
4981 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
4982 (roundtoint, converttoint): Likewise.
4983 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
4984 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
4985 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
4986 * sysdeps/ieee754/flt-32/math_config.h: New file.
4987 * sysdeps/ieee754/flt-32/math_errf.c: New file.
4988 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
4989 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
4990 * sysdeps/i386/fpu/math_errf.c: New file.
4991 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
4992 * sysdeps/ia64/fpu/math_errf.c: New file.
4993 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
4994 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
4995
5e6f3253
ST
49962017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4997
4998 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
4999 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5000 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
5001 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
5002 to make sure that these symbols are defined.
b38a42a0
ST
5003 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
5004 of <limits.h>
5005 (__need_NULL): Do not define.
5006 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
5007 alignment.
5008 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
5009 CMGROUP_MAX, cmsgcred): Do not define.
5010 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
5011 NULL.
5012 * bits/socket.h: Likewise.
fcafcd16
ST
5013 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
5014 __gettimeofday instead of gettimeofday.
5015 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
5016 instead of settimeofday.
5e6f3253 5017
2f49ce7d
JM
50182017-09-22 Joseph Myers <joseph@codesourcery.com>
5019
5020 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
5021 (asinhf): Define using libm_alias_float.
5022 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
5023 (atanf): Define using libm_alias_float.
5024 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
5025 (cbrtf): Define using libm_alias_float.
5026 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
5027 (ceilf): Define using libm_alias_float.
5028 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
5029 <libm-alias-float.h>.
5030 (copysignf): Define using libm_alias_float.
5031 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
5032 (cosf): Define using libm_alias_float.
5033 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
5034 (erff): Define using libm_alias_float.
5035 (erfcf): Likewise.
5036 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
5037 (expm1f): Define using libm_alias_float.
5038 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
5039 (fabsf): Define using libm_alias_float.
5040 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
5041 (floorf): Define using libm_alias_float.
5042 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
5043 (frexpf): Define using libm_alias_float.
5044 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
5045 libm_alias_float.
5046 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
5047 <libm-alias-float.h>.
5048 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
5049 libm_alias_float.
5050 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
5051 <libm-alias-float.h>.
5052 (getpayloadf): Define using libm_alias_float.
5053 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
5054 <libm-alias-float.h>.
5055 (llrintf): Define using libm_alias_float.
5056 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
5057 <libm-alias-float.h>.
5058 (llroundf): Define using libm_alias_float.
5059 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
5060 (logbf): Define using libm_alias_float.
5061 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
5062 (lrintf): Define using libm_alias_float.
5063 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
5064 (lroundf): Define using libm_alias_float.
5065 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
5066 (modff): Define using libm_alias_float.
5067 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
5068 <libm-alias-float.h>.
5069 (nearbyintf): Define using libm_alias_float.
5070 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
5071 <libm-alias-float.h>.
5072 (nextafterf): Define using libm_alias_float.
5073 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
5074 <libm-alias-float.h>.
5075 (nextupf): Define using libm_alias_float.
5076 * sysdeps/ieee754/flt-32/s_remquof.c: Include
5077 <libm-alias-float.h>.
5078 (remquof): Define using libm_alias_float.
5079 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
5080 (rintf): Define using libm_alias_float.
5081 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
5082 <libm-alias-float.h>.
5083 (roundevenf): Define using libm_alias_float.
5084 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
5085 (roundf): Define using libm_alias_float.
5086 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
5087 using libm_alias_float.
5088 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
5089 <libm-alias-float.h>.
5090 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
5091 Define using libm_alias_float.
5092 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
5093 <libm-alias-float.h>.
5094 (sincosf): Define using libm_alias_float.
5095 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
5096 (sinf): Define using libm_alias_float.
5097 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
5098 (tanf): Define using libm_alias_float.
5099 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
5100 (tanhf): Define using libm_alias_float.
5101 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5102 <libm-alias-float.h>.
5103 (totalorderf): Define using libm_alias_float.
5104 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5105 <libm-alias-float.h>.
5106 (totalordermagf): Define using libm_alias_float.
5107 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
5108 (truncf): Define using libm_alias_float.
5109 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
5110 libm_alias_float.
5111 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
5112 libm_alias_float.
5113
c5c4a626
GG
51142017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5115
5116 [BZ #22146]
5117 math/math.h: Let fpclassify use the builtin in C++ mode, even
5118 when optimazing for size.
5119
23947846
JM
51202017-09-22 Joseph Myers <joseph@codesourcery.com>
5121
5122 * csu/Makefile (generated): Do not add version-info.h.
5123 (before-compile): Likewise.
5124 (all-Banner-files): Remove variable.
5125 ($(objpfx)version-info.h): Remove rule.
5126 * csu/version.c (banner): Do not include "version-info.h".
5127 * libidn/Banner: Remove.
5128 * manual/contrib.texi (Simon Josefsson): New entry.
5129
9ac3c682
GG
51302017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5131
5132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5133 Remove conditionals on LDBL_MANT_DIG.
5134 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5135 (__ieee754_lgammal_r): Likewise.
5136
d2f0ed09
GG
51372017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5138
5139 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
5140 _Float128 and L().
5141 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
5142 _Float128 and L(). Replace _Float128 with long double and L(x)
5143 with xL, throughout the file.
5144 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5145 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5147 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5148
c5c2e667
GG
51492017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5150
5151 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
5152 sysdeps/ieee754/ldbl-128ibm.
5153 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
5154 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
5155 of including it. Keep _Float128 and L() intact. These will be
5156 reviewed by a separate patch.
5157 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5161
e010deb2
GG
51622017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5163
5164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
5165 (__finitef128): Define to __redirect___finitef128.
5166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
5167 (__isinff128): Define to __redirect___isinff128.
5168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
5169 (__isnanf128): Define to __redirect___isnanf128.
5170
ffa44804
GG
51712017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5172
5173 * sysdeps/powerpc/powerpc64le/Makefile
5174 (CFLAGS-tst-strtod-nan-locale.c): New variable.
5175 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
5176
e5e4d7cc
PP
51772017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5178 Carlos O'Donell <carlos@redhat.com>
5179
5180 [BZ #22180]
5181 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
5182 * stdlib/test-dlclose-exit-race.c: New file.
5183 * stdlib/test-dlclose-exit-race-helper.c: New file.
5184 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
5185
c10c5267
JM
51862017-09-21 Joseph Myers <joseph@codesourcery.com>
5187
5188 * crypt/Banner: Remove file.
5189 * nptl/Banner: Likewise.
5190 * resolv/Banner: Likewise.
5191 * soft-fp/Banner: Likewise.
5192 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
5193 ($(objpfx)version.d): Remove dependency on banner.h.
5194 ($(objpfx)version.os): Likewise.
5195 * nptl/version.c (banner): Do not include banner.h.
5196 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
5197 Jelinek and BIND code.
5198
1cc9e59a
PP
51992017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5200 Carlos O'Donell <carlos@redhat.com>
5201
5202 * support/xdlfcn.h: New file.
5203 * support/xdlfcn.c: New file.
5204 * support/Makefile (libsupport-routines): Add xdlfcn.
5205 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
5206
ae8372d7
JM
52072017-09-20 Joseph Myers <joseph@codesourcery.com>
5208
5209 [BZ #20142]
5210 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5211 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
5212 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
5213 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
5214 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5215 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
5216 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
5217 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5218
26e70aec
PP
52192017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5220 Ricky Zhou <rickyz@google.com>
5221 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
5222
5223 [BZ #14333]
5224 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
5225 Remove atomics.
5226 (__new_exitfn): Fail registration when we finished at_exit processing.
5227 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5228 * stdlib/on_exit.c (__on_exit): Likewise.
5229 * stdlib/exit.c (__exit_funcs_done): New variable.
5230 (__run_exit_handlers): Use __exit_funcs_lock.
5231 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
5232 declarations.
5233 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
5234 (test-cxa_atexit-race, test-on_exit-race): New tests.
5235 * stdlib/test-atexit-race-common.c: New file.
5236 * stdlib/test-atexit-race.c: New file.
5237 * stdlib/test-at_quick_exit-race.c: New file.
5238 * stdlib/test-cxa_atexit-race.c: New file.
5239 * stdlib/test-on_exit-race.c: New file.
5240
0525ce48
SN
52412017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
5242
5243 * benchtests/Makefile: Add exp2f and log2f benchmarks.
5244 * benchtests/exp2f-inputs: Copy of expf-inputs.
5245 * benchtests/log2f-inputs: Copy of logf-inputs.
5246
d82468d1
JM
52472017-09-19 Joseph Myers <joseph@codesourcery.com>
5248
5249 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
5250 Explicitly take address of first element of array arguments in
5251 call to INLINE_SYSCALL.
5252
43ffc53a
AS
52532017-09-19 Andreas Schwab <schwab@suse.de>
5254
5255 [BZ #22134]
5256 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
5257 execveat first.
5258 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
5259 unimplemented.
5260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
5261 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
5262 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5263 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
5264 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5265 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5266 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5267 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5268 * posix/Makefile (tests): Add tst-fexecve.
5269 * posix/tst-fexecve.c: New file.
5270
a5dcc87e
WD
52712017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5272
5273 * benchtests/Makefile: Add logf benchmark.
5274 * benchtests/logf-inputs: Add reduced trace from wrf_r.
5275
7024d544
WD
52762017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5277
5278 * benchtests/Makefile: Add expf benchmark.
5279 * benchtests/expf-inputs: Add reduced trace from wrf_r.
5280
ca3a382e
WD
52812017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5282
5283 * csu/Makefile: Add -funwind-tables to libc-start.c.
5284 * debug/Makefile: Add -funwind-tables to backtrace.c.
5285 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
5286 * sysdeps/arm/Makefile: Likewise.
5287 * sysdeps/i386/Makefile: Likewise.
5288 * sysdeps/m68k/Makefile: Likewise.
5289 * sysdeps/mips/Makefile: Likewise.
5290 * sysdeps/nios2/Makefile: Likewise.
5291 * sysdeps/sh/Makefile: Likewise.
5292 * sysdeps/sparc/Makefile: Likewise.
5293
eb375def
JM
52942017-09-19 Joseph Myers <joseph@codesourcery.com>
5295
5296 * benchtests/Makefile (bench-math): Add trunc and truncf.
5297 (CFLAGS-bench-trunc.c): New variable.
5298 (CFLAGS-bench-truncf.c): Likewise.
5299 * benchtests/trunc-inputs: New file.
5300 * benchtests/truncf-inputs: Likewise.
5301
bd17ba29
RS
53022017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5303
5304 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
5305
92892fdb
JM
53062017-09-18 Joseph Myers <joseph@codesourcery.com>
5307
6d9b0b5a
JM
5308 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
5309 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
5310 redefine.
5311 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5312 (exp10l): Define as weak alias.
5313 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
5314 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
5315 and redefine.
5316 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
5317 (remainderl): Define as weak alias.
5318
92892fdb
JM
5319 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
5320 (fmal): Define using libm_alias_ldouble.
5321 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
5322 (acoshl): Define using libm_alias_ldouble.
5323 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
5324 (acosl): Define using libm_alias_ldouble.
5325 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
5326 (asinl): Define using libm_alias_ldouble.
5327 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
5328 (atan2l): Define using libm_alias_ldouble.
5329 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
5330 (atanhl): Define using libm_alias_ldouble.
5331 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
5332 (coshl): Define using libm_alias_ldouble.
5333 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
5334 (exp10l): Define using libm_alias_ldouble.
5335 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
5336 (exp2l): Define using libm_alias_ldouble.
5337 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
5338 (expl): Define using libm_alias_ldouble.
5339 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
5340 (fmodl): Define using libm_alias_ldouble.
5341 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
5342 (hypotl): Define using libm_alias_ldouble.
5343 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
5344 (j0l): Define using libm_alias_ldouble.
5345 (y0l): Likewise.
5346 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
5347 (j1l): Define using libm_alias_ldouble.
5348 (y1l): Likewise.
5349 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
5350 (jnl): Define using libm_alias_ldouble.
5351 (ynl): Likewise.
5352 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
5353 (log10l): Define using libm_alias_ldouble.
5354 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
5355 (log2l): Define using libm_alias_ldouble.
5356 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
5357 (logl): Define using libm_alias_ldouble.
5358 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
5359 (powl): Define using libm_alias_ldouble.
5360 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
5361 (remainderl): Define using libm_alias_ldouble.
5362 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
5363 (sinhl): Define using libm_alias_ldouble.
5364 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
5365 (sqrtl): Define using libm_alias_ldouble.
5366 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
5367 (tgammal): Define using libm_alias_ldouble.
5368 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
5369 (exp10l): Do not use long_double_symbol here.
5370 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
5371 [LIBM_SVID_COMPAT] (remainderl): Likewise.
5372 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
5373 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5374 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5375 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5376 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5377 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5378 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5379 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5380 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5381 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5382 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5383 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5384 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5385 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5386 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5387 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5388 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5389 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5390 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5391 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5392
6cd380dd
WB
53932017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
5394
5395 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
5396 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
5397
1c6d89e9
ST
53982017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
5399
5400 * io/read.c (read): Add libc_hidden_weak.
5401 * sysdeps/mach/hurd/read.c (read): Likewise.
5402 * io/write.c (write): Likewise.
5403 * sysdeps/mach/hurd/write.c (write): Likewise.
5404 * io/pread64.c (__pread64): Likewise.
5405 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
5406 * posix/pread64.c (__pread64): Add libc_hidden_def.
5407
06b1de23
SP
54082017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5409
140647ea
SP
5410 * benchtests/scripts/compare_strings.py: New option -g.
5411 (draw_graph): Print a message that a graph is being generated.
5412 (process_results): Generate graph only if -g is passed.
5413 (main): Process option -g.
5414
5a6547b7
SP
5415 * benchtests/scripts/compare_strings.py (process_results):
5416 Better spacing for output.
5417
06b1de23
SP
5418 * benchtests/scripts/compare_strings.py: Use argparse.
5419 * benchtests/README: Document existence of compare_strings.py.
5420
c67a2328
JM
54212017-09-15 Joseph Myers <joseph@codesourcery.com>
5422
9ac44708
JM
5423 * math/s_fma.c: Include <libm-alias-double.h>.
5424 (fma): Define using libm_alias_double.
5425 * math/s_nextafter.c: Include <libm-alias-double.h>.
5426 (nextafter): Define using libm_alias_double.
5427 * math/w_acos_compat.c: Include <libm-alias-double.h>.
5428 (acos): Define using libm_alias_double.
5429 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
5430 (aocsh): Define using libm_alias_double.
5431 * math/w_asin_compat.c: Include <libm-alias-double.h>.
5432 (asin): Define using libm_alias_double.
5433 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
5434 (atan2): Define using libm_alias_double.
5435 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
5436 (atanh): Define using libm_alias_double.
5437 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
5438 (cosh): Define using libm_alias_double.
5439 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
5440 (exp10): Define using libm_alias_double.
5441 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
5442 (exp2): Define using libm_alias_double.
5443 * math/w_exp_compat.c: Include <libm-alias-double.h>.
5444 (exp): Define using libm_alias_double.
5445 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
5446 (fmod): Define using libm_alias_double.
5447 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
5448 (hypot): Define using libm_alias_double.
5449 * math/w_j0_compat.c: Include <libm-alias-double.h>.
5450 (j0): Define using libm_alias_double.
5451 (y0): Likewise.
5452 * math/w_j1_compat.c: Include <libm-alias-double.h>.
5453 (j1): Define using libm_alias_double.
5454 (y1): Likewise.
5455 * math/w_jn_compat.c: Include <libm-alias-double.h>.
5456 (jn): Define using libm_alias_double.
5457 (yn): Likewise.
5458 * math/w_log10_compat.c: Include <libm-alias-double.h>.
5459 (log10): Define using libm_alias_double.
5460 * math/w_log2_compat.c: Include <libm-alias-double.h>.
5461 (log2): Define using libm_alias_double.
5462 * math/w_log_compat.c: Include <libm-alias-double.h>.
5463 (log): Define using libm_alias_double.
5464 * math/w_pow_compat.c: Include <libm-alias-double.h>.
5465 (pow): Define using libm_alias_double.
5466 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
5467 (remainder): Define using libm_alias_double.
5468 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
5469 (sinh): Define using libm_alias_double.
5470 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
5471 (sqrt): Define using libm_alias_double.
5472 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
5473 (tgamma): Define using libm_alias_double.
5474 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
5475 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
5476 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
5477 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
5478 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
5479 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
5480 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
5481 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5482 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5483 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5484 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5485 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5486 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5487 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5488 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5489 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5490 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5491 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5492 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5493 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5494 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5495 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5496 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5497 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5498 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5499
c67a2328
JM
5500 * math/e_acoshl.c: Remove.
5501 * math/e_acosl.c: Likewise.
5502 * math/e_asinl.c: Likewise.
5503 * math/e_atan2l.c: Likewise.
5504 * math/e_atanhl.c: Likewise.
5505 * math/e_coshl.c: Likewise.
5506 * math/e_expl.c: Likewise.
5507 * math/e_fmodl.c: Likewise.
5508 * math/e_gammal_r.c: Likewise.
5509 * math/e_hypotl.c: Likewise.
5510 * math/e_j0l.c: Likewise.
5511 * math/e_j1l.c: Likewise.
5512 * math/e_jnl.c: Likewise.
5513 * math/e_lgammal_r.c: Likewise.
5514 * math/e_log10l.c: Likewise.
5515 * math/e_log2l.c: Likewise.
5516 * math/e_logl.c: Likewise.
5517 * math/e_powl.c: Likewise.
5518 * math/e_rem_pio2l.c: Likewise.
5519 * math/e_sinhl.c: Likewise.
5520 * math/e_sqrtf128.c: Likewise.
5521 * math/e_sqrtl.c: Likewise.
5522 * math/k_cosl.c: Likewise.
5523 * math/k_sinl.c: Likewise.
5524 * math/k_tanl.c: Likewise.
5525 * math/s_asinhl.c: Likewise.
5526 * math/s_atanl.c: Likewise.
5527 * math/s_cbrtl.c: Likewise.
5528 * math/s_erfl.c: Likewise.
5529 * math/s_expm1l.c: Likewise.
5530 * math/s_log1pl.c: Likewise.
5531 * math/s_tanhl.c: Likewise.
5532
61c45f25
TMQMF
55332017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5534
5535 [BZ #21745]
5536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
5537 [$(subdir) = math] (sysdep_calls): New variable. Has the
5538 previous contents of sysdep_routines, but re-sorted..
5539 [$(subdir) = math] (sysdep_routines): Re-use the contents from
5540 sysdep_calls.
5541 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
5542 defined in sysdep_calls and replace by the respective m_* names.
5543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
5544 (compat_symbol): Undefine to avoid duplicated compat symbols in
5545 libc.
5546
5bcdb315
JM
55472017-09-15 Joseph Myers <joseph@codesourcery.com>
5548
5549 * math/s_fmaf.c: Include <libm-alias-float.h>.
5550 (fmaf): Define using libm_alias_float.
5551 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
5552 (acosf): Define using libm_alias_float.
5553 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
5554 (acoshf): Define using libm_alias_float.
5555 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
5556 (asinf): Define using libm_alias_float.
5557 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
5558 (atan2f): Define using libm_alias_float.
5559 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
5560 (atanhf): Define using libm_alias_float.
5561 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
5562 (coshf): Define using libm_alias_float.
5563 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
5564 (exp10f): Define using libm_alias_float.
5565 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
5566 (fmodf): Define using libm_alias_float.
5567 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
5568 (hypotf): Define using libm_alias_float.
5569 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
5570 (j0f): Define using libm_alias_float.
5571 (y0f): Likewise.
5572 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
5573 (j1f): Define using libm_alias_float.
5574 (y1f): Likewise.
5575 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
5576 (jnf): Define using libm_alias_float.
5577 (ynf): Likewise.
5578 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
5579 (log10f): Define using libm_alias_float.
5580 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
5581 (log2f): Define using libm_alias_float.
5582 * math/w_logf_compat.c: Include <libm-alias-float.h>.
5583 (logf): Define using libm_alias_float.
5584 * math/w_powf_compat.c: Include <libm-alias-float.h>.
5585 (powf): Define using libm_alias_float.
5586 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
5587 (remainderf): Define using libm_alias_float.
5588 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
5589 (sinhf): Define using libm_alias_float.
5590 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
5591 (sqrtf): Define using libm_alias_float.
5592 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
5593 (tgammaf): Define using libm_alias_float.
5594
01f28812
JM
55952017-09-14 Joseph Myers <joseph@codesourcery.com>
5596
5597 * include/math.h (roundeven): Change hidden_proto call to
5598 __roundeven.
5599 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
5600 alias.
5601 [NO_LONG_DOUBLE] (__j0l): New strong alias.
5602 (y0): Rename to __y0 and define as weak alias.
5603 [NO_LONG_DOUBLE] (__y0l): New strong alias.
5604 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
5605 alias.
5606 (y0f): Rename to __y0f and define as weak alias.
5607 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
5608 alias.
5609 [NO_LONG_DOUBLE] (__j1l): New strong alias.
5610 (y1): Rename to __y1 and define as weak alias.
5611 [NO_LONG_DOUBLE] (__y1l): New strong alias.
5612 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
5613 alias.
5614 (y1f): Rename to __y1f and define as weak alias.
5615 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
5616 alias.
5617 [NO_LONG_DOUBLE] (__jnl): New strong alias.
5618 (yn): Rename to __yn and define as weak alias.
5619 [NO_LONG_DOUBLE] (__ynl): New strong alias.
5620 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
5621 alias.
5622 (ynf): Rename to __ynf and define as weak alias.
5623 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
5624 (fromfp): Define as weak alias.
5625 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
5626 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
5627 (fromfpx): Define as weak alias.
5628 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
5629 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
5630 __getpayload and define as weak alias.
5631 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5632 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
5633 __roundeven and define as weak alias.
5634 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5635 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
5636 __setpayload.
5637 (setpayload): Define as weak alias.
5638 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
5639 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
5640 __setpayloadsig.
5641 (setpayloadsig): Define as weak alias.
5642 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
5643 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
5644 __totalorder and define as weak alias.
5645 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5646 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
5647 to __totalordermag and define as weak alias.
5648 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5649 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
5650 (ufromfp): Define as weak alias.
5651 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
5652 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
5653 __ufromfpx.
5654 (ufromfpx): Define as weak alias.
5655 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
5656 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
5657 Rename to __getpayload and define as weak alias.
5658 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5659 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
5660 Rename to __roundeven and define as weak alias.
5661 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5662 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
5663 Rename to __totalorder and define as weak alias.
5664 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5665 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
5666 (totalordermag): Rename to __totalordermag and define as weak
5667 alias.
5668 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5669 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
5670 macro.
5671 (__roundevenl): Likewise.
5672 (__totalorderl): Likewise.
5673 (__totalordermagl): Likewise
5674 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
5675 __fromfpf128.
5676 (fromfpf128): Define as weak alias.
5677 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
5678 __fromfpxf128.
5679 (fromfpxf128): Define as weak alias.
5680 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
5681 __setpayloadf128.
5682 (setpayloadf128): Define as weak alias.
5683 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
5684 __setpayloadsigf128.
5685 (setpayloadsigf128): Define as weak alias.
5686 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
5687 __ufromfpf128.
5688 (ufromfpf128): Define as weak alias.
5689 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
5690 __ufromfpxf128.
5691 (ufromfpxf128): Define as weak alias.
5692 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
5693 (fromfpf): Define as weak alias.
5694 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
5695 __fromfpxf.
5696 (fromfpxf): Define as weak alias.
5697 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
5698 __getpayloadf and define as weak alias.
5699 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
5700 __roundevenf and define as weak alias.
5701 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
5702 __setpayloadf.
5703 (setpayloadf): Define as weak alias.
5704 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
5705 __setpayloadsigf.
5706 (setpayloadsigf): Define as weak alias.
5707 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
5708 __totalorderf and define as weak alias.
5709 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
5710 Rename to __totalordermagf and define as weak alias.
5711 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
5712 __ufromfpf.
5713 (ufromfpf): Define as weak alias.
5714 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
5715 __ufromfpxf.
5716 (ufromfpxf): Define as weak alias.
5717 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
5718 __fromfpl.
5719 (fromfpl): Define as weak alias.
5720 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
5721 __fromfpxl.
5722 (fromfpxl): Define as weak alias.
5723 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
5724 to __getpayloadl and define as weak alias.
5725 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
5726 __roundevenl and define as weak alias.
5727 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
5728 __setpayloadl.
5729 (setpayloadl): Define as weak alias.
5730 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
5731 __setpayloadsigl.
5732 (setpayloadsigl): Define as weak alias.
5733 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
5734 to __totalorderl and define as weak alias.
5735 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
5736 Rename to __totalordermagl and define as weak alias.
5737 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
5738 __ufromfpl.
5739 (ufromfpl): Define as weak alias.
5740 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
5741 __ufromfpxl.
5742 (ufromfpxl): Define as weak alias.
5743 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
5744 __fromfpl.
5745 (fromfpl): Define as weak alias.
5746 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
5747 __fromfpxl.
5748 (fromfpxl): Define as weak alias.
5749 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
5750 Rename to __getpayloadl and define as weak alias.
5751 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
5752 to __roundevenl and define as weak alias. Call __roundeven
5753 instead of roundeven.
5754 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
5755 __setpayloadl.
5756 (setpayloadl): Define as weak alias.
5757 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
5758 __setpayloadsigl.
5759 (setpayloadsigl): Define as weak alias.
5760 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
5761 Rename to __totalorderl and define as weak alias.
5762 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
5763 Rename to __totalordermagl and define as weak alias.
5764 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
5765 __ufromfpl.
5766 (ufromfpl): Define as weak alias.
5767 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
5768 __ufromfpxl.
5769 (ufromfpxl): Define as weak alias.
5770 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
5771 __fromfpl.
5772 (fromfpl): Define as weak alias.
5773 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
5774 __fromfpxl.
5775 (fromfpxl): Define as weak alias.
5776 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
5777 __getpayloadl and define as weak alias.
5778 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
5779 __roundevenl and define as weak alias.
5780 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
5781 __setpayloadl.
5782 (setpayloadl): Define as weak alias.
5783 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
5784 __setpayloadsigl.
5785 (setpayloadsigl): Define as weak alias.
5786 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
5787 __totalorderl and define as weak alias.
5788 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
5789 Rename to __totalordermagl and define as weak alias.
5790 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
5791 __ufromfpl.
5792 (ufromfpl): Define as weak alias.
5793 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
5794 __ufromfpxl.
5795 (ufromfpxl): Define as weak alias.
5796
29c933fb
SP
57972017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5798
503c92c3
SP
5799 * benchtests/bench-string.h (realloc_bufs): New function.
5800 (test_init): Call it.
5801 * benchtests/bench-memset-large.c (do_test): Likewise.
5802 * benchtests/bench-memset.c (do_test): Likewise.
5803
29c933fb
SP
5804 * benchtests/bench-memset-large.c: Print output in JSON
5805 format.
5806 * benchtests/bench-memset.c: Likewise.
5807
799c8d69
MF
58082017-09-14 Mike FABIAN <mfabian@redhat.com>
5809
5810 [BZ #21084]
5811 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
5812 * iconvdata/Makefile: Add IBM858.
5813 * iconvdata/gconv-modules: Likewise.
5814 * iconvdata/tst-tables.sh: Likewise.
5815 * iconvdata/ibm858.c: New file.
5816 * localedata/charmaps/IBM858: Likewise.
5817
c207f7ce 58182017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
5819
5820 [BZ #22023]
5821 * locales/niu_NZ (LC_TIME): copy "niu_NU".
5822 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
5823
f28a0926
AK
58242017-09-14 Mike FABIAN <mfabian@redhat.com>
5825
5826 [BZ #22112]
5827 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
5828 and add tel_int_fmt.
5829
02093e62
JM
58302017-09-14 Joseph Myers <joseph@codesourcery.com>
5831
5832 * sysdeps/generic/libm-alias-float128.h: New file.
5833 * sysdeps/generic/math-type-macros-float128.h: Include
5834 <libm-alias-float128.h>.
5835 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
5836
1aae75ef
JM
58372017-09-13 Joseph Myers <joseph@codesourcery.com>
5838
5839 * sysdeps/generic/libm-alias-ldouble.h: New file.
5840 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
5841 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
5842 * sysdeps/generic/math-type-macros-ldouble.h: Include
5843 <libm-alias-ldouble.h>.
5844 [!declare_mgen_alias] (declare_mgen_alias): Define to use
5845 libm_alias_ldouble.
5846
bcea7ad6
SN
58472017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
5848
5849 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
5850 * math/w_exp_compat.c: ... here.
5851 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
5852 * math/w_expf_compat.c: ... here.
5853 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
5854 * math/w_expl_compat.c: ... here.
5855 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
5856 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
5857 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
5858 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5859
0fc56478
JM
58602017-09-13 Joseph Myers <joseph@codesourcery.com>
5861
5862 * math/w_scalbln_template.c (strong_alias): Do not undefine and
5863 redefine.
5864 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
5865 macro.
5866 (ldexpl): Only define as compat symbol for libc, not libm.
5867 (scalbnl): Define as compat symbol for libc here.
5868 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
5869 define for [IS_IN (libc)].
5870 (__ldexpl_2): Remove alias.
5871 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
5872 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
5873 name in long_double_symbol call.
5874 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
5875 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5876 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5877 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
5878 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
5879 Remove macro.
5880 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
5881 Define as compat symbol.
5882
3ca622e4
AZ
58832017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5884
5885 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
5886 * sysdeps/unix/sysv/linux/alpha/Makefile
5887 [$(subdir) = csu] (sysdep_routines): Remove rule.
5888
620ff9ee
JM
58892017-09-13 Joseph Myers <joseph@codesourcery.com>
5890
5891 * sysdeps/generic/libm-alias-double.h: New file.
5892 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
5893 * sysdeps/generic/math-type-macros-double.h: Include
5894 <libm-alias-double.h>.
5895 [declare_mgen_alias] (declare_mgen_alias): Define to use
5896 libm_alias_double.
5897 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
5898 (M_LIBM_NEED_COMPAT): Remove macro.
5899 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
5900 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
5901 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
5902 code.
5903 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5904 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5905 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5906 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5907 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5908 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5909 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5910 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5911 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5912 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5913 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5914 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5915 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5916 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5917 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5918 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5919 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5920 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5921 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5922 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5923 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5924 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5925 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5926 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5927 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5928 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5929 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5930 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
5931 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
5932 macro.
5933 (declare_mgen_alias): New macro.
5934 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
5935 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
5936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
5937 (M_LIBM_NEED_COMPAT): Remove macro.
5938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
5939 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
5940 <first-versions.h>.
5941 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
5942 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
5943
a891caff
JM
59442017-09-12 Joseph Myers <joseph@codesourcery.com>
5945
5946 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
5947 (declare_mgen_alias_2): Remove.
5948 * sysdeps/generic/math-type-macros-double.h
5949 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
5950 Likewise.
5951 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
5952 alias.
5953 (ldexp): Define with declare_mgen_alias.
5954 (scalbn): Likewise.
5955
a1a78204
SE
59562017-09-12 Steve Ellcey <sellcey@cavium.com>
5957
5958 * grp/initgroups.c: Include config.h.
5959 (DEFAULT_CONFIG): New macro.
5960 (internal_getgrouplist): Use DEFAULT_CONFIG.
5961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5962 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
5963 (DEFAULT_DEFCONFIG): New macro.
5964 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
5965 * nss/grp-lookup.c: Include config.h
5966 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
5967 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
5968 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
5969 * manual/nss.texi: Update default values section.
5970
ef8adeb0
L
59712017-09-12 H.J. Lu <hongjiu.lu@intel.com>
5972
5973 [BZ #21967]
5974 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
5975 New.
5976 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
5977 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
5978 Handle MathVec_Prefer_No_AVX512.
5979 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
5980 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
5981 is set.
5982
a166531f
ST
59832017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
5984
5985 * posix/sched_primax.c (__sched_get_priority_max): Add
5986 libc_hidden_def.
5987 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
5988 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5989 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
5990 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
5991 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
5992 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
5993 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
5994 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
5995 Add aliases.
5996
4b7d1efb
JM
59972017-09-11 Joseph Myers <joseph@codesourcery.com>
5998
5999 * sysdeps/generic/libm-alias-float.h: New file.
6000 * sysdeps/generic/math-type-macros-float.h: Include
6001 <libm-alias-float.h>.
6002 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6003
45ff3463
L
60042017-09-11 H.J. Lu <hongjiu.lu@intel.com>
6005
6006 [BZ #22093]
6007 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
6008 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
6009 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
6010 (HWCAP_IMPORTANT): Likewise.
6011 (HWCAP_X86_64): New enum.
6012 (HWCAP_X86_AVX512_1): Updated.
6013 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
6014 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
6015 (modules-names): Add x86_64/tst-x86_64mod-1.
6016 (LDFLAGS-tst-x86_64mod-1.so): New.
6017 ($(objpfx)tst-x86_64-1): Likewise.
6018 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
6019 (tst-x86_64-1-clean): Likewise.
6020 * sysdeps/x86_64/tst-x86_64-1.c: New file.
6021 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
6022
891abfd3
SP
60232017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6024
6025 * po/sv.po: Update translations.
6026 * po/fr.po: Likewise.
6027
00c3da43
ST
60282017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6029
6030 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
6031 seconds.
3bdfd9fb
ST
6032 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
6033 seconds.
65b22ebc 6034 * elf/rtld-Rules: Fix $(error) use.
00c3da43 6035
96480903
MF
60362017-09-09 Mike FABIAN <mfabian@redhat.com>
6037
6038 [BZ #14925]
6039 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
6040 * locale/iso-639.def: Change “Bengali” to “Bangla”.
6041 * localedata/locales/bn_BD: “Bengali” was still used in some
6042 comments. Change it to “Bangla”.
6043
4c03a696
MT
60442017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
6045
6046 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
6047
9c9ec581
SE
60482017-09-08 Steve Ellcey <sellcey@cavium.com>
6049
6050 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
6051 thunderx2t99p1 to list of cpu names.
6052 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6053 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
6054
f00bce74
SE
60552017-09-08 Steve Ellcey <sellcey@cavium.com>
6056
6057 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
6058 Use strcmp instead of tunable_is_name.
6059
27342d17
JM
60602017-09-08 Joseph Myers <joseph@codesourcery.com>
6061
af1b7c8c
JM
6062 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6063 (F_GET_RW_HINT): New macro.
6064 [__USE_GNU] (F_SET_RW_HINT): Likewise.
6065 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
6066 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
6067 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
6068 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
6069 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
6070 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
6071 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
6072 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
6073
27342d17
JM
6074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6075 (F_ADD_SEALS): New macro.
6076 [__USE_GNU] (F_GET_SEALS): Likewise.
6077 [__USE_GNU] (F_SEAL_SEAL): Likewise.
6078 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
6079 [__USE_GNU] (F_SEAL_GROW): Likewise.
6080 [__USE_GNU] (F_SEAL_WRITE): Likewise.
6081
c66c9082
AZ
60822017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6083
07b4f49d
AZ
6084 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
6085 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
6086 * posix/glob_internal.h (__glob_pattern_type):
6087 * posix/glob.c (glob):
6088 * posix/glob_pattern_p.c (__glob_pattern_p):
6089 Use them.
6090
116f1c64
AZ
6091 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
6092 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6093 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
6094 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
6095 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
6097 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
6098 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
6099 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6100 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6101 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6102 * sysdeps/wordsize-64/glob.c: Likewise.
6103 * sysdeps/wordsize-64/glob64.c: Likewise.
6104 * sysdeps/wordsize-64/globfree.c: Likewise.
6105 * sysdeps/wordsize-64/globfree64.c: Likewise.
6106 * sysdeps/unix/sysv/linux/glob.c: New file.
6107 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
6108 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
6109 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
6110 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
6111 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
6112 adds !GLOB_NO_OLD_VERSION as an extra condition.
6113 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
6114 using relative path instead of absolute one.
6115 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
6116 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6117 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6118 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
6119 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
6120 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
6121
ffca8901
AZ
6122 [BZ #1062]
6123 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
6124 (glob): Use the same scratch buffer for both getlogin_r and
6125 getpwnam_r. Don’t require preallocation of the login name. This
6126 simplifies storage allocation, and corrects the handling of
6127 long login names.
6128
5a79f975
AZ
6129 [BZ #1062]
6130 * posix/glob.c (glob): Port recent patches to platforms
6131 lacking getpwnam_r.
6132 (glob): Fix longstanding misuse of errno after getpwnam_r, which
6133 returns an error number rather than setting errno.
6134
e00f2425
AZ
6135 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
6136 instead of GCC extension.
6137 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
6138 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
6139 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
6140
5554304f
AZ
6141 [BZ #866]
6142 [BZ #1062]
6143 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
6144 * posix/bug-glob1.c: Remove file.
6145 * posix/tst-glob_symlinks.c: New file.
6146 * posix/glob.c (__lstat64): New macro.
6147 (is_dir): New function.
6148 (glob, glob_in_dir): Match symlinks even if they are dangling.
6149 (link_stat, link_exists_p): Remove. All uses removed.
6150
686f2ea1
AZ
6151 [BZ #1062]
6152 [BZ #19971]
6153 * posix/glob.c (struct readdir_result): Remove skip_entry member.
6154 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
6155 All uses removed.
6156
c66c9082 6157 [BZ #1062]
914c9994 6158 CVE-2017-15671
c66c9082
AZ
6159 * posix/Makefile (routines): Add globfree, globfree64, and
6160 glob_pattern_p.
6161 * posix/flexmember.h: New file.
6162 * posix/glob_internal.h: Likewise.
6163 * posix/glob_pattern_p.c: Likewise.
6164 * posix/globfree.c: Likewise.
6165 * posix/globfree64.c: Likewise.
6166 * sysdeps/gnu/globfree64.c: Likewise.
6167 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
6168 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6169 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
6170 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6172 * sysdeps/wordsize-64/globfree.c: Likewise.
6173 * sysdeps/wordsize-64/globfree64.c: Likewise.
6174 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
6175 [NDEBUG): Remove comments.
6176 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
6177 (dirent_type): New type. Use uint_fast8_t not
6178 uint8_t, as C99 does not require uint8_t.
6179 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
6180 (struct readdir_result): Use dirent_type. Do not define skip_entry
6181 unless it is needed; this saves a byte on platforms lacking d_ino.
6182 (readdir_result_type, readdir_result_skip_entry):
6183 New functions, replacing ...
6184 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6185 these functions, which were removed. This makes the callers
6186 easier to read. All callers changed.
6187 (D_INO_TO_RESULT): Now empty if there is no d_ino.
6188 (size_add_wrapv, glob_use_alloca): New static functions.
6189 (glob, glob_in_dir): Check for size_t overflow in several places,
6190 and fix some size_t checks that were not quite right.
6191 Remove old code using SHELL since Bash no longer
6192 uses this.
6193 (glob, prefix_array): Separate MS code better.
6194 (glob_in_dir): Remove old Amiga and VMS code.
6195 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
6196 separate files.
6197 (glob_in_dir): Do not rely on undefined behavior in accessing
6198 struct members beyond their bounds. Use a flexible array member
6199 instead
6200 (link_stat): Rename from link_exists2_p and return -1/0 instead of
6201 0/1. Caller changed.
6202 (glob): Fix memory leaks.
6203 * posix/glob64 (globfree64): Move to separate file.
6204 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
6205 (globfree64): Remove hidden alias.
6206 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
6207 oldglob.
6208 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
6209 separate file.
6210 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
6211 define.
6212 Move compat code to separate file.
6213 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
6214 separate file.
6215
78bfa877
L
62162017-09-07 H.J. Lu <hongjiu.lu@intel.com>
6217
6218 * resolv/tst-resolv-qtypes.c (domain): Changed to
6219 "const char domain[] =".
6220
05f0011f
JM
62212017-09-07 Joseph Myers <joseph@codesourcery.com>
6222
85bec0f2
JM
6223 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6224 version to 3.1.6.
6225
5c23ee6e
JM
6226 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
6227 (TCP_MD5SIG_EXT): Likewise.
6228 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
6229 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
6230 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
6231
05f0011f
JM
6232 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
6233
7c9c5be9
MF
62342017-09-07 Mike FABIAN <mfabian@redhat.com>
6235
6236 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
6237
c207f7ce 62382017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
6239
6240 [BZ #22100]
6241 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
6242
507fe027
ST
62432017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6244
6245 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
6246 before assuming that the file is empty. Avoid testing buffer content
6247 when nread == 0.
6248
65687ac7
AZ
62492017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6250
7bbbb4b9 6251 [BZ #18858]
65687ac7
AZ
6252 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6253 Remove define.
6254 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
6255 Likewise.
6256 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
6257 Likewise.
6258 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
6259 Likewise.
6260 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6261 Likewise.
6262 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
6263 Likewise.
6264 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
6265 Likewise.
6266
ab5ac271
FW
62672017-09-06 Florian Weimer <fweimer@redhat.com>
6268
6269 * malloc/dynarray_emplace_enlarge.c
6270 (__libc_dynarray_emplace_enlarge): Add missing else.
6271
a8304730
FW
62722017-09-06 Florian Weimer <fweimer@redhat.com>
6273
6274 [BZ #22096]
6275 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
6276 case of failure to obtain the global conf object.
6277
5670c4ab
FW
62782017-09-06 Florian Weimer <fweimer@redhat.com>
6279
6280 [BZ #22095]
6281 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
6282 dynarray allocation failure.
6283
c77eb969
FW
62842017-09-06 Florian Weimer <fweimer@redhat.com>
6285
6286 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
6287 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
6288 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
6289 New functions.
6290 (response): Call them. Add 'p', '6' flag processing.
6291 (test_reverse): New function.
6292 (test_get2_any): Call it.
6293 (test_no_inet6): Add 'p' test.
6294 (test_inet6): Likewise.
6295
5e9c4d17
FW
62962017-09-06 Florian Weimer <fweimer@redhat.com>
6297
6298 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
6299 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
6300 the QNAME.
6301 (test_gai): Adjust query names. Add additional tests.
6302 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
6303 test_get2. Adjust query names. Add additional tests.
6304 (test_no_inet6): New function, extracted from threadfunc.
6305 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
6306 Add additional tests.
6307
2ae5be04
MF
63082017-09-06 Mike FABIAN <mfabian@redhat.com>
6309
6310 [BZ #22070]
6311 * localedata/unicode-gen/utf8_gen.py: Set the width for
6312 characters with Prepended_Concatenation_Mark property to 1
6313 * localedata/charmaps/UTF-8: Updated using the improved script.
6314
af83ed5c
MF
63152017-09-06 Mike FABIAN <mfabian@redhat.com>
6316
6317 [BZ #21750]
6318 * localedata/unicode-gen/utf8_gen.py: Improve the script to
6319 use the range notation for all ranges of neighbouring characters
6320 with the same width.
6321
4f3647e4
JM
63222017-09-05 Joseph Myers <joseph@codesourcery.com>
6323
6324 * sysdeps/generic/math-type-macros-double.h: Include
6325 <math-svid-compat.h>.
6326 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6327 * sysdeps/generic/math-type-macros-float.h: Include
6328 <math-svid-compat.h>.
6329 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6330 * sysdeps/generic/math-type-macros-ldouble.h: Include
6331 <math-svid-compat.h>.
6332 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6333 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
6334 condition.
6335 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
6336 * math/w_acosf_compat.c: Likewise.
6337 * math/w_acosh_compat.c: Likewise.
6338 * math/w_acoshf_compat.c: Likewise.
6339 * math/w_acoshl_compat.c: Likewise.
6340 * math/w_acosl_compat.c: Likewise.
6341 * math/w_asin_compat.c: Likewise.
6342 * math/w_asinf_compat.c: Likewise.
6343 * math/w_asinl_compat.c: Likewise.
6344 * math/w_atan2_compat.c: Likewise.
6345 * math/w_atan2f_compat.c: Likewise.
6346 * math/w_atan2l_compat.c: Likewise.
6347 * math/w_atanh_compat.c: Likewise.
6348 * math/w_atanhf_compat.c: Likewise.
6349 * math/w_atanhl_compat.c: Likewise.
6350 * math/w_cosh_compat.c: Likewise.
6351 * math/w_coshf_compat.c: Likewise.
6352 * math/w_coshl_compat.c: Likewise.
6353 * math/w_exp10_compat.c: Likewise.
6354 * math/w_exp10f_compat.c: Likewise.
6355 * math/w_exp10l_compat.c: Likewise.
6356 * math/w_exp2_compat.c: Likewise.
6357 * math/w_exp2f_compat.c: Likewise.
6358 * math/w_exp2l_compat.c: Likewise.
6359 * math/w_fmod_compat.c: Likewise.
6360 * math/w_fmodf_compat.c: Likewise.
6361 * math/w_fmodl_compat.c: Likewise.
6362 * math/w_hypot_compat.c: Likewise.
6363 * math/w_hypotf_compat.c: Likewise.
6364 * math/w_hypotl_compat.c: Likewise.
6365 * math/w_j0_compat.c: Likewise.
6366 * math/w_j0f_compat.c: Likewise.
6367 * math/w_j0l_compat.c: Likewise.
6368 * math/w_j1_compat.c: Likewise.
6369 * math/w_j1f_compat.c: Likewise.
6370 * math/w_j1l_compat.c: Likewise.
6371 * math/w_jn_compat.c: Likewise.
6372 * math/w_jnf_compat.c: Likewise.
6373 * math/w_jnl_compat.c: Likewise.
6374 * math/w_lgamma_r_compat.c: Likewise.
6375 * math/w_lgammaf_r_compat.c: Likewise.
6376 * math/w_lgammal_r_compat.c: Likewise.
6377 * math/w_log10_compat.c: Likewise.
6378 * math/w_log10f_compat.c: Likewise.
6379 * math/w_log10l_compat.c: Likewise.
6380 * math/w_log2_compat.c: Likewise.
6381 * math/w_log2f_compat.c: Likewise.
6382 * math/w_log2l_compat.c: Likewise.
6383 * math/w_log_compat.c: Likewise.
6384 * math/w_logf_compat.c: Likewise.
6385 * math/w_logl_compat.c: Likewise.
6386 * math/w_pow_compat.c: Likewise.
6387 * math/w_powf_compat.c: Likewise.
6388 * math/w_powl_compat.c: Likewise.
6389 * math/w_remainder_compat.c: Likewise.
6390 * math/w_remainderf_compat.c: Likewise.
6391 * math/w_remainderl_compat.c: Likewise.
6392 * math/w_sinh_compat.c: Likewise.
6393 * math/w_sinhf_compat.c: Likewise.
6394 * math/w_sinhl_compat.c: Likewise.
6395 * math/w_sqrt_compat.c: Likewise.
6396 * math/w_sqrtf_compat.c: Likewise.
6397 * math/w_sqrtl_compat.c: Likewise.
6398 * math/w_tgamma_compat.c: Likewise.
6399 * math/w_tgammaf_compat.c: Likewise.
6400 * math/w_tgammal_compat.c: Likewise.
6401 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
6402 [LIBM_SVID_COMPAT].
6403 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
6404 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
6405 [LIBM_SVID_COMPAT].
6406 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
6407 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
6408 [LIBM_SVID_COMPAT].
6409 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
6410 * sysdeps/i386/fpu/w_sqrt.c: New file.
6411 * sysdeps/ia64/fpu/w_acos.c: Likewise.
6412 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6413 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6414 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6415 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6416 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6417 * sysdeps/ia64/fpu/w_asin.c: Likewise.
6418 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6419 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6420 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6421 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6422 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6423 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6424 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6425 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6426 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6427 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6428 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6429 * sysdeps/ia64/fpu/w_exp.c: Likewise.
6430 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6431 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6432 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6433 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6434 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6435 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6436 * sysdeps/ia64/fpu/w_expf.c: Likewise.
6437 * sysdeps/ia64/fpu/w_expl.c: Likewise.
6438 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6439 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6440 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6441 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6442 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6443 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6444 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6445 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6446 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6447 * sysdeps/ia64/fpu/w_log.c: Likewise.
6448 * sysdeps/ia64/fpu/w_log10.c: Likewise.
6449 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6450 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6451 * sysdeps/ia64/fpu/w_log2.c: Likewise.
6452 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6453 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6454 * sysdeps/ia64/fpu/w_logf.c: Likewise.
6455 * sysdeps/ia64/fpu/w_logl.c: Likewise.
6456 * sysdeps/ia64/fpu/w_pow.c: Likewise.
6457 * sysdeps/ia64/fpu/w_powf.c: Likewise.
6458 * sysdeps/ia64/fpu/w_powl.c: Likewise.
6459 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6460 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6461 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6462 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6463 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6464 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6465 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6466 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6467 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6468 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
6469 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
6470 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
6472 [LIBM_SVID_COMPAT].
6473 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6474 * sysdeps/ieee754/k_standard.c: Likewise.
6475 * sysdeps/ieee754/k_standardf.c: Likewise.
6476 * sysdeps/ieee754/k_standardl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6479 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6480 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
6481 long_double_symbol call on [LIBM_SVID_COMPAT].
6482 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6483 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6484 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6485 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6486 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6487 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6488 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6489 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6490 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6491 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6492 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6493 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6494 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6495 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6496 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6497 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6498 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6499 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6500 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6501 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6502 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
6503 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
6504
05b38d64
SE
65052017-09-05 Steve Ellcey <sellcey@cavium.com>
6506
6507 * include/shlib-compat.h (TEST_COMPAT): New Macro.
6508 * malloc/tst-mallocstate.c: Convert from test-skeleton
6509 to test-driver. Ifdef code using TEST_COMPAT macro.
6510 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
6511 * math/test-matherr.c: Likewise.
6512
99d67918
JM
65132017-09-05 Joseph Myers <joseph@codesourcery.com>
6514
6515 [BZ #22086]
6516 * debug/pcprofiledump.c (main): Use byte-swapped mask when
6517 comparing word with byte-swapped constant.
6518
c207f7ce 65192017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
6520
6521 [BZ #20498]
6522 * locale/iso-639.def: add Miskito.
6523 * localedata/SUPPORTED: Add miq_NI/UTF-8.
6524 * localedata/locales/miq_NI: New file.
6525
0a587a8a
L
65262017-09-04 H.J. Lu <hongjiu.lu@intel.com>
6527
6528 [BZ #18822]
6529 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
6530 (__mkdir): Likewise.
6531 * io/chmod.c (__chmod): Add libc_hidden_def.
6532 * io/mkdir.c (__mkdir): Likewise.
6533 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6534 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6535 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
6536 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
6537
f3a129b8
JM
65382017-09-04 Joseph Myers <joseph@codesourcery.com>
6539
1650e192
JM
6540 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6541 version to 4.13.
6542
f3a129b8
JM
6543 [BZ #22082]
6544 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
6545 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
6546
b38042f5
FW
65472017-09-04 Florian Weimer <fweimer@redhat.com>
6548
6549 * math/math.h: Issue warning if log is defined.
6550
059b6404
JM
65512017-09-04 Joseph Myers <joseph@codesourcery.com>
6552
6553 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6554 kernel version to 4.13.
6555
b794e16b
ST
65562017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6557
6558 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
6559 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
6560 parameter.
01969395
ST
6561 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
6562 just <bits/types.h>.
dd2b31de 6563 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 6564 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 6565 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 6566 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
6567 * misc/preadv2.c: Include <errno.h>.
6568 * misc/preadv64v2.c: Include <errno.h>.
6569 * misc/pwritev2.c: Include <errno.h>.
6570 * misc/pwritev64v2.c: Include <errno.h>.
6571 * sysdeps/posix/preadv2.c: Include <errno.h>.
6572 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
6573 Fix <unistd.h> inclusion.
6574 * sysdeps/posix/pwritev2.c: Include <errno.h>.
6575 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
6576 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
6577 __strtoul_internal): New functions.
127e7773
ST
6578 * sysdeps/posix/pause.c: Include <sigsetops.h>.
6579 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
6580 * sysdeps/mach/hurd/i386/Makefile
6581 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6582 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6583 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
6584 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
6585 __feraiseexcept_renamed to feraiseexcept instead of
6586 __GI_feraiseexcept.
56bf5497 6587 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 6588 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
6589 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
6590 RWF_NOWAIT): Define to 0 if undefined already.
6591 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
6592 boils down to 0.
6547ec0a
ST
6593 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
6594 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 6595
5a80d39d
JM
65962017-09-01 Joseph Myers <joseph@codesourcery.com>
6597
6598 * manual/math.texi (pow10): Do not document.
6599 (pow10f): Likewise.
6600 (pow10l): Likewise.
6601 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
6602 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
6603 * math/libm-test-exp10.inc (pow10_test): Remove.
6604 (do_test): Do not call pow10.
6605 * math/w_exp10_compat.c (pow10): Make into compat symbol.
6606 [NO_LONG_DOUBLE] (pow10l): Likewise.
6607 * math/w_exp10f_compat.c (pow10f): Likewise.
6608 * math/w_exp10l_compat.c (pow10l): Likewise.
6609 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
6610 (pow10): Make into compat symbol.
6611 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
6612 (pow10f): Make into compat symbol.
6613 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
6614 (pow10l): Make into compat symbol.
6615 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
6616 pow10.
6617 (CFLAGS-nldbl-pow10.c): Remove variable..
6618 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
6619 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
6620 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
6621 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
6622 Undefine and redefine.
6623 (pow10l): Make into compat symbol.
6624 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
6625 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6626 * sysdeps/arm/libm-test-ulps: Likewise.
6627 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
6628 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6629 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6630 * sysdeps/microblaze/libm-test-ulps: Likewise.
6631 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6632 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6633 * sysdeps/nios2/libm-test-ulps: Likewise.
6634 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6635 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6636 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6637 * sysdeps/sh/libm-test-ulps: Likewise.
6638 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6639 * sysdeps/tile/libm-test-ulps: Likewise.
6640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641
3824fc38
PP
66422017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6643
6644 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
6645
b3008279
L
66462017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6647
6648 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
6649 "../ChangeLog.old/ChangeLog.8".
6650 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
6651 "../ChangeLog.old/ChangeLog.14".
6652
136fa185
L
66532017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
6656 Threads Library.
6657
c18d50a2
JM
66582017-09-01 Joseph Myers <joseph@codesourcery.com>
6659
6660 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
6661
bedbd859
L
66622017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6663
6664 * csu/version.c (banner): Remove "by Roland McGrath et al.".
6665 * nptl/Banner: Remove "by Ulrich Drepper et al.".
6666
50c66c7a
PP
66672017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6668
6669 * stdlib/tst-atexit-common.c (do_test): Test support for at least
6670 32 atexit handlers.
6671
a617bd11
ZW
66722017-09-01 Zack Weinberg <zackw@panix.com>
6673
6674 * math/math.h (HUGE_VAL): Improve commentary.
6675
e0d2eb5a
AZ
66762017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6677 Andreas Schwab <schwab@suse.de>
6678
6679 [BZ #21530]
6680 * include/stdio.h (__gen_tempfd): New function.
6681 * stdio-common/Makefile (routines): Add gentempfd.
6682 * stdio-common/gentempfd.c: New file.
6683 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
6684 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
6685 unnamed file first.
6686
f4a6be25
FW
66872017-09-01 Florian Weimer <fweimer@redhat.com>
6688
6689 [BZ #21915]
6690 [BZ #21922]
6691 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
6692 result to determine success or failure, not the errno value.
6693 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
6694 (tst-nss-files-hosts-erange): Link with -ldl.
6695 * nss/tst-nss-files-hosts-erange.c: New file.
6696 * nss/tst-resolv-basic.c (response): Handle nodata.example.
6697 (do_test): Add NO_DATA tests.
6698 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
6699 (do_test): Call it.
6700
5f8340f5
FW
67012017-09-01 Florian Weimer <fweimer@redhat.com>
6702
6703 [BZ #21922]
6704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
6705 coming from gethostbyname2_r.
6706
65329bd2
FW
67072017-09-01 Florian Weimer <fweimer@redhat.com>
6708
6709 * support/namespace.h (struct support_chroot_configuration): Add
6710 hosts, host_conf.
6711 (struct support_chroot): Add path_hosts, path_host_conf.
6712 * support/support_chroot.c (write_file): New function.
6713 (support_chroot_create): Call it to process /etc/resolv.conf,
6714 /etc/hosts, /etc/host.conf.
6715 (support_chroot_free): Update.
6716
a2881ef0
FW
67172017-09-01 Florian Weimer <fweimer@redhat.com>
6718
6719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
6720 status indicates it is set.
6721
ad816a5e
FW
67222017-09-01 Florian Weimer <fweimer@redhat.com>
6723
6724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
6725 function lookup failures more reliable.
6726
53250a21
FW
67272017-09-01 Florian Weimer <fweimer@redhat.com>
6728
6729 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
6730 (getcanonname): Likewise.
6731 (gaih_inet): Likewise.
6732
924b121c
FW
67332017-09-01 Florian Weimer <fweimer@redhat.com>
6734
6735 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
6736 (getcanonname): Likewise.
6737 (gaih_inet): Likewise.
6738
d9ff799a
SE
67392017-08-31 Steve Ellcey <sellcey@cavium.com>
6740 Richard Henderson <rth@twiddle.net>
6741
6742 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
6743 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
6744 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
6745 (IREG_SIZE, OREG_SIZE): New macros.
6746 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
6747 (IREG_SIZE, OREG_SIZE): New macros.
6748 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
6749 (IREG_SIZE): New macro.
6750 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
6751 (IREG_SIZE): New macro.
6752 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
6753 New includes.
6754 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
6755 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6756 (__CONCATX): Handle exceptions correctly on large values that may
6757 set FE_INVALID.
6758 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
6759 Initialize if not already set.
6760 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6761
102dde84
AZ
67622017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6763
6764 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
6765 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
6766 Likewise.
6767 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
6768 Likewise.
6769 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
6770 Likewise.
6771 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
6772 Likewise.
6773 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
6774 Likewise.
6775 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
6776 Likewise.
6777 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
6778 Likewise.
6779 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
6780 (NO_CANCELLATION): Likewise.
6781 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
6782 Likewise.
6783 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
6784 Likewise.
6785 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
6786 Likewise.
6787 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
6788 (NO_CANCELLATION): Likewise.
6789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
6790 (NO_CANCELLATION): Likewise.
6791 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
6792 Likewise
6793 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
6794 Likewise.
6795 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
6796 Likewise.
6797 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
6798 Likewise.
6799 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
6800 hidden prototype.
6801 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
6802 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
6803
9eee633b
SE
68042017-08-31 Steve Ellcey <sellcey@cavium.com>
6805
6806 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
6807 in resolver call.
6808
65284eb7
FW
68092017-08-31 Florian Weimer <fweimer@redhat.com>
6810
6811 * include/libc-symbols.h (internal_function): Remove.
6812
41ad5ca6
FW
68132017-08-31 Florian Weimer <fweimer@redhat.com>
6814
6815 * stdlib/fmtmsg.c (internal_addseverity): Remove
6816 internal_function.
6817
2fa6d086
FW
68182017-08-31 Florian Weimer <fweimer@redhat.com>
6819
6820 * stdio-common/printf_fp.c (group_number): Remove
6821 internal_function.
6822 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6823
b41bd5bc
FW
68242017-08-31 Florian Weimer <fweimer@redhat.com>
6825
6826 * posix/fnmatch.c (internal_function): Remove definition.
6827 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
6828 * posix/regcomp.c (peek_token, init_word_char)
6829 (duplicate_node_closure, fetch_token, peek_token)
6830 (peek_token_bracket, build_range_exp, build_collating_symbol):
6831 Likewise.
6832 * posix/regex_internal.c (re_string_construct_common)
6833 (create_ci_newstate, create_cd_newstate, re_string_allocate)
6834 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
6835 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
6836 (re_string_translate_buffer, re_string_reconstruct)
6837 (re_string_peek_byte_case, re_string_fetch_byte_case)
6838 (re_string_destruct, re_string_context_at, re_node_set_alloc)
6839 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
6840 (re_node_set_add_intersect, re_node_set_init_union)
6841 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
6842 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
6843 (re_dfa_add_node, calc_state_hash, re_acquire_state)
6844 (re_acquire_state_context): Likewise.
6845 * posix/regex_internal.h (internal_function): Remove definition.
6846 (re_string_realloc_buffers, build_wcs_buffer)
6847 (build_wcs_upper_buffer, build_upper_buffer)
6848 (re_string_translate_buffer, re_string_context_at)
6849 (re_string_char_size_at, re_string_wchar_at)
6850 (re_string_elem_size_at): Likewise.
6851 * posix/regexec.c (match_ctx_init, match_ctx_clean)
6852 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
6853 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
6854 (re_search_internal, re_search_2_stub, re_search_stub)
6855 (re_copy_regs, prune_impossible_nodes, check_matching)
6856 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
6857 (free_fail_stack_return, sift_states_iter_mb)
6858 (sift_states_backward, build_sifted_states)
6859 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
6860 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
6861 (check_subexp_limits, sift_states_bkref, merge_state_array)
6862 (find_recover_state, transit_state, merge_state_with_log)
6863 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
6864 (transit_state_mb, transit_state_bkref, get_subexp)
6865 (get_subexp_sub, find_subexp_node, check_arrival)
6866 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
6867 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
6868 (check_node_accept_bytes, find_collation_sequence_value)
6869 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
6870 (acquire_init_state_context, check_halt_node_context)
6871 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
6872 (sub_epsilon_src_nodes): Likewise.
6873 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
6874 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
6875 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
6876 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
6877 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
6878 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
6879 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
6880 * sysdeps/posix/ttyname.c (getttyname): Likewise.
6881 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6882 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
6883 (PREADV): Likewise.
6884 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
6885 (PREADV): Likewise.
6886 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
6887 (PWRITEV): Likewise.
6888 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
6889 (PWRITEV): Likewise.
6890 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
6891 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
6892
83b09837
FW
68932017-08-31 Florian Weimer <fweimer@redhat.com>
6894
6895 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
6896 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
6897 Remove internal_function.
6898 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6899 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
6900 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
6901 (__deallocate_stack, __libc_pthread_init)
6902 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
6903 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
6904 (__libc_disable_asynccancel, __librt_disable_asynccancel):
6905 Likewise.
6906 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
6907 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
6908 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
6909 Likewise.
6910 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
6911 (__pthread_mutex_unlock_usercnt): Likewise.
6912
116ac301
FW
69132017-08-31 Florian Weimer <fweimer@redhat.com>
6914
6915 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
6916 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
6917 (fts_safe_changedir): Remove internal_function.
6918 * io/ftw.c (internal_function): Remove definition.
6919 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
6920
9da93bd7
FW
69212017-08-31 Florian Weimer <fweimer@redhat.com>
6922
6923 * inet/deadline.c (__deadline_current_time)
6924 (__deadline_from_timeval, __deadline_to_ms): Remove
6925 internal_function.
6926 * inet/getnameinfo.c (nrl_domainname): Likewise.
6927 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6928 * inet/inet6_option.c (add_pad): Likewise.
6929 * inet/net-internal.h (__deadline_current_time)
6930 (__deadline_from_timeval, __deadline_to_ms): Likewise.
6931 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
6932 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
6933 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
6934
a60eca2e
JM
69352017-08-31 Joseph Myers <joseph@codesourcery.com>
6936
c0c49d60
JM
6937 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
6938 include <bits/nan.h>.
6939 * math/Makefile (headers): Remove bits/nan.h.
6940 * bits/nan.h: Remove.
6941 * sysdeps/ieee754/bits/nan.h: Likewise.
6942 * sysdeps/mips/bits/nan.h: Likewise.
6943
5ef1b213
JM
6944 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
6945 not include <bits/inf.h>.
6946 * math/Makefile (headers): Remove bits/inf.h.
6947 * bits/inf.h: Remove.
6948 * sysdeps/ieee754/bits/inf.h: Likewise.
6949
a60eca2e
JM
6950 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
6951 bits/huge_vall.h or bits/huge_val_flt128.h.
6952 (HUGE_VAL): Define directly here.
6953 [__USE_ISOC99] (HUGE_VALF): Likewise.
6954 [__USE_ISOC99] (HUGE_VALL): Likewise.
6955 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6956 (HUGE_VAL_F128): Likewise.
6957 * math/Makefile (headers): Remove bits/huge_val.h,
6958 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
6959 * bits/huge_val.h: Remove.
6960 * bits/huge_val_flt128.h: Likewise.
6961 * bits/huge_valf.h: Likewise.
6962 * bits/huge_vall.h: Likewise.
6963 * sysdeps/ia64/bits/huge_vall.h: Likewise.
6964 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6965 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
6966 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
6967 * sysdeps/sh/bits/huge_val.h: Likewise.
6968 * sysdeps/sparc/bits/huge_vall.h: Likewise.
6969 * sysdeps/x86/bits/huge_vall.h: Likewise.
6970
17e00cc6
FW
69712017-08-31 Florian Weimer <fweimer@redhat.com>
6972
6973 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
6974 internal_function.
6975 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
6976 Likewise.
6977 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
6978 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6979 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
6980 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
6981 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6982 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6983 * elf/dl-libc.c (dlerror_run): Likewise.
6984 * elf/dl-load.c (add_name_to_object, decompose_rpath)
6985 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
6986 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
6987 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
6988 Likewise.
6989 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
6990 (_dl_higher_prime_number, _dl_strtoul): Likewise.
6991 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
6992 * elf/dl-profile.c (_dl_start_profile): Likewise.
6993 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
6994 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
6995 Likewise.
6996 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
6997 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
6998 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
6999 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
7000 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
7001 (_dl_allocate_tls_storage): Likewise.
7002 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
7003 (_dl_check_all_versions): Likewise.
7004 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7005 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
7006 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
7007 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7008 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
7009 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
7010 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
7011 internal_function from __dl_start.
7012 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
7013 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7014 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
7015 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
7016 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
7017 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
7018 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
7019 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
7020 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
7021 (_dl_next_ld_env_entry, _dl_important_hwcaps)
7022 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
7023 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
7024 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
7025 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
7026 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
7027 Likewise.
7028 (struct rtld_global_ro): Remove internal_function from the
7029 _dl_lookup_symbol_x member.
7030 (_dl_symbol_value): Remove. No longer defined anywhere.
7031 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
7032 internal_function.
7033 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7034 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7035 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
7036 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
7037 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
7038 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
7039 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
7040 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
7041 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
7042 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7043 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7044 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7045
8d2f9410
FW
70462017-08-31 Florian Weimer <fweimer@redhat.com>
7047
7048 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
7049 Remove internal_function.
7050 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7051 Likewise.
7052 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7053 Likewise.
7054
86e4919f
FW
70552017-08-31 Florian Weimer <fweimer@redhat.com>
7056
7057 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
7058 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
7059 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
7060
59bd52b0
FW
70612017-08-31 Florian Weimer <fweimer@redhat.com>
7062
7063 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
7064 (__gai_enqueue_request): Remove internal_function.
7065 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
7066 (__gai_remove_request, __gai_notify, __gai_notify_only)
7067 (__gai_sigqueue): Likewise.
7068 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
7069 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7070 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
7071 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7072 Likewise.
7073
fc3d9497
FW
70742017-08-31 Florian Weimer <fweimer@redhat.com>
7075
7076 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
7077 * include/dirent.h (__opendirat, __getdents, __getdents64)
7078 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
7079 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7080 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7081 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7082 Likewise.
7083 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
7084
18c54fac
FW
70852017-08-31 Florian Weimer <fweimer@redhat.com>
7086
7087 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
7088 internal_function.
7089 (GETCWD_RETURN_TYPE): Likewise.
7090
7e01f080
FW
70912017-08-31 Florian Weimer <fweimer@redhat.com>
7092
7093 * include/time.h (__tz_compute, __strptime_internal): Remove
7094 internal_function.
7095 * time/strptime_l.c (__strptime_internal): Likewise.
7096 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
7097
d7ccc6c9
FW
70982017-08-31 Florian Weimer <fweimer@redhat.com>
7099
7100 * iconv/gconv.c (__gconv): Remove internal_function.
7101 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
7102 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
7103 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
7104 (__gconv_release_cache): Likewise.
7105 * iconv/gconv_close.c (__gconv_close): Likewise.
7106 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
7107 (read_conf_file, __gconv_get_path): Likewise.
7108 * iconv/gconv_db.c (derivation_lookup, add_derivation)
7109 (__gconv_release_step, gen_steps, increment_counter)
7110 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
7111 (__gconv_close_transform, free_modules_db): Likewise.
7112 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
7113 Likewise.
7114 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
7115 (__gconv_find_transform, __gconv_lookup_cache)
7116 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
7117 (__gconv_close_transform, __gconv_release_cache)
7118 (__gconv_loaded_object, __gconv_release_shlib)
7119 (__gconv_compare_alias): Likewise.
7120 * iconv/gconv_open.c (__gconv_open): Likewise.
7121 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
7122 * iconv/iconvconfig.c (add_module): Likewise.
7123 * intl/dcigettext.c (plural_lookup, guess_category_value)
7124 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
7125 * intl/eval-plural.h (plural_eval): Likewise.
7126 * intl/finddomain.c (_nl_find_domain): Likewise.
7127 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
7128 (_nl_load_domain, _nl_find_msg): Likewise.
7129 (internal_function): Remove definition.
7130 * intl/loadinfo.h (internal_function): Likewise.
7131 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
7132 internal_function.
7133 * intl/localealias.c (internal_function): Remove definition.
7134 (read_alias_file): Remove internal_function.
7135 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
7136 * intl/plural-exp.h (internal_function): Remove definition.
7137 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
7138 internal_function.
7139 * intl/plural.c: Regenerate.
7140 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
7141 * locale/coll-lookup.c (__collidx_table_lookup)
7142 (__collseq_table_lookup): Likewise.
7143 * locale/coll-lookup.h (__collidx_table_lookup)
7144 (__collseq_table_lookup): Likewise.
7145 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
7146 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7147 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
7148 (_nl_unload_locale): Likewise.
7149 * locale/localeinfo.h (struct __locale_data): Remove
7150 internal_function from cleanup member.
7151 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
7152 (_nl_remove_locale, _nl_load_locale_from_archive)
7153 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
7154 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
7155 (_nl_cleanup_time): Remove internal_function.
7156 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
7157 (_nl_parse_alt_digit): Likewise.
7158 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
7159 (_nl_select_era_entry): Likewise.
7160 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
7161 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7162 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
7163 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7164 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 7165
dab0eece
FW
71662017-08-31 Florian Weimer <fweimer@redhat.com>
7167
7168 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
7169 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7170 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
7171 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
7172 Likewise.
7173 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
7174 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
7175 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
7176 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7177 Likewise.
7178 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
7179
ab5bf7cf
FW
71802017-08-31 Florian Weimer <fweimer@redhat.com>
7181
7182 * misc/getttyent.c (skip, value): Remove internal_function.
7183 * misc/syslog.c (openlog_internal): Likewise.
7184 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
7185
75b3047e
FW
71862017-08-31 Florian Weimer <fweimer@redhat.com>
7187
7188 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
7189 (__nss_rewrite_field): Remove internal_function.
7190 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7191 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7192 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7193 * nss/nsswitch.c (nss_parse_file, nss_getline)
7194 (nss_parse_service_list, nss_new_service): Likewise.
7195 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
7196 * nss/valid_field.c (__nss_valid_field): Likewise.
7197 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7198
0c71122c
FW
71992017-08-31 Florian Weimer <fweimer@redhat.com>
7200
7201 * malloc/arena.c (__malloc_fork_lock_parent)
7202 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
7203 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
7204 internal_function from defintions.
7205 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
7206 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
7207 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
7208 internal_function from declarations.
7209 * malloc/malloc.c (internal_function): Do not define.
7210 (mem2mem_check): Remove internal_function from declaration.
7211 (munmap_chunk, mremap_chunk): Remove internal_function.
7212 * malloc/mtrace.c (tr_where): Likewise.
7213
ca4ec803
FW
72142017-08-31 Florian Weimer <fweimer@redhat.com>
7215
7216 * include/rpc/pmap_clnt.h (__get_socket): Remove
7217 internal_function.
7218 * sunrpc/auth_des.c (synchronize): Likewise.
7219 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
7220 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
7221 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
7222 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
7223 (key_call): Likewise.
7224 * sunrpc/pm_getport.c (__get_socket): Likewise.
7225 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
7226 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
7227 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
7228 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
7229 (invalidate): Likewise.
7230 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
7231 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
7232 (set_input_fragment, get_input_bytes): Likewise.
7233
24cffce7
FW
72342017-08-31 Florian Weimer <fweimer@redhat.com>
7235
7236 * malloc/malloc.c (_int_free): Remove locked variable and related
7237 asserts.
7238
ecd0747d
L
72392017-08-31 H.J. Lu <hongjiu.lu@intel.com>
7240
7241 [BZ #22051]
7242 * Makerules (build-module-helper-objlist): Filter out
7243 $(elf-objpfx)sofini.os.
7244 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
7245 needed.
7246
5f0704b6
FW
72472017-08-31 Florian Weimer <fweimer@redhat.com>
7248
7249 * libio/fcloseall.c: Assume weak_alias is defined.
7250 * libio/feof.c: Likewise.
7251 * libio/fileno.c: Likewise.
7252 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
7253 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7254 definitions.
7255 (_IO_file_open): Call __open directly.
7256 (_IO_new_file_sync): Assume ESPIPE is defined.
7257 (_IO_file_seekoff_maybe_mmap): Call __read directly.
7258 (_IO_new_file_write): Call __write directly.
7259 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
7260 * libio/ftello64.c (__ftello64): Assume EIO is defined.
7261 * libio/genops.c: Assume _LIBC is defined.
7262 (save_for_backup): Remove internal_function.
7263 * libio/getc.c: Assume weak_alias is defined.
7264 * libio/getwc.c: Likewise.
7265 * libio/iofclose.c: Assume _LIBC is defined.
7266 * libio/iofdopen.c: Likewise.
7267 (_IO_fcntl): Remove macro definition.
7268 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
7269 Call __fcntl directly.
7270 * libio/iofflush.c: Assume weak_alias is defined.
7271 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
7272 defined.
7273 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
7274 * libio/iofgets.c: Likewise.
7275 * libio/iofopen.c: Assume _LIBC is defined.
7276 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
7277 * libio/iofputs.c: Assume weak_alias is defined.
7278 * libio/iofread.c: Likewise.
7279 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
7280 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7281 * libio/ioftell.c: Assume weak_alias is defined.
7282 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
7283 * libio/iofwide.c: Assume _LIBC is defined.
7284 (_IO_fwide): Drop SHARED conditional because it is implied by
7285 SHLIB_COMPAT.
7286 * libio/iofwrite.c: Assume weak_alias is defined.
7287 * libio/iogetdelim.c: Likewise.
7288 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
7289 * libio/iogetwline.c (wmemcpy): Remove macro definition.
7290 (_IO_getwline): Call __wmemcpy directly.
7291 * libio/iopopen.c: Assume _LIBC is defined.
7292 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7293 (_IO_close): Remove macro definitions.
7294 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
7295 _exit directly.
7296 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
7297 directly.
7298 * libio/ioputs.c: Assume weak_alias is defined.
7299 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
7300 * libio/iosetbuffer.c: Assume weak_alias is defined.
7301 * libio/iosetvbuf.c: Likewise.
7302 * libio/ioungetc.c: Likewise.
7303 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
7304 libc_hidden_def, libc_hidden_weak, NULL are defined.
7305 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
7306 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
7307 defined.
7308 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7309 definitions.
7310 (_IO_old_file_init_internal): Drop SHARED conditional because it
7311 is implied by SHLIB_COMPAT.
7312 (_IO_old_file_fopen): Call __open directly.
7313 (_IO_old_file_sync): Assume ESPIPE is defined.
7314 (_IO_old_file_write): Call __write directly.
7315 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
7316 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
7317 Call __fcntl directly.
7318 * libio/oldiofgetpos.c: Assume weak_alias is defined.
7319 (_IO_old_fgetpos): Assume EIO is defined.
7320 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
7321 (_IO_old_fgetpos64): Assume EIO is defined.
7322 * libio/oldiofsetpos.c: Assume weak_alias is defined.
7323 (_IO_old_fsetpos): Assume EIO is defined.
7324 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
7325 (_IO_old_fsetpos64): Assume EIO is defined.
7326 * libio/oldiopopen.c: Assume _LIBC is defined.
7327 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7328 (_IO_close): Remove macro definitions.
7329 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
7330 directly.
7331 (_IO_old_proc_close): Call __close, __waitpid directly.
7332 * libio/put.c: Assume weak_alias is defined.
7333 * libio/stdfiles.c: Assume _LIBC is defined.
7334 * libio/stdio.c: Likewise.
7335 * libio/wfileops.c: Likewise.
7336 (_IO_wfile_sync): Assume ESPIPE is defined.
7337 * libio/wgenops.c: Assume _LIBC is defined.
7338 (save_for_wbackup): Remove internal_function.
7339
5129873a
FW
73402017-08-31 Florian Weimer <fweimer@redhat.com>
7341
7342 * malloc/malloc.c (top_check): Change return type to void. Remove
7343 internal_function.
7344 * malloc/hooks.c (top_check): Likewise.
7345 (malloc_check, realloc_check, memalign_check): Adjust.
7346
4fa9b3bf
JM
73472017-08-30 Joseph Myers <joseph@codesourcery.com>
7348
7349 [BZ #21457]
7350 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7351 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
7352 sigcontext and namespace requirements.
7353 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7354 * sysdeps/m68k/sys/ucontext.h: Likewise.
7355 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
7356 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
7357 <bits/sigcontext.h>.
7358 (__ctx): Define earlier.
7359 (mcontext_t): Define structure contents rather than using struct
7360 sigcontext.
7361 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
7362 __glibc_reserved1 instead of __reserved.
7363 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
7364 <bits/sigcontext.h>.
7365 (__ctx): Define earlier.
7366 (mcontext_t): Define structure contents rather than using struct
7367 sigcontext.
7368 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
7369 mcontext_t instead of struct sigcontext.
7370 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
7371 <bits/sigcontext.h>.
7372 (__ctx): Define earlier.
7373 (mcontext_t): Define structure contents rather than using struct
7374 sigcontext.
7375 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
7376 <bits/sigcontext.h>.
7377 (__ctx): Define earlier.
7378 (mcontext_t): Define structure contents rather than using struct
7379 sigcontext.
7380 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
7381 mcontext_t instead of struct sigcontext.
7382 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
7383 mcontext_t instead of struct sigcontext.
7384 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
7385 <bits/sigcontext.h>.
7386 (__ctx): New macro.
7387 (struct __ia64_fpreg_mcontext): New type.
7388 (mcontext_t): Define structure contents rather than using struct
7389 sigcontext.
7390 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
7391 (uc_sigmask): Define using __ctx.
7392 (uc_stack): Likewise.
7393 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
7394 <bits/sigcontext.h>.
7395 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7396 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
7397 <bits/sigcontext.h>.
7398 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
7399 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
7400 <bits/sigcontext.h>.
7401 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
7402 <bits/sigcontext.h>.
7403 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
7404 <bits/sigcontext.h>.
7405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
7406 <bits/sigcontext.h>.
7407 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
7408 <bits/sigcontext.h>.
7409 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
7410 <bits/sigcontext.h>.
7411 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
7412 <bits/sigcontext.h>.
7413 (__ctx): Define earlier.
7414 (mcontext_t): Define structure contents rather than using struct
7415 sigcontext.
7416 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
7417 <bits/sigcontext.h>. Include <bits/types.h>.
7418 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
7419 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
7420 (test-xfail-XPG42/ucontext.h/conform): Likewise.
7421 (test-xfail-UNIX98/signal.h/conform): Likewise.
7422 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7423 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7424 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7425 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7426 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7427 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7428 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7429 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7430 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7431
5898f454
FW
74322017-08-30 Florian Weimer <fweimer@redhat.com>
7433
7434 * malloc/dynarray_emplace_enlarge.c
7435 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
7436 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7437 * malloc/tst-dynarray.c (test_long_overflow): New function.
7438 (do_test): Call it.
7439
a9da0bb2
FW
74402017-08-30 Florian Weimer <fweimer@redhat.com>
7441
7442 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
7443 (set_arena_corrupt): Remove definitions.
7444 (mtrim): Do not check for corrupt arena.
7445 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
7446 Likewise.
7447
ac3ed168
FW
74482017-08-30 Florian Weimer <fweimer@redhat.com>
7449
7450 [BZ #21754]
7451 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
7452 check_action.
7453 (ptmalloc_init): Do not set or use check_action.
7454 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
7455 call to malloc_printerr. Remove return statement.
7456 (free_check): Likewise. Remove arena unlock.
7457 (top_check): Update comment. Adjust call to malloc_printerr.
7458 Remove heap repair code.
7459 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
7460 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
7461 (sysmalloc): Adjust call to malloc_printerr.
7462 (munmap_chunk, __libc_realloc): Likewise. Remove return
7463 statement.
7464 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
7465 Remove errout label and corresponding gotos.
7466 (_int_free): Likewise. Remove arena unlock.
7467 (do_set_mallopt_check): Do not set check_action.
7468 (malloc_printerr): Adjust parameter list. Do not mark arena as
7469 corrupt.
7470 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
7471 comment.
7472 * manual/probes.texi (Memory Allocation Probes): Remove
7473 memory_mallopt_check_action.
7474
44bcba80
SE
74752017-08-30 Steve Ellcey <sellcey@cavium.com>
7476
7477 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
7478 Use pointer to uint64_t instead of long int for sp.
7479
ec2c1fce
FW
74802017-08-30 Florian Weimer <fweimer@redhat.com>
7481
7482 [BZ #21754]
7483 * malloc/malloc.c (malloc_printerr): Always terminate the process,
7484 without printing a backtrace. Do not leak any information in the
7485 error message.
7486 * manual/memory.texi (Heap Consistency Checking): Update.
7487 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
7488
9ce673b6
FW
74892017-08-30 Florian Weimer <fweimer@redhat.com>
7490
7491 Do not scale NPTL tests with available number of CPUs.
7492 * nptl/tst-cond16.c (count): Set to constant value of 8.
7493 * nptl/tst-cond18.c (count): Likewise.
7494
2f1aef19
JM
74952017-08-29 Joseph Myers <joseph@codesourcery.com>
7496
7497 [BZ #22035]
7498 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
7499 Define to take a second argument that is a macro that
7500 concatentates a suffix, not the suffix itself.
7501 (__CONCAT_d): New macro.
7502 (__CONCAT_f): Likewise.
7503 (__CONCAT_l): Likewise.
7504
8325b477
PP
75052017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
7506
7507 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
7508 by child.
7509
319cbbf6
AZ
75102017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7511 Aurelien Jarno <aurelien@aurel32.net>
7512 Maciej W. Rozycki <macro@imgtec.com>
7513
7514 [BZ #21956]
7515 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
7516 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
7517 `mips16-syscall6' and `mips16-syscall7'.
7518 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
7519 (CFLAGS-mips16-syscall7.c): Remove.
7520 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
7521 Remove `__mips16_syscall5', `__mips16_syscall6' and
7522 `__mips16_syscall7'.
7523 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
7524 (__mips16_syscall0): Rename `__mips16_syscall_return' to
7525 `__mips_syscall_return'.
7526 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
7527 (__mips16_syscall1): Likewise.
7528 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
7529 (__mips16_syscall2): Likewise.
7530 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
7531 (__mips16_syscall3): Likewise.
7532 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
7533 (__mips16_syscall4): Likewise.
7534 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
7535 Remove.
7536 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
7537 Remove.
7538 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
7539 Remove.
7540 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
7541 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
7542 `__mips16_syscall5'. Remove prototype.
7543 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
7544 `__mips16_syscall6'. Remove prototype.
7545 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
7546 `__mips16_syscall7'. Remove prototype.
7547 (__nomips16, __mips16_syscall_return): Move to...
7548 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7549 (__nomips16, __mips_syscall_return): ... here.
7550 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
7551 `__mips16_syscall_return' to `__mips_syscall_return'.
7552 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
7553 `internal_syscall##nr'.
7554 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
7555 `internal_syscall##nr'.
7556 (FORCE_FRAME_POINTER): Remove.
7557 (__mips_syscall5): New prototype.
7558 (internal_syscall5): Rewrite to call `__mips_syscall5'.
7559 (__mips_syscall6): New prototype.
7560 (internal_syscall6): Rewrite to call `__mips_syscall6'.
7561 (__mips_syscall7): New prototype.
7562 (internal_syscall7): Rewrite to call `__mips_syscall7'.
7563 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
7564 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
7565 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
7566 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
7567 (sysdep_routines): Add libc-do-syscall.
7568 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
7569 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
7570
01b87c65
AZ
75712017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7572
7573 [BZ #21672]
7574 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
7575 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
7576 (advise_stack_range): New function.
7577 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
7578 stack non required to advise_stack_range at allocatestack.c
7579
16f138a4
SN
75802017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7581
7582 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
7583
251bccfa
FW
75842017-08-29 Florian Weimer <fweimer@redhat.com>
7585
7586 [BZ #22026]
7587 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
7588 __end_fct. Mangle __end_fct after setting it to NULL.
7589 * iconv/Makefile (tests): Add tst-gconv-init-failure.
7590 (modules-names, modules-names-tests): Add
7591 tst-gconv-init-failure-mod.
7592 (gconv-modules): New target.
7593 (tst-gconv-init-failure-mod.so): Link against libsupport.
7594 (tst-gconv-init-failure): Depend on gconv-modules,
7595 tst-gconv-init-failure-mod.so.
7596 * iconv/tst-gconv-init-failure-mod.c: New file.
7597 * iconv/tst-gconv-init-failure.c: Likewise.
7598 * iconv/test-gconv-modules: Likewise.
7599
e7c18b9d
FW
76002017-08-29 Florian Weimer <fweimer@redhat.com>
7601
7602 [BZ #22025]
7603 * iconv/gconv_db.c (free_derivation): Remove redundant
7604 parentheses.
7605 (gen_steps): Unconditionally mangle __btowc_fct after
7606 initialization.
7607 (increment_counter): Likewise. Do not call init_fct for internal
7608 modules.
7609
7daada03
JM
76102017-08-29 Joseph Myers <joseph@codesourcery.com>
7611
7612 [BZ #22028]
7613 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7614 (_MSUF_): Remove macro.
7615 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
7616 Likewise.
7617 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7618 (__REDIRFROM_X): New macro.
7619 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
7620 Likewise.
7621 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
7622 (__REDIRTO_X): Likewise.
7623 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
7624 arguments.
7625 (__MATH_REDIRCALL_2): Likewise.
7626 (__MATH_REDIRCALL_INTERNAL): Likewise.
7627 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7628 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
7629 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
7630 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7631 * math/test-finite-macros.c: New file.
7632 * math/Makefile (tests): Add test-finite-macros.
7633 (CFLAGS-test-finite-macros.c): New variable.
7634
1cf1232c
PF
76352017-08-29 Patsy Franklin <pfrankli@redhat.com>
7636 Jeff Law <law@redhat.com>
7637
7638 [BZ #22025]
7639 Mangle NULL pointers in iconv/gconv.
7640 * iconv/gconv_cache.c (find_module): Demangle init_fct before
7641 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
7642 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
7643 is non-NULL before demangling the end_fct. Check for NULL
7644 end_fct after demangling.
7645 (__gconv_release_step): Demangle the end_fct before checking
7646 it for NULL. Remove assert on __shlibc_handle != NULL.
7647 (gen_steps): Don't check btowc_fct for NULL before mangling.
7648 Demangle init_fct before checking for NULL.
7649 (increment_counter): Likewise.
7650 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
7651 end_fct for NULL before mangling.
7652 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
7653 for NULL.
7654
c207f7ce 76552017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
7656
7657 [BZ #21971]
7658 * locale/iso-639.def: add Morisyen.
7659
42496114
GG
76602017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7661
7662 [BZ #21930]
7663 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
7664 (iszero): New C++ implementation that does not use
7665 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
7666 signaling nans are enabled, since __builtin_types_compatible_p
7667 is a C-only feature.
7668 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
7669 defined, include ieee754_float128.h for access to the union and
7670 member ieee854_float128.ieee.
7671 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
7672 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
7673 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
7674 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
7675 options of test-math-zero on powerpc64le.
7676
5e2bc4ff
L
76772017-08-28 H.J. Lu <hongjiu.lu@intel.com>
7678
7679 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7680 Change double to float.
7681
a48c0fb4
JM
76822017-08-28 Joseph Myers <joseph@codesourcery.com>
7683
7684 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
7685 unconditional.
7686 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
7687 conditional code; define contents only for [LIBM_SVID_COMPAT].
7688
ee17d4e9
FW
76892017-08-28 Florian Weimer <fweimer@redhat.com>
7690
7691 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
7692 (abi-lp64_be-options): Remove.
7693 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
7694 (abi-hard-options): Likewise.
7695 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
7696 (abi-o32_hard-options, abi-o32_soft_2008-options)
7697 (abi-o32_hard_2008-options, abi-n32_soft-options)
7698 (abi-n32_hard-options, abi-n32_soft_2008-options)
7699 (abi-n32_hard_2008-options, abi-n64_soft-options)
7700 (abi-n64_hard-options, abi-n64_soft_2008-options)
7701 (abi-n64_hard_2008-options): Likewise.
7702 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
7703 (abi-64-v1-options, abi-64-v2-options): Likewise.
7704 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
7705 (abi-64-options): Likewise.
7706 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
7707 (abi-64-options): Likewise.
7708 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
7709 (abi-64-options): Likewise.
7710 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
7711 (abi-64-options, abi-x32-options): Likewise.
7712
2dba5ce7
FW
77132017-08-28 Florian Weimer <fweimer@redhat.com>
7714
7715 Store supported list of SYS_* system calls in the source tree.
7716 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7717 (bits/syscall.h): Generate from list file.
7718 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
7719 [$(subdir) = misc] (tests): Add tst-syscall-list.
7720 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
7721 [$(subdir) = misc] (tst-syscall-list-macros.list)
7722 [$(subdir) = misc] (tst-syscall-list-nr.list)
7723 (tst-syscall-list-sys.list): Helper targets for new
7724 tst-syscall-list test.
7725 [$(subdir) = misc] (tst-syscall-list.out): Run test script
7726 tst-syscall-list.sh.
7727 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
7728 target. Do not include bits/syscall.d.
7729 [$(subdir) = misc] (generated): Do not update.
7730 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
7731 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
7732 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
7733 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
7734
5f3b183d
PP
77352017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7736
7737 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
7738 (tst-cxa_atexit, tst-on_exit): Likewise.
7739 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
7740 tst-cxa_atexit, and tst-on_exit.
7741 * stdlib/tst-atexit-common.c: New file.
7742 * stdlib/tst-atexit.c: New file.
7743 * stdlib/tst-at_quick_exit.c: New file.
7744 * stdlib/tst-cxa_atexit.c: New file.
7745 * stdlib/tst-on_exit.c: New file.
7746
2ef8d469
ST
77472017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7748
7749 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
7750 * mach/stack_chk_fail_local.c: New file.
7751 * hurd/stack_chk_fail_local.c: New file.
7752 * mach/Machrules ($(interface-library)-routines): Add
7753 stack_chk_fail_local.
99ee4d26
ST
7754 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
7755 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
7756 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
7757 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
7758 * hurd/Makefile (CFLAGS-hurdstartup.o,
7759 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 7760
7ab70c98
L
77612017-08-25 H.J. Lu <hongjiu.lu@intel.com>
7762
7763 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7764 (index_cpu_*, index_arch_*): Removed.
7765
39e7a5a6
SN
77662017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
7767
7768 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
7769 Use uint64_t instead of unsigned long.
7770
bba5c930
JM
77712017-08-25 Joseph Myers <joseph@codesourcery.com>
7772
a6ccdb08
JM
7773 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
7774 [__HAVE_DISTINCT_FLOAT128].
7775
23761119
JM
7776 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
7777 of <bits/math-finite.h>.
7778 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
7779 inclusion of <bits/math-finite.h>.
7780 * math/bits/math-finite.h (__REDIRTO_X): Do not define
7781 conditionally on [__MATH_DECLARING_LDOUBLE && defined
7782 __NO_LONG_DOUBLE_MATH].
7783 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
7784 (__MATH_REDIRCALL_2): Likewise.
7785 (__MATH_REDIRCALL_INTERNAL): Likewise.
7786 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7787 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
7788 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7789
bba5c930
JM
7790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7791 Remove file.
7792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7793 Likewise.
7794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7795 Likewise.
7796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7797 Likewise.
7798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7799 Likewise.
7800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7801 Likewise.
7802 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7803 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7804 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7805 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7807 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
7808 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
7809 w_sqrtf_compat-ppc32.
7810
3d7b66f6
GG
78112017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7812
7813 * math/math.h [defined __cplusplus] (issignaling): In the long
7814 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
7815 is not defined. Call __issignaling, otherwise.
7816
ebd6f007
AZ
78172017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7818
7819 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
7820 syscall definitions and replace __builtin_expect with __glibc_likely.
7821 * sysdeps/unix/syscall-template.S: Update comment about cancellable
7822 syscall.
7823 (SYSCALL_CANCELLABLE): Removedefinition
7824 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
7825 definition.
7826 (PSEUDO_END): Likewise.
7827 [IS_IN (libpthread)] (CENABLE): Likewise.
7828 [IS_IN (libpthread)] (CDISABLE): Likewise.
7829 [IS_IN (libc)] (CENABLE): Likewise.
7830 [IS_IN (libc)] (CENABLE): Likewise.
7831 [IS_IN (librt)] (CDISABLE): Likewise.
7832 [IS_IN (librt)] (CDISABLE): Likewise.
7833 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7834 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
7835 definition.
7836 (PSEUDO_END): Likewise.
7837 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
7838 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
7839 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7840 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7841 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7842 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7843 (CENABLE): Likewise.
7844 (CDISABLE): Likewise.
7845 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7846 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
7847 defintion.
7848 (PSEUDO_END): Likewise.
7849 [IS_IN (libpthread)] (CENABLE): Likewise.
7850 [IS_IN (libpthread)] (CDISABLE): Likewise.
7851 [IS_IN (libc)] (CENABLE): Likewise.
7852 [IS_IN (libc)] (CENABLE): Likewise.
7853 [IS_IN (librt)] (CDISABLE): Likewise.
7854 [IS_IN (librt)] (CDISABLE): Likewise.
7855 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7856 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
7857 definition.
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/i386/sysdep-cancel.h (PSEUDO): Remove
7867 definition.
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/ia64/sysdep-cancel.h (PSEUDO): Remove
7877 definition.
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/m68k/sysdep-cancel.h (PSEUDO): Remove
7887 definition.
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/microblaze/sysdep-cancel.h (PSEUDO): Remove
7897 definition.
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/mips/mips64/sysdep-cancel.h (PSEUDO):
7907 Remove definition.
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 (SINGLE_THREAD_P): Likewise.
7916 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
7917 definition.
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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7926 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
7927 definition.
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/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
7937 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7938 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
7939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
7940 definition.
7941 (PSEUDO_END): Likewise.
7942 [IS_IN (libpthread)] (CENABLE): Likewise.
7943 [IS_IN (libpthread)] (CDISABLE): Likewise.
7944 [IS_IN (libc)] (CENABLE): Likewise.
7945 [IS_IN (libc)] (CENABLE): Likewise.
7946 [IS_IN (librt)] (CDISABLE): Likewise.
7947 [IS_IN (librt)] (CDISABLE): Likewise.
7948 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
7950 definition.
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/sh/sysdep-cancel.h (PSEUDO): Remove
7960 definition.
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/sparc/sparc32/sysdep-cancel.h: Remove file.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
7972 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
7973 definition.
7974 (PSEUDO_END): Likewise.
7975 [IS_IN (libpthread)] (CENABLE): Likewise.
7976 [IS_IN (libpthread)] (CDISABLE): Likewise.
7977 [IS_IN (libc)] (CENABLE): Likewise.
7978 [IS_IN (libc)] (CENABLE): Likewise.
7979 [IS_IN (librt)] (CDISABLE): Likewise.
7980 [IS_IN (librt)] (CDISABLE): Likewise.
7981 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7982 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
7983 definition.
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
8aa48656
SN
79932017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
7994
7995 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
7996
fcaaca41
L
79972017-08-23 H.J. Lu <hongjiu.lu@intel.com>
7998
7999 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8000
376b40a2
L
80012017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 [BZ #21982]
8004 * string/stratcliff.c (do_test): Declare size, nchars, inner,
8005 middle and outer with size_t instead of int. Repleace %d and
8006 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
8007 "MAX (outer, nchars - 64)" to support unsigned outer and
8008 nchars. Also exit loop when outer == 0.
8009
2b0b9a1c
AZ
80102017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8011
8012 * include/fcntl.h (__fcntl_nocancel): Remove definition.
8013 * include/signal.h (__sigsuspend_nocancel): Likewise.
8014 * include/time.h (__nanosleep_nocancel): Likewise.
8015 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
8016 * login/utmp_file.c: Include non cancellable syscall header.
8017 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
8018 prototype.
8019
b9eaca8f
L
80202017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8021
8022 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
8023 .byte sequences with AVX512F instructions.
8024 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
8025 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8026 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
8028 Likewise.
8029 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8030 Likewise.
8031
5a706f64
SE
80322017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
8033 Steve Ellcey <sellcey@cavium.com>
8034
8035 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
8036 Use PTR_REG macro in cmp instruction.
8037
b513da7e
GG
80382017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8039
8040 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
8041 Change the return type of the ifunc resolver to match the return
8042 type of the target function.
8043
78ca091c
AZ
80442017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8045
b70b6026
AZ
8046 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8047 (preadv64): Likewise.
8048 (pwrite64(: Likewise.
8049 (pwritev64): Likewise.
8050
78ca091c
AZ
8051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8052 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
8053 (LOAD_ARGS_0): Likewise.
8054 (LOAD_ARGS_1): Likewise.
8055 (LOAD_ARGS_2): Likewise.
8056 (LOAD_ARGS_3): Likewise.
8057 (LOAD_ARGS_4): Likewise.
8058 (LOAD_ARGS_5): Likewise.
8059 (LOAD_ARGS_6): Likewise.
8060 (LOAD_REGS_0): Likewise.
8061 (LOAD_REGS_1): Likewise.
8062 (LOAD_REGS_2): Likewise.
8063 (LOAD_REGS_3): Likewise.
8064 (LOAD_REGS_4): Likewise.
8065 (LOAD_REGS_5): Likewise.
8066 (LOAD_REGS_6): Likewise.
8067 (ASM_ARGS_0): Likewise.
8068 (ASM_ARGS_1): Likewise.
8069 (ASM_ARGS_2): Likewise.
8070 (ASM_ARGS_3): Likewise.
8071 (ASM_ARGS_4): Likewise.
8072 (ASM_ARGS_5): Likewise.
8073 (ASM_ARGS_6): Likewise.
8074 (LOAD_ARGS_TYPES_1): Likewise.
8075 (LOAD_ARGS_TYPES_2): Likewise.
8076 (LOAD_ARGS_TYPES_3): Likewise.
8077 (LOAD_ARGS_TYPES_4): Likewise.
8078 (LOAD_ARGS_TYPES_5): Likewise.
8079 (LOAD_ARGS_TYPES_6): Likewise.
8080 (LOAD_REGS_TYPES_1): Likewise.
8081 (LOAD_REGS_TYPES_2): Likewise.
8082 (LOAD_REGS_TYPES_3): Likewise.
8083 (LOAD_REGS_TYPES_4): Likewise.
8084 (LOAD_REGS_TYPES_5): Likewise.
8085 (LOAD_REGS_TYPES_6): Likewise.
8086 (TYPEFY): New define.
8087 (ARGIFY): Likewise.
8088 (internal_syscall0): Likewise.
8089 (internal_syscall1): Likewise.
8090 (internal_syscall2): Likewise.
8091 (internal_syscall3): Likewise.
8092 (internal_syscall4): Likewise.
8093 (internal_syscall5): Likewise.
8094 (internal_syscall6): Likewise.
8095 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
8096 (INTERNAL_SYSCALL_NCS): Remove define.
8097 (internal_syscall1): Add define.
8098
453a493d
GG
80992017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8100
8101 * math/w_remainder_compat.c: Remove duplicate inclusion of
8102 math-svid-compat.h.
8103 * math/w_remainderf_compat.c: Likewise.
8104 * math/w_remainderl_compat.c: Likewise.
8105
f2f048a5
GG
81062017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8107
8108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8109
d9bef9c0
JM
81102017-08-22 Joseph Myers <joseph@codesourcery.com>
8111
8112 [BZ #21684]
8113 * math/tgmath.h (__floating_type): Simplify definitions.
8114 (__real_integer_type): New macro.
8115 (__complex_integer_type): Likewise.
8116 (__expr_is_real): Likewise.
8117 (__tgmath_real_type_sub): Update comment to describe handling of
8118 complex types.
8119 (__tgmath_complex_type_sub): New macro.
8120 (__tgmath_complex_type): Likewise.
8121 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8122 (__TGMATH_CF128): Use __expr_is_real.
8123 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
8124 __expr_is_real.
8125 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8126 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
8127 * math/gen-tgmath-tests.py (Type.create_type): Create complex
8128 integer types.
8129
08d6eb46
AZ
81302017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8131
988f991b
AZ
8132 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
8133 macro.
8134 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
8135 alias.
8136 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
8137 Likewise.
8138
6f33fd04
AZ
8139 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
8140 nanosleep_not_cancel with __nanosleep_nocancel.
8141 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
8142 (__nanosleep_nocancel): New macro.
8143 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
8144 function.
8145 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
8146 macro.
8147 (__nanosleep_nocancel): New prototype.
8148
08d6eb46
AZ
8149 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
8150 pause_not_cancel with __pause_nocancel.
8151 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
8152 (__pause_nocancel): New macro.
8153 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
8154 macro.
8155 (__pause_nocancel): New prototype.
8156 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
8157
ee4e992e
MS
81582017-08-22 Martin Sebor <msebor@redhat.com>
8159
8160 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
8161 to return a pointer to the same type as the target function.
8162
20962acb
L
81632017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8164
8165 [BZ #18822]
8166 [BZ #21986]
8167 * include/printf.h (__printf_fphex): Add attribute_hidden.
8168 (__guess_grouping): New prototype.
8169 * stdio-common/printf_fp.c (__guess_grouping): Removed.
8170 * stdio-common/reg-printf.c (__register_printf_specifier): Add
8171 libc_hidden_proto and libc_hidden_def.
8172 * stdlib/strfmon_l.c (__guess_grouping): Removed.
8173 (__vstrfmon_l): Remove the third argument passed to
8174 __guess_grouping.
8175
a16e8bc0
GG
81762017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8177
8178 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
8179 definition for issignaling that does not rely on __MATH_TG,
8180 since __MATH_TG uses __builtin_types_compatible_p, which is only
8181 available in C mode.
8182 (CFLAGS-test-math-issignaling.cc): New variable.
8183 * math/Makefile [CXX] (tests): Add test-math-issignaling.
8184 * math/test-math-issignaling.cc: New test for C++ implementation
8185 of type-generic issignaling.
8186 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8187 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
8188 options of test-math-issignaling on powerpc64le.
8189
8d2ec553
L
81902017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8191
8192 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8193 building libc.a.
8194 (hidden_proto): Likewise.
8195 (hidden_tls_proto): Likewise.
8196 (__hidden_proto): Likewise.
8197
a4d57b79
FW
81982017-08-22 Florian Weimer <fweimer@redhat.com>
8199
8200 math: Statically link tests of internal functionality.
8201 * math/Makefile (tests): Remove atest-exp, atest-sincos,
8202 atest-exp2.
8203 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
8204 (gmp-objs): Remove assignment.
8205 (atest-exp, atest-sincos, atest-exp2): Remove targets.
8206
75dfe623
JM
82072017-08-22 Joseph Myers <joseph@codesourcery.com>
8208
80f91666
JM
8209 [BZ #21987]
8210 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
8211 and copy to ...
8212 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
8213 ... here.
8214 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
8215 ... and here.
8216
75dfe623
JM
8217 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
8218 variable definitions above inclusion of ../Rules.
8219
ea99fcd0
JM
82202017-08-21 Joseph Myers <joseph@codesourcery.com>
8221
8222 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
8223 case calling __builtin_unreachable.
8224
19926de9
AZ
82252017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8226
a8410a5f
AZ
8227 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
8228 __waitpid_nocancel.
8229 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
8230 (__waitpid_nocancel): New macro.
8231 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
8232 macro.
8233 (__waitpid_nocancel): Replace macro with a function.
8234 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
8235 function.
8236
7369800c
AZ
8237 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
8238 __fcntl_nocancel.
8239 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
8240 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
8241
19926de9
AZ
8242 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
8243 __writev_nocancel_nostatus.
8244 (write_call_graph): Likewise.
8245 (write_bb_counts): Likewise.
8246 * resolv/herror.c (herror): Likewise.
8247 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
8248 macro.
8249 (__writev_nocancel_nostatus): New macro.
8250 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
8251 Remove macro.
8252 (__writev_nocancel_nostatus): New function.
8253
813378e9
JM
82542017-08-21 Joseph Myers <joseph@codesourcery.com>
8255
df1deda6
JM
8256 Revert:
8257 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8260 building libc.a.
8261 (hidden_proto): Likewise.
8262 (hidden_tls_proto): Likewise.
8263 (__hidden_proto): Likewise.
8264
831bbd55
JM
8265 [BZ #21973]
8266 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
8267 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8269 Likewise.
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8271 Likewise.
8272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8273 Likewise.
8274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8275 Likewise.
8276 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
8277 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8278 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8279 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8281 GLIBC_2.0 sqrtl symbol.
8282
813378e9
JM
8283 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
8284 [__USE_MISC] (_LIB_VERSION): Likewise.
8285 [__USE_MISC] (struct exception): Likewise.
8286 [__USE_MISC] (matherr): Likewise.
8287 [__USE_MISC] (DOMAIN): Likewise.
8288 [__USE_MISC] (SING): Likewise.
8289 [__USE_MISC] (OVERFLOW): Likewise.
8290 [__USE_MISC] (UNDERFLOW): Likewise.
8291 [__USE_MISC] (TLOSS): Likewise.
8292 [__USE_MISC] (PLOSS): Likewise.
8293 [__USE_MISC] (HUGE): Likewise.
8294 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
8295 * math/math-svid-compat.h: New file.
8296 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
8297 and matherrl.
8298 * include/math.h [!_ISOMAC] (__matherr): Remove.
8299 * manual/arith.texi (FP Exceptions): Do not document matherr.
8300 * math/Makefile (tests): Change test-matherr to test-matherr-3.
8301 (tests-internal): New variable.
8302 (install-lib): Do not add libieee.a.
8303 (non-lib.a): Likewise.
8304 (extra-objs): Do not add libieee.a and ieee-math.o.
8305 (CPPFLAGS-s_lib_version.c): Remove variable.
8306 ($(objpfx)libieee.a): Remove rule.
8307 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
8308 * math/ieee-math.c: Remove.
8309 * math/libm-test-support.c (matherr): Remove.
8310 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
8311 and license notices. Include <math-svid-compat.h> and
8312 <shlib-compat.h>.
8313 (matherr): Undefine as macro. Use compat_symbol_reference.
8314 (_LIB_VERSION): Likewise.
8315 * math/test-matherr-2.c: New file.
8316 * math/test-matherr-3.c: Likewise.
8317 * sysdeps/generic/math_private.h (__kernel_standard): Remove
8318 declaration.
8319 (__kernel_standard_f): Likewise.
8320 (__kernel_standard_l): Likewise.
8321 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
8322 <math_private.h>. Include <math-svid-compat.h>.
8323 (_LIB_VERSION): Undefine as macro.
8324 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
8325 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
8326 [LIBM_SVID_COMPAT], use compat_symbol.
8327 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
8328 <math_private.h>. Include <math-svid-compat.h>.
8329 (matherr): Undefine as macro.
8330 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
8331 compat_symbol.
8332 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
8333 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
8334 compat_symbol_reference.
8335 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
8336 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
8337 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
8338 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
8339 (MATHERR_D): Remove declaration.
8340 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
8341 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
8342 [LIBM_BUILD] (pmatherrf): Likewise.
8343 [LIBM_BUILD] (pmatherr): Likewise.
8344 [LIBM_BUILD] (pmatherrl): Likewise.
8345 (DOMAIN): Likewise.
8346 (SING): Likewise.
8347 (OVERFLOW): Likewise.
8348 (UNDERFLOW): Likewise.
8349 (TLOSS): Likewise.
8350 (PLOSS): Likewise.
8351 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
8352 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
8353 compat_symbol.
8354 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
8355 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
8356 compat_symbol.
8357 * math/lgamma-compat.h: Include <math-svid-compat.h>.
8358 * math/w_acos_compat.c: Likewise.
8359 * math/w_acosf_compat.c: Likewise.
8360 * math/w_acosh_compat.c: Likewise.
8361 * math/w_acoshf_compat.c: Likewise.
8362 * math/w_acoshl_compat.c: Likewise.
8363 * math/w_acosl_compat.c: Likewise.
8364 * math/w_asin_compat.c: Likewise.
8365 * math/w_asinf_compat.c: Likewise.
8366 * math/w_asinl_compat.c: Likewise.
8367 * math/w_atan2_compat.c: Likewise.
8368 * math/w_atan2f_compat.c: Likewise.
8369 * math/w_atan2l_compat.c: Likewise.
8370 * math/w_atanh_compat.c: Likewise.
8371 * math/w_atanhf_compat.c: Likewise.
8372 * math/w_atanhl_compat.c: Likewise.
8373 * math/w_cosh_compat.c: Likewise.
8374 * math/w_coshf_compat.c: Likewise.
8375 * math/w_coshl_compat.c: Likewise.
8376 * math/w_exp10_compat.c: Likewise.
8377 * math/w_exp10f_compat.c: Likewise.
8378 * math/w_exp10l_compat.c: Likewise.
8379 * math/w_exp2_compat.c: Likewise.
8380 * math/w_exp2f_compat.c: Likewise.
8381 * math/w_exp2l_compat.c: Likewise.
8382 * math/w_fmod_compat.c: Likewise.
8383 * math/w_fmodf_compat.c: Likewise.
8384 * math/w_fmodl_compat.c: Likewise.
8385 * math/w_hypot_compat.c: Likewise.
8386 * math/w_hypotf_compat.c: Likewise.
8387 * math/w_hypotl_compat.c: Likewise.
8388 * math/w_j0_compat.c: Likewise.
8389 * math/w_j0f_compat.c: Likewise.
8390 * math/w_j0l_compat.c: Likewise.
8391 * math/w_j1_compat.c: Likewise.
8392 * math/w_j1f_compat.c: Likewise.
8393 * math/w_j1l_compat.c: Likewise.
8394 * math/w_jn_compat.c: Likewise.
8395 * math/w_jnf_compat.c: Likewise.
8396 * math/w_jnl_compat.c: Likewise.
8397 * math/w_lgamma_main.c: Likewise.
8398 * math/w_lgamma_r_compat.c: Likewise.
8399 * math/w_lgammaf_main.c: Likewise.
8400 * math/w_lgammaf_r_compat.c: Likewise.
8401 * math/w_lgammal_main.c: Likewise.
8402 * math/w_lgammal_r_compat.c: Likewise.
8403 * math/w_log10_compat.c: Likewise.
8404 * math/w_log10f_compat.c: Likewise.
8405 * math/w_log10l_compat.c: Likewise.
8406 * math/w_log2_compat.c: Likewise.
8407 * math/w_log2f_compat.c: Likewise.
8408 * math/w_log2l_compat.c: Likewise.
8409 * math/w_log_compat.c: Likewise.
8410 * math/w_logf_compat.c: Likewise.
8411 * math/w_logl_compat.c: Likewise.
8412 * math/w_pow_compat.c: Likewise.
8413 * math/w_powf_compat.c: Likewise.
8414 * math/w_powl_compat.c: Likewise.
8415 * math/w_remainder_compat.c: Likewise.
8416 * math/w_remainderf_compat.c: Likewise.
8417 * math/w_remainderl_compat.c: Likewise.
8418 * math/w_scalb_compat.c: Likewise.
8419 * math/w_scalbf_compat.c: Likewise.
8420 * math/w_scalbl_compat.c: Likewise.
8421 * math/w_sinh_compat.c: Likewise.
8422 * math/w_sinhf_compat.c: Likewise.
8423 * math/w_sinhl_compat.c: Likewise.
8424 * math/w_sqrt_compat.c: Likewise.
8425 * math/w_sqrtf_compat.c: Likewise.
8426 * math/w_sqrtl_compat.c: Likewise.
8427 * math/w_tgamma_compat.c: Likewise.
8428 * math/w_tgammaf_compat.c: Likewise.
8429 * math/w_tgammal_compat.c: Likewise.
8430 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8431 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8432 * sysdeps/ieee754/k_standard.c: Likewise.
8433 * sysdeps/ieee754/k_standardf.c: Likewise.
8434 * sysdeps/ieee754/k_standardl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8437 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8438 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8439 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8442 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8443 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8445 Likewise.
8446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8447 Likewise.
8448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8450 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8451 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8452
4504783c
FW
84532017-08-21 Florian Weimer <fweimer@redhat.com>
8454
8455 [BZ #21864]
8456 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
8457 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
8458 Move before inclusion of ../Rules.
8459
b5889d25
FW
84602017-08-21 Florian Weimer <fweimer@redhat.com>
8461
8462 [BZ #21972]
8463 * assert/assert.h (assert): Use static_cast (bool) for C++.
8464 Use the ternary operator in the warning branch for GNU C.
8465 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
8466 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
8467 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
8468 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
8469 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
8470
41e673c1
L
84712017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8472
8473 [BZ #18822]
8474 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8475 (__syscall_clock_gettime): Add attribute_hidden.
8476 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
8477 (__start_context): Likewise.
8478
568ff429
L
84792017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8480
8481 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8482 building libc.a.
8483 (hidden_proto): Likewise.
8484 (hidden_tls_proto): Likewise.
8485 (__hidden_proto): Likewise.
8486
7c41b4a1
L
84872017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8488
8489 * include/libc-symbols.h (attribute_hidden): Enable hidden
8490 visibility in libc.a compiled with PIE.
8491
483d7068
L
84922017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 [BZ #18822]
8495 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
8496 Add attribute_hidden.
8497
84982017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 [BZ #21864]
8501 * Makerules (all-nonlib): Add $(others-extras).
8502 * catgets/Makefile (others-extras): New.
8503 * elf/Makefile (others-extras): Likewise.
8504 * nss/Makefile (others-extras): Likewise.
8505
54e4b8f2
L
85062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8507
8508 [BZ #18822]
8509 * csu/libc-start.c (__libc_multiple_libcs): Removed.
8510 * elf/dl-open.c: Include <libc-internal.h>.
8511 (__libc_multiple_libcs): Removed.
8512 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
8513 <hp-timing.h>.
8514 * include/libc-internal.h (__libc_multiple_libcs): New.
8515 * misc/sbrk.c: Include <libc-internal.h>.
8516 (__libc_multiple_libcs): Removed.
8517
1dbbb1ec
L
85182017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8519
8520 [BZ #18822]
8521 * grp/initgroups.c (__nss_group_database): Removed.
8522 (__nss_initgroups_database): Likewise.
8523 * nscd/gai.c (__nss_hosts_database): Likewise.
8524 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
8525 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
8526 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
8527 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
8528 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
8529 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
8530 attribute_hidden.
8531 * nss/nsswitch.c (__nss_database_custom): Define only if
8532 USE_NSCD is defined.
8533 (__nss_configure_lookup): Use __nss_database_custom only if
8534 USE_NSCD is defined.
8535 * nss/nsswitch.h (__nss_database_custom): Declare only if
8536 USE_NSCD is defined. Add attribute_hidden.
8537 (__nss_setent): Add attribute_hidden.
8538 (__nss_endent): Likewise.
8539 (__nss_getent_r): Likewise.
8540 (__nss_getent): Likewise.
8541 (DEFINE_DATABASE): Declare __nss_##arg##_database.
8542
2585d7b8
L
85432017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 [BZ #18822]
8546 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
8547 libc_hidden_proto and libc_hidden_def.
8548
c8dfa99c
L
85492017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8550
8551 [BZ #18822]
8552 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
8553 Add libc_hidden_proto.
8554 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
8555 Add libc_hidden_def.
8556
7ed87317
L
85572017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8558
8559 [BZ #21974]
8560 * gmon/Makefile (routines): Remove bb_init_func and
8561 bb_exit_func.
8562 (elide-routines.os): Removed.
9476b904
L
8563 * gmon/bb_exit_func.c: Likewise.
8564 * gmon/bb_init_func.c: Likewise.
7ed87317
L
8565 * include/sys/gmon.h (__bb): Likewise.
8566 (__bb_init_func): Likewise.
8567 (__bb_exit_func): Likewise.
91695eb1 8568 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 8569
94e6ba15
L
85702017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8571
8572 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
8573 * include/setjmp.h (____longjmp_chk): Here. Add
8574 attribute_hidden.
8575
7550717e
L
85762017-08-19 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 [BZ #18822]
8579 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
8580 attribute_hidden.
8581 (__strspn_sse2): Likewise.
8582
0bb2fabc
AZ
85832017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8584
c181840c
AZ
8585 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
8586 (close_not_cancel_no_status): Likewise.
8587 (__close_nocancel): New macro.
8588 (__close_nocancel_nostatus): Likewise.
8589 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
8590 macro.
8591 (close_not_cancel): Likewise.
8592 (close_not_cancel_no_status): Likewise.
8593 (__close_nocancel): New prototype.
8594 (__close_nocancel_nostatus): New function.
8595 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
8596 * catgets/open_catalog.c (__open_catalog): Replace
8597 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
8598 * gmon/gmon.c (write_gmon): Likewise.
8599 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8600 * intl/loadmsgcat.c (close): Likewise.
8601 * io/ftw.c (open_dir_stream): Likewise.
8602 (ftw_startup): Likewise.
8603 * libio/fileops.c (_IO_file_open): Likewise.
8604 (_IO_file_close_mmap): Likewise.
8605 (_IO_file_close): Likewise.
8606 * libio/iopopen.c (_IO_dup2): Likewise.
8607 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8608 * locale/loadlocale.c (_nl_load_locale): Likewise.
8609 * login/utmp_file.c (pututline_file): Likewise.
8610 (endutent_file): Likewise.
8611 * misc/daemon.c (daemon): Likewise.
8612 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8613 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8614 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8615 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8617 * nscd/nscd_helper.c (open_socket): Likewise.
8618 (__nscd_open_socket): Likewise.
8619 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8620 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
8621 (__nscd_innetgr): Likewise.
8622 * nss/nss_db/db-open.c (internal_setent): Likewise.
8623 * resolv/res-close.c (__res_iclose): Likewise.
8624 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
8625 * sysdeps/posix/closedir.c (__closedir): Likewise.
8626 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
8627 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8628 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8629 (opendir_tail): Likewise.
8630 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8631 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
8632 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8633 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8634 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8635 (gethostid): Likewise.
8636 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8637 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8638 Likewise.
8639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8640 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
8641 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8642 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8643 Likewise.
8644 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
8645 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
8646 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8647 Likewise.
8648 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
8649 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8650 Likewise.
8651 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8652 Likewise.
8653 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8654 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8655 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8656 __close_nocancel.
8657
0bb2fabc
AZ
8658 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
8659 (openat_not_cancel_3): Likewise.
8660 (openat64_not_cancel_3): Likewise).
8661 (openat_not_cancel_3): Likewise).
8662 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
8663 macro.
8664 (openat_not_cancel_3): Likewise.
8665 (openat64_not_cancel): Likewise.
8666 (openat64_not_cancel_3): Likewise.
8667 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
8668 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
8669 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
8670 __open{64}_nocancel.
8671 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8672 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8673 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8674
65a086db
L
86752017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8676
8677 [BZ #18822]
8678 * include/argz.h (__argz_create_sep): New function prototype.
8679 (__argz_append): Likewise.
8680 (__argz_add): Likewise.
8681 (__argz_add_sep): Likewise.
8682 (__argz_delete): Likewise.
8683 (__argz_insert): Likewise.
8684 (__argz_replace): Likewise.
8685 * string/argz.h (__argz_create_sep): Removed.
8686 (__argz_append): Likewise.
8687 (__argz_add): Likewise.
8688 (__argz_add_sep): Likewise.
8689 (__argz_delete): Likewise.
8690 (__argz_insert): Likewise.
8691 (__argz_replace): Likewise.
8692
62753d2c
L
86932017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8694
8695 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
8696 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
8697 (GNU_PROPERTY_STACK_SIZE): Likewie.
8698 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
8699 (GNU_PROPERTY_LOPROC): Likewise.
8700 (GNU_PROPERTY_HIPROC): Likewise.
8701 (GNU_PROPERTY_LOUSER): Likewise.
8702 (GNU_PROPERTY_HIUSER): Likewise.
8703 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
8704 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
8705 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
8706 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
8707 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
8708 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
8709 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
8710 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
8711 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
8712 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
8713 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
8714 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
8715 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
8716 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
8717 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
8718 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
8719 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
8720 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
8721 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
8722 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
8723 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
8724 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
8725 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
8726
6913ad65
GG
87272017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8728
8729 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
8730 in C++ mode.
8731
47a67213
GG
87322017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8733
8734 [BZ #21930]
8735 * math/math.h (isinf): Check if in C or C++ mode before using
8736 __builtin_types_compatible_p, since this is a C mode feature.
8737
a748eb31
AZ
87382017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8739
c647fb88
AZ
8740 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
8741 (__write_nocancel): New macro.
8742 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
8743 Rewrite as a function prototype.
8744 (write_not_cancel): Remove macro.
8745 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
8746 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
8747 (write_gmon): Likewise.
8748 * libio/fileops.c (_IO_new_file_write): Likewise.
8749 * login/utmp_file.c (pututline_file): Likewise.
8750 (updwtmp_file): Likewise.
8751 * stdio-common/psiginfo.c (psiginfo): Likewise.
8752 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8753 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8754 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8755 Likewise.
8756 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8757 Likewise.
8758
a748eb31
AZ
8759 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
8760 (__read_nocancel): New macro.
8761 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8762 __read_nocancel.
8763 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
8764 macro.
8765 (__read_nocancel): New prototype.
8766 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
8767 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
8768 with __read_nocancel.
8769 * intl/loadmsgcat.c (read): Likewise.
8770 * libio/fileops.c (_IO_file_read): Likewise.
8771 * locale/loadlocale.c (_nl_load_locale): Likewise.
8772 * login/utmp_file.c (getutent_r_file): Likewise.
8773 (internal_getut_r): Likewise.
8774 (getutline_r_file): Likewise.
8775 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8776 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8777 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8779 Likewise.
8780 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
8781 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8782 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8783 Likewise.
8784 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8785 Likewise.
8786 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8787 Likewise.
8788 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8789 Likewise.
8790 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8791
098b9dd4
L
87922017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8793
8794 [BZ #21966]
8795 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
8796 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
8797 usable.
8798
a3fe6a20
DD
87992017-08-17 DJ Delorie <dj@redhat.com>
8800
8801 * bug17079.c: Update to new test harness.
8802 * test-digits-dots.c: Likewise.
8803 * test-netdb.c: Likewise.
8804 * tst-field.c: Likewise.
8805 * tst-nss-getpwent.c: Likewise.
8806 * tst-nss-static.c: Likewise.
8807 * tst-nss-test1.c: Likewise.
8808 * tst-nss-test2.c: Likewise.
8809 * tst-nss-test3.c: Likewise.
8810 * tst-nss-test4.c: Likewise.
8811 * tst-nss-test5.c: Likewise.
8812
c2284574
AZ
88132017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8814
8815 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
8816 (open_not_cancel_2): Likewise.
8817 (open_nocancel): New macro.
8818 (open64_nocancel): Likewise.
8819 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
8820 (open_not_cancel_2): Likewise.
8821 (__open_nocancel): New prototype.
8822 (__open64_nocancel): Likewise.
8823 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8824 __open_nocancel.
8825 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
8826 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
8827 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
8828 with __open_nocancel.
8829 * csu/check_fds.c (check_one_fd): Likewise.
8830 * gmon/gmon.c (write_gmon): Likewise.
8831 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
8832 * intl/loadmsgcat.c (open): Likewise.
8833 * libio/fileops.c (_IO_file_open): Likewise.
8834 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8835 * locale/loadlocale.c (_nl_load_locale): Likewise.
8836 * login/utmp_file.c (setutent_file): Likewise.
8837 * misc/daemon.c (daemon): Likewise.
8838 * nss/nss_db/db-open.c (internal_setent): Likewise.
8839 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8840 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
8841 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8842 (__opendir): Likewise.
8843 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8844 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8845 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8846 (gethostid): Likewise.
8847 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8848 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8849 Likewise.
8850 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8851 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
8852 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8853 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8854 Likewise.
8855 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8856 Likewise.
8857 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8858 Likewise.
8859 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8860 Likewise.
8861 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8862 Likewise.
8863 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8864 Likewise.
8865 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8866 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8867
d4505b89
WD
88682017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
8869
8870 * benchtests/bench-skeleton.c (main): Add support for
8871 latency benchmarking.
8872 * benchtests/scripts/bench.py: Add support for latency benchmarking.
8873
34d6a3cb
L
88742017-08-17 H.J. Lu <hongjiu.lu@intel.com>
8875
8876 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
8877 the startup object.
8878
038d1caf
FW
88792017-08-17 Florian Weimer <fweimer@redhat.com>
8880
8881 * include/sys/socket.h (__opensock): Remove internal_function.
8882 * socket/opensock.c (__opensock): Likewise.
8883 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
8884
67f0aff0
JM
88852017-08-16 Joseph Myers <joseph@codesourcery.com>
8886
8887 [BZ #21944]
8888 * signal/bits/types/__sigval_t.h: New file.
8889 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
8890 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
8891 and define sigval_t using __sigval_t.
8892 * include/bits/types/__sigval_t.h: New file.
8893 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
8894 instead of <bits/types/__sigval_t.h>.
8895 (struct sigevent): Use __sigval_t instead of sigval_t.
8896 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
8897 instead of <bits/types/__sigval_t.h>.
8898 (siginfo_t): Use __sigval_t instead of sigval_t.
8899 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
8900 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8901 (struct sigevent): Use __sigval_t instead of sigval_t.
8902 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
8903 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8904 (siginfo_t): Use __sigval_t instead of sigval_t.
8905 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
8906
87e7bf4d
L
89072017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8908
8909 * NEWS: Remove "[Add new features here]" for 2.27.
8910
5047057f
JM
89112017-08-16 Joseph Myers <joseph@codesourcery.com>
8912
8913 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
8914 libc.so.
8915
20c7b195
L
89162017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8917
8918 * NEWS: Mention x86-64 FMA optimization.
8919
24a2e658
L
89202017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8921
8922 [BZ #21912]
8923 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8924 Add e_expf-fma.
8925 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
8926 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
8927 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
8928
eedca977
AS
89292017-08-16 Andreas Schwab <schwab@suse.de>
8930
403143e1
FW
8931 [BZ #16750]
8932 CVE-2009-5064
eedca977
AS
8933 * elf/ldd.bash.in: Never run file directly.
8934
f59f7adb
L
89352017-08-15 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 [BZ #21955]
8938 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
8939 (L(SP_INF_0)): Likewise.
8940
6b11a6ad
FW
89412017-08-15 Florian Weimer <fweimer@redhat.com>
8942
8943 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
8944 run-built-tests.
8945
bbf5c438
FW
89462017-08-15 Florian Weimer <fweimer@redhat.com>
8947
8948 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
8949 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
8950 BROKEN_THREAD_SIGNALS code.
8951 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
8952 request_list): Remove caller_pid member used for
8953 BROKEN_THREAD_SIGNALS.
8954 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
8955 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
8956 Remove BROKEN_THREAD_SIGNALS support.
8957 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8958 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
8959
6014c65d
FW
89602017-08-15 Florian Weimer <fweimer@redhat.com>
8961
8962 * gmon/Makefile (tests): Add tst-gmon.
8963 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
8964 Set.
8965 (tests-special): Add tst-gmon-prof.out.
8966 (tst-gmon.out): Depend on clean-tst-gmon-data.
8967 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
8968 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
8969 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
8970 startup object.
8971 * aclocal.m4 (GPROF): Set and substitute.
8972 * config.amke.in (GPROF): Set.
8973 * configure: Regenerate.
8974
ee72219a
GR
89752017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
8976
8977 * elf/elf.h A (NT_PPC_TAR): New macro.
8978 (NT_PPC_PPR): Likewise.
8979 (NT_PPC_DSCR): Likewise.
8980 (NT_PPC_EBB): Likewise.
8981 (NT_PPC_PMU): Likewise.
8982 (NT_PPC_TM_CGPR): Likewise.
8983 (NT_PPC_TM_CFPR): Likewise.
8984 (NT_PPC_TM_CVMX): Likewise.
8985 (NT_PPC_TM_CVSX): Likewise.
8986 (NT_PPC_TM_SPR): Likewise.
8987 (NT_PPC_TM_CTAR): Likewise.
8988 (NT_PPC_TM_CPPR): Likewise.
8989 (NT_PPC_TM_CDSCR): Likewise.
8990
4ebf934e
FW
89912017-08-15 Florian Weimer <fweimer@redhat.com>
8992
8993 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
8994 regparm (2) instead of internal_function.
8995 (_MCOUNT_DECL): Adjust.
8996
e9f57484
SL
89972017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
8998
8999 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
9000 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9001
88ff4d55
JM
90022017-08-14 Joseph Myers <joseph@codesourcery.com>
9003
9004 * conform/data/sys/wait.h-data (si_value): Do not expect for
9005 XPG42.
9006
c88ffc23
FW
90072017-08-14 Florian Weimer <fweimer@redhat.com>
9008
9009 [BZ #21962]
9010 NSS: Create stubs for accidentally exported lookup functions.
9011 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
9012 Remove declaration.
9013 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
9014 (ether_hostton): Call __nss_ethers_lookup2 instead.
9015 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
9016 (ether_ntohost): Call __nss_ethers_lookup2 instead.
9017 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
9018 (setup): Call __nss_netgroup_lookup2 instead.
9019 * nss/Makefile (routines): Add compat-lookup.
9020 * nss/Versions (GLIBC_2.27): Add symbol version.
9021 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
9022 (DB_COMPAT_FCT): Remove.
9023 * nss/compat-lookup.c: New file.
9024 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
9025 from databases.def.
9026 * nss/service-lookup.c (NO_COMPAT): Remove definition.
9027 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
9028 (netname2user): Call __nss_publickey_lookup2 instead.
9029 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
9030 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
9031 instead.
9032
35a29136 90332017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
9034 Sergei Trofimovich <slyfox@inbox.ru>
9035
9036 [BZ #21908]
9037 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
9038 Rename to MMAP2_PAGE_UNIT.
9039 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
9040 __OFF_T_MATCHES_OFF64_T is not defined.
9041 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
9042 uint64_t.
9043 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
9044 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
9045
fbdc1e3e
FW
90462017-08-14 Florian Weimer <fweimer@redhat.com>
9047
9048 i386: Do not set internal_function.
9049 * config.h.in (USE_REGPARMS, internal_function): Remove.
9050 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
9051 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
9052
b3f85fd2
FW
90532017-08-14 Florian Weimer <fweimer@redhat.com>
9054
9055 * elf/dl-init.c (_dl_init): Remove internal_function.
9056 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
9057 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
9058
630bf491
FW
90592017-08-14 Florian Weimer <fweimer@redhat.com>
9060
9061 * elf/rtld.c (_dl_start): Remove internal_function.
9062 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
9063 _dl_start.
9064
9fa7449b
FW
90652017-08-14 Florian Weimer <fweimer@redhat.com>
9066
9067 * elf/dl-fini.c (_dl_fini): Remove internal_function
9068 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9069
73322d5f
L
90702017-08-14 H.J. Lu <hongjiu.lu@intel.com>
9071
9072 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
9073 (bit_cpu_SHSTK): Likewise.
9074 (index_cpu_IBT): Likewise.
9075 (index_cpu_SHSTK): Likewise.
9076 (reg_IBT): Likewise.
9077 (reg_SHSTK): Likewise.
9078 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9079 Handle index_cpu_IBT and index_cpu_SHSTK.
9080
dbc303ef
MF
90812017-08-14 Mike FABIAN <mfabian@redhat.com>
9082
9083 [BZ #19982]
9084 * po/fr.po: Fix spelling mistake.
9085
3012cfb0
FW
90862017-08-13 Florian Weimer <fweimer@redhat.com>
9087
9088 * elf/dl-addr.c (_dl_addr): Remove internal_function.
9089 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
9090 (_dl_catch_error, _dl_receive_error): Likewise.
9091 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
9092 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
9093 (_dl_deallocate_tls): Likewise.
9094 * include/dlfcn.h (_dl_addr): Likewise.
9095 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
9096 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
9097 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
9098 Likewise.
9099
52bcdf26
FW
91002017-08-13 Florian Weimer <fweimer@redhat.com>
9101
9102 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
9103 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
9104 internal_function.
9105 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
9106
e1d2ae8d
FW
91072017-08-13 Florian Weimer <fweimer@redhat.com>
9108
9109 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
9110 internal_function.
9111 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
9112 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
9113 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
9114 internal_function from _dl_make_stack_executable_hook member.
9115 (_dl_make_stack_executable): Remove internal_function.
9116 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
9117 Likewise.
9118 * sysdeps/unix/sysv/linux/dl-execstack.c
9119 (_dl_make_stack_executable): Likewise.
9120
c4ce0382
FW
91212017-08-13 Florian Weimer <fweimer@redhat.com>
9122
9123 * sysdeps/unix/sysv/linux/netlinkaccess.h
9124 (__netlink_assert_response): Remove internal_function.
9125 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9126 (__netlink_assert_response): Likewise.
9127
c4d767f7
FW
91282017-08-13 Florian Weimer <fweimer@redhat.com>
9129
9130 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
9131 internal_function.
9132 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
9133
b2297409
FW
91342017-08-13 Florian Weimer <fweimer@redhat.com>
9135
9136 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
9137 internal_function.
9138 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
9139 * inet/netgroup.h (__internal_setnetgrent)
9140 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9141 * inet/getnetgrent_r.c (__internal_setnetgrent)
9142 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9143 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
9144 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
9145 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
9146 * nss/nsswitch.h (db_lookup_function): Likewise.
9147
1b0bfc69
FW
91482017-08-13 Florian Weimer <fweimer@redhat.com>
9149
9150 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
9151 Remove internal_function.
9152 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
9153 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
9154 message argument on the stack.
9155 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
9156 Likeweise.
9157
a6bd8722
MF
91582017-08-12 Mike FABIAN <mfabian@redhat.com>
9159
9160 Adapt test case data to the changes in the thousands
9161 separators.
9162
9163 [BZ #20756]
9164 * localedata/tst-langinfo.sh: Adapt test case data.
9165 * stdlib/tst-strfmon_l.c: Likewise.
9166 * stdlib/tst-strtod4.c: Likewise.
9167 * stdlib/tst-strtod5i.c: Likewise.
9168
8b2c63e4
FW
91692017-08-11 Florian Weimer <fweimer@redhat.com>
9170
9171 [BZ #21242]
9172 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
9173 Suppress pedantic warning resulting from statement expression.
9174 (__ASSERT_FUNCTION): Add missing __extension__.
9175
61c98291
SP
91762017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9177
86c6519e
SP
9178 * benchtests/bench-memmove-large.c: Print output in JSON
9179 format.
9180 * benchtests/bench-memmove.c: Likewise.
9181
61c98291
SP
9182 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
9183 * benchtests/bench-memchr.c (do_one_test): Likewise.
9184 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
9185 * benchtests/bench-memcpy.c (do_one_test): Likewise.
9186 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
9187 * benchtests/bench-memmove.c (do_one_test): Likewise.
9188 * benchtests/bench-memset-large.c (do_one_test): Likewise.
9189 * benchtests/bench-memset.c (do_one_test): Likewise.
9190 * benchtests/bench-string.h (test_init): Remove memsets.
9191
925733a9
RJ
91922017-08-10 Rical Jasan <ricaljasan@pacific.net>
9193
9194 * manual/lang.texi
9195 (Computing the Width of an Integer Data Type): Rename section to
9196 "Width of an Integer Type". Remove inaccurate statement regarding
9197 lack of C language facilities for determining width of integer
9198 types, and reorder content to improve flow and context of
9199 discussion.
9200
4fcdfbfc
RJ
92012017-08-10 Rical Jasan <ricaljasan@pacific.net>
9202
9203 * lang.texi (va_copy): Change standard from ISO to C99.
9204 (__va_copy): Add standard and header annotation.
9205 Update description for clarity of origins and current use.
9206
4d98ace9
GG
92072017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9208
9209 [BZ #21941]
9210 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
9211 xssqrtqp requires operands to be in Vector Registers
9212 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
9213 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
9214 (__ieee754_sqrtf128): Likewise.
9215
92236903
WD
92162017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9217
9218 * sysdeps/aarch64/memcmp.S (memcmp):
9219 Rewrite of optimized memcmp.
9220
2449ae7b
FW
92212017-08-10 Florian Weimer <fweimer@redhat.com>
9222
9223 Introduce ld.so exceptions.
9224 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
9225 (_dl_exception_create, _dl_exception_create_format)
9226 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
9227 (_dl_catch_exception): Declare.
9228 (_dl_catch_error): Update comment.
9229 * elf/dl-error-skeleton.c (struct catch): Replace objname,
9230 errstring, malloced members with exception member.
9231 (_dl_out_of_memory): Remove.
9232 (fatal_error): New function, extracted from _dl_signal_error.
9233 (_dl_signal_exception, _dl_signal_cexception): New functions.
9234 (_dl_signal_error): Call _dl_exception_create to allocate an
9235 exception object.
9236 (_dl_catch_exception): New function, based on _dl_catch_error.
9237 (_dl_catch_error): Implement using _dl_catch_exception.
9238 * elf/dl-exception.c: New file.
9239 * elf/Makefile (dl-routines): Add dl-exception.
9240 (elide-routines.os): Likewise.
9241 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
9242 _dl_exception_create_format, _dl_exception_free.
9243 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
9244 _dl_signal_exception.
9245 * elf/dl-lookup.c (make_string): Remove.
9246 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
9247 _dl_signal_cexception, _dl_exception_free.
9248 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
9249 _dl_signal_exception.
9250 * elf/dl-sym.c (do_sym): Likewise.
9251 * elf/dl-version.c (make_string): Remove.
9252 (match_symbol): Use _dl_exception_create_format,
9253 _dl_signal_cexception, _dl_exception_free.
9254 (_dl_check_map_versions): Likewise.
9255 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
9256 _dl_catch_exception.
9257 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9258 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9259 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9260 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9261 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9262 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9263 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9264 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9265 Likewise.
9266 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9268 (ld.so): Likewise.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9270 (ld.so): Likewise.
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9272 Likewise.
9273 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9274 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9275 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9276 Likewise.
9277 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9278 Likewise.
9279 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9280
f87cc2bf
FW
92812017-08-10 Florian Weimer <fweimer@redhat.com>
9282
9283 * inet/net-internal.h (__inet6_scopeid_pton): Remove
9284 attribute_hidden, internal_function.
9285 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
9286 internal_function.
9287
eac43cbb
FW
92882017-08-10 Florian Weimer <fweimer@redhat.com>
9289
9290 * malloc/malloc.c (get_max_fast): Reimplement as an inline
9291 function which calls __builtin_unreachable.
9292
bd80111e
MF
92932017-08-10 Mike FABIAN <mfabian@redhat.com>
9294
9295 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
9296 Indian monetary formatting
9297 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
9298 test cases.
9299
60e2846e
DL
93002017-08-09 Dmitry V. Levin <ldv@altlinux.org>
9301
68dc02d1
DL
9302 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
9303 Fix typo in comment.
9304
60e2846e
DL
9305 [BZ #21928]
9306 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
9307 PTRACE_SEIZE_DEVEL): Remove.
9308 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
9309 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9310 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9311 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9312 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9313
3d452dab
JM
93142017-08-09 Joseph Myers <joseph@codesourcery.com>
9315
24d9f53a
JM
9316 * posix/bits/types.h (__qaddr_t): Remove.
9317
3d452dab
JM
9318 [BZ #21457]
9319 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
9320 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9321 __glibc_reserved1.
9322 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
9323 (ucontext_t): Use __ctx with uc_flags.
9324 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
9325 (__ctxt): Likewise.
9326 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9327 __glibc_reserved1.
9328 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
9329 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9330 __glibc_reserved1.
9331 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
9332 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9333 __glibc_reserved1.
9334 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
9335 macro.
9336 (ucontext_t): Use __ctx with uc_flags.
9337 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
9338 (ucontext_t): Use __ctx with uc_flags.
9339 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
9340 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
9341 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
9342 (ucontext_t): Use __ctx with uc_flags.
9343 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
9344 undefine further down.
9345 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9346 __glibc_reserved1.
9347 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
9348 undefine further down.
9349 (ucontext_t): Use __ctx with uc_flags.
9350 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
9351 undefine further down.
9352 (ucontext_t): Use __ctx with uc_flags.
9353 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
9354 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
9355 Rename uc_pad to __glibc_reserved1.
9356 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
9357 undefine further down.
9358 (ucontext_t): Use __ctx with uc_flags.
9359 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
9360 further down.
9361 (ucontext_t): Use __ctx with uc_flags.
9362 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
9363 __ctx with uc_flags.
9364 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
9365 (ucontext_t): Use __ctx with uc_flags.
9366 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
9367 __ctx with uc_flags.
9368
30161498
FW
93692017-08-09 Florian Weimer <fweimer@redhat.com>
9370
9371 [BZ #21932]
9372 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
9373 before early return.
9374
5797b410
AS
93752017-08-09 Andreas Schwab <schwab@suse.de>
9376
139237a4 9377 [BZ #21041]
5797b410
AS
9378 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
9379 renamed alias.
9380
139237a4 9381 [BZ #21041]
40c06a3d
AS
9382 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
9383 tst-compat-forwarder.
9384 (modules-names): Add tst-compat-forwarder-mod.
9385 ($(objpfx)tst-compat-forwarder): Depend on
9386 $(objpfx)tst-compat-forwarder-mod.so.
9387 * nptl/tst-compat-forwarder.c: New file.
9388 * nptl/tst-compat-forwarder-mod.c: New file.
9389
36ada5f6
SP
93902017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
9391
0e02b510
SP
9392 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
9393 comments.
9394
36ada5f6
SP
9395 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
9396 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9397 memcpy_falkor.
9398 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
9399 Bump.
9400 (__libc_ifunc_impl_list): Add __memcpy_falkor.
9401 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
9402 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
9403 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
9404 Add falkor.
9405 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
9406 New macro.
9407
9995c839
AZ
94082017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9409
9410 [BZ #759]
9411 * manual/setjmp.texi (getcontex): Document uc_stack value
9412 compatibility differences.
9413
f17a4233
JM
94142017-08-08 Joseph Myers <joseph@codesourcery.com>
9415
9416 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
9417 (old_malloc_hook): Likewise.
9418 (old_memalign_hook): Likewise.
9419 (old_realloc_hook): Likewise.
9420 (struct hdr): Likewise.
9421 (flood): Likewise.
9422 (freehook): Likewise.
9423 (mallochook): Likewise.
9424 (memalignhook): Likewise.
9425 (reallochook): Likewise.
9426 (mprobe): Likewise.
9427 * malloc/mtrace.c (mallwatch): Likewise.
9428 (tr_old_free_hook): Likewise.
9429 (tr_old_malloc_hook): Likewise.
9430 (tr_old_realloc_hook): Likewise.
9431 (tr_old_memalign_hook): Likewise.
9432 (tr_where): Likewise.
9433 (lock_and_info): Likewise.
9434 (tr_freehook): Likewise.
9435 (tr_mallochook): Likewise.
9436 (tr_reallochook): Likewise.
9437 (tr_memalignhook): Likewise.
9438 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
9439 * misc/mmap.c (__mmap): Likewise.
9440 * misc/mmap64.c (__mmap64): Likewise.
9441 * misc/mprotect.c (__mprotect): Likewise.
9442 * misc/msync.c (msync): Likewise.
9443 * misc/munmap.c (__munmap): Likewise.
9444 * posix/posix_madvise.c (posix_madvise): Likewise.
9445 * socket/send.c (__send): Likewise.
9446 * socket/sendto.c (__sendto): Likewise.
9447 * socket/setsockopt.c (__setsockopt): Likewise.
9448 * string/memcmp.c (__ptr_t): Remove macro.
9449 (MEMCMP): Use void * instead of ptr_t.
9450 * string/memrchr.c (__ptr_t): Remove macro.
9451 (__memrchr): Use void * instead of ptr_t.
9452 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
9453 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
9454 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
9455 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
9456 * sysdeps/mach/msync.c (msync): Likewise.
9457 * sysdeps/mach/munmap.c (__munmap): Likewise.
9458 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
9459 Likewise.
9460 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9461 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
9462 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
9463 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
9464 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9465 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9466 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
9467 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
9468 Likewise.
9469 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9470 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
9471 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
9472 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
9473 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
9474 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
9475 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
9476 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
9477 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
9478 Likewise.
9479 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
9480 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
9481 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
9482 (MEMCMP): Use void * instead of ptr_t.
9483 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
9484 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
9485
0df595b2
FW
94862017-08-08 Florian Weimer <fweimer@redhat.com>
9487
9488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
9489 return statement.
9490
086df229
L
94912017-08-08 H.J. Lu <hongjiu.lu@intel.com>
9492
9493 [BZ #21913]
9494 * csu/libc-tls.c: Include <startup.h> first.
9495 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
9496 * elf/dl-tunables.c: Include <startup.h> first.
9497 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
9498 * sysdeps/generic/startup.h: New file.
9499 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
9500 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
9501 (I386_USE_SYSENTER): New. Defined to 0.
9502
fc5ad702
AS
95032017-08-08 Andreas Schwab <schwab@suse.de>
9504
9505 [BZ #21041]
9506 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
9507 * nptl/pt-system.c (system): Likewise.
9508
852d6312
AZ
95092017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9510
9511 [BZ #21780]
9512 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
9513 EOPNOTSUPP.
9514 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
9515 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
9516 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
9517 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
9518 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9519 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9520 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9521
8b164787
JM
95222017-08-07 Joseph Myers <joseph@codesourcery.com>
9523
cd65836b
JM
9524 [BZ #21899]
9525 * bits/sigaction.h (struct sigaction): Define sa_handler and
9526 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
9527 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9528 [__USE_XOPEN_EXTENDED].
9529 (SA_RESTART): Likewise.
9530 (SA_NODEFER): Likewise.
9531 (SA_RESETHAND): Likewise.
9532 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
9533 (struct sigaction): Define sa_handler and sa_sigaction using union
9534 also for [__USE_XOPEN_EXTENDED].
9535 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9536 [__USE_XOPEN_EXTENDED].
9537 (SA_RESTART): Likewise.
9538 (SA_NODEFER): Likewise.
9539 (SA_RESETHAND): Likewise.
9540 * sysdeps/unix/sysv/linux/bits/sigaction.h
9541 (struct sigaction): Define sa_handler and sa_sigaction using union
9542 also for [__USE_XOPEN_EXTENDED].
9543 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9544 [__USE_XOPEN_EXTENDED].
9545 (SA_RESTART): Likewise.
9546 (SA_NODEFER): Likewise.
9547 (SA_RESETHAND): Likewise.
9548 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
9549 (struct sigaction): Define sa_handler and sa_sigaction using union
9550 also for [__USE_XOPEN_EXTENDED].
9551 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9552 [__USE_XOPEN_EXTENDED].
9553 (SA_RESTART): Likewise.
9554 (SA_NODEFER): Likewise.
9555 (SA_RESETHAND): Likewise.
9556 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
9557 (struct sigaction): Define sa_handler and sa_sigaction using union
9558 also for [__USE_XOPEN_EXTENDED].
9559 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9560 [__USE_XOPEN_EXTENDED].
9561 (SA_RESTART): Likewise.
9562 (SA_NODEFER): Likewise.
9563 (SA_RESETHAND): Likewise.
9564 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9565 (struct sigaction): Define sa_handler and sa_sigaction using union
9566 also for [__USE_XOPEN_EXTENDED].
9567 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9568 [__USE_XOPEN_EXTENDED].
9569 (SA_RESTART): Likewise.
9570 (SA_NODEFER): Likewise.
9571 (SA_RESETHAND): Likewise.
9572 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9573 (struct sigaction): Define sa_handler and sa_sigaction using union
9574 also for [__USE_XOPEN_EXTENDED].
9575 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9576 [__USE_XOPEN_EXTENDED].
9577 (SA_RESTART): Likewise.
9578 (SA_NODEFER): Likewise.
9579 (SA_RESETHAND): Likewise.
9580 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9581 (struct sigaction): Define sa_handler and sa_sigaction using union
9582 also for [__USE_XOPEN_EXTENDED].
9583 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9584 [__USE_XOPEN_EXTENDED].
9585 (SA_RESTART): Likewise.
9586 (SA_NODEFER): Likewise. Define directly rather than as alias.
9587 (SA_RESETHAND): Likewise.
9588 (SA_INTERRUPT): Define only for [__USE_MISC].
9589 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
9590 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
9591 [__USE_MISC].
9592 (SA_STACK): Define only for [__USE_MISC].
9593 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
9594 (struct sigaction): Define sa_handler and sa_sigaction using union
9595 also for [__USE_XOPEN_EXTENDED].
9596 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9597 [__USE_XOPEN_EXTENDED].
9598 (SA_RESTART): Likewise.
9599 (SA_NODEFER): Likewise.
9600 (SA_RESETHAND): Likewise.
9601 (SA_NOPTRACE): Define only for [__USE_MISC].
9602
d9fee042
JM
9603 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
9604 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
9605 (struct catalog_info): Likewise.
9606 * inet/htontest.c (lo): Likewise.
9607 (foo): Likewise.
9608 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9609 * inet/inet_net.c (inet_network): Likewise.
9610 * inet/inet_netof.c (inet_netof): Likewise.
9611 * inet/rcmd.c (__ivaliduser): Likewise.
9612 (iruserok): Likewise.
9613 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
9614 * locale/programs/locale-spec.c (locale_special): Likewise.
9615 * nis/nis_findserv.c (struct findserv_req): Likewise.
9616 (__nis_findfastest_with_timeout): Likewise.
9617 * nss/test-netdb.c (test_network): Likewise.
9618 * resolv/inet_neta.c (inet_neta): Likewise.
9619 * resolv/ns_date.c (ns_datetosecs): Likewise.
9620 (SECS_PER_DAY): Likewise.
9621 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
9622 Likewise.
9623 * resolv/res_comp.c (__putlong): Likewise.
9624 (__putshort): Likewise.
9625 (_getlong): Likewise.
9626 (_getshort): Likewise.
9627 * resolv/res_debug.c (p_time): Likewise.
9628 (precsize_ntoa): Likewise.
9629 (precsize_aton): Likewise.
9630 (latlon2ul): Likewise.
9631 (loc_aton): Likewise.
9632 (loc_ntoa): Likewise.
9633 * resolv/res_hconf.c (struct netaddr): Likewise.
9634 (_res_hconf_reorder_addrs): Likewise.
9635 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9636 (clnttcp_control): Likewise.
9637 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9638 (clntudp_control): Likewise.
9639 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9640 (clntunix_control): Likewise.
9641 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9642 * sunrpc/rpc/auth.h (union des_block): Likewise.
9643 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
9644 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
9645 (xdrrec_create): Likewise.
9646 (xdrrec_endofrecord): Likewise.
9647 (flush_out): Likewise.
9648 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
9649 (xdrstdio_putlong): Likewise.
9650 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
9651 Likewise.
9652
8b164787
JM
9653 * misc/sys/cdefs.h (__long_double_t): Remove.
9654 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
9655 instead of __long_double_t,
9656 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
9657
7ee38e60
SP
96582017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9659
dd3e86ad
SP
9660 * benchtests/scripts/compare_strings.py: Avoid display error when
9661 running on a text terminal.
9662
b115e819
SP
9663 * benchtests/scripts/compare_strings.py (main): Add an
9664 optional -base option.
9665 (process_results): New argument base_func.
9666
7ee38e60
SP
9667 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
9668 hardcoding memcpy.
9669 * benchtests/bench-memcpy-large.c (test_name): Likewise.
9670 * benchtests/bench-memcpy-random.c (test_name): Likewise.
9671
d5afb385
AS
96722017-08-07 Andreas Schwab <schwab@suse.de>
9673
9674 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
9675 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9676 * intl/Makefile ($(objpfx)tst-gettext.out)
9677 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
9678 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
9679 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9680 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9681 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
9682 * posix/Makefile ($(objpfx)globtest.out)
9683 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
9684 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
9685 ($(objpfx)tst-printf.out): Likewise.
9686 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
9687 ($(objpfx)tst-setcontext3.out): Likewise.
9688
57a72fa3
L
96892017-08-07 H.J. Lu <hongjiu.lu@intel.com>
9690
9691 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9692 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
9693 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
9694 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
9695 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
9696 and mptan-fma.
9697 (CFLAGS-doasin-fma.c): New.
9698 (CFLAGS-dosincos-fma.c): Likewise.
9699 (CFLAGS-e_asin-fma.c): Likewise.
9700 (CFLAGS-e_atan2-fma.c): Likewise.
9701 (CFLAGS-e_exp-fma.c): Likewise.
9702 (CFLAGS-e_log-fma.c): Likewise.
9703 (CFLAGS-e_pow-fma.c): Likewise.
9704 (CFLAGS-halfulp-fma.c): Likewise.
9705 (CFLAGS-mpa-fma.c): Likewise.
9706 (CFLAGS-mpatan-fma.c): Likewise.
9707 (CFLAGS-mpatan2-fma.c): Likewise.
9708 (CFLAGS-mpexp-fma.c): Likewise.
9709 (CFLAGS-mplog-fma.c): Likewise.
9710 (CFLAGS-mpsqrt-fma.c): Likewise.
9711 (CFLAGS-mptan-fma.c): Likewise.
9712 (CFLAGS-s_atan-fma.c): Likewise.
9713 (CFLAGS-sincos32-fma.c): Likewise.
9714 (CFLAGS-slowexp-fma.c): Likewise.
9715 (CFLAGS-slowpow-fma.c): Likewise.
9716 (CFLAGS-s_sin-fma.c): Likewise.
9717 (CFLAGS-s_tan-fma.c): Likewise.
9718 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
9719 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
9720 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
9721 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
9722 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
9723 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
9724 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
9725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
9726 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
9727 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
9728 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
9729 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
9730 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
9731 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
9732 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
9733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
9734 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
9735 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
9736 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
9737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
9738 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
9739 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
9740 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
9741 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
9742 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9745 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9746 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9749
219dd320
JM
97502017-08-04 Joseph Myers <joseph@codesourcery.com>
9751
9752 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
9753 (min_of_type_f): New macro.
9754 (min_of_type_): Likewise.
9755 (min_of_type_l): Likewise.
9756 (min_of_type_f128): Likewise.
9757 (min_of_type): Define using __MATH_TG and taking an expression
9758 argument.
9759 (math_check_force_underflow): Pass expression instead of type to
9760 min_of_type.
9761 (math_check_force_underflow_nonneg): Likewise.
9762
64d4dea6
L
97632017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9764
9765 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
9766 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
9767 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
9768
973da22a
L
97692017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9770
9771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9772 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
9773 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
9774 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
9775 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
9776 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
9777 memcpy_chk-nonshared, mempcpy_chk-nonshared,
9778 memmove_chk-nonshared and memset_chk-nonshared
9779 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
9780 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
9781 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
9782 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
9783 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
9784 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
9785 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
9786 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
9787 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
9788 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
9789 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
9790 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
9791 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
9792 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
9793 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
9794 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
9795 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
9796 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
9797 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
9798 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
9799 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
9800 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
9801 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
9802 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
9803 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
9804 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
9805 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
9806 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
9807 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
9808 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
9809 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
9810 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
9811 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
9812 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9813 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9814 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
9815 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
9816 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
9817 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
9818 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
9819 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
9820 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
9821 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
9822 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
9823 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
9824 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
9825 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
9826 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
9827 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
9828 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
9829 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
9830 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
9831 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
9832 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
9833 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
9834 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
9835 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
9836 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
9837 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
9838 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
9839 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
9840 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
9841 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
9842 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
9843 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
9844 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
9845 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
9846 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
9847 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
9848 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
9849 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
9850 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9851 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9852 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9853 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9854 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9855 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9856 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9857 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9858 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9859 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9860 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9861 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9862 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9863 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9864 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9865 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9866 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9867 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9869 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9870 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9871 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9872 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9873 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9874 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9875 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9876 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9877 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9878 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9879 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9880 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9887
8537e0f6
L
98882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9889
9890 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
9891 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
9892 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
9893 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
9894 svml_d_log2_core-sse2, svml_d_log4_core-sse,
9895 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
9896 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
9897 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
9898 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
9899 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
9900 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
9901 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
9902 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
9903 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
9904 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
9905 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
9906 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
9907 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
9908 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
9909 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
9910 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
9911 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
9912 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
9913 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
9914 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
9915 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
9916 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
9917 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
9918 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
9919 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
9920 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
9921 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
9922 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
9923 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
9924 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
9925 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
9926 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
9927 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
9928 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
9929 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
9930 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
9931 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
9932 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
9933 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
9934 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
9935 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
9936 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
9937 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
9938 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
9939 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
9940 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
9941 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
9942 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
9943 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
9944 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
9945 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
9946 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
9947 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
9948 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
9949 ...
9950 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
9951 Don't include <sysdep.h> nor <init-arch.h>.
9952 (_ZGVbN2v_cos): Removed.
9953 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
9954 ...
9955 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
9956 Don't include <sysdep.h> nor <init-arch.h>.
9957 (_ZGVdN4v_cos): Removed.
9958 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
9959 ...
9960 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
9961 Don't include <sysdep.h> nor <init-arch.h>.
9962 (_ZGVeN8v_cos): Removed.
9963 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
9964 ...
9965 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
9966 Don't include <sysdep.h> nor <init-arch.h>.
9967 (_ZGVbN2v_exp): Removed.
9968 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
9969 ...
9970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
9971 Don't include <sysdep.h> nor <init-arch.h>.
9972 (_ZGVdN4v_exp): Removed.
9973 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
9974 ...
9975 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
9976 Don't include <sysdep.h> nor <init-arch.h>.
9977 (_ZGVeN8v_exp): Removed.
9978 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
9979 ...
9980 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
9981 Don't include <sysdep.h> nor <init-arch.h>.
9982 (_ZGVbN2v_log): Removed.
9983 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
9984 ...
9985 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
9986 Don't include <sysdep.h> nor <init-arch.h>.
9987 (_ZGVdN4v_log): Removed.
9988 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
9989 ...
9990 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
9991 Don't include <sysdep.h> nor <init-arch.h>.
9992 (_ZGVeN8v_log): Removed.
9993 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
9994 ...
9995 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
9996 Don't include <sysdep.h> nor <init-arch.h>.
9997 (_ZGVbN2vv_pow): Removed.
9998 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
9999 ...
10000 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
10001 Don't include <sysdep.h> nor <init-arch.h>.
10002 (_ZGVdN4vv_pow): Removed.
10003 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
10004 ...
10005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
10006 Don't include <sysdep.h> nor <init-arch.h>.
10007 (_ZGVeN8vv_pow): Removed.
10008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
10009 ...
10010 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
10011 Don't include <sysdep.h> nor <init-arch.h>.
10012 (_ZGVbN2v_sin): Removed.
10013 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
10014 ...
10015 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
10016 Don't include <sysdep.h> nor <init-arch.h>.
10017 (_ZGVbN4v_sin): Removed.
10018 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
10019 ...
10020 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
10021 Don't include <sysdep.h> nor <init-arch.h>.
10022 (_ZGVbN8v_sin): Removed.
10023 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
10024 ...
10025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
10026 Don't include <sysdep.h> nor <init-arch.h>.
10027 (_ZGVbN2vvv_sincos): Removed.
10028 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
10029 ...
10030 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
10031 Don't include <sysdep.h> nor <init-arch.h>.
10032 (_ZGVdN4vvv_sincos): Removed.
10033 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
10034 ...
10035 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
10036 Don't include <sysdep.h> nor <init-arch.h>.
10037 (_ZGVeN8vvv_sincos): Removed.
10038 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
10039 ...
10040 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
10041 Don't include <sysdep.h> nor <init-arch.h>.
10042 (_ZGVeN16v_cosf): Removed.
10043 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
10044 ...
10045 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
10046 Don't include <sysdep.h> nor <init-arch.h>.
10047 (_ZGVbN4v_cosf): Removed.
10048 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
10049 ...
10050 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
10051 Don't include <sysdep.h> nor <init-arch.h>.
10052 (_ZGVdN8v_cosf): Removed.
10053 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
10054 ...
10055 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
10056 Don't include <sysdep.h> nor <init-arch.h>.
10057 (_ZGVeN16v_expf): Removed.
10058 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
10059 ...
10060 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
10061 Don't include <sysdep.h> nor <init-arch.h>.
10062 (_ZGVbN4v_expf): Removed.
10063 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
10064 ...
10065 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
10066 Don't include <sysdep.h> nor <init-arch.h>.
10067 (_ZGVdN8v_expf): Removed.
10068 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
10069 ...
10070 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
10071 Don't include <sysdep.h> nor <init-arch.h>.
10072 (_ZGVeN16v_logf): Removed.
10073 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
10074 ...
10075 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
10076 Don't include <sysdep.h> nor <init-arch.h>.
10077 (_ZGVbN4v_logf): Removed.
10078 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
10079 ...
10080 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
10081 Don't include <sysdep.h> nor <init-arch.h>.
10082 (_ZGVdN8v_logf): Removed.
10083 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
10084 ...
10085 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
10086 Don't include <sysdep.h> nor <init-arch.h>.
10087 (_ZGVeN16vv_powf): Removed.
10088 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
10089 ...
10090 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
10091 Don't include <sysdep.h> nor <init-arch.h>.
10092 (_ZGVbN4vv_powf): Removed.
10093 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
10094 ...
10095 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
10096 Don't include <sysdep.h> nor <init-arch.h>.
10097 (_ZGVdN8vv_powf): Removed.
10098 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
10099 ...
10100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
10101 Don't include <sysdep.h> nor <init-arch.h>.
10102 (_ZGVeN16vvv_sincosf): Removed.
10103 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
10104 ...
10105 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
10106 Don't include <sysdep.h> nor <init-arch.h>.
10107 (_ZGVbN4vvv_sincosf): Removed.
10108 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
10109 ...
10110 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
10111 Don't include <sysdep.h> nor <init-arch.h>.
10112 (_ZGVdN8vvv_sincosf): Removed.
10113 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
10114 ...
10115 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
10116 Don't include <sysdep.h> nor <init-arch.h>.
10117 (_ZGVeN16v_sinf): Removed.
10118 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
10119 ...
10120 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
10121 Don't include <sysdep.h> nor <init-arch.h>.
10122 (_ZGVbN4v_sinf): Removed.
10123 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
10124 ...
10125 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
10126 Don't include <sysdep.h> nor <init-arch.h>.
10127 (_ZGVdN8v_sinf): Removed.
10128
10a87ca4
L
101292017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10130
10131 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10132 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
10133 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
10134 s_rint-sse4_1 and s_rintf-sse4_1.
10135 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
10136 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10137 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10138 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10139 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10140 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
10141 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
10142 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10143 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10144 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
10145 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
10146 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10147 (__ceil): Removed.
10148 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
10149 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
10150 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10151 (__ceilf): Removed.
10152 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
10153 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
10154 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10155 (__floor): Removed.
10156 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
10157 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
10158 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10159 (__floorf): Removed.
10160 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
10161 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
10162 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10163 (__nearbyint): Removed.
10164 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
10165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
10166 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10167 (__nearbyintf): Removed.
10168 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
10169 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
10170 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10171 (__rint): Removed.
10172 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
10173 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
10174 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10175 (__rintf): Removed.
10176
1e8e527d
L
101772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 * sysdeps/i386/start.S (_start): Check Check PIC instead of
10180 SHARED. Avoid dynamic relocation against main in static PIE.
10181
e13daad7
L
101822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10183
10184 [BZ #21815]
10185 * elf/Makefile (CFLAGS-tst-prelink.c): New.
10186 (LDFLAGS-tst-prelink): Likewise.
10187
627c69c8
L
101882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10189
10190 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
10191 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
10192 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
10193 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10194 (INTERNAL_SYSCALL_NCS): Likewise.
10195 (LOADARGS_1): Likewise.
10196 (LOADARGS_5): Likewise.
10197 (RESTOREARGS_1): Likewise.
10198 (RESTOREARGS_5): Likewise.
10199
fc11ff8d
L
102002017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
10203 (MEMPCPY_SYMBOL): Likewise.
10204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10205 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
10206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
10207 in libc.a.
10208 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10209 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10210 Likewise.
10211 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
10212 (__hidden_ver1): Don't use in libc.a.
10213 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10214 (__mempcpy): Don't create a weak alias in libc.a.
10215 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
10216 libc.a.
10217 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
10218 (__hidden_ver1): Don't use in libc.a.
10219
19f1a11e
L
102202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * config.make.in (have-insert): New.
10223 * configure.ac (libc_cv_insert): New. Set to yes if linker
10224 supports INSERT in linker script.
10225 (AC_SUBST(libc_cv_insert): New.
10226 * configure: Regenerated.
10227 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
10228 if $(have-insert) == yes.
10229
3093fd5e
L
102302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10231
10232 * elf/Makefile (tests): Add vismain only if
10233 $(have-protected-data) == yes.
10234 (tests-pie): Likewise.
10235
d2cf37c0
L
102362017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10237
10238 [BZ #21871]
10239 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10240 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
10241
c8a0e6ec
L
102422017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 [BZ #21790]
10245 * sysdeps/i386/i586/memset.S
10246 (__memset_zero_constant_len_parameter): Removed.
10247 * sysdeps/i386/i686/memset.S
10248 (__memset_zero_constant_len_parameter): Likewise.
10249 * sysdeps/i386/i686/multiarch/memset_chk.S
10250 (__memset_zero_constant_len_parameter): Likewise.
10251 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
10252 Likewise.
10253
2b34e271
AJ
102542017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10255
10256 * stdlib/getentropy.c (getentropy): Change return type to int.
10257
144bdab0
AJ
102582017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10259
10260 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10261
24ab7723
JM
102622017-08-03 Joseph Myers <joseph@codesourcery.com>
10263
10264 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
10265 u_intN_t.
10266 * math/s_nexttowardf.c (__nexttowardf): Likewise.
10267 * sysdeps/generic/math_private.h (ieee_double_shape_type):
10268 Likewise.
10269 (ieee_float_shape_type): Likewise.
10270 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
10271 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
10272 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10273 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10274 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10275 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
10276 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
10277 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10278 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10279 Likewise.
10280 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10281 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10282 (__ieee754_yn): Likewise.
10283 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10284 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10285 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
10286 Likewise.
10287 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10288 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
10289 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
10290 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
10291 (__erfc): Likewise.
10292 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10293 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
10294 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
10295 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
10296 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
10297 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
10298 Likewise.
10299 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10300 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
10301 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10302 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
10303 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10304 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
10305 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
10306 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
10307 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
10308 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10309 (__issignaling): Likewise.
10310 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
10311 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
10312 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10313 Likewise.
10314 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10315 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10316 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10317 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
10318 Likewise.
10319 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
10320 Likewise.
10321 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
10322 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
10323 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
10324 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10325 (__erfcf): Likewise.
10326 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10327 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10328 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
10329 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
10330 Likewise.
10331 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
10332 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
10333 Likewise.
10334 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10335 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
10336 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10337 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
10338 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
10339 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10340 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
10341 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
10342 Likewise.
10343 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
10344 Likewise.
10345 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10346 Likewise.
10347 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
10348 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10349 Likewise.
10350 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10351 Likewise.
10352 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10353 (__ieee754_ynl): Likewise.
10354 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10355 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
10356 Likewise.
10357 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
10358 Likewise.
10359 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10360 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
10361 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10362 Likewise.
10363 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10364 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
10365 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
10366 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
10367 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
10368 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10369 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
10370 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
10371 Likewise.
10372 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10373 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
10374 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
10375 Likewise.
10376 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
10377 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
10378 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10379 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10380 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
10381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10382 Likewise.
10383 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10384 Likewise.
10385 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10386 Likewise.
10387 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10388 Likewise.
10389 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
10390 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10391 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10392 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
10393 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10394 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
10396 Likewise.
10397 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10398 Likewise.
10399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10400 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10401 Likewise.
10402 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10403 (__ieee754_remainderl): Likewise.
10404 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10406 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10407 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10408 Likewise.
10409 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10410 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10411 Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10413 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
10414 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10415 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10416 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10417 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10418 Likewise.
10419 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10420 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10421 (__ieee754_y0l): Likewise.
10422 (pzero): Likewise.
10423 (qzero): Likewise.
10424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10425 (__ieee754_y1l): Likewise.
10426 (pone): Likewise.
10427 (qone): Likewise.
10428 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10429 (__ieee754_ynl): Likewise.
10430 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10431 (__ieee754_lgammal_r): Likewise.
10432 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
10433 Likewise.
10434 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10435 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
10436 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10437 (__erfcl): Likewise.
10438 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10439 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
10440 Likewise.
10441 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
10442 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
10443 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10444 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
10445 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10448 Likewise.
10449 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
10450 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10451 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
10453 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10454 Likewise.
10455 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
10456 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
10457 Likewise.
10458 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
10459 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
10460 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
10461 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10462 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10463
964263bb
FW
104642017-08-03 Florian Weimer <fweimer@redhat.com>
10465
10466 [BZ #21885]
10467 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
10468 on memory allocation failure.
10469
e98c925f
AM
104702017-08-03 Alan Modra <amodra@gmail.com>
10471
10472 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
10473 tst-tlsopt-powerpc.c with function name change and no test harness.
10474 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
10475 Call tls_get_addr_opt_test.
10476 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
10477 (modules-names): Add mod-tlsopt-powerpc.
10478 (mod-tlsopt-powerpc.so-no-z-defs): Define.
10479 (tst-tlsopt-powerpc): Depend on .so.
10480 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
10481 define. Expand use in TLS_GD and TLS_LD.
10482
8ee1abdb
ST
104832017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10484
10485 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
10486 function.
3da5756e 10487 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 10488
42df8d59
JM
104892017-08-02 Joseph Myers <joseph@codesourcery.com>
10490
10491 [BZ #21686]
10492 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
10493 comparing size with that of double.
10494 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10495 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10496 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10497 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10498 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10499 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
10500 unsigned __int128 types.
10501
b7f95f49
SE
105022017-08-02 Steve Ellcey <sellcey@cavium.com>
10503
10504 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
10505 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
10506 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
10507 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
10508 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
10509
5b736bc9
L
105102017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
10513
dfc93c41
L
105142017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10515
10516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
10517 of SHARED.
10518 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10525
2fee621d
JM
105262017-08-02 Joseph Myers <joseph@codesourcery.com>
10527
10528 [BZ #21685]
10529 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
10530 bit-field expressions passed to sizeof or typeof.
10531 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10532 (__TGMATH_F128): Likewise.
10533 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10534 (__TGMATH_CF128): Likewise.
10535 (__TGMATH_UNARY_REAL_ONLY): Likewise.
10536 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
10537 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
10538 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
10539 (__TGMATH_BINARY_REAL_ONLY): Likewise.
10540 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10541 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10542 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10543 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10544 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
10545 (__TGMATH_UNARY_REAL_IMAG): Likewise.
10546 (__TGMATH_UNARY_IMAG): Likewise.
10547 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
10548 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10549 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
10550 type.
10551 (define_vars_for_type): Handle bit_field type specially.
10552 (Tests.__init__): Declare structure with bit-field element.
10553
b358255f
L
105542017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10555
10556 [BZ #21791]
10557 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
10558 (MEMCPY_CHK): Define only if SHARED is defined.
10559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
10560 Likewise.
10561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
10562 Likewise.
edf66db1
SP
10563
10564See ChangeLog.18 for earlier changes.