1 2017-10-25 Carlos O'Donell <carlos@redhat.com>
3 * locale/programs/record-status.h: Define globals, and function
4 prototypes. Move function bodies...
5 * locale/programs/record-status.c: ... to here. New file.
6 * iconv/Makefile (iconv_prog-modules): Add record-status.
7 * locale/Makefile (lib-modules): Likewise.
8 * iconv/iconv_prog.c: Remove verbose.
9 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
10 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
11 record a warning about ASCII compatibility.
12 * locale/programs/ld-monetary.c (monetary_finish): If
13 warn_int_curr_symbol is true then record a warning about the symbol
14 not being in our ISO 4217 list.
15 * locale/programs/locale.c: Include record-status.h. Remove verbose.
16 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
17 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
18 (OPT_NO_WARN): Define.
20 (options): Add entry for --no-warnings, and --warnings.
21 (set_warnings): New function to enable/disable warnings.
22 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26 Pass flags to generate_locale.
27 (generate_locale): Accept new flag argument and pass it to localedef
29 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
30 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
32 * localedata/Makefile (test-input-data): Use full file name.
33 * localedata/da_DK.in: Rename to...
34 * localedata/da_DK.ISO-8859-1.in: ...this.
35 * localedata/de_DE.in: Rename to...
36 * localedata/de_DE.ISO-8859-1.in: ...this.
37 * localedata/en_US.in: Rename to...
38 * localedata/en_US.ISO-8859-1.in: ...this.
39 * localedata/fr_FR.in: Rename to...
40 * localedata/fr_FR.UTF-8.in: ... this.
41 * localedata/hr_HR.in: Rename to...
42 * localedata/hr_HR.ISO-8859-2.in: ...this.
43 * localedata/hu_HU.in: Rename to...
44 * localedata/hu_HU.UTF-8.in: ...this.
45 * localedata/si_LK.in: Rename to...
46 * localedata/si_LK.UTF-8.in: ...this.
47 * localedata/sv_SE.in: Rename to...
48 * localedata/sv_SE.ISO-8859-1.in: ...this.
49 * localedata/tr_TR.in: Rename to...
50 * localedata/tr_TR.UTF-8.in: ...this.
51 * localedata/uk_UA.in: Rename to...
52 * localedata/uk_UA.UTF-8.in: ...this.
53 * localedata/sort-test.sh: Test file is locale name with the
56 * localedata/unicode-gen/Makefile (check_i18n): Rename to
57 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
59 * localedata/locales/i18n_ctype: Regenerate.
60 * localedata/locales/tr_TR: Likewise.
61 * localedata/locales/translit_circle: Likewise.
62 * localedata/locales/translit_cjk_compat: Likewise.
63 * localedata/locales/translit_combining: Likewise.
64 * localedata/locales/translit_compat: Likewise.
65 * localedata/locales/translit_font: Likewise.
66 * localedata/locales/translit_fraction: Likewise.
68 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
70 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
71 lxvd2x/stxvd2x with lvx/stvx.
72 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
74 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
76 * include/alloc_buffer.h: Replace "if if " with "if " in
78 * sysdeps/mips/memcpy.S: Likkewise.
79 * sysdeps/mips/memset.S: Likewise.
80 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
82 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
84 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
87 2017-10-25 Mike FABIAN <mfabian@redhat.com>
90 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
92 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
93 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
94 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
95 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
96 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
97 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
98 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
100 2017-10-25 Mike FABIAN <mfabian@redhat.com>
102 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
103 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
104 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
105 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
106 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
107 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
108 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
109 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
110 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
111 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
112 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
113 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
115 2017-10-25 Mike FABIAN <mfabian@redhat.com>
117 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
118 as possible for better readability of the source.
119 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
120 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
121 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
122 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
123 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
124 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
125 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
126 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
127 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
128 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
129 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
130 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
131 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
132 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
133 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
134 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
135 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
136 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
137 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
138 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
139 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
140 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
141 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
142 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
143 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
144 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
145 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
146 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
147 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
148 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
149 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
150 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
151 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
152 * localedata/locales/en_US (LC_MESSAGES): Likewise.
153 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
154 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
155 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
156 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
157 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
158 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
159 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
160 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
161 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
162 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
163 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
164 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
165 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
166 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
167 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
168 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
169 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
170 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
171 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
172 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
173 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
174 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
175 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
176 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
177 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
178 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
179 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
180 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
181 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
182 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
183 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
184 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
185 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
186 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
187 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
188 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
189 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
190 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
191 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
192 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
193 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
194 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
195 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
196 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
197 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
198 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
199 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
200 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
201 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
202 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
203 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
204 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
205 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
206 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
207 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
208 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
209 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
210 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
211 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
212 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
213 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
214 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
215 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
216 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
217 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
218 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
219 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
220 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
221 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
222 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
223 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
224 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
225 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
226 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
227 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
228 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
229 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
230 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
231 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
232 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
233 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
234 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
235 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
236 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
237 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
238 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
239 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
240 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
241 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
242 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
243 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
244 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
245 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
246 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
247 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
248 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
249 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
250 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
251 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
252 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
253 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
254 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
255 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
256 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
257 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
258 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
259 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
260 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
261 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
262 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
263 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
264 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
265 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
266 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
267 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
268 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
269 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
270 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
271 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
272 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
273 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
274 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
275 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
276 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
277 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
278 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
279 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
280 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
281 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
282 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
283 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
284 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
285 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
286 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
287 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
288 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
289 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
290 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
291 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
292 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
294 2017-10-25 Mike FABIAN <mfabian@redhat.com>
296 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
297 (Use first letters of yesstr and nostr correctly instead of using
300 2017-10-25 Mike FABIAN <mfabian@redhat.com>
302 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
303 (Use first letters of yesstr and nostr correctly).
305 2017-10-25 Mike FABIAN <mfabian@redhat.com>
307 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
308 also check for the first characters of yesstr and nostr.
309 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
310 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
312 2017-10-25 Mike FABIAN <mfabian@redhat.com>
314 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
315 also check for Chinese characters.
317 2017-10-25 Mike FABIAN <mfabian@redhat.com>
319 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
320 match also for the contents of yesstr and nostr. As the first letter
321 of yesstr and nostr is equal, checking only for the first letter
324 2017-10-25 Mike FABIAN <mfabian@redhat.com>
326 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
327 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
329 2017-10-25 Mike FABIAN <mfabian@redhat.com>
331 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
334 2017-10-25 Mike FABIAN <mfabian@redhat.com>
336 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
337 instead of using English.
339 2017-10-25 Mike FABIAN <mfabian@redhat.com>
341 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
342 by including the first letters of nostr and yesexpr in the regexp.
343 Also make it more readable by using ASCII where possible.
345 2017-10-25 Mike FABIAN <mfabian@redhat.com>
347 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
348 the first letter of nostr in the regexp. It agrees with CLDR now.
349 Also make it more readable by using ASCII where possible.
351 2017-10-24 Mike FABIAN <mfabian@redhat.com>
353 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
354 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
355 these strings contain a U+17D6 (which somewhat looks like a colon)
356 instead of a real colon to separate the full words for “yes”
357 and “no” from the single letter responses.
359 2017-10-24 Mike FABIAN <mfabian@redhat.com>
361 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
362 it agree with CLDR (include the first letter of yesstr).
363 Also make it more readable by using ASCII where possible.
365 2017-10-24 Mike FABIAN <mfabian@redhat.com>
367 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
368 and improve yesexpr and noexpr. The yesstr and nostr apparently
369 came from CLDR. And CLDR has a bug there: these strings contain
370 a U+0903 (which looks like a colon) instead of a real colon
371 to separate the full words for “yes” and “no” from the single
374 2017-10-24 Mike FABIAN <mfabian@redhat.com>
376 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
377 letters of the full yesstr and nostr in yesexpr and noexpr.
379 2017-10-24 Mike FABIAN <mfabian@redhat.com>
381 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
382 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
383 * localedata/locales/an_ES: Make source more readable by using ASCII
386 2017-10-24 Mike FABIAN <mfabian@redhat.com>
389 * localedata/locales/yuw_PG: New file.
390 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
391 * locale/iso-639.def: Add Yau (Uruwa).
393 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
395 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
397 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
399 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
400 (__libc_realloc): Likewise.
401 (_mid_memalign): Likewise.
402 (__libc_calloc): Likewise.
404 2017-10-23 Mike FABIAN <mfabian@redhat.com>
406 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
407 by adding the generic +1 and -0 as in all other locales.
408 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
409 day names and make it more readable by using ASCII where possible.
411 2017-10-24 Joseph Myers <joseph@codesourcery.com>
413 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
414 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
416 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
418 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
419 WNOHANG in waitpid call.
421 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
423 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
424 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
426 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
427 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
428 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
429 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
430 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
431 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
432 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
433 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
436 2017-10-23 Michael Collison <michael.collison@arm.com>
438 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
440 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
441 with __builtin_sqrtf.
442 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
444 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
445 with __builtin_ceilf.
446 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
447 with __builtin_floor.
448 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
449 with __builtin_floorf.
450 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
452 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
454 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
456 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
457 with __builtin_fmaxf.
458 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
460 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
461 with __builtin_fminf.
462 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
463 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
464 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
465 with builtin_rint and conversion to int.
466 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
467 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
468 with builtin_llround.
469 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
470 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
471 with builtin_rint and conversion to long int.
472 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
473 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
475 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
476 with builtin_lroundf.
477 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
478 statements with __builtin_nearbyint.
479 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
480 statements with __builtin_nearbyintf.
481 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
483 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
484 with __builtin_rintf.
485 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
486 with __builtin_round.
487 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
488 with __builtin_roundf.
489 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
490 with __builtin_trunc.
491 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
492 with __builtin_truncf.
493 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
494 and s_l[l]round[f].c too.
496 2017-10-23 Alan Modra <amodra@gmail.com>
498 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
499 Adjust stack after restoring regs. Add missing LR cfi_restore.
501 2017-10-23 Alan Modra <amodra@gmail.com>
503 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
504 Move LR save and frame setup/teardown and LR restore to
505 immediately around memset call. Provide cfi.
507 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
509 * sysdeps/i386/fpu/e_powf.S: Removed.
510 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
511 * sysdeps/i386/fpu/w_powf.c: Likewise.
512 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
513 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
514 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
516 (CFLAGS-e_powf-sse2.c): New.
517 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
518 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
520 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
522 * sysdeps/i386/fpu/e_log2f.S: Removed.
523 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
524 * sysdeps/i386/fpu/w_log2f.c: Likewise.
525 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
526 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
527 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
529 (CFLAGS-e_log2f-sse2.c): New.
530 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
531 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
533 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
535 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
537 (CFLAGS-e_powf-fma.c): New.
538 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
539 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
541 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
543 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
545 (CFLAGS-e_log2f-fma.c): New.
546 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
547 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
549 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
551 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
553 (CFLAGS-e_logf-fma.c): New.
554 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
555 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
557 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
559 * sysdeps/i386/fpu/e_logf.S: Removed.
560 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
561 * sysdeps/i386/fpu/w_logf.c: Likewise.
562 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
563 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
564 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
565 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
567 (CFLAGS-e_logf-sse2.c): New.
568 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
569 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
571 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
573 * sysdeps/i386/fpu/e_exp2f.S: Removed.
574 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
575 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
576 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
577 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
579 (CFLAGS-e_exp2f-sse2.c): New.
580 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
581 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
583 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
585 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
587 (CFLAGS-e_exp2f-fma.c): New.
588 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
589 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
591 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
593 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
594 * sysdeps/i386/fpu/e_expf.S: Likewise.
595 * sysdeps/i386/fpu/math_errf.c: Likewise.
596 * sysdeps/i386/fpu/w_expf.c: Likewise.
597 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
598 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
599 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
600 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
601 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
602 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
604 (CFLAGS-e_expf-sse2.c): New.
605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
606 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
608 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
610 * sysdeps/x86_64/fpu/e_expf.S: Removed.
611 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
612 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
613 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
615 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
617 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
618 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
620 (__redirect_expf): This.
621 (SYMBOL_NAME): Changed to expf.
622 (__ieee754_expf): Renamed to ...
625 (__ieee754_expf): Add strong_alias.
626 (__expf_finite): Likewise.
628 Include <sysdeps/ieee754/flt-32/e_expf.c>.
630 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
633 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
636 2017-10-21 Florian Weimer <fweimer@redhat.com>
638 * posix/Makefile (tests): Add tst-glob-tilde.
639 (tests-special): Add tst-glob-tilde-mem.out
640 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
641 (tst-glob-tilde-mem.out): Add mtrace check.
642 * posix/tst-glob-tilde.c: New file.
644 2017-10-20 Joseph Myers <joseph@codesourcery.com>
646 * bits/floatn-common.h: New file.
647 * math/Makefile (headers): Add bits/floatn-common.h.
648 * bits/floatn.h: Include <bits/floatn-common.h>.
649 * sysdeps/ia64/bits/floatn.h: Likewise.
650 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
651 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
652 * sysdeps/powerpc/bits/floatn.h: Likewise.
653 * sysdeps/x86/bits/floatn.h: Likewise.
655 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
657 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
658 indicates whether compiler emits an warning for alias for
659 functions with incompatible types.
662 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
663 the auxiliary process is terminated by a signal before calling _exit
666 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
669 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
671 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
672 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
673 and bit_arch_XSAVEC_Usable if needed.
674 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
675 and bit_arch_Use_dl_runtime_resolve_opt.
676 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
678 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
679 (bit_arch_Prefer_No_AVX512): Updated.
680 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
681 (bit_arch_XSAVEC_Usable): New.
682 (STATE_SAVE_OFFSET): Likewise.
683 (STATE_SAVE_MASK): Likewise.
684 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
685 (cpu_features): Add xsave_state_size and xsave_state_full_size.
686 (index_arch_Use_dl_runtime_resolve_opt): Removed.
687 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
688 (index_arch_XSAVEC_Usable): New.
689 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
690 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
691 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
693 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
694 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
695 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
696 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
697 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
698 _dl_runtime_resolve_xsavec.
699 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
701 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
703 (REGISTER_SAVE_BND0): Removed.
704 (REGISTER_SAVE_BND1): Likewise.
705 (REGISTER_SAVE_BND3): Likewise.
706 (REGISTER_SAVE_RAX): Always defined to 0.
708 (_dl_runtime_resolve_avx): Likewise.
709 (_dl_runtime_resolve_avx_slow): Likewise.
710 (_dl_runtime_resolve_avx_opt): Likewise.
711 (_dl_runtime_resolve_avx512): Likewise.
712 (_dl_runtime_resolve_avx512_opt): Likewise.
713 (_dl_runtime_resolve_sse): Likewise.
714 (_dl_runtime_resolve_sse_vex): Likewise.
716 (_dl_runtime_resolve_fxsave): Likewise.
717 (USE_XSAVE): Likewise.
718 (_dl_runtime_resolve_xsave): Likewise.
719 (USE_XSAVEC): Likewise.
720 (_dl_runtime_resolve_xsavec): Likewise.
721 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
723 (_dl_runtime_resolve_avx512_opt): Likewise.
724 (_dl_runtime_resolve_avx): Likewise.
725 (_dl_runtime_resolve_avx_opt): Likewise.
726 (_dl_runtime_resolve_sse): Likewise.
727 (_dl_runtime_resolve_sse_vex): Likewise.
728 (_dl_runtime_resolve_fxsave): New.
729 (_dl_runtime_resolve_xsave): Likewise.
730 (_dl_runtime_resolve_xsavec): Likewise.
732 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
736 * posix/glob.c (__glob): Fix one-byte overflow.
738 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
740 * malloc/malloc.c (sysdep-cancel.h): Add include.
742 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
744 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
746 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
748 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
749 (tests): Remove $(objpfx)ga_test depdendency.
750 * resolv/ga_test.c: Remove file.
752 2017-10-20 Mike FABIAN <mfabian@redhat.com>
755 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
756 * localedata/locales/kab_DZ: New file.
758 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
760 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
761 _dl_relocate_static_pie instead of _dl_start to compute load
762 address in static PIE.
764 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
766 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
768 2017-10-20 Mike FABIAN <mfabian@redhat.com>
771 * localedata/SUPPORTED: Add shn_MM/UTF-8.
772 * localedata/locales/shn_MM: New file.
774 2017-10-20 Florian Weimer <fweimer@redhat.com>
777 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
778 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
779 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
780 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
781 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
782 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
784 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
786 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
788 2017-10-19 Joseph Myers <joseph@codesourcery.com>
790 * sysdeps/mips/ieee754/bits/floatn.h: New file.
793 * sysdeps/mips/bits/long-double.h: Move to ....
794 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
796 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
798 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
800 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
801 H.J. Lu <hongjiu.lu@intel.com>
804 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
805 GLRO(dl_platform) to NULL.
806 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
807 (modules-names): Add tst-platformmod-1 and
808 x86_64/tst-platformmod-2.
809 (CFLAGS-tst-platform-1.c): New.
810 (CFLAGS-tst-platformmod-1.c): Likewise.
811 (CFLAGS-tst-platformmod-2.c): Likewise.
812 (LDFLAGS-tst-platformmod-2.so): Likewise.
813 ($(objpfx)tst-platform-1): Likewise.
814 ($(objpfx)tst-platform-1.out): Likewise.
815 (tst-platform-1-ENV): Likewise.
816 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
817 * sysdeps/x86_64/tst-platform-1.c: New file.
818 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
819 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
821 2017-10-19 Mike FABIAN <mfabian@redhat.com>
824 * locale/iso-639.def: Add Karbi.
825 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
826 * localedata/locales/mjw_IN: New file.
828 2017-10-18 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
831 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
832 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
833 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
834 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
835 (libm_alias_ldouble_other_r): Also create _Float128 alias.
836 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
838 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
839 (libm_alias_ldouble_other_r): Also create _Float128 alias.
840 * manual/math.texi (Mathematics): Document additional architecture
841 support for _Float128.
842 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
843 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
844 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
845 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
846 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
847 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
848 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
849 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
850 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
851 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
852 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
853 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
854 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
856 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
858 2017-10-18 Renlin Li <renlin.li@arm.com>
860 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
861 _DYNAMIC symbol to calculate load address.
863 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
865 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
866 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
868 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
869 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
871 2017-10-18 Mike FABIAN <mfabian@redhat.com>
874 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
875 and improve readability by using more ASCII.
876 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
877 and improve readability by using more ASCII.
879 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
881 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
882 not all targets support atomics on bool.
884 2017-10-17 Joseph Myers <joseph@codesourcery.com>
886 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
887 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
889 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
890 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
891 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
892 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
893 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
894 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
896 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
898 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
901 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
904 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
905 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
906 (do_check_remalloced_chunk): Fix build bug.
907 (do_check_malloc_state): Add assert that checks arena->top.
908 (malloc_consolidate): Remove initialization.
909 (int_mallinfo): Remove call to malloc_consolidate.
910 (__libc_mallopt): Clarify why malloc_consolidate is needed.
912 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
914 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
915 (have_fastchunks): Remove.
916 (clear_fastchunks): Remove.
917 (set_fastchunks): Remove.
918 (malloc_state): Add have_fastchunks.
919 (malloc_init_state): Use have_fastchunks.
920 (do_check_malloc_state): Remove incorrect invariant checks.
921 (_int_malloc): Use have_fastchunks.
922 (_int_free): Likewise.
923 (malloc_consolidate): Likewise.
925 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
927 * malloc/malloc.c (tcache_put): Inline.
928 (tcache_get): Inline.
930 2017-10-17 Jordi Mallach <jordi@gnu.org>
932 Aurelien Jarno <aurelien@aurel32.net>
934 * localedata/locales/ca_ES@valencia: New file.
935 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
937 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
940 * math/math.h: Let signbit use the builtin in C++ mode with gcc
943 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
945 * scripts/build-many-glibcs.py (Context.add_all_configs):
946 Add arm-linux-gnueabihf multiarch extra_glibcs.
948 * sysdeps/generic/ifunc-init.h: New file.
949 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
951 2017-10-17 Mike FABIAN <mfabian@redhat.com>
954 * localedata/locales/el_GR: Set n_cs_precedes to 0.
955 * localedata/locales/el_CY: copy "el_GR" because it is identical.
956 * stdlib/tst-strfmon_l.c: adapt test case.
958 2017-10-16 Joseph Myers <joseph@codesourcery.com>
960 * sysdeps/generic/float128-abi.h: New file.
961 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
962 non-__prefixed symbols to ....
963 * math/Versions: ... here. Include <float128-abi.h>.
964 * stdlib/Versions ... and here. Include <float128-abi.h>
966 2017-10-16 Florian Weimer <fweimer@redhat.com>
968 * version.h (VERSION): Switch to ".9000" as the development
971 2017-10-16 Florian Weimer <fweimer@redhat.com>
974 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
975 compat_symbol_reference to access non-default version.
977 2017-10-16 Florian Weimer <fweimer@redhat.com>
979 * malloc/Makefile (others-extras): Set to mcheck-init.o.
981 2017-10-16 Carlos O'Donell <carlos@redhat.com>
983 * include/shlib-compat.h (compat_symbol_reference): Update
986 2017-10-16 Joseph Myers <joseph@codesourcery.com>
988 * math/Makefile (test-types): Add
989 $(type-float128-$(float128-alias-fcts)).
990 * math/test-float128.h (TYPE_STR): Define conditional on
991 [FLT128_MANT_DIG == LDBL_MANT_DIG].
993 (ULP_I_IDX): Likewise.
995 * stdlib/strtold.c: Include <bits/floatn.h>
996 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
997 and later undefine as macro. Define as weak alias if
999 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
1000 and later undefine as macro. Define as weak alias if
1002 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
1003 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
1004 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
1005 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
1006 Define and later undefine as macro. Define as weak alias if
1008 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
1010 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
1011 Define and later undefine as macro. Define as weak alias if
1013 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
1014 Define and later undefine as macro. Define as weak alias if
1017 2017-10-15 Carlos O'Donell <carlos@redhat.com>
1019 * localedata/collate-test.c (allocate_arrays): Don't use \n in
1020 record_verbose messages.
1022 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
1025 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
1026 to silence -O3 -Wall warning with GCC 7.
1028 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
1030 * Makeconfig (+link-static-before-libc): Use the first of
1031 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
1032 * gmon/Makefile (tests): Add tst-gmon-static.
1033 (tests-static): Likewise.
1034 (CFLAGS-tst-gmon-static.c): New.
1035 (CRT-tst-gmon-static): Likewise.
1036 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
1037 (tst-gmon-static-ENV): Likewise.
1038 (tests-special): Likewise.
1039 ($(objpfx)tst-gmon-static.out): Likewise.
1040 (clean-tst-gmon-static-data): Likewise.
1041 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
1042 * gmon/tst-gmon-static-gprof.sh: New file.
1043 * gmon/tst-gmon-static.c: Likewise.
1045 2017-10-13 Carlos O'Donell <carlos@redhat.com>
1048 * locale/programs/linereader.c (get_string): Don't warn on
1049 non-symbolic character.
1052 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
1056 * locale/programs/record-status.h: New file
1057 * locale/programs/locale.c: Add comment.
1058 * locale/programs/charmap-dir.c: Don't include error.h.
1059 (charmap_opendir): Use record_error.
1060 * locale/programs/charmap.c: Don't include error.h.
1061 (charmap_read): Use record_error, and record_warning.
1062 (parse_charmap): Likewise.
1063 * locale/programs/ld-address.c: Don't include error.h.
1064 (address_finish): Use record_error, and record_warning.
1065 * locale/programs/ld-collate.c: Don't include error.h.
1066 (collate_finish): Use record_error, and record_error_at_line.
1067 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
1068 (ctype_class_new): Likewise.
1069 (ctype_map_new): Likewise.
1070 (set_one_default): Likewise.
1071 (set_class_defaults): Likewise.
1072 (translit_flatten): Likewise.
1073 (allocate_arrays): Use record_error, and record_verbose.
1074 * locale/programs/ld-identification.c: Don't include error.h.
1075 (indentation_finish): Use record_error and record_warning.
1076 * locale/programs/ld-measurement.c: Don't include error.h.
1077 (measurement_finish): Use record_error.
1078 * locale/programs/ld-messages.c
1079 (message_finish): Likewise.
1080 * locale/programs/ld-monetary.c
1081 (monetary_finish): Likewise.
1082 * locale/programs/ld-name.c (name_finish): Use record_error
1084 * locale/programs/ld-numeric.c
1085 (numeric_finish): Use record_error.
1086 * locale/programs/ld-paper.c: Don't include error.h.
1087 (paper_finish): Use record_error.
1088 * locale/programs/ld-telephone.c: Don't include error.h.
1089 (telephone_finish): Use record_error.
1090 * locale/programs/ld-time.c (time_finish): Likewise.
1091 * locale/programs/linereader.h (lr_error): Make inline func.
1092 * locale/programs/localedef.c: Define recorded_warning_count,
1093 and recorded_error_count.
1094 (main): Use record_error. Use recorded_error_count and
1095 recorded_warning_count to issue correct error returns.
1096 (add_to_readlist): Use record_error.
1097 (find_locale): Likewise.
1098 (load_locale): Likewise.
1099 * locale/programs/localedef.h: Remove be_quiet
1100 and WITH_CUR_LOCALE.
1101 * locale/programs/locarchive.c (compare_from_file): Use
1103 * locale/programs/locfile.c (write_locale_data): Use
1105 * locale/programs/repertoire.c: Dont include error.h.
1106 (repertoire_complain): Use record_error.
1107 * localedata/tst-fmon.sh: Expect failures from localedef.
1108 * localedata/tst-locale.sh: Likewise.
1109 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
1111 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
1112 (REPORTS): Likewise.
1114 (i18n): Rename to...
1115 (i18n_ctype): ...this.
1116 (i18n-report): Rename to...
1117 (i18n_ctype-report): ...this.
1118 * localedata/locales/i18n_ctype: Regenerate.
1119 * localedata/locales/i18n: copy i18n_ctype.
1121 2017-10-13 Joseph Myers <joseph@codesourcery.com>
1123 * stdlib/strfroml.c: Include <bits/floatn.h>.
1124 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
1125 Define before include of <stdlib.h> and undefine afterwards, then
1126 define as weak alias.
1128 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
1129 Undefine and restore default definition. Use
1130 libm_alias_ldouble_other.
1132 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
1135 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
1138 2017-10-13 James Clarke <jrtc27@jrtc27.com>
1140 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
1141 Assign sym_map to be map for local symbols, as TLS relocations
1142 use sym_map to determine whether the symbol is defined and to
1143 extract the TLS information.
1144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1145 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1147 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1150 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
1151 (math_force_eval): Add powerpc version.
1154 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
1156 (do_test): Likewise.
1157 * stdio-common/tst-printf.sh: Likewise.
1158 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
1159 ifdef clause in order to set the carry bit right. Replace r0 by
1160 0 without changing the behavior.
1162 2017-10-13 Joseph Myers <joseph@codesourcery.com>
1164 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
1165 <libm-alias-ldouble.h>.
1166 (fabsl): Define using libm_alias_ldouble.
1167 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
1168 <libm-alias-ldouble.h>.
1169 (fabsl): Define using libm_alias_ldouble.
1171 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
1172 Remove conditional code.
1174 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
1175 Rename to __clog10_internal_l.
1176 (__clog10_internal_l): Define aliases using
1177 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
1180 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1182 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
1183 * benchtests/sincosf-inputs: New file.
1184 * benchtests/cosf-inputs: New file.
1185 * benchtests/sinf-inputs: New file.
1187 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1189 * posix/tst-spawn.c (do_test): Wait for both children.
1191 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
1194 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
1195 tests-pie): Add tst-gmon-pie.
1196 (CFLAGS-tst-gmon-pie.c): New.
1197 (CRT-tst-gmon-pie): Likewise.
1198 (tst-gmon-pie-ENV): Likewise.
1199 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
1200 ($(objpfx)tst-gmon-pie.out): Likewise.
1201 (clean-tst-gmon-pie-data): Likewise.
1202 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
1203 * gmon/gmon.c [PIC]: Include <link.h>.
1204 [PIC] (callback): New function.
1205 (write_hist): Add an argument for load address. Subtract load
1207 (write_call_graph): Likewise.
1208 (write_gmon): Call __dl_iterate_phdr to get load address, pass
1209 it to write_hist and write_call_graph.
1210 * gmon/tst-gmon-pie.c: New file.
1212 2017-10-11 Joseph Myers <joseph@codesourcery.com>
1214 * math/Makefile (test-types-basic): New variable.
1215 (test-types): Likewise.
1216 (libm-test-support): Use $(test-types) instead of $(types).
1217 (libm-tests-base-normal): Likewise.
1218 (libm-tests-base-finite): Likewise.
1219 (libm-tests-base-inline): Likewise.
1220 (generated): Likewise.
1221 ($(objpfx)libm-test-support-$(t).c): Likewise.
1222 (libm-tests-for-type iterator): Likewise.
1223 (libm-test-support iterator): Likewise.
1224 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
1225 (ulp_idx): Use ULP_IDX.
1226 * math/test-ldouble.h: Include <float.h>.
1227 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
1228 (ULP_IDX): New macro.
1229 (ULP_I_IDX): Likewise.
1230 * math/test-double.h (ULP_IDX): Likewise.
1231 (ULP_I_IDX): Likewise.
1232 * math/test-float.h (ULP_IDX): Likewise.
1233 (ULP_I_IDX): Likewise.
1234 * math/test-float128.h (ULP_IDX): Likewise.
1235 (ULP_I_IDX): Likewise.
1237 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1239 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
1240 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1241 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1242 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1244 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1248 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1249 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
1250 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1251 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1253 (SINGLE_THREAD_BY_GLOBAL): Define.
1254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1256 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1258 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1260 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1262 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
1263 (SINGLE_THREAD_BY_GLOBAL): Likewise.
1264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1267 2017-10-11 Andreas Schwab <schwab@suse.de>
1269 * nis/Makefile (aux): Remove.
1270 * nscd/Makefile (aux): Add nscd_hash.
1271 (nscd-modules): Likewise.
1272 ($(objpfx)nscd): Don't depend on libnsl.
1273 * nscd/nscd_hash.c: New file.
1274 * nscd/nscd_hash.h: Likewise.
1275 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
1276 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
1277 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
1278 instead of <nis/rpcsvc/nis.h>.
1279 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
1281 2017-10-11 Florian Weimer <fweimer@redhat.com>
1284 Avoid large NSS buffers with many addresses, aliases.
1285 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
1286 using dynarrays and struct alloc_buffer.
1287 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
1288 (tst-nss-files-hosts-multi): Link with -ldl.
1289 * nss/tst-nss-files-hosts-multi.c: New file.
1291 2017-10-11 Florian Weimer <fweimer@redhat.com>
1294 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
1295 scratch_buffer. Eliminate gotos.
1297 2017-10-11 Joseph Myers <joseph@codesourcery.com>
1299 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
1300 libm_alias_ldouble_other.
1301 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
1302 undefine and redefine.
1303 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
1304 (exp10l): Do not define here.
1305 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
1306 (weak_alias): Undefine and redefine.
1307 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
1308 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
1309 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
1310 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
1312 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
1313 [!__fma] (fma): Define using libm_alias_double.
1314 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
1315 [!__fmaf] (fmaf): Define using libm_alias_float.
1316 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
1317 (fmal): Define using libm_alias_ldouble.
1319 2017-10-10 Joseph Myers <joseph@codesourcery.com>
1321 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
1323 (libm_alias_double_other): Likewise.
1324 (libm_alias_double_r): Use libm_alias_double_other_r.
1325 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
1327 (libm_alias_float_other): Likewise.
1328 (libm_alias_float_r): Use libm_alias_float_other_r.
1329 * sysdeps/generic/libm-alias-float128.h
1330 (libm_alias_float128_other_r): New macro.
1331 (libm_alias_float128_other): Likewise.
1332 (libm_alias_float128_r): Use libm_alias_float128_other_r.
1333 * sysdeps/generic/libm-alias-ldouble.h
1334 (libm_alias_ldouble_other_r): New macro.
1335 (libm_alias_ldouble_other): Likewise.
1336 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1337 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
1338 (libm_alias_double_other_r): New macro.
1339 (libm_alias_double_other): Likewise.
1340 (libm_alias_double_r): Use libm_alias_double_other_r.
1341 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
1342 (libm_alias_ldouble_other_r): New macro.
1343 (libm_alias_ldouble_other): Likewise.
1344 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1345 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
1346 [!USE_AS_COMPAT]: Use libm_alias_double_other.
1347 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
1348 [!USE_AS_COMPAT]: Use libm_alias_float_other.
1349 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
1350 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
1351 * math/w_exp2f.c: Use libm_alias_float_other.
1352 * math/w_expf.c: Likewise.
1353 * math/w_log2f.c: Likewise.
1354 * math/w_logf.c: Likewise.
1355 * math/w_powf.c: Likewise.
1356 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
1357 [!__exp2f]: Use libm_alias_float_other.
1358 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
1359 [!__expf]: Use libm_alias_float_other.
1360 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
1361 [!__log2f]: Use libm_alias_float_other.
1362 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
1363 [!__logf]: Use libm_alias_float_other.
1364 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
1365 [!__powf]: Use libm_alias_float_other.
1367 2017-10-10 Florian Weimer <fweimer@redhat.com>
1369 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
1371 (_nss_files_gethostbyname3_r): Call it.
1373 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1375 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
1376 error. Remove default definition of declare_mgen_alias.
1377 [!declare_mgen_alias_r]: Likewise.
1378 * sysdeps/generic/math-type-macros-double.h
1379 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
1380 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
1381 (declare_mgen_alias_r): Likewise.
1382 * sysdeps/generic/math-type-macros-float128.h
1383 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1384 * sysdeps/generic/math-type-macros-ldouble.h
1385 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1386 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
1388 (declare_mgen_alias_r_s): Likewise.
1389 (declare_mgen_alias_r): Likewise.
1390 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
1391 (lgamma_r): Define using libm_alias_double_r.
1392 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
1393 (lgammaf_r): Define using libm_alias_float_r.
1394 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
1395 (lgammal_r): Define using libm_alias_ldouble_r.
1396 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
1397 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1399 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1401 * lib/glob.c (__glob_pattern_type): Remove now-spurious
1404 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1406 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
1408 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
1411 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
1412 [__cplusplus >= 201103] (__USE_ISOC99): Define.
1413 * math/Makefile (test-math-cxx11): New test.
1414 * math/test-math-cxx11.cc: New file.
1416 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
1418 * login/openpty.c (openpty): Close slave pty file descriptor on error.
1420 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
1421 call to allocate the slave pty file descriptor.
1423 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1425 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
1426 [!__fma] (fma): Define using libm_alias_double.
1427 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
1428 [!__fma] (fma): Define using libm_alias_double.
1430 * sysdeps/ieee754/float128/float128_private.h: Include
1431 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
1432 (libm_alias_ldouble_r): Undefine and redefine.
1433 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
1434 <libm-alias-ldouble.h>.
1435 (asinhl): Define using libm_alias_ldouble.
1436 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
1437 <libm-alias-ldouble.h>.
1438 (atanl): Define using libm_alias_ldouble.
1439 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
1440 <libm-alias-ldouble.h>.
1441 (cbrtl): Define using libm_alias_ldouble.
1442 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
1443 <libm-alias-ldouble.h>.
1444 (ceill): Define using libm_alias_ldouble.
1445 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
1446 <libm-alias-ldouble.h>.
1447 (copysignl): Define using libm_alias_ldouble.
1448 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
1449 <libm-alias-ldouble.h>.
1450 (cosl): Define using libm_alias_ldouble.
1451 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
1452 <libm-alias-ldouble.h>.
1453 (erfl): Define using libm_alias_ldouble.
1455 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
1456 <libm-alias-ldouble.h>.
1457 (expm1l): Define using libm_alias_ldouble.
1458 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
1459 <libm-alias-ldouble.h>.
1460 (fabsl): Define using libm_alias_ldouble.
1461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
1462 <libm-alias-ldouble.h>.
1463 (floorl): Define using libm_alias_ldouble.
1464 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
1465 <libm-alias-ldouble.h>.
1466 (fmal): Define using libm_alias_ldouble.
1467 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
1468 <libm-alias-ldouble.h>.
1469 (frexpl): Define using libm_alias_ldouble.
1470 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
1472 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
1473 <libm-alias-ldouble.h>.
1474 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
1476 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
1477 <libm-alias-ldouble.h>.
1478 (getpayloadl): Define using libm_alias_ldouble.
1479 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
1480 <libm-alias-ldouble.h>.
1481 (llrintl): Define using libm_alias_ldouble.
1482 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
1483 <libm-alias-ldouble.h>.
1484 (llroundl): Define using libm_alias_ldouble.
1485 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
1486 <libm-alias-ldouble.h>.
1487 (logbl): Define using libm_alias_ldouble.
1488 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
1489 <libm-alias-ldouble.h>.
1490 (lrintl): Define using libm_alias_ldouble.
1491 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
1492 <libm-alias-ldouble.h>.
1493 (lroundl): Define using libm_alias_ldouble.
1494 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
1495 <libm-alias-ldouble.h>.
1496 (modfl): Define using libm_alias_ldouble.
1497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
1498 <libm-alias-ldouble.h>.
1499 (nearbyintl): Define using libm_alias_ldouble.
1500 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
1501 <libm-alias-ldouble.h>.
1502 (nextafterl): Define using libm_alias_ldouble.
1503 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
1504 <libm-alias-ldouble.h>.
1505 (nextupl): Define using libm_alias_ldouble.
1506 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
1507 <libm-alias-ldouble.h>.
1508 (remquol): Define using libm_alias_ldouble.
1509 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
1510 <libm-alias-ldouble.h>.
1511 (rintl): Define using libm_alias_ldouble.
1512 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
1513 <libm-alias-ldouble.h>.
1514 (roundevenl): Define using libm_alias_ldouble.
1515 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
1516 <libm-alias-ldouble.h>.
1517 (roundl): Define using libm_alias_ldouble.
1518 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
1519 using libm_alias_ldouble.
1520 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
1521 <libm-alias-ldouble.h>.
1522 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
1523 Define using libm_alias_ldouble.
1524 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
1525 <libm-alias-ldouble.h>.
1526 (sincosl): Define using libm_alias_ldouble.
1527 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
1528 <libm-alias-ldouble.h>.
1529 (sinl): Define using libm_alias_ldouble.
1530 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
1531 <libm-alias-ldouble.h>.
1532 (tanhl): Define using libm_alias_ldouble.
1533 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
1534 <libm-alias-ldouble.h>.
1535 (tanl): Define using libm_alias_ldouble.
1536 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1537 <libm-alias-ldouble.h>.
1538 (totalorderl): Define using libm_alias_ldouble.
1539 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1540 <libm-alias-ldouble.h>.
1541 (totalordermagl): Define using libm_alias_ldouble.
1542 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
1543 <libm-alias-ldouble.h>.
1544 (truncl): Define using libm_alias_ldouble.
1545 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
1547 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
1549 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
1550 <libm-alias-ldouble.h>.
1551 (weak_alias): Do not undefine and redefine.
1552 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1553 (copysignl): Define with long_double_symbol only if [IS_IN
1555 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
1556 <libm-alias-ldouble.h>.
1557 (weak_alias): Do not undefine and redefine.
1558 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1559 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
1560 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
1561 <libm-alias-ldouble.h>.
1562 (weak_alias): Do not undefine and redefine.
1563 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1564 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
1565 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
1566 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
1569 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
1572 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
1575 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
1582 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
1590 2017-10-06 Carlos O'Donell <carlos@redhat.com>
1593 * malloc/malloc.c (tcache_shutting_down): Use bool type.
1594 (tcache_thread_freeres): Set tcache_shutting_down before
1596 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
1597 * malloc/tst-malloc-tcache-leak.c: New file.
1599 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1601 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
1602 back to powerpc32 file.
1603 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1604 (memrchr): Add __memrchr_power8 to ifunc list.
1605 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
1606 extra bytes for unaligned inputs.
1608 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1610 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
1611 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1616 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/arm/libm-test-ulps: Update.
1620 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
1621 <libm-alias-ldouble.h>.
1622 (asinhl): Define using libm_alias_ldouble.
1623 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
1624 <libm-alias-ldouble.h>.
1625 (cbrtl): Define using libm_alias_ldouble.
1626 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
1627 <libm-alias-ldouble.h>.
1628 (copysignl): Define using libm_alias_ldouble.
1629 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
1630 <libm-alias-ldouble.h>.
1631 (cosl): Define using libm_alias_ldouble.
1632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
1633 <libm-alias-ldouble.h>.
1634 (erfl): Define using libm_alias_ldouble.
1636 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
1637 <libm-alias-ldouble.h>.
1638 (fmal): Define using libm_alias_ldouble.
1639 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
1640 <libm-alias-ldouble.h>.
1641 (frexpl): Define using libm_alias_ldouble.
1642 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
1644 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
1645 <libm-alias-ldouble.h>.
1646 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
1648 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
1649 <libm-alias-ldouble.h>.
1650 (getpayloadl): Define using libm_alias_ldouble.
1651 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
1652 <libm-alias-ldouble.h>.
1653 (llrintl): Define using libm_alias_ldouble.
1654 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
1655 <libm-alias-ldouble.h>.
1656 (llroundl): Define using libm_alias_ldouble.
1657 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
1658 <libm-alias-ldouble.h>.
1659 (lrintl): Define using libm_alias_ldouble.
1660 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
1661 <libm-alias-ldouble.h>.
1662 (lroundl): Define using libm_alias_ldouble.
1663 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
1664 <libm-alias-ldouble.h>.
1665 (modfl): Define using libm_alias_ldouble.
1666 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
1667 <libm-alias-ldouble.h>.
1668 (nextupl): Define using libm_alias_ldouble.
1669 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
1670 <libm-alias-ldouble.h>.
1671 (remquol): Define using libm_alias_ldouble.
1672 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
1673 <libm-alias-ldouble.h>.
1674 (roundevenl): Define using libm_alias_ldouble.
1675 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
1676 <libm-alias-ldouble.h>.
1677 (roundl): Define using libm_alias_ldouble.
1678 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
1679 using libm_alias_ldouble.
1680 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
1681 <libm-alias-ldouble.h>.
1682 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
1683 <libm-alias-ldouble.h>.
1684 (setpayloadsigl): Define using libm_alias_ldouble.
1685 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
1686 <libm-alias-ldouble.h>.
1687 (sincosl): Define using libm_alias_ldouble.
1688 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
1689 <libm-alias-ldouble.h>.
1690 (sinl): Define using libm_alias_ldouble.
1691 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
1692 <libm-alias-ldouble.h>.
1693 (tanhl): Define using libm_alias_ldouble.
1694 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
1695 <libm-alias-ldouble.h>.
1696 (tanl): Define using libm_alias_ldouble.
1697 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1698 <libm-alias-ldouble.h>.
1699 (totalorderl): Define using libm_alias_ldouble.
1700 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1701 <libm-alias-ldouble.h>.
1702 (totalordermagl): Define using libm_alias_ldouble.
1703 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
1705 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
1708 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
1710 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1712 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1713 (__libc_ifunc_impl_list): Likewise.
1714 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1715 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
1717 * benchtests/bench-memmove-walk.c: New file.
1718 * benchtests/Makefile (string-benchset): Add it.
1720 * benchtests/bench-memset-walk.c: New file.
1721 * benchtests/Makefile (string-benchset): Add it.
1723 * benchtests/bench-memcpy-walk.c: New file.
1724 * benchtests/Makefile (string-benchset): Add it.
1726 2017-10-05 Florian Weimer <fweimer@redhat.com>
1728 nscd: Eliminate compilation time dependency in the build output.
1729 * nscd/nscd_stat.c (STATDATA_VERSION)
1730 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
1731 (STATDATA_VERSION_FULL): New macro definitions.
1732 (compilation): Remove.
1733 (struct statdata): Adjust version member.
1734 (send_stats): Set version from STATDATA_VERSION_FULL.
1735 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
1737 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1739 * configure.ac (--enable-add-ons): Remove option.
1740 (machine): Do not mention add-ons in comment.
1741 (LIBC_PRECONFIGURE): Likewise.
1742 (add_ons): Remove variable and sanity checks and logic to locate
1744 (add_ons_automatic): Remove variable.
1745 (configured_add_ons): Likewise.
1746 (add_ons_sfx): Likewise.
1747 (add_ons_pfx): Likewise.
1748 (add_on_subdirs): Likewise.
1749 (sysnames_add_ons): Likewise. Remove loop over add-ons and
1750 consideration of add-ons in Implies handling.
1751 (sysdeps_add_ons): Likewise.
1752 * configure: Regenerated.
1753 * libidn/configure.ac: Remove.
1754 * libidn/configure: Likewise.
1755 * sysdeps/unix/inet/configure.ac: New file.
1756 * sysdeps/unix/inet/configure: New generated file.
1757 * sysdeps/unix/inet/Subdirs: Add libidn.
1758 * Makeconfig (sysdeps-srcdirs): Remove variable.
1759 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
1760 ($(common-objpfx)config.status): Do not depend on add-on files.
1761 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
1763 (all-subdirs): Do not include $(add-on-subdirs).
1764 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
1765 * config.make.in (add-ons): Remove variable.
1766 (add-on-subdirs): Likewise.
1767 (sysdeps-add-ons): Likewise.
1768 * manual/Makefile (add-chapters): Remove.
1769 ($(objpfx)texis): Do not depend on $(add-chapters).
1770 (nonexamples): Do not handle $(add-chapters).
1771 (examples): Do not handle $(add-ons).
1772 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
1774 * manual/install.texi (Installation): Do not mention add-ons.
1775 (--enable-add-ons): Do not document configure option.
1776 * INSTALL: Regenerated.
1777 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
1778 * manual/maint.texi (Hierarchy Conventions): Do not mention
1780 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
1782 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1784 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1785 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1787 2017-10-05 Andreas Schwab <schwab@suse.de>
1790 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1791 (_IO_flush_all_lockp): Always lock list_all_lock.
1792 (_IO_flush_all_linebuffered): Likewise.
1793 (_IO_unbuffer_all): Likewise.
1795 2017-10-05 Florian Weimer <fweimer@redhat.com>
1798 Do not flush stdio streams on abort.
1799 * stdlib/abort.c (fflush): Remove macro definition.
1800 (abort): Remove stages related to stdio flushing.
1802 2017-10-05 Florian Weimer <fweimer@redhat.com>
1804 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1806 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1808 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1810 2017-10-05 Florian Weimer <fweimer@redhat.com>
1812 * support/support_format_hostent.c (support_format_hostent): Add
1813 more error information for NETDB_INTERNAL.
1815 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1817 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1818 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1819 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1820 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1821 AC_DEFINE if multi-arch is enabled.
1822 * sysdeps/i386/configure: Regenerated.
1824 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1826 * Makeconfig (+link-static-before-libc): Use
1827 $(DEFAULT-LDFLAGS-$(@F)).
1828 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1829 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1830 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1832 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1834 * elf/Makefile (tests): Add tst-main1.
1835 (modules-names): Add tst-main1mod.
1836 ($(objpfx)tst-main1): New.
1837 (CRT-tst-main1): Likewise.
1838 (LDFLAGS-tst-main1): Likewise.
1839 (LDLIBS-tst-main1): Likewise.
1840 (tst-main1mod.so-no-z-defs): Likewise.
1841 * elf/tst-main1.c: New file.
1842 * elf/tst-main1mod.c: Likewise.
1844 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1846 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1848 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1850 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1851 (fma): Define using libm_alias_double.
1852 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1853 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1855 (fmal): Do not define as compat symbol here.
1856 * sysdeps/alpha/fpu/s_fma.c: New file.
1858 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1860 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1862 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1865 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1867 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1869 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1870 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1871 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1872 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1874 Include <math_ldbl_opt.h>
1875 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1877 (compat_symbol): Undefine and redefine.
1878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1880 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1881 (compat_symbol): Undefine and redefine.
1882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1883 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1884 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1886 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1887 GLIBC_2.0 copysignl symbol.
1888 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1889 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1891 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1893 2017-10-04 Florian Weimer <fweimer@redhat.com>
1895 * scripts/check-local-headers.sh: Ignore nspr4 header file
1896 directory in addition to nspr.
1898 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1901 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1902 * configure: Regenerate.
1903 * crypt/Makefile (nss-cpp-flags): New variable.
1904 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1905 (CPPFLAGS-md5-crypt.c): Use it.
1906 * scripts/check-local-headers.sh: Ignore nspr header file
1909 2017-10-04 Andreas Schwab <schwab@suse.de>
1911 * nis/Makefile (services): Remove compat.
1912 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1913 ($(objpfx)libnss_compat.so): Remove rule.
1914 * nis/Versions (libnss_compat): Remove.
1915 * nss/Makefile (services): Add compat.
1916 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1917 * nss/Versions (libnss_compat): Define.
1918 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1919 Don't include <rpc/types.h>. Replace bool_t by bool.
1920 * nss/nss_compat/compat-initgroups.c: Likewise.
1921 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1922 instead of <rpcsrv/ypclnt.h>.
1923 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1924 yp_get_default_domain.
1925 * nss/nss_compat/compat-pwd.c: Likewise.
1926 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1927 yp_get_default_domain.
1928 * nss/nss_compat/nisdomain.c: New file.
1929 * nss/nss_compat/nisdomain.h: Likewise.
1931 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1934 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1935 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1937 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1940 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1943 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1945 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1946 "movl main@GOTOFF(%ebx), %eax".
1948 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1950 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1951 allow undefined _DYNAMIC in PIE libc.a.
1952 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1955 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1957 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1960 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1962 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1965 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1967 * math/test-math-iscanonical.cc (error): Replace bool with int.
1969 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1971 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1972 (modf): Define using libm_alias_double, only if [!__modf].
1973 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1974 <libm-alias-double.h>.
1975 (modf): Define using libm_alias_double, only if [!__modf].
1976 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1979 (weak_alias): Do not undefine and redefine.
1980 (strong_alias): Likewise.
1981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1982 (weak_alias): Likewise.
1983 (strong_alias): Likewise.
1985 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1986 (logb): Define using libm_alias_double, only if [!__logb].
1987 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1988 <libm-alias-double.h>.
1989 (logb): Define using libm_alias_double, only if [!__logb].
1990 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1992 (weak_alias): Do not undefine and redefine.
1993 (strong_alias): Likewise.
1994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1995 (weak_alias): Likewise.
1996 (strong_alias): Likewise.
1998 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2000 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
2001 Check SHARED instead PIC.
2003 2017-10-03 Joseph Myers <joseph@codesourcery.com>
2005 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
2006 [!__fmaf] (fmaf): Define using libm_alias_float.
2008 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
2009 (frexp): Define using libm_alias_double.
2010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
2011 <libm-alias-double.h>.
2012 (frexp): Define using libm_alias_double.
2013 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
2016 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2019 * math/math.h: Trivial fix for unbalanced parentheses in comment.
2020 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
2021 (CFLAGS-test-math-iscanonical.cc): New variable.
2022 * math/test-math-iscanonical.cc: New file.
2023 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
2024 Provide a C++ implementation based on function overloading,
2025 rather than using __MATH_TG, which uses C-only builtins.
2026 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
2028 * sysdeps/powerpc/powerpc64le/Makefile
2029 (CFLAGS-test-math-iscanonical.cc): New variable.
2031 2017-10-03 Joseph Myers <joseph@codesourcery.com>
2033 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
2034 (ceil): Define using libm_alias_double.
2035 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
2036 (floor): Define using libm_alias_double.
2037 * sysdeps/ieee754/dbl-64/s_llround.c: Include
2038 <libm-alias-double.h>.
2039 (llround): Define using libm_alias_double.
2040 * sysdeps/ieee754/dbl-64/s_lround.c: Include
2041 <libm-alias-double.h>.
2042 (lround): Define using libm_alias_double.
2043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
2044 <libm-alias-double.h>.
2045 (nearbyint): Define using libm_alias_double.
2046 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
2047 <libm-alias-double.h>.
2048 (remquo): Define using libm_alias_double.
2049 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
2050 (rint): Define using libm_alias_double.
2051 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
2052 (round): Define using libm_alias_double.
2053 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
2054 (trunc): Define using libm_alias_double.
2055 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
2056 <libm-alias-double.h>.
2057 (ceil): Define using libm_alias_double.
2058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
2059 <libm-alias-double.h>.
2060 (floor): Define using libm_alias_double.
2061 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
2062 <libm-alias-double.h>.
2063 (llround): Define using libm_alias_double.
2064 [_LP64] (lround): Likewise.
2065 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
2066 <libm-alias-double.h>.
2067 [!_LP64] (lround): Define using libm_alias_double.
2068 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
2069 <libm-alias-double.h>.
2070 (nearbyint): Define using libm_alias_double.
2071 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
2072 <libm-alias-double.h>.
2073 (remquo): Define using libm_alias_double.
2074 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
2075 <libm-alias-double.h>.
2076 (rint): Define using libm_alias_double.
2077 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
2078 <libm-alias-double.h>.
2079 (round): Define using libm_alias_double.
2080 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
2081 <libm-alias-double.h>.
2082 (trunc): Define using libm_alias_double.
2083 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
2084 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
2085 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
2086 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
2087 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
2088 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
2089 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
2090 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
2091 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
2093 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2095 * math/w_remainder.c: New file.
2096 * math/w_remainderf.c: New file.
2097 * math/w_remainderl.c: New file.
2099 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2101 * elf/rtld.c (BOOTSTRAP_MAP): New.
2102 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
2103 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
2105 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
2107 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
2110 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2112 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
2113 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
2114 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
2115 rtld_hidden_data_ver): Define to empty.
2116 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
2117 __assert_perror_fail): Likewise.
2118 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2119 (__rewinddir): Likewise.
2120 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2121 (__profile_frequency): Likewise.
2122 * include/setjmp.h (__sigsetjmp): Likewise.
2123 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
2124 __libc_sigaction): Likewise.
2125 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
2126 not set hidden attribute.
2127 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
2128 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
2129 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
2130 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
2131 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
2132 __fxstatat64): Likewise.
2133 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2134 (__uname): Likewise.
2135 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2136 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
2137 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
2138 (NO_RTLD_HIDDEN): Set.
2139 * sysdeps/mach/hurd/configure: Refresh.
2140 * config.h.in: Refresh.
2142 2017-10-02 Joseph Myers <joseph@codesourcery.com>
2144 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
2145 (atan): Define using libm_alias_double.
2146 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
2147 (tan): Define using libm_alias_double.
2148 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
2149 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
2152 define as weak alias of __atan. Do not define any aliases if
2154 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
2155 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
2156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
2157 as weak alias of __tan. Do not define any aliases if [__tan].
2158 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
2159 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
2160 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
2162 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
2163 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
2164 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
2165 and define as weak alias of __atan.
2166 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
2168 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
2169 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
2170 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
2171 define as weak alias of __tan.
2173 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2175 * math/w_lgamma.c: New file.
2176 * math/w_lgammaf.c: New file.
2177 * math/w_lgammal.c: New file.
2179 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2181 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
2182 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
2183 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
2184 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
2185 * sysdeps/ieee754/flt-32/w_logf.c: New file.
2186 * sysdeps/ieee754/flt-32/w_powf.c: New file.
2187 * sysdeps/i386/fpu/w_log2f.c: New file.
2188 * sysdeps/i386/fpu/w_logf.c: New file.
2189 * sysdeps/i386/fpu/w_powf.c: New file.
2190 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
2191 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
2192 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
2194 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2195 H.J. Lu <hongjiu.lu@intel.com>
2197 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
2198 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
2199 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
2200 * sysdeps/ieee754/flt-32/w_expf.c: New file.
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
2203 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
2204 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
2205 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
2206 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
2207 * sysdeps/i386/fpu/w_exp2f.c: New file.
2208 * sysdeps/i386/fpu/w_expf.c: New file.
2209 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
2210 * sysdeps/x86_64/fpu/w_expf.c: New file.
2212 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2214 * math/Versions (logf): New libm symbol at GLIBC_2.27.
2217 * math/w_log2f.c: New file.
2218 * math/w_logf.c: New file.
2219 * math/w_powf.c: New file.
2220 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
2221 * math/w_logf_compat.c (__logf_compat): Likewise.
2222 * math/w_powf_compat.c (__powf_compat): Likewise.
2223 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
2224 * sysdeps/ia64/fpu/e_logf.S: Likewise.
2225 * sysdeps/ia64/fpu/e_powf.S: Likewise.
2226 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2227 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2228 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2229 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2230 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2231 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2232 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2233 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2234 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2235 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2236 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2237 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2246 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2247 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2248 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2249 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2250 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2255 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2256 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2257 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2259 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2261 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2262 (sysdep_routines): Add memrchr_power8.
2263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2264 (memrchr): Add __memrchr_power8 to list of memrchr functions.
2265 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
2267 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
2268 (memrchr): Add __memrchr_power8 to ifunc list.
2269 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
2271 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2274 * sysdeps/unix/sysv/linux/posix_fadvise64.c
2275 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
2277 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2278 (__posix_fallocate64_l64): Likewise.
2280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2283 * sysdeps/unix/sysv/linux/sched_setaffinity.c
2284 (__sched_setaffinity_new): Add libc_hidden_proto and
2287 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2290 * include/glob.h (__glob64): Add libc_hidden_proto.
2291 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
2294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2297 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
2300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2303 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
2305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2308 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
2311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2314 * csu/version.c (__libc_print_version): Add attribute_hidden.
2316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2319 * include/libc-internal.h (__init_misc): Add attribute_hidden.
2321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2324 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
2326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2329 * nscd/nscd_helper.c (__nis_hash): New prototype.
2331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2334 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
2335 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
2337 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2338 * termios/tcgetattr.c (__tcgetattr): Likewise.
2340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2343 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
2344 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
2345 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
2346 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
2347 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
2349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2352 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
2354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2357 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
2358 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
2360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2363 * intl/hash-string.h (__hash_string): Add attribute_hidden.
2365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2368 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
2369 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
2371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2374 * include/ifreq.h: New file.
2375 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
2376 (__ifreq): Likewise.
2377 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
2378 (__ifreq): Likewise.
2380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2383 * include/idna.h: New file.
2384 * inet/getnameinfo.c: Include <idna.h> instead of
2386 (__idna_to_unicode_lzlz): Removed.
2387 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
2389 (__idna_to_ascii_lz): Removed.
2390 (__idna_to_unicode_lzlz): Likewise.
2392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2395 * include/plural-exp.h: New file.
2396 * intl/plural-exp.c: Include <plural-exp.h> instead of
2399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2402 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
2403 "getsourcefilter.h".
2404 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
2405 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
2406 "getsourcefilter.h".
2407 (__get_sol): Removed.
2409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2412 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
2414 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
2416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2419 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
2422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2425 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
2427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2430 * include/search.h (__tdestroy): Add libc_hidden_proto.
2431 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
2433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2436 * include/assert.h (__assert_fail_base): Add attribute_hidden.
2438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2441 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
2444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2447 * include/signal.h (__kill): Add libc_hidden_proto.
2448 (__sigblock): Likewise.
2449 (__sigprocmask): Likewise.
2450 (__sigaltstack): Likewise.
2451 * signal/kill.c (__kill): Add libc_hidden_def.
2452 * signal/sigblock.c (__sigblock): Likewise.
2453 * signal/sigprocmask.c (__sigprocmask): Likewise.
2454 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2455 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2456 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2457 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2458 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
2460 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2462 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2463 (__sigprocmask): Likewise.
2464 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
2466 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2467 (__sigprocmask): Likewise.
2468 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2474 * include/string.h (__strsep): Add libc_hidden_proto.
2475 * string/strsep.c (__strsep): Add libc_hidden_def.
2477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2480 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
2482 (__spawni): Likewise.
2484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2487 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
2488 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
2491 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2494 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
2496 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2499 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
2500 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
2501 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2502 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
2503 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
2505 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
2506 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
2508 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2511 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
2512 (__dcigettext): Likewise.
2514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2517 * include/sys/sysinfo.h (__get_nprocs_conf): Add
2519 (__get_nprocs): Likewise.
2520 (__get_phys_pages): Likewise.
2521 (__get_avphys_pages): Likewise.
2522 (__get_child_max): Add attribute_hidden.
2523 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
2524 (__get_nprocs): Likewise.
2525 (__get_phys_pages): Likewise.
2526 (__get_avphys_pages): Likewise.
2527 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
2529 (__get_nprocs): Likewise.
2530 (__get_phys_pages): Likewise.
2531 (__get_avphys_pages): Likewise.
2532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
2534 (__get_nprocs_conf): Likewise.
2535 (__get_phys_pages): Likewise.
2536 (__get_avphys_pages): Likewise.
2538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2541 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
2543 (__netlink_close): Likewise.
2544 (__netlink_free_handle): Likewise.
2545 (__netlink_request): Likewise.
2547 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2550 * include/rpc/rpc.h (__rpc_thread_variables): Add
2552 (__rpc_thread_svc_cleanup): Likewise.
2553 (__rpc_thread_clnt_cleanup): Likewise.
2554 (__rpc_thread_key_cleanup): Likewise.
2556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2559 * include/sys/uio.h (__readv): Add libc_hidden_proto.
2560 (__writev): Likewise.
2561 * misc/readv.c (__readv): Add libc_hidden_def.
2562 * misc/writev.c (__writev): Likewise.
2563 * sysdeps/posix/readv.c (__readv): Likewise.
2564 * sysdeps/posix/writev.c (__writev): Likewise.
2565 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
2566 (__readv): Likewise.
2567 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
2568 (__writev): Likewise.
2570 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2573 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
2574 (__regcomp): Add libc_hidden_proto.
2575 (__regexec): Likewise.
2576 (__regfree): Likewise.
2577 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
2578 (__regfree): Likewise.
2579 * posix/regexec.c (__regexec): Likewise.
2581 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2584 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
2585 (__getutent): Likewise.
2586 (__getutid): Likewise.
2587 (__getutline): Likewise.
2588 (__pututline): Likewise.
2589 (__getutent_r): Likewise.
2590 (__getutid_r): Likewise.
2591 (__getutline_r): Likewise.
2592 (__utmpname): Add attribute_hidden.
2593 (__setutent): Likewise.
2594 (__endutent): Likewise.
2595 * login/getutent.c (__getutent): Add libc_hidden_def.
2596 * login/getutent_r.c (__getutent_r): Likewise.
2597 (__pututline): Likewise.
2598 * login/getutid.c (__getutid): Likewise.
2599 * login/getutid_r.c (__getutid_r): Likewise.
2600 * login/getutline.c (__getutline): Likewise.
2601 * login/getutline_r.c (__getutline_r): Likewise.
2602 * login/updwtmp.c (__updwtmp): Likewise.
2604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2607 * include/dirent.h (__opendir): Always add attribute_hidden.
2608 (__fdopendir): Likewise.
2609 (__closedir): Likewise.
2610 (__readdir): Likewise.
2611 (__readdir64): Add libc_hidden_proto.
2612 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
2613 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
2614 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
2615 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
2618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2621 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
2622 * include/netdb.h (__gethostbyaddr_r): Likewise.
2623 (__gethostbyname_r): Likewise.
2624 (__gethostbyname2_r): Likewise.
2625 (__getnetbyaddr_r): Likewise.
2626 (__getnetbyname_r): Likewise.
2627 (__getservbyname_r): Likewise.
2628 (__getservbyport_r): Likewise.
2629 (__getprotobyname_r): Likewise.
2630 (__getprotobynumber_r): Likewise.
2631 (__getnetgrent_r): Likewise.
2632 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
2633 (__getrpcbynumber_r): Likewise.
2634 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
2636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2639 * include/stdio.h (__fcloseall): Add attribute_hidden.
2640 (__getline): Likewise.
2641 (__path_search): Likewise.
2642 (__gen_tempname): Likewise.
2643 (__libc_message): Likewise.
2644 (__flockfile): Likewise.
2645 (__funlockfile): Likewise.
2646 (__fxprintf): Likewise.
2647 (__fxprintf_nocancel): Likewise.
2649 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2652 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
2653 (__sgetsgent_r): Likewise.
2655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2658 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
2659 (__statfs64): Likewise.
2660 (__fstatfs64): Likewise.
2661 * include/sys/statvfs.h (__statvfs64): Likewise.
2662 (__fstatvfs64): Likewise.
2663 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
2664 (__statfs_filesize_max): Likewise.
2665 (__statfs_symlinks): Likewise.
2666 (__statfs_chown_restricted): Likewise.
2668 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2671 * include/time.h (__tzstring): Add attribute_hidden.
2672 (__tzfile_read): Likewise.
2673 (__tzfile_compute): Likewise.
2674 (__tzfile_default): Likewise.
2675 (__tzset_parse_tz): Likewise.
2676 (__offtime): Likewise.
2677 (__asctime_r): Likewise.
2678 (__tzset): Likewise.
2679 (__tz_convert): Likewise.
2680 (__getdate_r): Likewise.
2681 (__getclktck): Likewise.
2683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2686 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
2687 (__nscd_unmap): Likewise.
2688 (__nscd_cache_search): Likewise.
2689 (__nscd_get_nl_timestamp): Likewise.
2690 (__nscd_getpwnam_r): Likewise.
2691 (__nscd_getpwuid_r): Likewise.
2692 (__nscd_getgrnam_r): Likewise.
2693 (__nscd_getgrgid_r): Likewise.
2694 (__nscd_gethostbyname_r): Likewise.
2695 (__nscd_gethostbyname2_r): Likewise.
2696 (__nscd_gethostbyaddr_r): Likewise.
2697 (__nscd_getai): Likewise.
2698 (__nscd_getgrouplist): Likewise.
2699 (__nscd_getservbyname_r): Likewise.
2700 (__nscd_getservbyport_r): Likewise.
2701 (__nscd_innetgr): Likewise.
2702 (__nscd_setnetgrent): Likewise.
2704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2707 * include/gmp.h: Declare internal functions only if _ISOMAC is
2709 (__mpn_extract_double): Add attribute_hidden.
2710 (__mpn_extract_long_double): Likewise.
2711 (__mpn_extract_float128): Likewise.
2712 (__mpn_construct_float): Likewise.
2713 (__mpn_construct_double): Likewise.
2714 (__mpn_construct_long_double): Likewise.
2715 (__mpn_construct_float128): Likewise.
2716 (mpn_add_1): Likewise.
2717 (mpn_addmul_1): Likewise.
2718 (mpn_add_n): Likewise.
2719 (mpn_cmp): Likewise.
2720 (mpn_divrem): Likewise.
2721 (mpn_lshift): Likewise.
2722 (mpn_mul): Likewise.
2723 (mpn_mul_1): Likewise.
2724 (mpn_rshift): Likewise.
2725 (mpn_sub_1): Likewise.
2726 (mpn_submul_1): Likewise.
2727 (mpn_sub_n): Likewise.
2729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2732 * include/wchar.h (__wcsnlen): Add attribute_hidden.
2733 (__wcscat): Likewise.
2734 (__btowc): Likewise.
2735 (__wcrtomb): Likewise.
2736 (__mbsrtowcs): Likewise.
2737 (__wcsrtombs): Likewise.
2738 (__mbsnrtowcs): Likewise.
2739 (__wcsnrtombs): Likewise.
2740 (__wcsncpy): Likewise.
2741 (__wcpncpy): Likewise.
2742 (__wmemcpy): Likewise.
2743 (__wmempcpy): Likewise.
2744 (__wmemmove): Likewise.
2745 (__wcschrnul): Likewise.
2746 (__vfwscanf): Likewise.
2747 (__vswprintf): Likewise.
2748 (__fwprintf): Likewise.
2749 (__vfwprintf): Likewise.
2751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2754 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
2755 (__getgrgid_r): Likewise.
2756 (__getgrnam_r): Likewise.
2757 * include/pwd.h (__getpwuid_r): Likewise.
2758 (__getpwnam_r): Likewise.
2759 (__fgetpwent_r): Likewise.
2760 * include/shadow.h (__getspnam_r): Likewise.
2761 (__sgetspent_r): Likewise.
2762 (__fgetspent_r): Likewise.
2764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2767 * include/unistd.h (__access): Add attribute_hidden.
2768 (__lseek64): Likewise.
2769 (__libc_pread64): Likewise.
2770 (__pipe2): Likewise.
2771 (__sleep): Likewise.
2772 (__chdir): Likewise.
2773 (__fchdir): Likewise.
2774 (__getcwd): Likewise.
2775 (__rmdir): Likewise.
2776 (__execvpe): Likewise.
2777 (__execve): Likewise.
2778 (__setsid): Likewise.
2779 (__getuid): Likewise.
2780 (__geteuid): Likewise.
2781 (__getgid): Likewise.
2782 (__getegid): Likewise.
2783 (__getgroups): Likewise.
2784 (__group_member): Likewise.
2785 (__ttyname_r): Likewise.
2786 (__isatty): Likewise.
2787 (__readlink): Likewise.
2788 (__unlink): Likewise.
2789 (__gethostname): Likewise.
2790 (__profil): Likewise.
2791 (__getdtablesize): Likewise.
2793 (__ftruncate): Likewise.
2794 (__ftruncate64): Likewise.
2796 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2799 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2800 * argp/argp-fs-xinl.c: Likewise.
2801 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2802 * argp/argp-parse.c: Include <argp.h>.
2803 * argp/argp-xinl.c: Likewise.
2804 * include/argp-fmtstream.h: New file.
2805 * include/argp.h (__argp_error): Add attribute_hidden.
2806 (__argp_failure): Likewise.
2807 (__argp_input): Likewise.
2808 (__argp_state_help): Likewise.
2810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2813 * include/wchar.h (____wcstof_l_internal): New prototype.
2814 (____wcstod_l_internal): Likewise.
2815 (____wcstold_l_internal): Likewise.
2816 (____wcstol_l_internal): Likewise.
2817 (____wcstoul_l_internal): Likewise.
2818 (____wcstoll_l_internal): Likewise.
2819 (____wcstoull_l_internal): Likewise.
2820 (____wcstof128_l_internal): Likewise.
2821 * sysdeps/ieee754/float128/wcstof128.c
2822 (____wcstof128_l_internal): Removed.
2823 * sysdeps/ieee754/float128/wcstof128_l.c
2824 (____wcstof128_l_internal): Likewise.
2825 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2826 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2827 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2828 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2829 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2830 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2831 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2832 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2833 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2834 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2839 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2840 instead of <sys/statvfs.h>.
2841 (__internal_statvfs): Removed.
2842 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2843 instead of <sys/statvfs.h>.
2844 (__internal_statvfs64): Removed.
2845 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2846 "internal_statvfs.h" instead of <sys/statvfs.h>.
2847 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2848 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2849 instead of <sys/statvfs.h>.
2850 (__internal_statvfs): Removed.
2851 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2852 instead of <sys/statvfs.h>.
2853 (__internal_statvfs64): Removed.
2855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2858 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2859 (__gconv_close): Likewise.
2860 (__gconv): Likewise.
2861 (__gconv_find_transform): Likewise.
2862 (__gconv_lookup_cache): Likewise.
2863 (__gconv_compare_alias_cache): Likewise.
2864 (__gconv_load_cache): Likewise.
2865 (__gconv_get_path): Likewise.
2866 (__gconv_close_transform): Likewise.
2867 (__gconv_release_cache): Likewise.
2868 (__gconv_find_shlib): Likewise.
2869 (__gconv_release_shlib): Likewise.
2870 (__gconv_get_builtin_trans): Likewise.
2871 (__gconv_compare_alias): Likewise.
2872 * include/dlfcn.h (_dlerror_run): Likewise.
2873 * include/stdio.h (__fortify_fail_abort): Likewise.
2874 * include/time.h (__tz_compute): Likewise.
2875 (__strptime_internal): Likewise.
2876 * intl/gettextP.h (_nl_find_domain): Likewise.
2877 (_nl_load_domain): Likewise.
2878 (_nl_find_msg): Likewise.
2879 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2880 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2881 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2882 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2883 (__gai_find_request): Likewise.
2884 (__gai_remove_request): Likewise.
2885 (__gai_notify): Likewise.
2886 (__gai_notify_only): Likewise.
2887 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2888 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2889 (_dl_non_dynamic_init): Likewise.
2890 (_dl_aux_init): Likewise.
2891 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2892 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2894 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2895 (__wcsmbs_clone_conv): Likewise.
2896 (__wcsmbs_named_conv): Likewise.
2898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2901 * include/stdlib.h (__random): Add attribute_hidden.
2902 (__random_r): Likewise.
2903 (__srandom_r): Likewise.
2904 (__initstate_r): Likewise.
2905 (__setstate_r): Likewise.
2906 (__erand48_r): Likewise.
2907 (__nrand48_r): Likewise.
2908 (__jrand48_r): Likewise.
2909 (__srand48_r): Likewise.
2910 (__seed48_r): Likewise.
2911 (__lcong48_r): Likewise.
2912 (__drand48_iterate): Likewise.
2913 (__setenv): Likewise.
2914 (__unsetenv): Likewise.
2915 (__clearenv): Likewise.
2916 (__ptsname_r): Likewise.
2917 (__posix_openpt): Likewise.
2918 (__add_to_environ): Likewise.
2919 (__realpath): Add libc_hidden_proto.
2920 (__ecvt_r): Likewise.
2921 (__fcvt_r): Likewise.
2922 (__qecvt_r): Likewise.
2923 (__qfcvt_r): Likewise.
2924 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2925 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2927 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2930 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2931 * include/time.h (__mktime_internal): Likewise.
2932 * libio/iolibio.h (__fopen_internal): Likewise.
2934 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2936 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2938 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2939 Correct offset used to restore PIC register.
2941 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2944 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2945 code to load address of __getcontext_ret when generating PIC code.
2947 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2949 * elf/Makefile (tests-static-internal): Add
2950 tst-tls1-static-non-pie.
2951 (LDFLAGS-tst-tls1-static-non-pie): New.
2952 * elf/tst-tls1-static-non-pie.c: New file.
2954 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2956 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2957 (asinh): Define using libm_alias_double.
2958 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2959 (cbrt): Define using libm_alias_double.
2960 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2961 <libm-alias-double.h>.
2962 (copysign): Define using libm_alias_double.
2963 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2964 (erf): Define using libm_alias_double.
2966 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2967 (expm1): Define using libm_alias_double.
2968 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2969 (fabs): Define using libm_alias_double.
2970 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2972 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2973 <libm-alias-double.h>.
2974 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2976 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2977 <libm-alias-double.h>.
2978 (getpayload): Define using libm_alias_double.
2979 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2980 <libm-alias-double.h>.
2981 (llrint): Define using libm_alias_double.
2982 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2983 (lrint): Define using libm_alias_double.
2984 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2985 <libm-alias-double.h>.
2986 (nextup): Define using libm_alias_double.
2987 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2988 <libm-alias-double.h>.
2989 (roundeven): Define using libm_alias_double.
2990 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2992 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2993 <libm-alias-double.h>.
2994 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2995 using libm_alias_double.
2996 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2997 (cos): Define using libm_alias_double.
2999 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
3000 <libm-alias-double.h>.
3001 (sincos): Define using libm_alias_double.
3002 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
3003 (tanh): Define using libm_alias_double.
3004 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
3005 <libm-alias-double.h>.
3006 (totalorder): Define using libm_alias_double.
3007 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
3008 <libm-alias-double.h>.
3009 (totalordermag): Define using libm_alias_double.
3010 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
3012 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
3014 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
3015 <libm-alias-double.h>.
3016 (getpayload): Define using libm_alias_double.
3017 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
3018 <libm-alias-double.h>.
3019 (roundeven): Define using libm_alias_double.
3020 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
3021 <libm-alias-double.h>.
3022 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
3023 <libm-alias-double.h>.
3024 (totalorder): Define using libm_alias_double.
3025 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
3026 <libm-alias-double.h>.
3027 (totalordermag): Define using libm_alias_double.
3028 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
3029 libc compat symbol here.
3030 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
3031 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
3032 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
3033 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
3034 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
3035 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
3036 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
3037 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
3038 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
3039 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
3041 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
3043 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
3044 _dl_relocate_static_pie instead of _dl_start to compute load
3045 address in static PIE. Return 0 if _DYNAMIC is undefined for
3048 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
3050 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
3051 _DYNAMIC is undefined for static executable.
3053 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
3055 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
3057 2017-09-29 Joseph Myers <joseph@codesourcery.com>
3059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3061 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
3063 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3064 (__ieee754_lgamma_r): Use fabs rather than __fabs.
3065 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3066 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3067 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3068 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
3069 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3070 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3071 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
3072 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
3073 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3074 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3075 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
3076 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
3077 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3078 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3079 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
3081 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
3083 * math/bits/cmathcalls.h (cimag): Remove inline.
3084 (creal): Remove inline.
3085 (conj): Remove inline.
3087 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
3089 * math/Makefile (type-float-routines): Add e_powf_log2_data.
3090 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
3091 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
3092 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
3093 (issignalingf_inline): Likewise.
3094 (POWF_LOG2_TABLE_BITS): Likewise.
3095 (POWF_LOG2_POLY_ORDER): Likewise.
3096 (POWF_SCALE_BITS): Likewise.
3097 (POWF_SCALE): Likewise.
3098 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
3099 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
3100 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
3102 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
3104 * math/Makefile (type-float-routines): Add e_log2f_data.
3105 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
3106 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
3107 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
3108 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
3109 * sysdeps/i386/fpu/e_log2f_data.c: New file.
3110 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
3111 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
3113 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
3115 * math/Makefile (type-float-routines): Add e_logf_data.
3116 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
3117 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
3118 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
3119 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
3120 * sysdeps/i386/fpu/e_logf_data.c: New file.
3121 * sysdeps/ia64/fpu/e_logf_data.c: New file.
3122 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
3124 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
3126 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
3127 undefined _DYNAMIC in PIE libc.a.
3128 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
3131 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
3133 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
3134 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
3135 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
3136 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
3137 (__signbit): Remove.
3138 (__signbitl): Remove.
3139 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
3140 (__signbit): Remove.
3141 (__signbitl): Remove.
3142 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
3143 (__signbit): Remove.
3144 (__signbitl): Remove.
3145 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
3146 (__signbit): Remove.
3147 (__signbitl): Remove.
3148 * sysdeps/tile/bits/mathinline.h: Delete file.
3149 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
3150 (__signbit): Remove.
3151 (__signbitl): Remove.
3153 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
3155 * math/math.h: Improve handling of C99 isgreater macros.
3156 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
3157 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
3158 * sysdeps/powerpc/bits/mathinline.h: Likewise.
3159 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3160 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3162 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
3164 * sysdeps/aarch64/libm-test-ulps: Update.
3166 2017-09-28 Joseph Myers <joseph@codesourcery.com>
3169 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3170 math_opt_barrier on argument when doing arithmetic on it.
3171 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3172 Likewise. Use math_force_eval not math_opt_barrier after
3174 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
3175 math_opt_barrier on argument when doing arithmetic on it.
3176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3179 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
3181 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
3183 (__freeifaddrs): Likewise.
3185 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3187 * include/dirent.h (__dirfd): New declaration.
3188 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
3190 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
3191 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
3192 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
3193 * include/unistd.h (__revoke): New declaration.
3194 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
3196 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3197 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
3199 * include/dirent.h (__seekdir): New declaration.
3200 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
3201 redefine as weak alias.
3202 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
3204 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
3205 and use libc_hidden_def on them.
3206 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
3208 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
3209 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
3210 instead of getifaddrs and freeifaddrs.
3212 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
3215 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
3216 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
3217 (__dso_handle): Remove declaration.
3218 * dlfcn/tstatexit.c (__dso_handle): Removed.
3219 (main): Don't check __dso_handle.
3220 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
3221 (main): Don't check __dso_handle.
3222 * include/dso_handle.h: New file.
3223 * malloc/mtrace.c: Include <dso_handle.h>.
3224 (mtrace): Pass __dso_handle directly.
3225 * nptl/pthread_atfork.c: Include <dso_handle.h>.
3226 (__dso_handle): Remove declaration.
3227 (__pthread_atfork): Pass __dso_handle directly.
3228 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
3229 (__dso_handle): Removed.
3230 * posix/wordexp-test.c: Include <dso_handle.h>.
3231 (__dso_handle): Remove declaration.
3232 (__app_register_atfork): Pass __dso_handle directly.
3233 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
3234 (__dso_handle): Remove declaration.
3235 (at_quick_exit): Pass __dso_handle directly.
3236 * stdlib/atexit.c: Include <dso_handle.h>.
3237 (__dso_handle): Remove declaration.
3238 (atexit): Pass __dso_handle directly.
3239 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
3240 (__dso_handle): Removed.
3242 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3244 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
3247 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
3249 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
3250 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
3251 values to correct default value for given type.
3253 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
3256 * elf/Makefile (tests): Add tst-debug1.
3257 ($(objpfx)tst-debug1): New.
3258 ($(objpfx)tst-debug1.out): Likewise.
3259 ($(objpfx)tst-debug1mod1.so): Likewise.
3260 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
3262 * elf/tst-debug1.c: New file.
3264 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3266 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
3267 Define using __ifunc.
3269 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3271 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
3274 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3277 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
3279 2017-09-26 Florian Weimer <fweimer@redhat.com>
3281 * resolv/Makefile (tests-internal): Fix typo in comment.
3283 2017-09-26 Florian Weimer <fweimer@redhat.com>
3285 * resolv/nss_dns/dns-host.c: Fix typo in comment.
3287 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3289 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
3290 Use an union instead of a max_align_t array for __space,
3291 so that __space is the same size on all platforms.
3292 * malloc/scratch_buffer_grow_preserve.c
3293 (__libc_scratch_buffer_grow_preserve): Likewise.
3296 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
3298 * posix/Makefile (routines): Add glob-lstat-compat and
3299 glob64-lstat-compat.
3300 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
3301 * posix/glob-lstat-compat.c: New file.
3302 * posix/glob64-lstat-compat.c: Likewise.
3303 * posix/tst-glob_lstat_compat.c: Likewise.
3304 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
3305 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
3306 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
3307 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
3309 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
3310 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3311 * posix/glob.c (glob_lstat): New function.
3312 (glob): Rename to __glob and add versioned symbol to 2.27.
3313 (glob_in_dir): Use glob_lstat.
3314 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
3315 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3316 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
3318 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
3319 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
3320 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
3321 gl_lstat on glob call.
3322 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
3324 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3325 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3326 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3327 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3328 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3329 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3330 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3331 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3332 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3333 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3334 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3335 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3338 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3341 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3342 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3347 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3348 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3349 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3351 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
3353 * configure.ac (AS): Require binutils 2.25 or later.
3354 * configure: Regenerated.
3356 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3359 * stdlib/test-atexit-race-common.c (do_test): Minimize required
3362 2017-09-25 DJ Delorie <dj@redhat.com>
3365 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
3368 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3370 * sysdeps/ieee754/dbl-64/sincos32.h
3371 [SINCCOS32_H]: Remove define.
3372 [SINCOS32_H]: Define.
3374 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3376 * math/Versions (expf): New libm symbol at GLIBC_2.27.
3378 * math/w_exp2f.c: New file.
3379 * math/w_expf.c: New file.
3380 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
3381 * math/w_expf_compat.c (__expf_compat): Likewise.
3382 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
3383 * sysdeps/ia64/fpu/e_expf.S: Likewise.
3384 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3385 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3386 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3387 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3388 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3389 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3390 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3391 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3392 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3393 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3394 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3395 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3404 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3405 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3406 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3407 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3408 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3413 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3414 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3415 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3417 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3419 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
3420 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
3421 (roundtoint, converttoint): Likewise.
3422 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
3423 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
3424 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
3425 * sysdeps/ieee754/flt-32/math_config.h: New file.
3426 * sysdeps/ieee754/flt-32/math_errf.c: New file.
3427 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
3428 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
3429 * sysdeps/i386/fpu/math_errf.c: New file.
3430 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
3431 * sysdeps/ia64/fpu/math_errf.c: New file.
3432 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
3433 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
3435 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3437 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
3438 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
3439 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
3440 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
3441 to make sure that these symbols are defined.
3442 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
3444 (__need_NULL): Do not define.
3445 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
3447 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
3448 CMGROUP_MAX, cmsgcred): Do not define.
3449 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
3451 * bits/socket.h: Likewise.
3452 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
3453 __gettimeofday instead of gettimeofday.
3454 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
3455 instead of settimeofday.
3457 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3459 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
3460 (asinhf): Define using libm_alias_float.
3461 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
3462 (atanf): Define using libm_alias_float.
3463 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
3464 (cbrtf): Define using libm_alias_float.
3465 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
3466 (ceilf): Define using libm_alias_float.
3467 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
3468 <libm-alias-float.h>.
3469 (copysignf): Define using libm_alias_float.
3470 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
3471 (cosf): Define using libm_alias_float.
3472 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
3473 (erff): Define using libm_alias_float.
3475 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
3476 (expm1f): Define using libm_alias_float.
3477 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
3478 (fabsf): Define using libm_alias_float.
3479 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
3480 (floorf): Define using libm_alias_float.
3481 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
3482 (frexpf): Define using libm_alias_float.
3483 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
3485 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
3486 <libm-alias-float.h>.
3487 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
3489 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
3490 <libm-alias-float.h>.
3491 (getpayloadf): Define using libm_alias_float.
3492 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
3493 <libm-alias-float.h>.
3494 (llrintf): Define using libm_alias_float.
3495 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
3496 <libm-alias-float.h>.
3497 (llroundf): Define using libm_alias_float.
3498 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
3499 (logbf): Define using libm_alias_float.
3500 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
3501 (lrintf): Define using libm_alias_float.
3502 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
3503 (lroundf): Define using libm_alias_float.
3504 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
3505 (modff): Define using libm_alias_float.
3506 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
3507 <libm-alias-float.h>.
3508 (nearbyintf): Define using libm_alias_float.
3509 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
3510 <libm-alias-float.h>.
3511 (nextafterf): Define using libm_alias_float.
3512 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
3513 <libm-alias-float.h>.
3514 (nextupf): Define using libm_alias_float.
3515 * sysdeps/ieee754/flt-32/s_remquof.c: Include
3516 <libm-alias-float.h>.
3517 (remquof): Define using libm_alias_float.
3518 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
3519 (rintf): Define using libm_alias_float.
3520 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
3521 <libm-alias-float.h>.
3522 (roundevenf): Define using libm_alias_float.
3523 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
3524 (roundf): Define using libm_alias_float.
3525 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
3526 using libm_alias_float.
3527 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
3528 <libm-alias-float.h>.
3529 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
3530 Define using libm_alias_float.
3531 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
3532 <libm-alias-float.h>.
3533 (sincosf): Define using libm_alias_float.
3534 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
3535 (sinf): Define using libm_alias_float.
3536 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
3537 (tanf): Define using libm_alias_float.
3538 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
3539 (tanhf): Define using libm_alias_float.
3540 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3541 <libm-alias-float.h>.
3542 (totalorderf): Define using libm_alias_float.
3543 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3544 <libm-alias-float.h>.
3545 (totalordermagf): Define using libm_alias_float.
3546 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
3547 (truncf): Define using libm_alias_float.
3548 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
3550 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
3553 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3556 math/math.h: Let fpclassify use the builtin in C++ mode, even
3557 when optimazing for size.
3559 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3561 * csu/Makefile (generated): Do not add version-info.h.
3562 (before-compile): Likewise.
3563 (all-Banner-files): Remove variable.
3564 ($(objpfx)version-info.h): Remove rule.
3565 * csu/version.c (banner): Do not include "version-info.h".
3566 * libidn/Banner: Remove.
3567 * manual/contrib.texi (Simon Josefsson): New entry.
3569 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3571 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3572 Remove conditionals on LDBL_MANT_DIG.
3573 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
3574 (__ieee754_lgammal_r): Likewise.
3576 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
3580 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
3581 _Float128 and L(). Replace _Float128 with long double and L(x)
3582 with xL, throughout the file.
3583 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3588 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
3591 sysdeps/ieee754/ldbl-128ibm.
3592 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
3593 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
3594 of including it. Keep _Float128 and L() intact. These will be
3595 reviewed by a separate patch.
3596 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3597 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3598 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3599 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3601 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
3604 (__finitef128): Define to __redirect___finitef128.
3605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
3606 (__isinff128): Define to __redirect___isinff128.
3607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
3608 (__isnanf128): Define to __redirect___isnanf128.
3610 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3612 * sysdeps/powerpc/powerpc64le/Makefile
3613 (CFLAGS-tst-strtod-nan-locale.c): New variable.
3614 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
3616 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3617 Carlos O'Donell <carlos@redhat.com>
3620 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
3621 * stdlib/test-dlclose-exit-race.c: New file.
3622 * stdlib/test-dlclose-exit-race-helper.c: New file.
3623 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
3625 2017-09-21 Joseph Myers <joseph@codesourcery.com>
3627 * crypt/Banner: Remove file.
3628 * nptl/Banner: Likewise.
3629 * resolv/Banner: Likewise.
3630 * soft-fp/Banner: Likewise.
3631 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
3632 ($(objpfx)version.d): Remove dependency on banner.h.
3633 ($(objpfx)version.os): Likewise.
3634 * nptl/version.c (banner): Do not include banner.h.
3635 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
3636 Jelinek and BIND code.
3638 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3639 Carlos O'Donell <carlos@redhat.com>
3641 * support/xdlfcn.h: New file.
3642 * support/xdlfcn.c: New file.
3643 * support/Makefile (libsupport-routines): Add xdlfcn.
3644 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
3646 2017-09-20 Joseph Myers <joseph@codesourcery.com>
3649 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3650 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
3651 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
3652 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
3653 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3654 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
3655 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
3656 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3658 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3659 Ricky Zhou <rickyz@google.com>
3660 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
3663 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
3665 (__new_exitfn): Fail registration when we finished at_exit processing.
3666 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3667 * stdlib/on_exit.c (__on_exit): Likewise.
3668 * stdlib/exit.c (__exit_funcs_done): New variable.
3669 (__run_exit_handlers): Use __exit_funcs_lock.
3670 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
3672 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
3673 (test-cxa_atexit-race, test-on_exit-race): New tests.
3674 * stdlib/test-atexit-race-common.c: New file.
3675 * stdlib/test-atexit-race.c: New file.
3676 * stdlib/test-at_quick_exit-race.c: New file.
3677 * stdlib/test-cxa_atexit-race.c: New file.
3678 * stdlib/test-on_exit-race.c: New file.
3680 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3682 * benchtests/Makefile: Add exp2f and log2f benchmarks.
3683 * benchtests/exp2f-inputs: Copy of expf-inputs.
3684 * benchtests/log2f-inputs: Copy of logf-inputs.
3686 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3688 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
3689 Explicitly take address of first element of array arguments in
3690 call to INLINE_SYSCALL.
3692 2017-09-19 Andreas Schwab <schwab@suse.de>
3695 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
3697 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
3699 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
3700 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
3701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3702 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
3703 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3704 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3705 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3706 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3707 * posix/Makefile (tests): Add tst-fexecve.
3708 * posix/tst-fexecve.c: New file.
3710 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3712 * benchtests/Makefile: Add logf benchmark.
3713 * benchtests/logf-inputs: Add reduced trace from wrf_r.
3715 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3717 * benchtests/Makefile: Add expf benchmark.
3718 * benchtests/expf-inputs: Add reduced trace from wrf_r.
3720 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3722 * csu/Makefile: Add -funwind-tables to libc-start.c.
3723 * debug/Makefile: Add -funwind-tables to backtrace.c.
3724 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
3725 * sysdeps/arm/Makefile: Likewise.
3726 * sysdeps/i386/Makefile: Likewise.
3727 * sysdeps/m68k/Makefile: Likewise.
3728 * sysdeps/mips/Makefile: Likewise.
3729 * sysdeps/nios2/Makefile: Likewise.
3730 * sysdeps/sh/Makefile: Likewise.
3731 * sysdeps/sparc/Makefile: Likewise.
3733 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3735 * benchtests/Makefile (bench-math): Add trunc and truncf.
3736 (CFLAGS-bench-trunc.c): New variable.
3737 (CFLAGS-bench-truncf.c): Likewise.
3738 * benchtests/trunc-inputs: New file.
3739 * benchtests/truncf-inputs: Likewise.
3741 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3743 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
3745 2017-09-18 Joseph Myers <joseph@codesourcery.com>
3747 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
3748 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
3750 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3751 (exp10l): Define as weak alias.
3752 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
3753 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
3755 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
3756 (remainderl): Define as weak alias.
3758 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
3759 (fmal): Define using libm_alias_ldouble.
3760 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
3761 (acoshl): Define using libm_alias_ldouble.
3762 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
3763 (acosl): Define using libm_alias_ldouble.
3764 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
3765 (asinl): Define using libm_alias_ldouble.
3766 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
3767 (atan2l): Define using libm_alias_ldouble.
3768 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
3769 (atanhl): Define using libm_alias_ldouble.
3770 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
3771 (coshl): Define using libm_alias_ldouble.
3772 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
3773 (exp10l): Define using libm_alias_ldouble.
3774 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
3775 (exp2l): Define using libm_alias_ldouble.
3776 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
3777 (expl): Define using libm_alias_ldouble.
3778 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
3779 (fmodl): Define using libm_alias_ldouble.
3780 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
3781 (hypotl): Define using libm_alias_ldouble.
3782 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3783 (j0l): Define using libm_alias_ldouble.
3785 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3786 (j1l): Define using libm_alias_ldouble.
3788 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3789 (jnl): Define using libm_alias_ldouble.
3791 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3792 (log10l): Define using libm_alias_ldouble.
3793 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3794 (log2l): Define using libm_alias_ldouble.
3795 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3796 (logl): Define using libm_alias_ldouble.
3797 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3798 (powl): Define using libm_alias_ldouble.
3799 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3800 (remainderl): Define using libm_alias_ldouble.
3801 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3802 (sinhl): Define using libm_alias_ldouble.
3803 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3804 (sqrtl): Define using libm_alias_ldouble.
3805 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3806 (tgammal): Define using libm_alias_ldouble.
3807 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3808 (exp10l): Do not use long_double_symbol here.
3809 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3810 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3811 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3812 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3813 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3814 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3815 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3816 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3817 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3818 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3819 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3820 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3821 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3822 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3823 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3824 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3825 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3826 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3827 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3828 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3829 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3830 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3832 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3834 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3835 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3837 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3839 * io/read.c (read): Add libc_hidden_weak.
3840 * sysdeps/mach/hurd/read.c (read): Likewise.
3841 * io/write.c (write): Likewise.
3842 * sysdeps/mach/hurd/write.c (write): Likewise.
3843 * io/pread64.c (__pread64): Likewise.
3844 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3845 * posix/pread64.c (__pread64): Add libc_hidden_def.
3847 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3849 * benchtests/scripts/compare_strings.py: New option -g.
3850 (draw_graph): Print a message that a graph is being generated.
3851 (process_results): Generate graph only if -g is passed.
3852 (main): Process option -g.
3854 * benchtests/scripts/compare_strings.py (process_results):
3855 Better spacing for output.
3857 * benchtests/scripts/compare_strings.py: Use argparse.
3858 * benchtests/README: Document existence of compare_strings.py.
3860 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3862 * math/s_fma.c: Include <libm-alias-double.h>.
3863 (fma): Define using libm_alias_double.
3864 * math/s_nextafter.c: Include <libm-alias-double.h>.
3865 (nextafter): Define using libm_alias_double.
3866 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3867 (acos): Define using libm_alias_double.
3868 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3869 (aocsh): Define using libm_alias_double.
3870 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3871 (asin): Define using libm_alias_double.
3872 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3873 (atan2): Define using libm_alias_double.
3874 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3875 (atanh): Define using libm_alias_double.
3876 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3877 (cosh): Define using libm_alias_double.
3878 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3879 (exp10): Define using libm_alias_double.
3880 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3881 (exp2): Define using libm_alias_double.
3882 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3883 (exp): Define using libm_alias_double.
3884 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3885 (fmod): Define using libm_alias_double.
3886 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3887 (hypot): Define using libm_alias_double.
3888 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3889 (j0): Define using libm_alias_double.
3891 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3892 (j1): Define using libm_alias_double.
3894 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3895 (jn): Define using libm_alias_double.
3897 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3898 (log10): Define using libm_alias_double.
3899 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3900 (log2): Define using libm_alias_double.
3901 * math/w_log_compat.c: Include <libm-alias-double.h>.
3902 (log): Define using libm_alias_double.
3903 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3904 (pow): Define using libm_alias_double.
3905 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3906 (remainder): Define using libm_alias_double.
3907 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3908 (sinh): Define using libm_alias_double.
3909 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3910 (sqrt): Define using libm_alias_double.
3911 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3912 (tgamma): Define using libm_alias_double.
3913 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3914 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3915 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3916 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3917 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3918 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3919 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3920 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3921 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3922 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3923 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3924 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3925 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3926 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3927 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3928 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3929 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3930 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3931 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3932 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3933 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3934 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3935 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3936 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3937 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3939 * math/e_acoshl.c: Remove.
3940 * math/e_acosl.c: Likewise.
3941 * math/e_asinl.c: Likewise.
3942 * math/e_atan2l.c: Likewise.
3943 * math/e_atanhl.c: Likewise.
3944 * math/e_coshl.c: Likewise.
3945 * math/e_expl.c: Likewise.
3946 * math/e_fmodl.c: Likewise.
3947 * math/e_gammal_r.c: Likewise.
3948 * math/e_hypotl.c: Likewise.
3949 * math/e_j0l.c: Likewise.
3950 * math/e_j1l.c: Likewise.
3951 * math/e_jnl.c: Likewise.
3952 * math/e_lgammal_r.c: Likewise.
3953 * math/e_log10l.c: Likewise.
3954 * math/e_log2l.c: Likewise.
3955 * math/e_logl.c: Likewise.
3956 * math/e_powl.c: Likewise.
3957 * math/e_rem_pio2l.c: Likewise.
3958 * math/e_sinhl.c: Likewise.
3959 * math/e_sqrtf128.c: Likewise.
3960 * math/e_sqrtl.c: Likewise.
3961 * math/k_cosl.c: Likewise.
3962 * math/k_sinl.c: Likewise.
3963 * math/k_tanl.c: Likewise.
3964 * math/s_asinhl.c: Likewise.
3965 * math/s_atanl.c: Likewise.
3966 * math/s_cbrtl.c: Likewise.
3967 * math/s_erfl.c: Likewise.
3968 * math/s_expm1l.c: Likewise.
3969 * math/s_log1pl.c: Likewise.
3970 * math/s_tanhl.c: Likewise.
3972 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3976 [$(subdir) = math] (sysdep_calls): New variable. Has the
3977 previous contents of sysdep_routines, but re-sorted..
3978 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3980 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3981 defined in sysdep_calls and replace by the respective m_* names.
3982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3983 (compat_symbol): Undefine to avoid duplicated compat symbols in
3986 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3988 * math/s_fmaf.c: Include <libm-alias-float.h>.
3989 (fmaf): Define using libm_alias_float.
3990 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3991 (acosf): Define using libm_alias_float.
3992 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3993 (acoshf): Define using libm_alias_float.
3994 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3995 (asinf): Define using libm_alias_float.
3996 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3997 (atan2f): Define using libm_alias_float.
3998 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3999 (atanhf): Define using libm_alias_float.
4000 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
4001 (coshf): Define using libm_alias_float.
4002 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
4003 (exp10f): Define using libm_alias_float.
4004 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
4005 (fmodf): Define using libm_alias_float.
4006 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
4007 (hypotf): Define using libm_alias_float.
4008 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
4009 (j0f): Define using libm_alias_float.
4011 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
4012 (j1f): Define using libm_alias_float.
4014 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
4015 (jnf): Define using libm_alias_float.
4017 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
4018 (log10f): Define using libm_alias_float.
4019 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
4020 (log2f): Define using libm_alias_float.
4021 * math/w_logf_compat.c: Include <libm-alias-float.h>.
4022 (logf): Define using libm_alias_float.
4023 * math/w_powf_compat.c: Include <libm-alias-float.h>.
4024 (powf): Define using libm_alias_float.
4025 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
4026 (remainderf): Define using libm_alias_float.
4027 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
4028 (sinhf): Define using libm_alias_float.
4029 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
4030 (sqrtf): Define using libm_alias_float.
4031 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
4032 (tgammaf): Define using libm_alias_float.
4034 2017-09-14 Joseph Myers <joseph@codesourcery.com>
4036 * include/math.h (roundeven): Change hidden_proto call to
4038 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
4040 [NO_LONG_DOUBLE] (__j0l): New strong alias.
4041 (y0): Rename to __y0 and define as weak alias.
4042 [NO_LONG_DOUBLE] (__y0l): New strong alias.
4043 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
4045 (y0f): Rename to __y0f and define as weak alias.
4046 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
4048 [NO_LONG_DOUBLE] (__j1l): New strong alias.
4049 (y1): Rename to __y1 and define as weak alias.
4050 [NO_LONG_DOUBLE] (__y1l): New strong alias.
4051 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
4053 (y1f): Rename to __y1f and define as weak alias.
4054 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
4056 [NO_LONG_DOUBLE] (__jnl): New strong alias.
4057 (yn): Rename to __yn and define as weak alias.
4058 [NO_LONG_DOUBLE] (__ynl): New strong alias.
4059 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
4061 (ynf): Rename to __ynf and define as weak alias.
4062 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
4063 (fromfp): Define as weak alias.
4064 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
4065 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
4066 (fromfpx): Define as weak alias.
4067 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
4068 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
4069 __getpayload and define as weak alias.
4070 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
4071 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
4072 __roundeven and define as weak alias.
4073 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
4074 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
4076 (setpayload): Define as weak alias.
4077 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
4078 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
4080 (setpayloadsig): Define as weak alias.
4081 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
4082 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
4083 __totalorder and define as weak alias.
4084 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
4085 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
4086 to __totalordermag and define as weak alias.
4087 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
4088 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
4089 (ufromfp): Define as weak alias.
4090 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
4091 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
4093 (ufromfpx): Define as weak alias.
4094 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
4095 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
4096 Rename to __getpayload and define as weak alias.
4097 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
4098 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
4099 Rename to __roundeven and define as weak alias.
4100 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
4101 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
4102 Rename to __totalorder and define as weak alias.
4103 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
4104 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
4105 (totalordermag): Rename to __totalordermag and define as weak
4107 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
4108 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
4110 (__roundevenl): Likewise.
4111 (__totalorderl): Likewise.
4112 (__totalordermagl): Likewise
4113 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
4115 (fromfpf128): Define as weak alias.
4116 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
4118 (fromfpxf128): Define as weak alias.
4119 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
4121 (setpayloadf128): Define as weak alias.
4122 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
4123 __setpayloadsigf128.
4124 (setpayloadsigf128): Define as weak alias.
4125 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
4127 (ufromfpf128): Define as weak alias.
4128 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
4130 (ufromfpxf128): Define as weak alias.
4131 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
4132 (fromfpf): Define as weak alias.
4133 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
4135 (fromfpxf): Define as weak alias.
4136 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
4137 __getpayloadf and define as weak alias.
4138 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
4139 __roundevenf and define as weak alias.
4140 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
4142 (setpayloadf): Define as weak alias.
4143 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
4145 (setpayloadsigf): Define as weak alias.
4146 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
4147 __totalorderf and define as weak alias.
4148 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
4149 Rename to __totalordermagf and define as weak alias.
4150 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
4152 (ufromfpf): Define as weak alias.
4153 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
4155 (ufromfpxf): Define as weak alias.
4156 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
4158 (fromfpl): Define as weak alias.
4159 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
4161 (fromfpxl): Define as weak alias.
4162 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
4163 to __getpayloadl and define as weak alias.
4164 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
4165 __roundevenl and define as weak alias.
4166 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
4168 (setpayloadl): Define as weak alias.
4169 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
4171 (setpayloadsigl): Define as weak alias.
4172 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
4173 to __totalorderl and define as weak alias.
4174 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
4175 Rename to __totalordermagl and define as weak alias.
4176 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
4178 (ufromfpl): Define as weak alias.
4179 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
4181 (ufromfpxl): Define as weak alias.
4182 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
4184 (fromfpl): Define as weak alias.
4185 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
4187 (fromfpxl): Define as weak alias.
4188 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
4189 Rename to __getpayloadl and define as weak alias.
4190 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
4191 to __roundevenl and define as weak alias. Call __roundeven
4192 instead of roundeven.
4193 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
4195 (setpayloadl): Define as weak alias.
4196 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
4198 (setpayloadsigl): Define as weak alias.
4199 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
4200 Rename to __totalorderl and define as weak alias.
4201 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
4202 Rename to __totalordermagl and define as weak alias.
4203 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
4205 (ufromfpl): Define as weak alias.
4206 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
4208 (ufromfpxl): Define as weak alias.
4209 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
4211 (fromfpl): Define as weak alias.
4212 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
4214 (fromfpxl): Define as weak alias.
4215 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
4216 __getpayloadl and define as weak alias.
4217 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
4218 __roundevenl and define as weak alias.
4219 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
4221 (setpayloadl): Define as weak alias.
4222 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
4224 (setpayloadsigl): Define as weak alias.
4225 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
4226 __totalorderl and define as weak alias.
4227 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
4228 Rename to __totalordermagl and define as weak alias.
4229 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
4231 (ufromfpl): Define as weak alias.
4232 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
4234 (ufromfpxl): Define as weak alias.
4236 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4238 * benchtests/bench-string.h (realloc_bufs): New function.
4239 (test_init): Call it.
4240 * benchtests/bench-memset-large.c (do_test): Likewise.
4241 * benchtests/bench-memset.c (do_test): Likewise.
4243 * benchtests/bench-memset-large.c: Print output in JSON
4245 * benchtests/bench-memset.c: Likewise.
4247 2017-09-14 Mike FABIAN <mfabian@redhat.com>
4250 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
4251 * iconvdata/Makefile: Add IBM858.
4252 * iconvdata/gconv-modules: Likewise.
4253 * iconvdata/tst-tables.sh: Likewise.
4254 * iconvdata/ibm858.c: New file.
4255 * localedata/charmaps/IBM858: Likewise.
4257 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
4260 * locales/niu_NZ (LC_TIME): copy "niu_NU".
4261 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
4263 2017-09-14 Mike FABIAN <mfabian@redhat.com>
4266 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
4267 and add tel_int_fmt.
4269 2017-09-14 Joseph Myers <joseph@codesourcery.com>
4271 * sysdeps/generic/libm-alias-float128.h: New file.
4272 * sysdeps/generic/math-type-macros-float128.h: Include
4273 <libm-alias-float128.h>.
4274 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
4276 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4278 * sysdeps/generic/libm-alias-ldouble.h: New file.
4279 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
4280 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
4281 * sysdeps/generic/math-type-macros-ldouble.h: Include
4282 <libm-alias-ldouble.h>.
4283 [!declare_mgen_alias] (declare_mgen_alias): Define to use
4286 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4288 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
4289 * math/w_exp_compat.c: ... here.
4290 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
4291 * math/w_expf_compat.c: ... here.
4292 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
4293 * math/w_expl_compat.c: ... here.
4294 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
4295 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
4296 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
4297 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
4299 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4301 * math/w_scalbln_template.c (strong_alias): Do not undefine and
4303 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
4305 (ldexpl): Only define as compat symbol for libc, not libm.
4306 (scalbnl): Define as compat symbol for libc here.
4307 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
4308 define for [IS_IN (libc)].
4309 (__ldexpl_2): Remove alias.
4310 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
4311 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
4312 name in long_double_symbol call.
4313 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
4314 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4315 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4316 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
4317 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
4319 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
4320 Define as compat symbol.
4322 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4324 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
4325 * sysdeps/unix/sysv/linux/alpha/Makefile
4326 [$(subdir) = csu] (sysdep_routines): Remove rule.
4328 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4330 * sysdeps/generic/libm-alias-double.h: New file.
4331 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
4332 * sysdeps/generic/math-type-macros-double.h: Include
4333 <libm-alias-double.h>.
4334 [declare_mgen_alias] (declare_mgen_alias): Define to use
4336 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
4337 (M_LIBM_NEED_COMPAT): Remove macro.
4338 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
4339 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
4340 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
4342 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4343 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4344 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4345 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4346 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4347 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4348 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4349 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4350 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4351 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4352 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4353 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4354 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4355 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4356 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4357 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4358 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4359 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4360 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4361 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4362 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4363 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4364 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4365 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4366 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4367 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4368 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4369 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
4370 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
4372 (declare_mgen_alias): New macro.
4373 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
4374 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
4376 (M_LIBM_NEED_COMPAT): Remove macro.
4377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
4378 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
4380 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
4381 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
4383 2017-09-12 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
4386 (declare_mgen_alias_2): Remove.
4387 * sysdeps/generic/math-type-macros-double.h
4388 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
4390 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
4392 (ldexp): Define with declare_mgen_alias.
4395 2017-09-12 Steve Ellcey <sellcey@cavium.com>
4397 * grp/initgroups.c: Include config.h.
4398 (DEFAULT_CONFIG): New macro.
4399 (internal_getgrouplist): Use DEFAULT_CONFIG.
4400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4401 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
4402 (DEFAULT_DEFCONFIG): New macro.
4403 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
4404 * nss/grp-lookup.c: Include config.h
4405 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
4406 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
4407 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
4408 * manual/nss.texi: Update default values section.
4410 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
4413 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
4415 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
4416 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4417 Handle MathVec_Prefer_No_AVX512.
4418 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
4419 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
4422 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
4424 * posix/sched_primax.c (__sched_get_priority_max): Add
4426 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
4427 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4428 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4429 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
4430 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
4431 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
4432 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
4433 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
4436 2017-09-11 Joseph Myers <joseph@codesourcery.com>
4438 * sysdeps/generic/libm-alias-float.h: New file.
4439 * sysdeps/generic/math-type-macros-float.h: Include
4440 <libm-alias-float.h>.
4441 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
4443 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
4446 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
4447 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
4448 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
4449 (HWCAP_IMPORTANT): Likewise.
4450 (HWCAP_X86_64): New enum.
4451 (HWCAP_X86_AVX512_1): Updated.
4452 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
4453 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
4454 (modules-names): Add x86_64/tst-x86_64mod-1.
4455 (LDFLAGS-tst-x86_64mod-1.so): New.
4456 ($(objpfx)tst-x86_64-1): Likewise.
4457 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
4458 (tst-x86_64-1-clean): Likewise.
4459 * sysdeps/x86_64/tst-x86_64-1.c: New file.
4460 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
4462 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4464 * po/sv.po: Update translations.
4465 * po/fr.po: Likewise.
4467 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4469 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
4471 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
4473 * elf/rtld-Rules: Fix $(error) use.
4475 2017-09-09 Mike FABIAN <mfabian@redhat.com>
4478 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
4479 * locale/iso-639.def: Change “Bengali” to “Bangla”.
4480 * localedata/locales/bn_BD: “Bengali” was still used in some
4481 comments. Change it to “Bangla”.
4483 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
4485 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
4487 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4489 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
4490 thunderx2t99p1 to list of cpu names.
4491 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4492 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
4494 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4496 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
4497 Use strcmp instead of tunable_is_name.
4499 2017-09-08 Joseph Myers <joseph@codesourcery.com>
4501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4502 (F_GET_RW_HINT): New macro.
4503 [__USE_GNU] (F_SET_RW_HINT): Likewise.
4504 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
4505 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
4506 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
4507 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
4508 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
4509 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
4510 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
4511 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
4513 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4514 (F_ADD_SEALS): New macro.
4515 [__USE_GNU] (F_GET_SEALS): Likewise.
4516 [__USE_GNU] (F_SEAL_SEAL): Likewise.
4517 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
4518 [__USE_GNU] (F_SEAL_GROW): Likewise.
4519 [__USE_GNU] (F_SEAL_WRITE): Likewise.
4521 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4523 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
4524 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
4525 * posix/glob_internal.h (__glob_pattern_type):
4526 * posix/glob.c (glob):
4527 * posix/glob_pattern_p.c (__glob_pattern_p):
4530 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
4531 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4532 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
4533 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
4534 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
4537 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
4538 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4540 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4541 * sysdeps/wordsize-64/glob.c: Likewise.
4542 * sysdeps/wordsize-64/glob64.c: Likewise.
4543 * sysdeps/wordsize-64/globfree.c: Likewise.
4544 * sysdeps/wordsize-64/globfree64.c: Likewise.
4545 * sysdeps/unix/sysv/linux/glob.c: New file.
4546 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
4547 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
4548 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
4549 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4550 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
4551 adds !GLOB_NO_OLD_VERSION as an extra condition.
4552 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
4553 using relative path instead of absolute one.
4554 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
4555 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4556 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4557 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
4558 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
4559 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
4562 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
4563 (glob): Use the same scratch buffer for both getlogin_r and
4564 getpwnam_r. Don’t require preallocation of the login name. This
4565 simplifies storage allocation, and corrects the handling of
4569 * posix/glob.c (glob): Port recent patches to platforms
4571 (glob): Fix longstanding misuse of errno after getpwnam_r, which
4572 returns an error number rather than setting errno.
4574 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
4575 instead of GCC extension.
4576 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
4577 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
4578 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
4582 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
4583 * posix/bug-glob1.c: Remove file.
4584 * posix/tst-glob_symlinks.c: New file.
4585 * posix/glob.c (__lstat64): New macro.
4586 (is_dir): New function.
4587 (glob, glob_in_dir): Match symlinks even if they are dangling.
4588 (link_stat, link_exists_p): Remove. All uses removed.
4592 * posix/glob.c (struct readdir_result): Remove skip_entry member.
4593 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
4598 * posix/Makefile (routines): Add globfree, globfree64, and
4600 * posix/flexmember.h: New file.
4601 * posix/glob_internal.h: Likewise.
4602 * posix/glob_pattern_p.c: Likewise.
4603 * posix/globfree.c: Likewise.
4604 * posix/globfree64.c: Likewise.
4605 * sysdeps/gnu/globfree64.c: Likewise.
4606 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
4607 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4608 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
4609 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4610 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4611 * sysdeps/wordsize-64/globfree.c: Likewise.
4612 * sysdeps/wordsize-64/globfree64.c: Likewise.
4613 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
4614 [NDEBUG): Remove comments.
4615 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
4616 (dirent_type): New type. Use uint_fast8_t not
4617 uint8_t, as C99 does not require uint8_t.
4618 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
4619 (struct readdir_result): Use dirent_type. Do not define skip_entry
4620 unless it is needed; this saves a byte on platforms lacking d_ino.
4621 (readdir_result_type, readdir_result_skip_entry):
4622 New functions, replacing ...
4623 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
4624 these functions, which were removed. This makes the callers
4625 easier to read. All callers changed.
4626 (D_INO_TO_RESULT): Now empty if there is no d_ino.
4627 (size_add_wrapv, glob_use_alloca): New static functions.
4628 (glob, glob_in_dir): Check for size_t overflow in several places,
4629 and fix some size_t checks that were not quite right.
4630 Remove old code using SHELL since Bash no longer
4632 (glob, prefix_array): Separate MS code better.
4633 (glob_in_dir): Remove old Amiga and VMS code.
4634 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
4636 (glob_in_dir): Do not rely on undefined behavior in accessing
4637 struct members beyond their bounds. Use a flexible array member
4639 (link_stat): Rename from link_exists2_p and return -1/0 instead of
4640 0/1. Caller changed.
4641 (glob): Fix memory leaks.
4642 * posix/glob64 (globfree64): Move to separate file.
4643 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
4644 (globfree64): Remove hidden alias.
4645 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
4647 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
4649 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
4651 Move compat code to separate file.
4652 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
4655 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
4657 * resolv/tst-resolv-qtypes.c (domain): Changed to
4658 "const char domain[] =".
4660 2017-09-07 Joseph Myers <joseph@codesourcery.com>
4662 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4665 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
4666 (TCP_MD5SIG_EXT): Likewise.
4667 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
4668 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
4669 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
4671 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
4673 2017-09-07 Mike FABIAN <mfabian@redhat.com>
4675 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
4677 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
4680 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
4682 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4684 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
4685 before assuming that the file is empty. Avoid testing buffer content
4688 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4691 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4693 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
4695 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
4697 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
4699 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4701 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
4703 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
4706 2017-09-06 Florian Weimer <fweimer@redhat.com>
4708 * malloc/dynarray_emplace_enlarge.c
4709 (__libc_dynarray_emplace_enlarge): Add missing else.
4711 2017-09-06 Florian Weimer <fweimer@redhat.com>
4714 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
4715 case of failure to obtain the global conf object.
4717 2017-09-06 Florian Weimer <fweimer@redhat.com>
4720 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
4721 dynarray allocation failure.
4723 2017-09-06 Florian Weimer <fweimer@redhat.com>
4725 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
4726 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
4727 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
4729 (response): Call them. Add 'p', '6' flag processing.
4730 (test_reverse): New function.
4731 (test_get2_any): Call it.
4732 (test_no_inet6): Add 'p' test.
4733 (test_inet6): Likewise.
4735 2017-09-06 Florian Weimer <fweimer@redhat.com>
4737 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
4738 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
4740 (test_gai): Adjust query names. Add additional tests.
4741 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
4742 test_get2. Adjust query names. Add additional tests.
4743 (test_no_inet6): New function, extracted from threadfunc.
4744 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
4745 Add additional tests.
4747 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4750 * localedata/unicode-gen/utf8_gen.py: Set the width for
4751 characters with Prepended_Concatenation_Mark property to 1
4752 * localedata/charmaps/UTF-8: Updated using the improved script.
4754 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4757 * localedata/unicode-gen/utf8_gen.py: Improve the script to
4758 use the range notation for all ranges of neighbouring characters
4759 with the same width.
4761 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4763 * sysdeps/generic/math-type-macros-double.h: Include
4764 <math-svid-compat.h>.
4765 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4766 * sysdeps/generic/math-type-macros-float.h: Include
4767 <math-svid-compat.h>.
4768 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4769 * sysdeps/generic/math-type-macros-ldouble.h: Include
4770 <math-svid-compat.h>.
4771 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4772 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
4774 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
4775 * math/w_acosf_compat.c: Likewise.
4776 * math/w_acosh_compat.c: Likewise.
4777 * math/w_acoshf_compat.c: Likewise.
4778 * math/w_acoshl_compat.c: Likewise.
4779 * math/w_acosl_compat.c: Likewise.
4780 * math/w_asin_compat.c: Likewise.
4781 * math/w_asinf_compat.c: Likewise.
4782 * math/w_asinl_compat.c: Likewise.
4783 * math/w_atan2_compat.c: Likewise.
4784 * math/w_atan2f_compat.c: Likewise.
4785 * math/w_atan2l_compat.c: Likewise.
4786 * math/w_atanh_compat.c: Likewise.
4787 * math/w_atanhf_compat.c: Likewise.
4788 * math/w_atanhl_compat.c: Likewise.
4789 * math/w_cosh_compat.c: Likewise.
4790 * math/w_coshf_compat.c: Likewise.
4791 * math/w_coshl_compat.c: Likewise.
4792 * math/w_exp10_compat.c: Likewise.
4793 * math/w_exp10f_compat.c: Likewise.
4794 * math/w_exp10l_compat.c: Likewise.
4795 * math/w_exp2_compat.c: Likewise.
4796 * math/w_exp2f_compat.c: Likewise.
4797 * math/w_exp2l_compat.c: Likewise.
4798 * math/w_fmod_compat.c: Likewise.
4799 * math/w_fmodf_compat.c: Likewise.
4800 * math/w_fmodl_compat.c: Likewise.
4801 * math/w_hypot_compat.c: Likewise.
4802 * math/w_hypotf_compat.c: Likewise.
4803 * math/w_hypotl_compat.c: Likewise.
4804 * math/w_j0_compat.c: Likewise.
4805 * math/w_j0f_compat.c: Likewise.
4806 * math/w_j0l_compat.c: Likewise.
4807 * math/w_j1_compat.c: Likewise.
4808 * math/w_j1f_compat.c: Likewise.
4809 * math/w_j1l_compat.c: Likewise.
4810 * math/w_jn_compat.c: Likewise.
4811 * math/w_jnf_compat.c: Likewise.
4812 * math/w_jnl_compat.c: Likewise.
4813 * math/w_lgamma_r_compat.c: Likewise.
4814 * math/w_lgammaf_r_compat.c: Likewise.
4815 * math/w_lgammal_r_compat.c: Likewise.
4816 * math/w_log10_compat.c: Likewise.
4817 * math/w_log10f_compat.c: Likewise.
4818 * math/w_log10l_compat.c: Likewise.
4819 * math/w_log2_compat.c: Likewise.
4820 * math/w_log2f_compat.c: Likewise.
4821 * math/w_log2l_compat.c: Likewise.
4822 * math/w_log_compat.c: Likewise.
4823 * math/w_logf_compat.c: Likewise.
4824 * math/w_logl_compat.c: Likewise.
4825 * math/w_pow_compat.c: Likewise.
4826 * math/w_powf_compat.c: Likewise.
4827 * math/w_powl_compat.c: Likewise.
4828 * math/w_remainder_compat.c: Likewise.
4829 * math/w_remainderf_compat.c: Likewise.
4830 * math/w_remainderl_compat.c: Likewise.
4831 * math/w_sinh_compat.c: Likewise.
4832 * math/w_sinhf_compat.c: Likewise.
4833 * math/w_sinhl_compat.c: Likewise.
4834 * math/w_sqrt_compat.c: Likewise.
4835 * math/w_sqrtf_compat.c: Likewise.
4836 * math/w_sqrtl_compat.c: Likewise.
4837 * math/w_tgamma_compat.c: Likewise.
4838 * math/w_tgammaf_compat.c: Likewise.
4839 * math/w_tgammal_compat.c: Likewise.
4840 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4842 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4843 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4845 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4846 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4848 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4849 * sysdeps/i386/fpu/w_sqrt.c: New file.
4850 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4851 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4852 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4853 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4854 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4855 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4856 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4857 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4858 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4859 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4860 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4861 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4862 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4863 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4864 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4865 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4866 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4867 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4868 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4869 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4870 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4871 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4872 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4873 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4874 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4875 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4876 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4877 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4878 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4879 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4880 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4881 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4882 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4883 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4884 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4885 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4886 * sysdeps/ia64/fpu/w_log.c: Likewise.
4887 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4888 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4889 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4890 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4891 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4892 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4893 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4894 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4895 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4896 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4897 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4898 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4899 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4900 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4901 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4902 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4903 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4904 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4905 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4906 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4907 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4908 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4909 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4912 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4913 * sysdeps/ieee754/k_standard.c: Likewise.
4914 * sysdeps/ieee754/k_standardf.c: Likewise.
4915 * sysdeps/ieee754/k_standardl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4918 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4919 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4920 long_double_symbol call on [LIBM_SVID_COMPAT].
4921 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4922 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4923 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4924 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4925 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4926 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4927 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4928 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4929 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4930 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4931 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4932 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4933 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4934 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4935 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4936 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4937 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4938 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4939 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4940 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4941 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4942 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4944 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4946 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4947 * malloc/tst-mallocstate.c: Convert from test-skeleton
4948 to test-driver. Ifdef code using TEST_COMPAT macro.
4949 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4950 * math/test-matherr.c: Likewise.
4952 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4955 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4956 comparing word with byte-swapped constant.
4958 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4961 * locale/iso-639.def: add Miskito.
4962 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4963 * localedata/locales/miq_NI: New file.
4965 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4968 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4969 (__mkdir): Likewise.
4970 * io/chmod.c (__chmod): Add libc_hidden_def.
4971 * io/mkdir.c (__mkdir): Likewise.
4972 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4973 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4974 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4975 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4977 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4979 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4983 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4984 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4986 2017-09-04 Florian Weimer <fweimer@redhat.com>
4988 * math/math.h: Issue warning if log is defined.
4990 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4992 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4993 kernel version to 4.13.
4995 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4997 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4998 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
5000 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
5001 just <bits/types.h>.
5002 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
5003 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
5004 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
5005 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
5006 * misc/preadv2.c: Include <errno.h>.
5007 * misc/preadv64v2.c: Include <errno.h>.
5008 * misc/pwritev2.c: Include <errno.h>.
5009 * misc/pwritev64v2.c: Include <errno.h>.
5010 * sysdeps/posix/preadv2.c: Include <errno.h>.
5011 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
5012 Fix <unistd.h> inclusion.
5013 * sysdeps/posix/pwritev2.c: Include <errno.h>.
5014 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
5015 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
5016 __strtoul_internal): New functions.
5017 * sysdeps/posix/pause.c: Include <sigsetops.h>.
5018 * sysdeps/posix/system.c: Include <sigsetops.h>.
5019 * sysdeps/mach/hurd/i386/Makefile
5020 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5021 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5022 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5023 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
5024 __feraiseexcept_renamed to feraiseexcept instead of
5026 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
5027 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
5028 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
5029 RWF_NOWAIT): Define to 0 if undefined already.
5030 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
5032 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
5033 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
5035 2017-09-01 Joseph Myers <joseph@codesourcery.com>
5037 * manual/math.texi (pow10): Do not document.
5040 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
5041 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
5042 * math/libm-test-exp10.inc (pow10_test): Remove.
5043 (do_test): Do not call pow10.
5044 * math/w_exp10_compat.c (pow10): Make into compat symbol.
5045 [NO_LONG_DOUBLE] (pow10l): Likewise.
5046 * math/w_exp10f_compat.c (pow10f): Likewise.
5047 * math/w_exp10l_compat.c (pow10l): Likewise.
5048 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
5049 (pow10): Make into compat symbol.
5050 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
5051 (pow10f): Make into compat symbol.
5052 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
5053 (pow10l): Make into compat symbol.
5054 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
5056 (CFLAGS-nldbl-pow10.c): Remove variable..
5057 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
5058 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
5059 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
5060 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
5061 Undefine and redefine.
5062 (pow10l): Make into compat symbol.
5063 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
5064 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5065 * sysdeps/arm/libm-test-ulps: Likewise.
5066 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
5067 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5068 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5069 * sysdeps/microblaze/libm-test-ulps: Likewise.
5070 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5071 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5072 * sysdeps/nios2/libm-test-ulps: Likewise.
5073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5074 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5075 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5076 * sysdeps/sh/libm-test-ulps: Likewise.
5077 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5078 * sysdeps/tile/libm-test-ulps: Likewise.
5079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5081 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5083 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
5085 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
5087 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
5088 "../ChangeLog.old/ChangeLog.8".
5089 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
5090 "../ChangeLog.old/ChangeLog.14".
5092 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
5094 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
5097 2017-09-01 Joseph Myers <joseph@codesourcery.com>
5099 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
5101 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
5103 * csu/version.c (banner): Remove "by Roland McGrath et al.".
5104 * nptl/Banner: Remove "by Ulrich Drepper et al.".
5106 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5108 * stdlib/tst-atexit-common.c (do_test): Test support for at least
5111 2017-09-01 Zack Weinberg <zackw@panix.com>
5113 * math/math.h (HUGE_VAL): Improve commentary.
5115 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5116 Andreas Schwab <schwab@suse.de>
5119 * include/stdio.h (__gen_tempfd): New function.
5120 * stdio-common/Makefile (routines): Add gentempfd.
5121 * stdio-common/gentempfd.c: New file.
5122 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
5123 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
5126 2017-09-01 Florian Weimer <fweimer@redhat.com>
5130 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
5131 result to determine success or failure, not the errno value.
5132 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
5133 (tst-nss-files-hosts-erange): Link with -ldl.
5134 * nss/tst-nss-files-hosts-erange.c: New file.
5135 * nss/tst-resolv-basic.c (response): Handle nodata.example.
5136 (do_test): Add NO_DATA tests.
5137 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
5140 2017-09-01 Florian Weimer <fweimer@redhat.com>
5143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
5144 coming from gethostbyname2_r.
5146 2017-09-01 Florian Weimer <fweimer@redhat.com>
5148 * support/namespace.h (struct support_chroot_configuration): Add
5150 (struct support_chroot): Add path_hosts, path_host_conf.
5151 * support/support_chroot.c (write_file): New function.
5152 (support_chroot_create): Call it to process /etc/resolv.conf,
5153 /etc/hosts, /etc/host.conf.
5154 (support_chroot_free): Update.
5156 2017-09-01 Florian Weimer <fweimer@redhat.com>
5158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
5159 status indicates it is set.
5161 2017-09-01 Florian Weimer <fweimer@redhat.com>
5163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
5164 function lookup failures more reliable.
5166 2017-09-01 Florian Weimer <fweimer@redhat.com>
5168 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
5169 (getcanonname): Likewise.
5170 (gaih_inet): Likewise.
5172 2017-09-01 Florian Weimer <fweimer@redhat.com>
5174 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
5175 (getcanonname): Likewise.
5176 (gaih_inet): Likewise.
5178 2017-08-31 Steve Ellcey <sellcey@cavium.com>
5179 Richard Henderson <rth@twiddle.net>
5181 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
5182 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
5183 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
5184 (IREG_SIZE, OREG_SIZE): New macros.
5185 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
5186 (IREG_SIZE, OREG_SIZE): New macros.
5187 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
5188 (IREG_SIZE): New macro.
5189 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
5190 (IREG_SIZE): New macro.
5191 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
5193 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
5194 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
5195 (__CONCATX): Handle exceptions correctly on large values that may
5197 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
5198 Initialize if not already set.
5199 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
5201 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5203 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
5204 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
5206 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
5208 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
5210 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
5212 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
5214 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
5216 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
5218 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
5219 (NO_CANCELLATION): Likewise.
5220 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
5222 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
5224 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
5226 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
5227 (NO_CANCELLATION): Likewise.
5228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
5229 (NO_CANCELLATION): Likewise.
5230 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
5232 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
5234 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
5236 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
5238 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
5240 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
5241 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
5243 2017-08-31 Steve Ellcey <sellcey@cavium.com>
5245 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
5248 2017-08-31 Florian Weimer <fweimer@redhat.com>
5250 * include/libc-symbols.h (internal_function): Remove.
5252 2017-08-31 Florian Weimer <fweimer@redhat.com>
5254 * stdlib/fmtmsg.c (internal_addseverity): Remove
5257 2017-08-31 Florian Weimer <fweimer@redhat.com>
5259 * stdio-common/printf_fp.c (group_number): Remove
5261 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5263 2017-08-31 Florian Weimer <fweimer@redhat.com>
5265 * posix/fnmatch.c (internal_function): Remove definition.
5266 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
5267 * posix/regcomp.c (peek_token, init_word_char)
5268 (duplicate_node_closure, fetch_token, peek_token)
5269 (peek_token_bracket, build_range_exp, build_collating_symbol):
5271 * posix/regex_internal.c (re_string_construct_common)
5272 (create_ci_newstate, create_cd_newstate, re_string_allocate)
5273 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
5274 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
5275 (re_string_translate_buffer, re_string_reconstruct)
5276 (re_string_peek_byte_case, re_string_fetch_byte_case)
5277 (re_string_destruct, re_string_context_at, re_node_set_alloc)
5278 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
5279 (re_node_set_add_intersect, re_node_set_init_union)
5280 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
5281 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
5282 (re_dfa_add_node, calc_state_hash, re_acquire_state)
5283 (re_acquire_state_context): Likewise.
5284 * posix/regex_internal.h (internal_function): Remove definition.
5285 (re_string_realloc_buffers, build_wcs_buffer)
5286 (build_wcs_upper_buffer, build_upper_buffer)
5287 (re_string_translate_buffer, re_string_context_at)
5288 (re_string_char_size_at, re_string_wchar_at)
5289 (re_string_elem_size_at): Likewise.
5290 * posix/regexec.c (match_ctx_init, match_ctx_clean)
5291 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
5292 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
5293 (re_search_internal, re_search_2_stub, re_search_stub)
5294 (re_copy_regs, prune_impossible_nodes, check_matching)
5295 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
5296 (free_fail_stack_return, sift_states_iter_mb)
5297 (sift_states_backward, build_sifted_states)
5298 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
5299 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
5300 (check_subexp_limits, sift_states_bkref, merge_state_array)
5301 (find_recover_state, transit_state, merge_state_with_log)
5302 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
5303 (transit_state_mb, transit_state_bkref, get_subexp)
5304 (get_subexp_sub, find_subexp_node, check_arrival)
5305 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
5306 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
5307 (check_node_accept_bytes, find_collation_sequence_value)
5308 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
5309 (acquire_init_state_context, check_halt_node_context)
5310 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
5311 (sub_epsilon_src_nodes): Likewise.
5312 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
5313 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
5314 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
5315 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
5316 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
5317 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
5318 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
5319 * sysdeps/posix/ttyname.c (getttyname): Likewise.
5320 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5321 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
5323 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
5325 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
5326 (PWRITEV): Likewise.
5327 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
5328 (PWRITEV): Likewise.
5329 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
5330 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5332 2017-08-31 Florian Weimer <fweimer@redhat.com>
5334 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
5335 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
5336 Remove internal_function.
5337 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5338 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
5339 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
5340 (__deallocate_stack, __libc_pthread_init)
5341 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
5342 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
5343 (__libc_disable_asynccancel, __librt_disable_asynccancel):
5345 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
5346 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
5347 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
5349 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
5350 (__pthread_mutex_unlock_usercnt): Likewise.
5352 2017-08-31 Florian Weimer <fweimer@redhat.com>
5354 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
5355 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
5356 (fts_safe_changedir): Remove internal_function.
5357 * io/ftw.c (internal_function): Remove definition.
5358 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
5360 2017-08-31 Florian Weimer <fweimer@redhat.com>
5362 * inet/deadline.c (__deadline_current_time)
5363 (__deadline_from_timeval, __deadline_to_ms): Remove
5365 * inet/getnameinfo.c (nrl_domainname): Likewise.
5366 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
5367 * inet/inet6_option.c (add_pad): Likewise.
5368 * inet/net-internal.h (__deadline_current_time)
5369 (__deadline_from_timeval, __deadline_to_ms): Likewise.
5370 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
5371 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
5372 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
5374 2017-08-31 Joseph Myers <joseph@codesourcery.com>
5376 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
5377 include <bits/nan.h>.
5378 * math/Makefile (headers): Remove bits/nan.h.
5379 * bits/nan.h: Remove.
5380 * sysdeps/ieee754/bits/nan.h: Likewise.
5381 * sysdeps/mips/bits/nan.h: Likewise.
5383 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
5384 not include <bits/inf.h>.
5385 * math/Makefile (headers): Remove bits/inf.h.
5386 * bits/inf.h: Remove.
5387 * sysdeps/ieee754/bits/inf.h: Likewise.
5389 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
5390 bits/huge_vall.h or bits/huge_val_flt128.h.
5391 (HUGE_VAL): Define directly here.
5392 [__USE_ISOC99] (HUGE_VALF): Likewise.
5393 [__USE_ISOC99] (HUGE_VALL): Likewise.
5394 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5395 (HUGE_VAL_F128): Likewise.
5396 * math/Makefile (headers): Remove bits/huge_val.h,
5397 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
5398 * bits/huge_val.h: Remove.
5399 * bits/huge_val_flt128.h: Likewise.
5400 * bits/huge_valf.h: Likewise.
5401 * bits/huge_vall.h: Likewise.
5402 * sysdeps/ia64/bits/huge_vall.h: Likewise.
5403 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5404 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
5405 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
5406 * sysdeps/sh/bits/huge_val.h: Likewise.
5407 * sysdeps/sparc/bits/huge_vall.h: Likewise.
5408 * sysdeps/x86/bits/huge_vall.h: Likewise.
5410 2017-08-31 Florian Weimer <fweimer@redhat.com>
5412 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
5414 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
5416 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
5417 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5418 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
5419 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
5420 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5421 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5422 * elf/dl-libc.c (dlerror_run): Likewise.
5423 * elf/dl-load.c (add_name_to_object, decompose_rpath)
5424 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
5425 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
5426 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
5428 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
5429 (_dl_higher_prime_number, _dl_strtoul): Likewise.
5430 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
5431 * elf/dl-profile.c (_dl_start_profile): Likewise.
5432 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
5433 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
5435 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
5436 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
5437 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
5438 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
5439 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
5440 (_dl_allocate_tls_storage): Likewise.
5441 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
5442 (_dl_check_all_versions): Likewise.
5443 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5444 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
5445 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
5446 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5447 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
5448 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
5449 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
5450 internal_function from __dl_start.
5451 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
5452 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5453 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
5454 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
5455 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
5456 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
5457 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
5458 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
5459 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
5460 (_dl_next_ld_env_entry, _dl_important_hwcaps)
5461 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
5462 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
5463 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
5464 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
5465 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
5467 (struct rtld_global_ro): Remove internal_function from the
5468 _dl_lookup_symbol_x member.
5469 (_dl_symbol_value): Remove. No longer defined anywhere.
5470 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
5472 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5473 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5474 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
5475 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
5476 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
5477 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
5478 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
5479 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
5480 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
5481 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5482 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5483 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5485 2017-08-31 Florian Weimer <fweimer@redhat.com>
5487 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
5488 Remove internal_function.
5489 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5491 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5494 2017-08-31 Florian Weimer <fweimer@redhat.com>
5496 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
5497 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
5498 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
5500 2017-08-31 Florian Weimer <fweimer@redhat.com>
5502 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
5503 (__gai_enqueue_request): Remove internal_function.
5504 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
5505 (__gai_remove_request, __gai_notify, __gai_notify_only)
5506 (__gai_sigqueue): Likewise.
5507 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
5508 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5509 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
5510 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5513 2017-08-31 Florian Weimer <fweimer@redhat.com>
5515 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
5516 * include/dirent.h (__opendirat, __getdents, __getdents64)
5517 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
5518 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
5519 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5520 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
5522 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
5524 2017-08-31 Florian Weimer <fweimer@redhat.com>
5526 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
5528 (GETCWD_RETURN_TYPE): Likewise.
5530 2017-08-31 Florian Weimer <fweimer@redhat.com>
5532 * include/time.h (__tz_compute, __strptime_internal): Remove
5534 * time/strptime_l.c (__strptime_internal): Likewise.
5535 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
5537 2017-08-31 Florian Weimer <fweimer@redhat.com>
5539 * iconv/gconv.c (__gconv): Remove internal_function.
5540 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
5541 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
5542 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
5543 (__gconv_release_cache): Likewise.
5544 * iconv/gconv_close.c (__gconv_close): Likewise.
5545 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
5546 (read_conf_file, __gconv_get_path): Likewise.
5547 * iconv/gconv_db.c (derivation_lookup, add_derivation)
5548 (__gconv_release_step, gen_steps, increment_counter)
5549 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
5550 (__gconv_close_transform, free_modules_db): Likewise.
5551 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
5553 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
5554 (__gconv_find_transform, __gconv_lookup_cache)
5555 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
5556 (__gconv_close_transform, __gconv_release_cache)
5557 (__gconv_loaded_object, __gconv_release_shlib)
5558 (__gconv_compare_alias): Likewise.
5559 * iconv/gconv_open.c (__gconv_open): Likewise.
5560 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
5561 * iconv/iconvconfig.c (add_module): Likewise.
5562 * intl/dcigettext.c (plural_lookup, guess_category_value)
5563 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
5564 * intl/eval-plural.h (plural_eval): Likewise.
5565 * intl/finddomain.c (_nl_find_domain): Likewise.
5566 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
5567 (_nl_load_domain, _nl_find_msg): Likewise.
5568 (internal_function): Remove definition.
5569 * intl/loadinfo.h (internal_function): Likewise.
5570 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
5572 * intl/localealias.c (internal_function): Remove definition.
5573 (read_alias_file): Remove internal_function.
5574 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
5575 * intl/plural-exp.h (internal_function): Remove definition.
5576 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
5578 * intl/plural.c: Regenerate.
5579 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
5580 * locale/coll-lookup.c (__collidx_table_lookup)
5581 (__collseq_table_lookup): Likewise.
5582 * locale/coll-lookup.h (__collidx_table_lookup)
5583 (__collseq_table_lookup): Likewise.
5584 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
5585 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5586 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
5587 (_nl_unload_locale): Likewise.
5588 * locale/localeinfo.h (struct __locale_data): Remove
5589 internal_function from cleanup member.
5590 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
5591 (_nl_remove_locale, _nl_load_locale_from_archive)
5592 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
5593 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
5594 (_nl_cleanup_time): Remove internal_function.
5595 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
5596 (_nl_parse_alt_digit): Likewise.
5597 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
5598 (_nl_select_era_entry): Likewise.
5599 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
5600 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5601 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5602 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5603 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5605 2017-08-31 Florian Weimer <fweimer@redhat.com>
5607 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
5608 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
5609 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
5610 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
5612 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
5613 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
5614 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
5615 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
5617 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
5619 2017-08-31 Florian Weimer <fweimer@redhat.com>
5621 * misc/getttyent.c (skip, value): Remove internal_function.
5622 * misc/syslog.c (openlog_internal): Likewise.
5623 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
5625 2017-08-31 Florian Weimer <fweimer@redhat.com>
5627 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
5628 (__nss_rewrite_field): Remove internal_function.
5629 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5630 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5631 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5632 * nss/nsswitch.c (nss_parse_file, nss_getline)
5633 (nss_parse_service_list, nss_new_service): Likewise.
5634 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
5635 * nss/valid_field.c (__nss_valid_field): Likewise.
5636 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5638 2017-08-31 Florian Weimer <fweimer@redhat.com>
5640 * malloc/arena.c (__malloc_fork_lock_parent)
5641 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
5642 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
5643 internal_function from defintions.
5644 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
5645 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
5646 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
5647 internal_function from declarations.
5648 * malloc/malloc.c (internal_function): Do not define.
5649 (mem2mem_check): Remove internal_function from declaration.
5650 (munmap_chunk, mremap_chunk): Remove internal_function.
5651 * malloc/mtrace.c (tr_where): Likewise.
5653 2017-08-31 Florian Weimer <fweimer@redhat.com>
5655 * include/rpc/pmap_clnt.h (__get_socket): Remove
5657 * sunrpc/auth_des.c (synchronize): Likewise.
5658 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
5659 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
5660 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
5661 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
5662 (key_call): Likewise.
5663 * sunrpc/pm_getport.c (__get_socket): Likewise.
5664 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
5665 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
5666 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
5667 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
5668 (invalidate): Likewise.
5669 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
5670 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
5671 (set_input_fragment, get_input_bytes): Likewise.
5673 2017-08-31 Florian Weimer <fweimer@redhat.com>
5675 * malloc/malloc.c (_int_free): Remove locked variable and related
5678 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
5681 * Makerules (build-module-helper-objlist): Filter out
5682 $(elf-objpfx)sofini.os.
5683 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
5686 2017-08-31 Florian Weimer <fweimer@redhat.com>
5688 * libio/fcloseall.c: Assume weak_alias is defined.
5689 * libio/feof.c: Likewise.
5690 * libio/fileno.c: Likewise.
5691 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
5692 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5694 (_IO_file_open): Call __open directly.
5695 (_IO_new_file_sync): Assume ESPIPE is defined.
5696 (_IO_file_seekoff_maybe_mmap): Call __read directly.
5697 (_IO_new_file_write): Call __write directly.
5698 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
5699 * libio/ftello64.c (__ftello64): Assume EIO is defined.
5700 * libio/genops.c: Assume _LIBC is defined.
5701 (save_for_backup): Remove internal_function.
5702 * libio/getc.c: Assume weak_alias is defined.
5703 * libio/getwc.c: Likewise.
5704 * libio/iofclose.c: Assume _LIBC is defined.
5705 * libio/iofdopen.c: Likewise.
5706 (_IO_fcntl): Remove macro definition.
5707 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
5708 Call __fcntl directly.
5709 * libio/iofflush.c: Assume weak_alias is defined.
5710 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
5712 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
5713 * libio/iofgets.c: Likewise.
5714 * libio/iofopen.c: Assume _LIBC is defined.
5715 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
5716 * libio/iofputs.c: Assume weak_alias is defined.
5717 * libio/iofread.c: Likewise.
5718 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
5719 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5720 * libio/ioftell.c: Assume weak_alias is defined.
5721 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
5722 * libio/iofwide.c: Assume _LIBC is defined.
5723 (_IO_fwide): Drop SHARED conditional because it is implied by
5725 * libio/iofwrite.c: Assume weak_alias is defined.
5726 * libio/iogetdelim.c: Likewise.
5727 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
5728 * libio/iogetwline.c (wmemcpy): Remove macro definition.
5729 (_IO_getwline): Call __wmemcpy directly.
5730 * libio/iopopen.c: Assume _LIBC is defined.
5731 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5732 (_IO_close): Remove macro definitions.
5733 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
5735 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
5737 * libio/ioputs.c: Assume weak_alias is defined.
5738 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
5739 * libio/iosetbuffer.c: Assume weak_alias is defined.
5740 * libio/iosetvbuf.c: Likewise.
5741 * libio/ioungetc.c: Likewise.
5742 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
5743 libc_hidden_def, libc_hidden_weak, NULL are defined.
5744 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
5745 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
5747 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5749 (_IO_old_file_init_internal): Drop SHARED conditional because it
5750 is implied by SHLIB_COMPAT.
5751 (_IO_old_file_fopen): Call __open directly.
5752 (_IO_old_file_sync): Assume ESPIPE is defined.
5753 (_IO_old_file_write): Call __write directly.
5754 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
5755 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
5756 Call __fcntl directly.
5757 * libio/oldiofgetpos.c: Assume weak_alias is defined.
5758 (_IO_old_fgetpos): Assume EIO is defined.
5759 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
5760 (_IO_old_fgetpos64): Assume EIO is defined.
5761 * libio/oldiofsetpos.c: Assume weak_alias is defined.
5762 (_IO_old_fsetpos): Assume EIO is defined.
5763 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
5764 (_IO_old_fsetpos64): Assume EIO is defined.
5765 * libio/oldiopopen.c: Assume _LIBC is defined.
5766 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5767 (_IO_close): Remove macro definitions.
5768 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
5770 (_IO_old_proc_close): Call __close, __waitpid directly.
5771 * libio/put.c: Assume weak_alias is defined.
5772 * libio/stdfiles.c: Assume _LIBC is defined.
5773 * libio/stdio.c: Likewise.
5774 * libio/wfileops.c: Likewise.
5775 (_IO_wfile_sync): Assume ESPIPE is defined.
5776 * libio/wgenops.c: Assume _LIBC is defined.
5777 (save_for_wbackup): Remove internal_function.
5779 2017-08-31 Florian Weimer <fweimer@redhat.com>
5781 * malloc/malloc.c (top_check): Change return type to void. Remove
5783 * malloc/hooks.c (top_check): Likewise.
5784 (malloc_check, realloc_check, memalign_check): Adjust.
5786 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5789 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5790 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5791 sigcontext and namespace requirements.
5792 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5793 * sysdeps/m68k/sys/ucontext.h: Likewise.
5794 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5795 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5796 <bits/sigcontext.h>.
5797 (__ctx): Define earlier.
5798 (mcontext_t): Define structure contents rather than using struct
5800 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5801 __glibc_reserved1 instead of __reserved.
5802 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5803 <bits/sigcontext.h>.
5804 (__ctx): Define earlier.
5805 (mcontext_t): Define structure contents rather than using struct
5807 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5808 mcontext_t instead of struct sigcontext.
5809 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
5810 <bits/sigcontext.h>.
5811 (__ctx): Define earlier.
5812 (mcontext_t): Define structure contents rather than using struct
5814 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
5815 <bits/sigcontext.h>.
5816 (__ctx): Define earlier.
5817 (mcontext_t): Define structure contents rather than using struct
5819 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5820 mcontext_t instead of struct sigcontext.
5821 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5822 mcontext_t instead of struct sigcontext.
5823 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5824 <bits/sigcontext.h>.
5826 (struct __ia64_fpreg_mcontext): New type.
5827 (mcontext_t): Define structure contents rather than using struct
5829 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5830 (uc_sigmask): Define using __ctx.
5831 (uc_stack): Likewise.
5832 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5833 <bits/sigcontext.h>.
5834 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5835 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5836 <bits/sigcontext.h>.
5837 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5838 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5839 <bits/sigcontext.h>.
5840 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5841 <bits/sigcontext.h>.
5842 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5843 <bits/sigcontext.h>.
5844 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5845 <bits/sigcontext.h>.
5846 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5847 <bits/sigcontext.h>.
5848 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5849 <bits/sigcontext.h>.
5850 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5851 <bits/sigcontext.h>.
5852 (__ctx): Define earlier.
5853 (mcontext_t): Define structure contents rather than using struct
5855 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5856 <bits/sigcontext.h>. Include <bits/types.h>.
5857 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5858 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5859 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5860 (test-xfail-UNIX98/signal.h/conform): Likewise.
5861 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5862 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5863 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5864 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5865 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5866 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5867 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5868 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5869 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5871 2017-08-30 Florian Weimer <fweimer@redhat.com>
5873 * malloc/dynarray_emplace_enlarge.c
5874 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5875 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5876 * malloc/tst-dynarray.c (test_long_overflow): New function.
5879 2017-08-30 Florian Weimer <fweimer@redhat.com>
5881 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5882 (set_arena_corrupt): Remove definitions.
5883 (mtrim): Do not check for corrupt arena.
5884 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5887 2017-08-30 Florian Weimer <fweimer@redhat.com>
5890 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5892 (ptmalloc_init): Do not set or use check_action.
5893 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5894 call to malloc_printerr. Remove return statement.
5895 (free_check): Likewise. Remove arena unlock.
5896 (top_check): Update comment. Adjust call to malloc_printerr.
5897 Remove heap repair code.
5898 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5899 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5900 (sysmalloc): Adjust call to malloc_printerr.
5901 (munmap_chunk, __libc_realloc): Likewise. Remove return
5903 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5904 Remove errout label and corresponding gotos.
5905 (_int_free): Likewise. Remove arena unlock.
5906 (do_set_mallopt_check): Do not set check_action.
5907 (malloc_printerr): Adjust parameter list. Do not mark arena as
5909 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5911 * manual/probes.texi (Memory Allocation Probes): Remove
5912 memory_mallopt_check_action.
5914 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5916 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5917 Use pointer to uint64_t instead of long int for sp.
5919 2017-08-30 Florian Weimer <fweimer@redhat.com>
5922 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5923 without printing a backtrace. Do not leak any information in the
5925 * manual/memory.texi (Heap Consistency Checking): Update.
5926 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5928 2017-08-30 Florian Weimer <fweimer@redhat.com>
5930 Do not scale NPTL tests with available number of CPUs.
5931 * nptl/tst-cond16.c (count): Set to constant value of 8.
5932 * nptl/tst-cond18.c (count): Likewise.
5934 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5937 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5938 Define to take a second argument that is a macro that
5939 concatentates a suffix, not the suffix itself.
5940 (__CONCAT_d): New macro.
5941 (__CONCAT_f): Likewise.
5942 (__CONCAT_l): Likewise.
5944 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5946 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5949 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5950 Aurelien Jarno <aurelien@aurel32.net>
5951 Maciej W. Rozycki <macro@imgtec.com>
5954 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5955 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5956 `mips16-syscall6' and `mips16-syscall7'.
5957 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5958 (CFLAGS-mips16-syscall7.c): Remove.
5959 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5960 Remove `__mips16_syscall5', `__mips16_syscall6' and
5961 `__mips16_syscall7'.
5962 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5963 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5964 `__mips_syscall_return'.
5965 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5966 (__mips16_syscall1): Likewise.
5967 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5968 (__mips16_syscall2): Likewise.
5969 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5970 (__mips16_syscall3): Likewise.
5971 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5972 (__mips16_syscall4): Likewise.
5973 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5975 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5977 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5979 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5980 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5981 `__mips16_syscall5'. Remove prototype.
5982 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5983 `__mips16_syscall6'. Remove prototype.
5984 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5985 `__mips16_syscall7'. Remove prototype.
5986 (__nomips16, __mips16_syscall_return): Move to...
5987 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5988 (__nomips16, __mips_syscall_return): ... here.
5989 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5990 `__mips16_syscall_return' to `__mips_syscall_return'.
5991 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5992 `internal_syscall##nr'.
5993 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5994 `internal_syscall##nr'.
5995 (FORCE_FRAME_POINTER): Remove.
5996 (__mips_syscall5): New prototype.
5997 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5998 (__mips_syscall6): New prototype.
5999 (internal_syscall6): Rewrite to call `__mips_syscall6'.
6000 (__mips_syscall7): New prototype.
6001 (internal_syscall7): Rewrite to call `__mips_syscall7'.
6002 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
6003 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
6004 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
6005 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
6006 (sysdep_routines): Add libc-do-syscall.
6007 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
6008 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
6010 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6013 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
6014 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
6015 (advise_stack_range): New function.
6016 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
6017 stack non required to advise_stack_range at allocatestack.c
6019 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
6021 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
6023 2017-08-29 Florian Weimer <fweimer@redhat.com>
6026 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
6027 __end_fct. Mangle __end_fct after setting it to NULL.
6028 * iconv/Makefile (tests): Add tst-gconv-init-failure.
6029 (modules-names, modules-names-tests): Add
6030 tst-gconv-init-failure-mod.
6031 (gconv-modules): New target.
6032 (tst-gconv-init-failure-mod.so): Link against libsupport.
6033 (tst-gconv-init-failure): Depend on gconv-modules,
6034 tst-gconv-init-failure-mod.so.
6035 * iconv/tst-gconv-init-failure-mod.c: New file.
6036 * iconv/tst-gconv-init-failure.c: Likewise.
6037 * iconv/test-gconv-modules: Likewise.
6039 2017-08-29 Florian Weimer <fweimer@redhat.com>
6042 * iconv/gconv_db.c (free_derivation): Remove redundant
6044 (gen_steps): Unconditionally mangle __btowc_fct after
6046 (increment_counter): Likewise. Do not call init_fct for internal
6049 2017-08-29 Joseph Myers <joseph@codesourcery.com>
6052 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
6053 (_MSUF_): Remove macro.
6054 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
6056 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
6057 (__REDIRFROM_X): New macro.
6058 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
6060 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
6061 (__REDIRTO_X): Likewise.
6062 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
6064 (__MATH_REDIRCALL_2): Likewise.
6065 (__MATH_REDIRCALL_INTERNAL): Likewise.
6066 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
6067 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
6068 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
6069 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
6070 * math/test-finite-macros.c: New file.
6071 * math/Makefile (tests): Add test-finite-macros.
6072 (CFLAGS-test-finite-macros.c): New variable.
6074 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
6075 Jeff Law <law@redhat.com>
6078 Mangle NULL pointers in iconv/gconv.
6079 * iconv/gconv_cache.c (find_module): Demangle init_fct before
6080 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
6081 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
6082 is non-NULL before demangling the end_fct. Check for NULL
6083 end_fct after demangling.
6084 (__gconv_release_step): Demangle the end_fct before checking
6085 it for NULL. Remove assert on __shlibc_handle != NULL.
6086 (gen_steps): Don't check btowc_fct for NULL before mangling.
6087 Demangle init_fct before checking for NULL.
6088 (increment_counter): Likewise.
6089 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
6090 end_fct for NULL before mangling.
6091 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
6094 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
6097 * locale/iso-639.def: add Morisyen.
6099 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6102 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
6103 (iszero): New C++ implementation that does not use
6104 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
6105 signaling nans are enabled, since __builtin_types_compatible_p
6106 is a C-only feature.
6107 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
6108 defined, include ieee754_float128.h for access to the union and
6109 member ieee854_float128.ieee.
6110 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
6111 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
6112 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
6113 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
6114 options of test-math-zero on powerpc64le.
6116 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
6118 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
6119 Change double to float.
6121 2017-08-28 Joseph Myers <joseph@codesourcery.com>
6123 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
6125 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
6126 conditional code; define contents only for [LIBM_SVID_COMPAT].
6128 2017-08-28 Florian Weimer <fweimer@redhat.com>
6130 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
6131 (abi-lp64_be-options): Remove.
6132 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
6133 (abi-hard-options): Likewise.
6134 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
6135 (abi-o32_hard-options, abi-o32_soft_2008-options)
6136 (abi-o32_hard_2008-options, abi-n32_soft-options)
6137 (abi-n32_hard-options, abi-n32_soft_2008-options)
6138 (abi-n32_hard_2008-options, abi-n64_soft-options)
6139 (abi-n64_hard-options, abi-n64_soft_2008-options)
6140 (abi-n64_hard_2008-options): Likewise.
6141 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
6142 (abi-64-v1-options, abi-64-v2-options): Likewise.
6143 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
6144 (abi-64-options): Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
6146 (abi-64-options): Likewise.
6147 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
6148 (abi-64-options): Likewise.
6149 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
6150 (abi-64-options, abi-x32-options): Likewise.
6152 2017-08-28 Florian Weimer <fweimer@redhat.com>
6154 Store supported list of SYS_* system calls in the source tree.
6155 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6156 (bits/syscall.h): Generate from list file.
6157 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
6158 [$(subdir) = misc] (tests): Add tst-syscall-list.
6159 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
6160 [$(subdir) = misc] (tst-syscall-list-macros.list)
6161 [$(subdir) = misc] (tst-syscall-list-nr.list)
6162 (tst-syscall-list-sys.list): Helper targets for new
6163 tst-syscall-list test.
6164 [$(subdir) = misc] (tst-syscall-list.out): Run test script
6165 tst-syscall-list.sh.
6166 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
6167 target. Do not include bits/syscall.d.
6168 [$(subdir) = misc] (generated): Do not update.
6169 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
6170 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
6171 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
6172 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
6174 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6176 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
6177 (tst-cxa_atexit, tst-on_exit): Likewise.
6178 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
6179 tst-cxa_atexit, and tst-on_exit.
6180 * stdlib/tst-atexit-common.c: New file.
6181 * stdlib/tst-atexit.c: New file.
6182 * stdlib/tst-at_quick_exit.c: New file.
6183 * stdlib/tst-cxa_atexit.c: New file.
6184 * stdlib/tst-on_exit.c: New file.
6186 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6188 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
6189 * mach/stack_chk_fail_local.c: New file.
6190 * hurd/stack_chk_fail_local.c: New file.
6191 * mach/Machrules ($(interface-library)-routines): Add
6192 stack_chk_fail_local.
6193 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
6194 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
6195 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
6196 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
6197 * hurd/Makefile (CFLAGS-hurdstartup.o,
6198 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
6200 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
6202 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
6203 (index_cpu_*, index_arch_*): Removed.
6205 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
6207 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
6208 Use uint64_t instead of unsigned long.
6210 2017-08-25 Joseph Myers <joseph@codesourcery.com>
6212 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
6213 [__HAVE_DISTINCT_FLOAT128].
6215 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
6216 of <bits/math-finite.h>.
6217 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
6218 inclusion of <bits/math-finite.h>.
6219 * math/bits/math-finite.h (__REDIRTO_X): Do not define
6220 conditionally on [__MATH_DECLARING_LDOUBLE && defined
6221 __NO_LONG_DOUBLE_MATH].
6222 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
6223 (__MATH_REDIRCALL_2): Likewise.
6224 (__MATH_REDIRCALL_INTERNAL): Likewise.
6225 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
6226 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
6227 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
6229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6241 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6242 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6243 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6244 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6246 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
6247 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
6248 w_sqrtf_compat-ppc32.
6250 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6252 * math/math.h [defined __cplusplus] (issignaling): In the long
6253 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
6254 is not defined. Call __issignaling, otherwise.
6256 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6258 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
6259 syscall definitions and replace __builtin_expect with __glibc_likely.
6260 * sysdeps/unix/syscall-template.S: Update comment about cancellable
6262 (SYSCALL_CANCELLABLE): Removedefinition
6263 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
6265 (PSEUDO_END): Likewise.
6266 [IS_IN (libpthread)] (CENABLE): Likewise.
6267 [IS_IN (libpthread)] (CDISABLE): Likewise.
6268 [IS_IN (libc)] (CENABLE): Likewise.
6269 [IS_IN (libc)] (CENABLE): Likewise.
6270 [IS_IN (librt)] (CDISABLE): Likewise.
6271 [IS_IN (librt)] (CDISABLE): Likewise.
6272 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6273 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
6275 (PSEUDO_END): Likewise.
6276 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
6277 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
6278 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
6279 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
6280 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
6281 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
6282 (CENABLE): Likewise.
6283 (CDISABLE): Likewise.
6284 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6285 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
6287 (PSEUDO_END): Likewise.
6288 [IS_IN (libpthread)] (CENABLE): Likewise.
6289 [IS_IN (libpthread)] (CDISABLE): Likewise.
6290 [IS_IN (libc)] (CENABLE): Likewise.
6291 [IS_IN (libc)] (CENABLE): Likewise.
6292 [IS_IN (librt)] (CDISABLE): Likewise.
6293 [IS_IN (librt)] (CDISABLE): Likewise.
6294 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6295 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
6297 (PSEUDO_END): Likewise.
6298 [IS_IN (libpthread)] (CENABLE): Likewise.
6299 [IS_IN (libpthread)] (CDISABLE): Likewise.
6300 [IS_IN (libc)] (CENABLE): Likewise.
6301 [IS_IN (libc)] (CENABLE): Likewise.
6302 [IS_IN (librt)] (CDISABLE): Likewise.
6303 [IS_IN (librt)] (CDISABLE): Likewise.
6304 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6305 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
6307 (PSEUDO_END): Likewise.
6308 [IS_IN (libpthread)] (CENABLE): Likewise.
6309 [IS_IN (libpthread)] (CDISABLE): Likewise.
6310 [IS_IN (libc)] (CENABLE): Likewise.
6311 [IS_IN (libc)] (CENABLE): Likewise.
6312 [IS_IN (librt)] (CDISABLE): Likewise.
6313 [IS_IN (librt)] (CDISABLE): Likewise.
6314 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6315 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
6317 (PSEUDO_END): Likewise.
6318 [IS_IN (libpthread)] (CENABLE): Likewise.
6319 [IS_IN (libpthread)] (CDISABLE): Likewise.
6320 [IS_IN (libc)] (CENABLE): Likewise.
6321 [IS_IN (libc)] (CENABLE): Likewise.
6322 [IS_IN (librt)] (CDISABLE): Likewise.
6323 [IS_IN (librt)] (CDISABLE): Likewise.
6324 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6325 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
6327 (PSEUDO_END): Likewise.
6328 [IS_IN (libpthread)] (CENABLE): Likewise.
6329 [IS_IN (libpthread)] (CDISABLE): Likewise.
6330 [IS_IN (libc)] (CENABLE): Likewise.
6331 [IS_IN (libc)] (CENABLE): Likewise.
6332 [IS_IN (librt)] (CDISABLE): Likewise.
6333 [IS_IN (librt)] (CDISABLE): Likewise.
6334 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6335 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
6337 (PSEUDO_END): Likewise.
6338 [IS_IN (libpthread)] (CENABLE): Likewise.
6339 [IS_IN (libpthread)] (CDISABLE): Likewise.
6340 [IS_IN (libc)] (CENABLE): Likewise.
6341 [IS_IN (libc)] (CENABLE): Likewise.
6342 [IS_IN (librt)] (CDISABLE): Likewise.
6343 [IS_IN (librt)] (CDISABLE): Likewise.
6344 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6345 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
6347 (PSEUDO_END): Likewise.
6348 [IS_IN (libpthread)] (CENABLE): Likewise.
6349 [IS_IN (libpthread)] (CDISABLE): Likewise.
6350 [IS_IN (libc)] (CENABLE): Likewise.
6351 [IS_IN (libc)] (CENABLE): Likewise.
6352 [IS_IN (librt)] (CDISABLE): Likewise.
6353 [IS_IN (librt)] (CDISABLE): Likewise.
6354 (SINGLE_THREAD_P): Likewise.
6355 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
6357 (PSEUDO_END): Likewise.
6358 [IS_IN (libpthread)] (CENABLE): Likewise.
6359 [IS_IN (libpthread)] (CDISABLE): Likewise.
6360 [IS_IN (libc)] (CENABLE): Likewise.
6361 [IS_IN (libc)] (CENABLE): Likewise.
6362 [IS_IN (librt)] (CDISABLE): Likewise.
6363 [IS_IN (librt)] (CDISABLE): Likewise.
6364 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6365 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
6367 (PSEUDO_END): Likewise.
6368 [IS_IN (libpthread)] (CENABLE): Likewise.
6369 [IS_IN (libpthread)] (CDISABLE): Likewise.
6370 [IS_IN (libc)] (CENABLE): Likewise.
6371 [IS_IN (libc)] (CENABLE): Likewise.
6372 [IS_IN (librt)] (CDISABLE): Likewise.
6373 [IS_IN (librt)] (CDISABLE): Likewise.
6374 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6375 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
6376 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6377 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
6378 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
6380 (PSEUDO_END): Likewise.
6381 [IS_IN (libpthread)] (CENABLE): Likewise.
6382 [IS_IN (libpthread)] (CDISABLE): Likewise.
6383 [IS_IN (libc)] (CENABLE): Likewise.
6384 [IS_IN (libc)] (CENABLE): Likewise.
6385 [IS_IN (librt)] (CDISABLE): Likewise.
6386 [IS_IN (librt)] (CDISABLE): Likewise.
6387 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
6390 (PSEUDO_END): Likewise.
6391 [IS_IN (libpthread)] (CENABLE): Likewise.
6392 [IS_IN (libpthread)] (CDISABLE): Likewise.
6393 [IS_IN (libc)] (CENABLE): Likewise.
6394 [IS_IN (libc)] (CENABLE): Likewise.
6395 [IS_IN (librt)] (CDISABLE): Likewise.
6396 [IS_IN (librt)] (CDISABLE): Likewise.
6397 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6398 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
6400 (PSEUDO_END): Likewise.
6401 [IS_IN (libpthread)] (CENABLE): Likewise.
6402 [IS_IN (libpthread)] (CDISABLE): Likewise.
6403 [IS_IN (libc)] (CENABLE): Likewise.
6404 [IS_IN (libc)] (CENABLE): Likewise.
6405 [IS_IN (librt)] (CDISABLE): Likewise.
6406 [IS_IN (librt)] (CDISABLE): Likewise.
6407 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
6409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6410 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
6411 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
6413 (PSEUDO_END): Likewise.
6414 [IS_IN (libpthread)] (CENABLE): Likewise.
6415 [IS_IN (libpthread)] (CDISABLE): Likewise.
6416 [IS_IN (libc)] (CENABLE): Likewise.
6417 [IS_IN (libc)] (CENABLE): Likewise.
6418 [IS_IN (librt)] (CDISABLE): Likewise.
6419 [IS_IN (librt)] (CDISABLE): Likewise.
6420 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6421 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
6423 (PSEUDO_END): Likewise.
6424 [IS_IN (libpthread)] (CENABLE): Likewise.
6425 [IS_IN (libpthread)] (CDISABLE): Likewise.
6426 [IS_IN (libc)] (CENABLE): Likewise.
6427 [IS_IN (libc)] (CENABLE): Likewise.
6428 [IS_IN (librt)] (CDISABLE): Likewise.
6429 [IS_IN (librt)] (CDISABLE): Likewise.
6430 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6432 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6434 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
6436 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6438 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6440 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6443 * string/stratcliff.c (do_test): Declare size, nchars, inner,
6444 middle and outer with size_t instead of int. Repleace %d and
6445 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
6446 "MAX (outer, nchars - 64)" to support unsigned outer and
6447 nchars. Also exit loop when outer == 0.
6449 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6451 * include/fcntl.h (__fcntl_nocancel): Remove definition.
6452 * include/signal.h (__sigsuspend_nocancel): Likewise.
6453 * include/time.h (__nanosleep_nocancel): Likewise.
6454 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
6455 * login/utmp_file.c: Include non cancellable syscall header.
6456 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
6459 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6461 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
6462 .byte sequences with AVX512F instructions.
6463 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
6464 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6465 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
6468 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6471 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
6472 Steve Ellcey <sellcey@cavium.com>
6474 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
6475 Use PTR_REG macro in cmp instruction.
6477 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6479 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
6480 Change the return type of the ifunc resolver to match the return
6481 type of the target function.
6483 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6485 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
6486 (preadv64): Likewise.
6487 (pwrite64(: Likewise.
6488 (pwritev64): Likewise.
6490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6491 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
6492 (LOAD_ARGS_0): Likewise.
6493 (LOAD_ARGS_1): Likewise.
6494 (LOAD_ARGS_2): Likewise.
6495 (LOAD_ARGS_3): Likewise.
6496 (LOAD_ARGS_4): Likewise.
6497 (LOAD_ARGS_5): Likewise.
6498 (LOAD_ARGS_6): Likewise.
6499 (LOAD_REGS_0): Likewise.
6500 (LOAD_REGS_1): Likewise.
6501 (LOAD_REGS_2): Likewise.
6502 (LOAD_REGS_3): Likewise.
6503 (LOAD_REGS_4): Likewise.
6504 (LOAD_REGS_5): Likewise.
6505 (LOAD_REGS_6): Likewise.
6506 (ASM_ARGS_0): Likewise.
6507 (ASM_ARGS_1): Likewise.
6508 (ASM_ARGS_2): Likewise.
6509 (ASM_ARGS_3): Likewise.
6510 (ASM_ARGS_4): Likewise.
6511 (ASM_ARGS_5): Likewise.
6512 (ASM_ARGS_6): Likewise.
6513 (LOAD_ARGS_TYPES_1): Likewise.
6514 (LOAD_ARGS_TYPES_2): Likewise.
6515 (LOAD_ARGS_TYPES_3): Likewise.
6516 (LOAD_ARGS_TYPES_4): Likewise.
6517 (LOAD_ARGS_TYPES_5): Likewise.
6518 (LOAD_ARGS_TYPES_6): Likewise.
6519 (LOAD_REGS_TYPES_1): Likewise.
6520 (LOAD_REGS_TYPES_2): Likewise.
6521 (LOAD_REGS_TYPES_3): Likewise.
6522 (LOAD_REGS_TYPES_4): Likewise.
6523 (LOAD_REGS_TYPES_5): Likewise.
6524 (LOAD_REGS_TYPES_6): Likewise.
6525 (TYPEFY): New define.
6527 (internal_syscall0): Likewise.
6528 (internal_syscall1): Likewise.
6529 (internal_syscall2): Likewise.
6530 (internal_syscall3): Likewise.
6531 (internal_syscall4): Likewise.
6532 (internal_syscall5): Likewise.
6533 (internal_syscall6): Likewise.
6534 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
6535 (INTERNAL_SYSCALL_NCS): Remove define.
6536 (internal_syscall1): Add define.
6538 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6540 * math/w_remainder_compat.c: Remove duplicate inclusion of
6542 * math/w_remainderf_compat.c: Likewise.
6543 * math/w_remainderl_compat.c: Likewise.
6545 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6549 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6552 * math/tgmath.h (__floating_type): Simplify definitions.
6553 (__real_integer_type): New macro.
6554 (__complex_integer_type): Likewise.
6555 (__expr_is_real): Likewise.
6556 (__tgmath_real_type_sub): Update comment to describe handling of
6558 (__tgmath_complex_type_sub): New macro.
6559 (__tgmath_complex_type): Likewise.
6560 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6561 (__TGMATH_CF128): Use __expr_is_real.
6562 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
6564 (__TGMATH_BINARY_REAL_IMAG): Likewise.
6565 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
6566 * math/gen-tgmath-tests.py (Type.create_type): Create complex
6569 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6571 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
6573 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
6575 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
6578 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
6579 nanosleep_not_cancel with __nanosleep_nocancel.
6580 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
6581 (__nanosleep_nocancel): New macro.
6582 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
6584 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
6586 (__nanosleep_nocancel): New prototype.
6588 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
6589 pause_not_cancel with __pause_nocancel.
6590 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
6591 (__pause_nocancel): New macro.
6592 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
6594 (__pause_nocancel): New prototype.
6595 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
6597 2017-08-22 Martin Sebor <msebor@redhat.com>
6599 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
6600 to return a pointer to the same type as the target function.
6602 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6606 * include/printf.h (__printf_fphex): Add attribute_hidden.
6607 (__guess_grouping): New prototype.
6608 * stdio-common/printf_fp.c (__guess_grouping): Removed.
6609 * stdio-common/reg-printf.c (__register_printf_specifier): Add
6610 libc_hidden_proto and libc_hidden_def.
6611 * stdlib/strfmon_l.c (__guess_grouping): Removed.
6612 (__vstrfmon_l): Remove the third argument passed to
6615 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6617 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
6618 definition for issignaling that does not rely on __MATH_TG,
6619 since __MATH_TG uses __builtin_types_compatible_p, which is only
6620 available in C mode.
6621 (CFLAGS-test-math-issignaling.cc): New variable.
6622 * math/Makefile [CXX] (tests): Add test-math-issignaling.
6623 * math/test-math-issignaling.cc: New test for C++ implementation
6624 of type-generic issignaling.
6625 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
6626 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
6627 options of test-math-issignaling on powerpc64le.
6629 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6631 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6633 (hidden_proto): Likewise.
6634 (hidden_tls_proto): Likewise.
6635 (__hidden_proto): Likewise.
6637 2017-08-22 Florian Weimer <fweimer@redhat.com>
6639 math: Statically link tests of internal functionality.
6640 * math/Makefile (tests): Remove atest-exp, atest-sincos,
6642 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
6643 (gmp-objs): Remove assignment.
6644 (atest-exp, atest-sincos, atest-exp2): Remove targets.
6646 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6649 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
6651 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
6656 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
6657 variable definitions above inclusion of ../Rules.
6659 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6661 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
6662 case calling __builtin_unreachable.
6664 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6666 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
6668 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
6669 (__waitpid_nocancel): New macro.
6670 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
6672 (__waitpid_nocancel): Replace macro with a function.
6673 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
6676 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
6678 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
6679 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
6681 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
6682 __writev_nocancel_nostatus.
6683 (write_call_graph): Likewise.
6684 (write_bb_counts): Likewise.
6685 * resolv/herror.c (herror): Likewise.
6686 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
6688 (__writev_nocancel_nostatus): New macro.
6689 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
6691 (__writev_nocancel_nostatus): New function.
6693 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6696 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6698 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6700 (hidden_proto): Likewise.
6701 (hidden_tls_proto): Likewise.
6702 (__hidden_proto): Likewise.
6705 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
6706 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
6716 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6717 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6718 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6720 GLIBC_2.0 sqrtl symbol.
6722 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
6723 [__USE_MISC] (_LIB_VERSION): Likewise.
6724 [__USE_MISC] (struct exception): Likewise.
6725 [__USE_MISC] (matherr): Likewise.
6726 [__USE_MISC] (DOMAIN): Likewise.
6727 [__USE_MISC] (SING): Likewise.
6728 [__USE_MISC] (OVERFLOW): Likewise.
6729 [__USE_MISC] (UNDERFLOW): Likewise.
6730 [__USE_MISC] (TLOSS): Likewise.
6731 [__USE_MISC] (PLOSS): Likewise.
6732 [__USE_MISC] (HUGE): Likewise.
6733 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
6734 * math/math-svid-compat.h: New file.
6735 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
6737 * include/math.h [!_ISOMAC] (__matherr): Remove.
6738 * manual/arith.texi (FP Exceptions): Do not document matherr.
6739 * math/Makefile (tests): Change test-matherr to test-matherr-3.
6740 (tests-internal): New variable.
6741 (install-lib): Do not add libieee.a.
6742 (non-lib.a): Likewise.
6743 (extra-objs): Do not add libieee.a and ieee-math.o.
6744 (CPPFLAGS-s_lib_version.c): Remove variable.
6745 ($(objpfx)libieee.a): Remove rule.
6746 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
6747 * math/ieee-math.c: Remove.
6748 * math/libm-test-support.c (matherr): Remove.
6749 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
6750 and license notices. Include <math-svid-compat.h> and
6752 (matherr): Undefine as macro. Use compat_symbol_reference.
6753 (_LIB_VERSION): Likewise.
6754 * math/test-matherr-2.c: New file.
6755 * math/test-matherr-3.c: Likewise.
6756 * sysdeps/generic/math_private.h (__kernel_standard): Remove
6758 (__kernel_standard_f): Likewise.
6759 (__kernel_standard_l): Likewise.
6760 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
6761 <math_private.h>. Include <math-svid-compat.h>.
6762 (_LIB_VERSION): Undefine as macro.
6763 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
6764 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
6765 [LIBM_SVID_COMPAT], use compat_symbol.
6766 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
6767 <math_private.h>. Include <math-svid-compat.h>.
6768 (matherr): Undefine as macro.
6769 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
6771 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
6772 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
6773 compat_symbol_reference.
6774 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
6775 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
6776 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
6777 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
6778 (MATHERR_D): Remove declaration.
6779 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
6780 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
6781 [LIBM_BUILD] (pmatherrf): Likewise.
6782 [LIBM_BUILD] (pmatherr): Likewise.
6783 [LIBM_BUILD] (pmatherrl): Likewise.
6786 (OVERFLOW): Likewise.
6787 (UNDERFLOW): Likewise.
6790 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6791 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6793 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6794 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6796 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6797 * math/w_acos_compat.c: Likewise.
6798 * math/w_acosf_compat.c: Likewise.
6799 * math/w_acosh_compat.c: Likewise.
6800 * math/w_acoshf_compat.c: Likewise.
6801 * math/w_acoshl_compat.c: Likewise.
6802 * math/w_acosl_compat.c: Likewise.
6803 * math/w_asin_compat.c: Likewise.
6804 * math/w_asinf_compat.c: Likewise.
6805 * math/w_asinl_compat.c: Likewise.
6806 * math/w_atan2_compat.c: Likewise.
6807 * math/w_atan2f_compat.c: Likewise.
6808 * math/w_atan2l_compat.c: Likewise.
6809 * math/w_atanh_compat.c: Likewise.
6810 * math/w_atanhf_compat.c: Likewise.
6811 * math/w_atanhl_compat.c: Likewise.
6812 * math/w_cosh_compat.c: Likewise.
6813 * math/w_coshf_compat.c: Likewise.
6814 * math/w_coshl_compat.c: Likewise.
6815 * math/w_exp10_compat.c: Likewise.
6816 * math/w_exp10f_compat.c: Likewise.
6817 * math/w_exp10l_compat.c: Likewise.
6818 * math/w_exp2_compat.c: Likewise.
6819 * math/w_exp2f_compat.c: Likewise.
6820 * math/w_exp2l_compat.c: Likewise.
6821 * math/w_fmod_compat.c: Likewise.
6822 * math/w_fmodf_compat.c: Likewise.
6823 * math/w_fmodl_compat.c: Likewise.
6824 * math/w_hypot_compat.c: Likewise.
6825 * math/w_hypotf_compat.c: Likewise.
6826 * math/w_hypotl_compat.c: Likewise.
6827 * math/w_j0_compat.c: Likewise.
6828 * math/w_j0f_compat.c: Likewise.
6829 * math/w_j0l_compat.c: Likewise.
6830 * math/w_j1_compat.c: Likewise.
6831 * math/w_j1f_compat.c: Likewise.
6832 * math/w_j1l_compat.c: Likewise.
6833 * math/w_jn_compat.c: Likewise.
6834 * math/w_jnf_compat.c: Likewise.
6835 * math/w_jnl_compat.c: Likewise.
6836 * math/w_lgamma_main.c: Likewise.
6837 * math/w_lgamma_r_compat.c: Likewise.
6838 * math/w_lgammaf_main.c: Likewise.
6839 * math/w_lgammaf_r_compat.c: Likewise.
6840 * math/w_lgammal_main.c: Likewise.
6841 * math/w_lgammal_r_compat.c: Likewise.
6842 * math/w_log10_compat.c: Likewise.
6843 * math/w_log10f_compat.c: Likewise.
6844 * math/w_log10l_compat.c: Likewise.
6845 * math/w_log2_compat.c: Likewise.
6846 * math/w_log2f_compat.c: Likewise.
6847 * math/w_log2l_compat.c: Likewise.
6848 * math/w_log_compat.c: Likewise.
6849 * math/w_logf_compat.c: Likewise.
6850 * math/w_logl_compat.c: Likewise.
6851 * math/w_pow_compat.c: Likewise.
6852 * math/w_powf_compat.c: Likewise.
6853 * math/w_powl_compat.c: Likewise.
6854 * math/w_remainder_compat.c: Likewise.
6855 * math/w_remainderf_compat.c: Likewise.
6856 * math/w_remainderl_compat.c: Likewise.
6857 * math/w_scalb_compat.c: Likewise.
6858 * math/w_scalbf_compat.c: Likewise.
6859 * math/w_scalbl_compat.c: Likewise.
6860 * math/w_sinh_compat.c: Likewise.
6861 * math/w_sinhf_compat.c: Likewise.
6862 * math/w_sinhl_compat.c: Likewise.
6863 * math/w_sqrt_compat.c: Likewise.
6864 * math/w_sqrtf_compat.c: Likewise.
6865 * math/w_sqrtl_compat.c: Likewise.
6866 * math/w_tgamma_compat.c: Likewise.
6867 * math/w_tgammaf_compat.c: Likewise.
6868 * math/w_tgammal_compat.c: Likewise.
6869 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6870 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6871 * sysdeps/ieee754/k_standard.c: Likewise.
6872 * sysdeps/ieee754/k_standardf.c: Likewise.
6873 * sysdeps/ieee754/k_standardl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6877 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6878 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6879 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6880 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6881 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6882 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6887 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6888 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6889 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6890 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6892 2017-08-21 Florian Weimer <fweimer@redhat.com>
6895 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6896 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6897 Move before inclusion of ../Rules.
6899 2017-08-21 Florian Weimer <fweimer@redhat.com>
6902 * assert/assert.h (assert): Use static_cast (bool) for C++.
6903 Use the ternary operator in the warning branch for GNU C.
6904 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6905 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6906 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6907 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6908 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6910 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6914 (__syscall_clock_gettime): Add attribute_hidden.
6915 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6916 (__start_context): Likewise.
6918 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6920 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6922 (hidden_proto): Likewise.
6923 (hidden_tls_proto): Likewise.
6924 (__hidden_proto): Likewise.
6926 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6928 * include/libc-symbols.h (attribute_hidden): Enable hidden
6929 visibility in libc.a compiled with PIE.
6931 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6934 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6935 Add attribute_hidden.
6937 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6940 * Makerules (all-nonlib): Add $(others-extras).
6941 * catgets/Makefile (others-extras): New.
6942 * elf/Makefile (others-extras): Likewise.
6943 * nss/Makefile (others-extras): Likewise.
6945 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6948 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6949 * elf/dl-open.c: Include <libc-internal.h>.
6950 (__libc_multiple_libcs): Removed.
6951 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6953 * include/libc-internal.h (__libc_multiple_libcs): New.
6954 * misc/sbrk.c: Include <libc-internal.h>.
6955 (__libc_multiple_libcs): Removed.
6957 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6960 * grp/initgroups.c (__nss_group_database): Removed.
6961 (__nss_initgroups_database): Likewise.
6962 * nscd/gai.c (__nss_hosts_database): Likewise.
6963 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6964 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6965 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6966 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6967 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6968 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6970 * nss/nsswitch.c (__nss_database_custom): Define only if
6971 USE_NSCD is defined.
6972 (__nss_configure_lookup): Use __nss_database_custom only if
6973 USE_NSCD is defined.
6974 * nss/nsswitch.h (__nss_database_custom): Declare only if
6975 USE_NSCD is defined. Add attribute_hidden.
6976 (__nss_setent): Add attribute_hidden.
6977 (__nss_endent): Likewise.
6978 (__nss_getent_r): Likewise.
6979 (__nss_getent): Likewise.
6980 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6982 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6985 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6986 libc_hidden_proto and libc_hidden_def.
6988 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6991 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6992 Add libc_hidden_proto.
6993 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6994 Add libc_hidden_def.
6996 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6999 * gmon/Makefile (routines): Remove bb_init_func and
7001 (elide-routines.os): Removed.
7002 * gmon/bb_exit_func.c: Likewise.
7003 * gmon/bb_init_func.c: Likewise.
7004 * include/sys/gmon.h (__bb): Likewise.
7005 (__bb_init_func): Likewise.
7006 (__bb_exit_func): Likewise.
7007 * sysdeps/alpha/bb_init_func.S: Likewise.
7009 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
7011 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
7012 * include/setjmp.h (____longjmp_chk): Here. Add
7015 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
7018 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
7020 (__strspn_sse2): Likewise.
7022 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7024 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
7025 (close_not_cancel_no_status): Likewise.
7026 (__close_nocancel): New macro.
7027 (__close_nocancel_nostatus): Likewise.
7028 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
7030 (close_not_cancel): Likewise.
7031 (close_not_cancel_no_status): Likewise.
7032 (__close_nocancel): New prototype.
7033 (__close_nocancel_nostatus): New function.
7034 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
7035 * catgets/open_catalog.c (__open_catalog): Replace
7036 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
7037 * gmon/gmon.c (write_gmon): Likewise.
7038 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7039 * intl/loadmsgcat.c (close): Likewise.
7040 * io/ftw.c (open_dir_stream): Likewise.
7041 (ftw_startup): Likewise.
7042 * libio/fileops.c (_IO_file_open): Likewise.
7043 (_IO_file_close_mmap): Likewise.
7044 (_IO_file_close): Likewise.
7045 * libio/iopopen.c (_IO_dup2): Likewise.
7046 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7047 * locale/loadlocale.c (_nl_load_locale): Likewise.
7048 * login/utmp_file.c (pututline_file): Likewise.
7049 (endutent_file): Likewise.
7050 * misc/daemon.c (daemon): Likewise.
7051 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7052 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7053 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7054 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7055 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7056 * nscd/nscd_helper.c (open_socket): Likewise.
7057 (__nscd_open_socket): Likewise.
7058 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7059 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
7060 (__nscd_innetgr): Likewise.
7061 * nss/nss_db/db-open.c (internal_setent): Likewise.
7062 * resolv/res-close.c (__res_iclose): Likewise.
7063 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
7064 * sysdeps/posix/closedir.c (__closedir): Likewise.
7065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
7066 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7067 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
7068 (opendir_tail): Likewise.
7069 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7070 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
7071 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7072 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7073 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
7074 (gethostid): Likewise.
7075 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
7076 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7079 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
7080 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
7081 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
7083 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
7084 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
7085 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
7087 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
7088 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7090 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7092 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7093 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
7094 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7097 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
7098 (openat_not_cancel_3): Likewise.
7099 (openat64_not_cancel_3): Likewise).
7100 (openat_not_cancel_3): Likewise).
7101 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
7103 (openat_not_cancel_3): Likewise.
7104 (openat64_not_cancel): Likewise.
7105 (openat64_not_cancel_3): Likewise.
7106 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
7107 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
7108 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
7109 __open{64}_nocancel.
7110 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7111 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7112 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7114 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
7117 * include/argz.h (__argz_create_sep): New function prototype.
7118 (__argz_append): Likewise.
7119 (__argz_add): Likewise.
7120 (__argz_add_sep): Likewise.
7121 (__argz_delete): Likewise.
7122 (__argz_insert): Likewise.
7123 (__argz_replace): Likewise.
7124 * string/argz.h (__argz_create_sep): Removed.
7125 (__argz_append): Likewise.
7126 (__argz_add): Likewise.
7127 (__argz_add_sep): Likewise.
7128 (__argz_delete): Likewise.
7129 (__argz_insert): Likewise.
7130 (__argz_replace): Likewise.
7132 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
7134 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
7135 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
7136 (GNU_PROPERTY_STACK_SIZE): Likewie.
7137 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
7138 (GNU_PROPERTY_LOPROC): Likewise.
7139 (GNU_PROPERTY_HIPROC): Likewise.
7140 (GNU_PROPERTY_LOUSER): Likewise.
7141 (GNU_PROPERTY_HIUSER): Likewise.
7142 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
7143 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
7144 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
7145 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
7146 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
7147 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
7148 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
7149 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
7150 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
7151 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
7152 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
7153 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
7154 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
7155 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
7156 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
7157 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
7158 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
7159 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
7160 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
7161 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
7162 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
7163 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
7164 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
7166 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7168 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
7171 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7174 * math/math.h (isinf): Check if in C or C++ mode before using
7175 __builtin_types_compatible_p, since this is a C mode feature.
7177 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7179 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
7180 (__write_nocancel): New macro.
7181 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
7182 Rewrite as a function prototype.
7183 (write_not_cancel): Remove macro.
7184 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
7185 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
7186 (write_gmon): Likewise.
7187 * libio/fileops.c (_IO_new_file_write): Likewise.
7188 * login/utmp_file.c (pututline_file): Likewise.
7189 (updwtmp_file): Likewise.
7190 * stdio-common/psiginfo.c (psiginfo): Likewise.
7191 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7192 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
7193 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
7195 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7198 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
7199 (__read_nocancel): New macro.
7200 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7202 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
7204 (__read_nocancel): New prototype.
7205 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
7206 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
7207 with __read_nocancel.
7208 * intl/loadmsgcat.c (read): Likewise.
7209 * libio/fileops.c (_IO_file_read): Likewise.
7210 * locale/loadlocale.c (_nl_load_locale): Likewise.
7211 * login/utmp_file.c (getutent_r_file): Likewise.
7212 (internal_getut_r): Likewise.
7213 (getutline_r_file): Likewise.
7214 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
7215 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7216 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
7217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7219 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
7220 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
7221 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
7223 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
7225 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
7227 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7229 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
7231 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
7234 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
7235 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
7238 2017-08-17 DJ Delorie <dj@redhat.com>
7240 * bug17079.c: Update to new test harness.
7241 * test-digits-dots.c: Likewise.
7242 * test-netdb.c: Likewise.
7243 * tst-field.c: Likewise.
7244 * tst-nss-getpwent.c: Likewise.
7245 * tst-nss-static.c: Likewise.
7246 * tst-nss-test1.c: Likewise.
7247 * tst-nss-test2.c: Likewise.
7248 * tst-nss-test3.c: Likewise.
7249 * tst-nss-test4.c: Likewise.
7250 * tst-nss-test5.c: Likewise.
7252 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7254 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
7255 (open_not_cancel_2): Likewise.
7256 (open_nocancel): New macro.
7257 (open64_nocancel): Likewise.
7258 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
7259 (open_not_cancel_2): Likewise.
7260 (__open_nocancel): New prototype.
7261 (__open64_nocancel): Likewise.
7262 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7264 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
7265 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
7266 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
7267 with __open_nocancel.
7268 * csu/check_fds.c (check_one_fd): Likewise.
7269 * gmon/gmon.c (write_gmon): Likewise.
7270 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
7271 * intl/loadmsgcat.c (open): Likewise.
7272 * libio/fileops.c (_IO_file_open): Likewise.
7273 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7274 * locale/loadlocale.c (_nl_load_locale): Likewise.
7275 * login/utmp_file.c (setutent_file): Likewise.
7276 * misc/daemon.c (daemon): Likewise.
7277 * nss/nss_db/db-open.c (internal_setent): Likewise.
7278 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7279 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
7280 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
7281 (__opendir): Likewise.
7282 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7283 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
7284 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
7285 (gethostid): Likewise.
7286 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
7287 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7289 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7290 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
7291 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
7292 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
7294 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
7296 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
7298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7300 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7302 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7304 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
7307 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
7309 * benchtests/bench-skeleton.c (main): Add support for
7310 latency benchmarking.
7311 * benchtests/scripts/bench.py: Add support for latency benchmarking.
7313 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
7315 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
7318 2017-08-17 Florian Weimer <fweimer@redhat.com>
7320 * include/sys/socket.h (__opensock): Remove internal_function.
7321 * socket/opensock.c (__opensock): Likewise.
7322 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
7324 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7327 * signal/bits/types/__sigval_t.h: New file.
7328 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
7329 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
7330 and define sigval_t using __sigval_t.
7331 * include/bits/types/__sigval_t.h: New file.
7332 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
7333 instead of <bits/types/__sigval_t.h>.
7334 (struct sigevent): Use __sigval_t instead of sigval_t.
7335 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
7336 instead of <bits/types/__sigval_t.h>.
7337 (siginfo_t): Use __sigval_t instead of sigval_t.
7338 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
7339 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7340 (struct sigevent): Use __sigval_t instead of sigval_t.
7341 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
7342 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7343 (siginfo_t): Use __sigval_t instead of sigval_t.
7344 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
7346 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7348 * NEWS: Remove "[Add new features here]" for 2.27.
7350 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7352 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
7355 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7357 * NEWS: Mention x86-64 FMA optimization.
7359 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7362 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7364 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
7365 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
7366 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
7368 2017-08-16 Andreas Schwab <schwab@suse.de>
7372 * elf/ldd.bash.in: Never run file directly.
7374 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
7377 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
7378 (L(SP_INF_0)): Likewise.
7380 2017-08-15 Florian Weimer <fweimer@redhat.com>
7382 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
7385 2017-08-15 Florian Weimer <fweimer@redhat.com>
7387 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
7388 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
7389 BROKEN_THREAD_SIGNALS code.
7390 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
7391 request_list): Remove caller_pid member used for
7392 BROKEN_THREAD_SIGNALS.
7393 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
7394 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7395 Remove BROKEN_THREAD_SIGNALS support.
7396 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7397 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
7399 2017-08-15 Florian Weimer <fweimer@redhat.com>
7401 * gmon/Makefile (tests): Add tst-gmon.
7402 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
7404 (tests-special): Add tst-gmon-prof.out.
7405 (tst-gmon.out): Depend on clean-tst-gmon-data.
7406 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
7407 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
7408 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
7410 * aclocal.m4 (GPROF): Set and substitute.
7411 * config.amke.in (GPROF): Set.
7412 * configure: Regenerate.
7414 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
7416 * elf/elf.h A (NT_PPC_TAR): New macro.
7417 (NT_PPC_PPR): Likewise.
7418 (NT_PPC_DSCR): Likewise.
7419 (NT_PPC_EBB): Likewise.
7420 (NT_PPC_PMU): Likewise.
7421 (NT_PPC_TM_CGPR): Likewise.
7422 (NT_PPC_TM_CFPR): Likewise.
7423 (NT_PPC_TM_CVMX): Likewise.
7424 (NT_PPC_TM_CVSX): Likewise.
7425 (NT_PPC_TM_SPR): Likewise.
7426 (NT_PPC_TM_CTAR): Likewise.
7427 (NT_PPC_TM_CPPR): Likewise.
7428 (NT_PPC_TM_CDSCR): Likewise.
7430 2017-08-15 Florian Weimer <fweimer@redhat.com>
7432 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
7433 regparm (2) instead of internal_function.
7434 (_MCOUNT_DECL): Adjust.
7436 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
7438 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
7439 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7441 2017-08-14 Joseph Myers <joseph@codesourcery.com>
7443 * conform/data/sys/wait.h-data (si_value): Do not expect for
7446 2017-08-14 Florian Weimer <fweimer@redhat.com>
7449 NSS: Create stubs for accidentally exported lookup functions.
7450 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
7452 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
7453 (ether_hostton): Call __nss_ethers_lookup2 instead.
7454 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
7455 (ether_ntohost): Call __nss_ethers_lookup2 instead.
7456 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
7457 (setup): Call __nss_netgroup_lookup2 instead.
7458 * nss/Makefile (routines): Add compat-lookup.
7459 * nss/Versions (GLIBC_2.27): Add symbol version.
7460 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
7461 (DB_COMPAT_FCT): Remove.
7462 * nss/compat-lookup.c: New file.
7463 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
7465 * nss/service-lookup.c (NO_COMPAT): Remove definition.
7466 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
7467 (netname2user): Call __nss_publickey_lookup2 instead.
7468 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
7469 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
7472 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7473 Sergei Trofimovich <slyfox@inbox.ru>
7476 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
7477 Rename to MMAP2_PAGE_UNIT.
7478 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
7479 __OFF_T_MATCHES_OFF64_T is not defined.
7480 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
7482 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
7483 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
7485 2017-08-14 Florian Weimer <fweimer@redhat.com>
7487 i386: Do not set internal_function.
7488 * config.h.in (USE_REGPARMS, internal_function): Remove.
7489 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
7490 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
7492 2017-08-14 Florian Weimer <fweimer@redhat.com>
7494 * elf/dl-init.c (_dl_init): Remove internal_function.
7495 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
7496 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
7498 2017-08-14 Florian Weimer <fweimer@redhat.com>
7500 * elf/rtld.c (_dl_start): Remove internal_function.
7501 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
7504 2017-08-14 Florian Weimer <fweimer@redhat.com>
7506 * elf/dl-fini.c (_dl_fini): Remove internal_function
7507 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
7509 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
7511 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
7512 (bit_cpu_SHSTK): Likewise.
7513 (index_cpu_IBT): Likewise.
7514 (index_cpu_SHSTK): Likewise.
7515 (reg_IBT): Likewise.
7516 (reg_SHSTK): Likewise.
7517 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7518 Handle index_cpu_IBT and index_cpu_SHSTK.
7520 2017-08-14 Mike FABIAN <mfabian@redhat.com>
7523 * po/fr.po: Fix spelling mistake.
7525 2017-08-13 Florian Weimer <fweimer@redhat.com>
7527 * elf/dl-addr.c (_dl_addr): Remove internal_function.
7528 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
7529 (_dl_catch_error, _dl_receive_error): Likewise.
7530 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
7531 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
7532 (_dl_deallocate_tls): Likewise.
7533 * include/dlfcn.h (_dl_addr): Likewise.
7534 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
7535 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
7536 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
7539 2017-08-13 Florian Weimer <fweimer@redhat.com>
7541 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
7542 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
7544 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
7546 2017-08-13 Florian Weimer <fweimer@redhat.com>
7548 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
7550 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
7551 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
7552 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
7553 internal_function from _dl_make_stack_executable_hook member.
7554 (_dl_make_stack_executable): Remove internal_function.
7555 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
7557 * sysdeps/unix/sysv/linux/dl-execstack.c
7558 (_dl_make_stack_executable): Likewise.
7560 2017-08-13 Florian Weimer <fweimer@redhat.com>
7562 * sysdeps/unix/sysv/linux/netlinkaccess.h
7563 (__netlink_assert_response): Remove internal_function.
7564 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7565 (__netlink_assert_response): Likewise.
7567 2017-08-13 Florian Weimer <fweimer@redhat.com>
7569 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
7571 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
7573 2017-08-13 Florian Weimer <fweimer@redhat.com>
7575 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
7577 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
7578 * inet/netgroup.h (__internal_setnetgrent)
7579 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7580 * inet/getnetgrent_r.c (__internal_setnetgrent)
7581 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7582 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
7583 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
7584 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
7585 * nss/nsswitch.h (db_lookup_function): Likewise.
7587 2017-08-13 Florian Weimer <fweimer@redhat.com>
7589 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
7590 Remove internal_function.
7591 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
7592 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
7593 message argument on the stack.
7594 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
7597 2017-08-12 Mike FABIAN <mfabian@redhat.com>
7599 Adapt test case data to the changes in the thousands
7603 * localedata/tst-langinfo.sh: Adapt test case data.
7604 * stdlib/tst-strfmon_l.c: Likewise.
7605 * stdlib/tst-strtod4.c: Likewise.
7606 * stdlib/tst-strtod5i.c: Likewise.
7608 2017-08-11 Florian Weimer <fweimer@redhat.com>
7611 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
7612 Suppress pedantic warning resulting from statement expression.
7613 (__ASSERT_FUNCTION): Add missing __extension__.
7615 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7617 * benchtests/bench-memmove-large.c: Print output in JSON
7619 * benchtests/bench-memmove.c: Likewise.
7621 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
7622 * benchtests/bench-memchr.c (do_one_test): Likewise.
7623 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
7624 * benchtests/bench-memcpy.c (do_one_test): Likewise.
7625 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
7626 * benchtests/bench-memmove.c (do_one_test): Likewise.
7627 * benchtests/bench-memset-large.c (do_one_test): Likewise.
7628 * benchtests/bench-memset.c (do_one_test): Likewise.
7629 * benchtests/bench-string.h (test_init): Remove memsets.
7631 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7634 (Computing the Width of an Integer Data Type): Rename section to
7635 "Width of an Integer Type". Remove inaccurate statement regarding
7636 lack of C language facilities for determining width of integer
7637 types, and reorder content to improve flow and context of
7640 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7642 * lang.texi (va_copy): Change standard from ISO to C99.
7643 (__va_copy): Add standard and header annotation.
7644 Update description for clarity of origins and current use.
7646 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7649 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
7650 xssqrtqp requires operands to be in Vector Registers
7651 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
7652 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
7653 (__ieee754_sqrtf128): Likewise.
7655 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7657 * sysdeps/aarch64/memcmp.S (memcmp):
7658 Rewrite of optimized memcmp.
7660 2017-08-10 Florian Weimer <fweimer@redhat.com>
7662 Introduce ld.so exceptions.
7663 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
7664 (_dl_exception_create, _dl_exception_create_format)
7665 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
7666 (_dl_catch_exception): Declare.
7667 (_dl_catch_error): Update comment.
7668 * elf/dl-error-skeleton.c (struct catch): Replace objname,
7669 errstring, malloced members with exception member.
7670 (_dl_out_of_memory): Remove.
7671 (fatal_error): New function, extracted from _dl_signal_error.
7672 (_dl_signal_exception, _dl_signal_cexception): New functions.
7673 (_dl_signal_error): Call _dl_exception_create to allocate an
7675 (_dl_catch_exception): New function, based on _dl_catch_error.
7676 (_dl_catch_error): Implement using _dl_catch_exception.
7677 * elf/dl-exception.c: New file.
7678 * elf/Makefile (dl-routines): Add dl-exception.
7679 (elide-routines.os): Likewise.
7680 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
7681 _dl_exception_create_format, _dl_exception_free.
7682 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
7683 _dl_signal_exception.
7684 * elf/dl-lookup.c (make_string): Remove.
7685 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
7686 _dl_signal_cexception, _dl_exception_free.
7687 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
7688 _dl_signal_exception.
7689 * elf/dl-sym.c (do_sym): Likewise.
7690 * elf/dl-version.c (make_string): Remove.
7691 (match_symbol): Use _dl_exception_create_format,
7692 _dl_signal_cexception, _dl_exception_free.
7693 (_dl_check_map_versions): Likewise.
7694 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
7695 _dl_catch_exception.
7696 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7697 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7698 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7699 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7700 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7701 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7702 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7703 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7705 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7712 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7713 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7716 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7718 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7720 2017-08-10 Florian Weimer <fweimer@redhat.com>
7722 * inet/net-internal.h (__inet6_scopeid_pton): Remove
7723 attribute_hidden, internal_function.
7724 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
7727 2017-08-10 Florian Weimer <fweimer@redhat.com>
7729 * malloc/malloc.c (get_max_fast): Reimplement as an inline
7730 function which calls __builtin_unreachable.
7732 2017-08-10 Mike FABIAN <mfabian@redhat.com>
7734 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
7735 Indian monetary formatting
7736 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
7739 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
7741 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
7742 Fix typo in comment.
7745 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
7746 PTRACE_SEIZE_DEVEL): Remove.
7747 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
7748 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7749 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7751 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7753 2017-08-09 Joseph Myers <joseph@codesourcery.com>
7755 * posix/bits/types.h (__qaddr_t): Remove.
7758 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
7759 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7761 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
7762 (ucontext_t): Use __ctx with uc_flags.
7763 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
7765 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7767 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
7768 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7770 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
7771 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7773 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
7775 (ucontext_t): Use __ctx with uc_flags.
7776 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
7777 (ucontext_t): Use __ctx with uc_flags.
7778 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
7779 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
7780 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
7781 (ucontext_t): Use __ctx with uc_flags.
7782 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
7783 undefine further down.
7784 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7786 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7787 undefine further down.
7788 (ucontext_t): Use __ctx with uc_flags.
7789 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7790 undefine further down.
7791 (ucontext_t): Use __ctx with uc_flags.
7792 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7793 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7794 Rename uc_pad to __glibc_reserved1.
7795 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7796 undefine further down.
7797 (ucontext_t): Use __ctx with uc_flags.
7798 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7800 (ucontext_t): Use __ctx with uc_flags.
7801 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7802 __ctx with uc_flags.
7803 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7804 (ucontext_t): Use __ctx with uc_flags.
7805 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7806 __ctx with uc_flags.
7808 2017-08-09 Florian Weimer <fweimer@redhat.com>
7811 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7812 before early return.
7814 2017-08-09 Andreas Schwab <schwab@suse.de>
7817 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7821 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7822 tst-compat-forwarder.
7823 (modules-names): Add tst-compat-forwarder-mod.
7824 ($(objpfx)tst-compat-forwarder): Depend on
7825 $(objpfx)tst-compat-forwarder-mod.so.
7826 * nptl/tst-compat-forwarder.c: New file.
7827 * nptl/tst-compat-forwarder-mod.c: New file.
7829 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7831 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7834 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7835 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7837 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7839 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7840 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7841 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7842 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7844 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7847 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7850 * manual/setjmp.texi (getcontex): Document uc_stack value
7851 compatibility differences.
7853 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7855 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7856 (old_malloc_hook): Likewise.
7857 (old_memalign_hook): Likewise.
7858 (old_realloc_hook): Likewise.
7859 (struct hdr): Likewise.
7861 (freehook): Likewise.
7862 (mallochook): Likewise.
7863 (memalignhook): Likewise.
7864 (reallochook): Likewise.
7866 * malloc/mtrace.c (mallwatch): Likewise.
7867 (tr_old_free_hook): Likewise.
7868 (tr_old_malloc_hook): Likewise.
7869 (tr_old_realloc_hook): Likewise.
7870 (tr_old_memalign_hook): Likewise.
7871 (tr_where): Likewise.
7872 (lock_and_info): Likewise.
7873 (tr_freehook): Likewise.
7874 (tr_mallochook): Likewise.
7875 (tr_reallochook): Likewise.
7876 (tr_memalignhook): Likewise.
7877 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7878 * misc/mmap.c (__mmap): Likewise.
7879 * misc/mmap64.c (__mmap64): Likewise.
7880 * misc/mprotect.c (__mprotect): Likewise.
7881 * misc/msync.c (msync): Likewise.
7882 * misc/munmap.c (__munmap): Likewise.
7883 * posix/posix_madvise.c (posix_madvise): Likewise.
7884 * socket/send.c (__send): Likewise.
7885 * socket/sendto.c (__sendto): Likewise.
7886 * socket/setsockopt.c (__setsockopt): Likewise.
7887 * string/memcmp.c (__ptr_t): Remove macro.
7888 (MEMCMP): Use void * instead of ptr_t.
7889 * string/memrchr.c (__ptr_t): Remove macro.
7890 (__memrchr): Use void * instead of ptr_t.
7891 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7892 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7893 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7894 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7895 * sysdeps/mach/msync.c (msync): Likewise.
7896 * sysdeps/mach/munmap.c (__munmap): Likewise.
7897 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7899 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7900 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7901 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7902 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7903 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7904 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7905 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7906 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7908 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7909 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7910 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7911 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7912 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7913 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7914 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7915 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7916 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7918 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7919 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7920 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7921 (MEMCMP): Use void * instead of ptr_t.
7922 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7923 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7925 2017-08-08 Florian Weimer <fweimer@redhat.com>
7927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7930 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7933 * csu/libc-tls.c: Include <startup.h> first.
7934 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7935 * elf/dl-tunables.c: Include <startup.h> first.
7936 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7937 * sysdeps/generic/startup.h: New file.
7938 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7939 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7940 (I386_USE_SYSENTER): New. Defined to 0.
7942 2017-08-08 Andreas Schwab <schwab@suse.de>
7945 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7946 * nptl/pt-system.c (system): Likewise.
7948 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7951 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7953 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7954 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7955 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7956 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7957 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7958 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7959 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7961 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7964 * bits/sigaction.h (struct sigaction): Define sa_handler and
7965 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7966 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7967 [__USE_XOPEN_EXTENDED].
7968 (SA_RESTART): Likewise.
7969 (SA_NODEFER): Likewise.
7970 (SA_RESETHAND): Likewise.
7971 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7972 (struct sigaction): Define sa_handler and sa_sigaction using union
7973 also for [__USE_XOPEN_EXTENDED].
7974 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7975 [__USE_XOPEN_EXTENDED].
7976 (SA_RESTART): Likewise.
7977 (SA_NODEFER): Likewise.
7978 (SA_RESETHAND): Likewise.
7979 * sysdeps/unix/sysv/linux/bits/sigaction.h
7980 (struct sigaction): Define sa_handler and sa_sigaction using union
7981 also for [__USE_XOPEN_EXTENDED].
7982 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7983 [__USE_XOPEN_EXTENDED].
7984 (SA_RESTART): Likewise.
7985 (SA_NODEFER): Likewise.
7986 (SA_RESETHAND): Likewise.
7987 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7988 (struct sigaction): Define sa_handler and sa_sigaction using union
7989 also for [__USE_XOPEN_EXTENDED].
7990 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7991 [__USE_XOPEN_EXTENDED].
7992 (SA_RESTART): Likewise.
7993 (SA_NODEFER): Likewise.
7994 (SA_RESETHAND): Likewise.
7995 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7996 (struct sigaction): Define sa_handler and sa_sigaction using union
7997 also for [__USE_XOPEN_EXTENDED].
7998 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7999 [__USE_XOPEN_EXTENDED].
8000 (SA_RESTART): Likewise.
8001 (SA_NODEFER): Likewise.
8002 (SA_RESETHAND): Likewise.
8003 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8004 (struct sigaction): Define sa_handler and sa_sigaction using union
8005 also for [__USE_XOPEN_EXTENDED].
8006 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8007 [__USE_XOPEN_EXTENDED].
8008 (SA_RESTART): Likewise.
8009 (SA_NODEFER): Likewise.
8010 (SA_RESETHAND): Likewise.
8011 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8012 (struct sigaction): Define sa_handler and sa_sigaction using union
8013 also for [__USE_XOPEN_EXTENDED].
8014 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8015 [__USE_XOPEN_EXTENDED].
8016 (SA_RESTART): Likewise.
8017 (SA_NODEFER): Likewise.
8018 (SA_RESETHAND): Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8020 (struct sigaction): Define sa_handler and sa_sigaction using union
8021 also for [__USE_XOPEN_EXTENDED].
8022 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8023 [__USE_XOPEN_EXTENDED].
8024 (SA_RESTART): Likewise.
8025 (SA_NODEFER): Likewise. Define directly rather than as alias.
8026 (SA_RESETHAND): Likewise.
8027 (SA_INTERRUPT): Define only for [__USE_MISC].
8028 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
8029 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
8031 (SA_STACK): Define only for [__USE_MISC].
8032 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
8033 (struct sigaction): Define sa_handler and sa_sigaction using union
8034 also for [__USE_XOPEN_EXTENDED].
8035 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8036 [__USE_XOPEN_EXTENDED].
8037 (SA_RESTART): Likewise.
8038 (SA_NODEFER): Likewise.
8039 (SA_RESETHAND): Likewise.
8040 (SA_NOPTRACE): Define only for [__USE_MISC].
8042 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
8043 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
8044 (struct catalog_info): Likewise.
8045 * inet/htontest.c (lo): Likewise.
8047 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8048 * inet/inet_net.c (inet_network): Likewise.
8049 * inet/inet_netof.c (inet_netof): Likewise.
8050 * inet/rcmd.c (__ivaliduser): Likewise.
8051 (iruserok): Likewise.
8052 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
8053 * locale/programs/locale-spec.c (locale_special): Likewise.
8054 * nis/nis_findserv.c (struct findserv_req): Likewise.
8055 (__nis_findfastest_with_timeout): Likewise.
8056 * nss/test-netdb.c (test_network): Likewise.
8057 * resolv/inet_neta.c (inet_neta): Likewise.
8058 * resolv/ns_date.c (ns_datetosecs): Likewise.
8059 (SECS_PER_DAY): Likewise.
8060 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
8062 * resolv/res_comp.c (__putlong): Likewise.
8063 (__putshort): Likewise.
8064 (_getlong): Likewise.
8065 (_getshort): Likewise.
8066 * resolv/res_debug.c (p_time): Likewise.
8067 (precsize_ntoa): Likewise.
8068 (precsize_aton): Likewise.
8069 (latlon2ul): Likewise.
8070 (loc_aton): Likewise.
8071 (loc_ntoa): Likewise.
8072 * resolv/res_hconf.c (struct netaddr): Likewise.
8073 (_res_hconf_reorder_addrs): Likewise.
8074 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8075 (clnttcp_control): Likewise.
8076 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8077 (clntudp_control): Likewise.
8078 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8079 (clntunix_control): Likewise.
8080 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8081 * sunrpc/rpc/auth.h (union des_block): Likewise.
8082 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
8083 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
8084 (xdrrec_create): Likewise.
8085 (xdrrec_endofrecord): Likewise.
8086 (flush_out): Likewise.
8087 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
8088 (xdrstdio_putlong): Likewise.
8089 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
8092 * misc/sys/cdefs.h (__long_double_t): Remove.
8093 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
8094 instead of __long_double_t,
8095 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
8097 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8099 * benchtests/scripts/compare_strings.py: Avoid display error when
8100 running on a text terminal.
8102 * benchtests/scripts/compare_strings.py (main): Add an
8103 optional -base option.
8104 (process_results): New argument base_func.
8106 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
8108 * benchtests/bench-memcpy-large.c (test_name): Likewise.
8109 * benchtests/bench-memcpy-random.c (test_name): Likewise.
8111 2017-08-07 Andreas Schwab <schwab@suse.de>
8113 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
8114 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8115 * intl/Makefile ($(objpfx)tst-gettext.out)
8116 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
8117 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
8118 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8120 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
8121 * posix/Makefile ($(objpfx)globtest.out)
8122 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
8123 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
8124 ($(objpfx)tst-printf.out): Likewise.
8125 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
8126 ($(objpfx)tst-setcontext3.out): Likewise.
8128 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
8130 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8131 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
8132 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
8133 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
8134 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
8136 (CFLAGS-doasin-fma.c): New.
8137 (CFLAGS-dosincos-fma.c): Likewise.
8138 (CFLAGS-e_asin-fma.c): Likewise.
8139 (CFLAGS-e_atan2-fma.c): Likewise.
8140 (CFLAGS-e_exp-fma.c): Likewise.
8141 (CFLAGS-e_log-fma.c): Likewise.
8142 (CFLAGS-e_pow-fma.c): Likewise.
8143 (CFLAGS-halfulp-fma.c): Likewise.
8144 (CFLAGS-mpa-fma.c): Likewise.
8145 (CFLAGS-mpatan-fma.c): Likewise.
8146 (CFLAGS-mpatan2-fma.c): Likewise.
8147 (CFLAGS-mpexp-fma.c): Likewise.
8148 (CFLAGS-mplog-fma.c): Likewise.
8149 (CFLAGS-mpsqrt-fma.c): Likewise.
8150 (CFLAGS-mptan-fma.c): Likewise.
8151 (CFLAGS-s_atan-fma.c): Likewise.
8152 (CFLAGS-sincos32-fma.c): Likewise.
8153 (CFLAGS-slowexp-fma.c): Likewise.
8154 (CFLAGS-slowpow-fma.c): Likewise.
8155 (CFLAGS-s_sin-fma.c): Likewise.
8156 (CFLAGS-s_tan-fma.c): Likewise.
8157 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
8159 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
8160 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
8161 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
8162 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
8163 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
8164 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
8165 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
8166 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
8167 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
8168 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
8169 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
8170 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
8171 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
8172 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
8173 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
8174 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
8175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
8176 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
8177 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
8178 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
8179 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
8180 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
8181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8182 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8183 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8184 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8185 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8189 2017-08-04 Joseph Myers <joseph@codesourcery.com>
8191 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
8192 (min_of_type_f): New macro.
8193 (min_of_type_): Likewise.
8194 (min_of_type_l): Likewise.
8195 (min_of_type_f128): Likewise.
8196 (min_of_type): Define using __MATH_TG and taking an expression
8198 (math_check_force_underflow): Pass expression instead of type to
8200 (math_check_force_underflow_nonneg): Likewise.
8202 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8204 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
8205 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
8206 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
8208 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8211 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
8212 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
8213 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
8214 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
8215 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
8216 memcpy_chk-nonshared, mempcpy_chk-nonshared,
8217 memmove_chk-nonshared and memset_chk-nonshared
8218 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
8219 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
8220 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
8221 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
8222 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
8223 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
8224 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
8225 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
8226 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
8227 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
8228 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
8229 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
8230 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
8231 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
8232 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
8233 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
8234 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
8235 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
8236 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
8237 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
8238 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
8239 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
8240 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
8241 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
8242 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
8243 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
8244 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
8245 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
8246 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
8247 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
8248 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
8249 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
8250 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
8251 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
8252 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
8253 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
8254 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
8255 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
8256 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
8257 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
8258 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
8259 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
8260 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
8261 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
8262 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
8263 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
8264 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
8265 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
8266 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
8267 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
8268 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
8269 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
8270 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
8271 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
8272 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
8273 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
8274 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
8275 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
8276 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
8277 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
8278 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
8279 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
8280 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
8282 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
8283 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
8284 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
8285 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
8286 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
8287 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
8288 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
8289 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8290 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8291 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8292 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8293 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8297 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8298 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8299 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8300 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8327 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8329 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
8330 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
8331 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
8332 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
8333 svml_d_log2_core-sse2, svml_d_log4_core-sse,
8334 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
8335 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
8336 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
8337 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
8338 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
8339 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
8340 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
8341 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
8342 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
8343 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
8344 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
8345 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
8346 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
8347 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
8348 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
8349 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
8350 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
8351 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
8352 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
8353 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
8354 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
8355 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
8356 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
8357 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
8358 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
8359 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
8360 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
8361 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
8362 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
8363 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
8364 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
8365 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
8366 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
8367 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
8368 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
8369 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
8370 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
8371 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
8372 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
8373 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
8374 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
8375 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
8376 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
8377 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
8378 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
8379 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
8380 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
8381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
8382 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
8383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
8384 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
8385 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
8386 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
8387 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
8389 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
8390 Don't include <sysdep.h> nor <init-arch.h>.
8391 (_ZGVbN2v_cos): Removed.
8392 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
8394 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
8395 Don't include <sysdep.h> nor <init-arch.h>.
8396 (_ZGVdN4v_cos): Removed.
8397 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
8399 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
8400 Don't include <sysdep.h> nor <init-arch.h>.
8401 (_ZGVeN8v_cos): Removed.
8402 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
8404 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
8405 Don't include <sysdep.h> nor <init-arch.h>.
8406 (_ZGVbN2v_exp): Removed.
8407 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
8409 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
8410 Don't include <sysdep.h> nor <init-arch.h>.
8411 (_ZGVdN4v_exp): Removed.
8412 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
8414 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
8415 Don't include <sysdep.h> nor <init-arch.h>.
8416 (_ZGVeN8v_exp): Removed.
8417 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
8419 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
8420 Don't include <sysdep.h> nor <init-arch.h>.
8421 (_ZGVbN2v_log): Removed.
8422 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
8424 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
8425 Don't include <sysdep.h> nor <init-arch.h>.
8426 (_ZGVdN4v_log): Removed.
8427 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
8429 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
8430 Don't include <sysdep.h> nor <init-arch.h>.
8431 (_ZGVeN8v_log): Removed.
8432 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
8434 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
8435 Don't include <sysdep.h> nor <init-arch.h>.
8436 (_ZGVbN2vv_pow): Removed.
8437 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
8439 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
8440 Don't include <sysdep.h> nor <init-arch.h>.
8441 (_ZGVdN4vv_pow): Removed.
8442 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
8444 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
8445 Don't include <sysdep.h> nor <init-arch.h>.
8446 (_ZGVeN8vv_pow): Removed.
8447 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
8449 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
8450 Don't include <sysdep.h> nor <init-arch.h>.
8451 (_ZGVbN2v_sin): Removed.
8452 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
8454 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
8455 Don't include <sysdep.h> nor <init-arch.h>.
8456 (_ZGVbN4v_sin): Removed.
8457 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
8459 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
8460 Don't include <sysdep.h> nor <init-arch.h>.
8461 (_ZGVbN8v_sin): Removed.
8462 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
8464 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
8465 Don't include <sysdep.h> nor <init-arch.h>.
8466 (_ZGVbN2vvv_sincos): Removed.
8467 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
8469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
8470 Don't include <sysdep.h> nor <init-arch.h>.
8471 (_ZGVdN4vvv_sincos): Removed.
8472 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
8474 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
8475 Don't include <sysdep.h> nor <init-arch.h>.
8476 (_ZGVeN8vvv_sincos): Removed.
8477 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
8479 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
8480 Don't include <sysdep.h> nor <init-arch.h>.
8481 (_ZGVeN16v_cosf): Removed.
8482 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
8484 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
8485 Don't include <sysdep.h> nor <init-arch.h>.
8486 (_ZGVbN4v_cosf): Removed.
8487 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
8489 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
8490 Don't include <sysdep.h> nor <init-arch.h>.
8491 (_ZGVdN8v_cosf): Removed.
8492 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
8494 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
8495 Don't include <sysdep.h> nor <init-arch.h>.
8496 (_ZGVeN16v_expf): Removed.
8497 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
8499 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
8500 Don't include <sysdep.h> nor <init-arch.h>.
8501 (_ZGVbN4v_expf): Removed.
8502 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
8504 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
8505 Don't include <sysdep.h> nor <init-arch.h>.
8506 (_ZGVdN8v_expf): Removed.
8507 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
8509 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
8510 Don't include <sysdep.h> nor <init-arch.h>.
8511 (_ZGVeN16v_logf): Removed.
8512 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
8514 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
8515 Don't include <sysdep.h> nor <init-arch.h>.
8516 (_ZGVbN4v_logf): Removed.
8517 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
8519 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
8520 Don't include <sysdep.h> nor <init-arch.h>.
8521 (_ZGVdN8v_logf): Removed.
8522 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
8524 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
8525 Don't include <sysdep.h> nor <init-arch.h>.
8526 (_ZGVeN16vv_powf): Removed.
8527 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
8529 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
8530 Don't include <sysdep.h> nor <init-arch.h>.
8531 (_ZGVbN4vv_powf): Removed.
8532 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
8534 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
8535 Don't include <sysdep.h> nor <init-arch.h>.
8536 (_ZGVdN8vv_powf): Removed.
8537 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
8539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
8540 Don't include <sysdep.h> nor <init-arch.h>.
8541 (_ZGVeN16vvv_sincosf): Removed.
8542 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
8544 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
8545 Don't include <sysdep.h> nor <init-arch.h>.
8546 (_ZGVbN4vvv_sincosf): Removed.
8547 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
8549 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
8550 Don't include <sysdep.h> nor <init-arch.h>.
8551 (_ZGVdN8vvv_sincosf): Removed.
8552 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
8554 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
8555 Don't include <sysdep.h> nor <init-arch.h>.
8556 (_ZGVeN16v_sinf): Removed.
8557 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
8559 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
8560 Don't include <sysdep.h> nor <init-arch.h>.
8561 (_ZGVbN4v_sinf): Removed.
8562 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
8564 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
8565 Don't include <sysdep.h> nor <init-arch.h>.
8566 (_ZGVdN8v_sinf): Removed.
8568 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8570 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8571 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
8572 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
8573 s_rint-sse4_1 and s_rintf-sse4_1.
8574 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
8575 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8576 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8577 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8578 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8579 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
8580 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
8581 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8582 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8583 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
8584 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
8585 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8587 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
8588 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
8589 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8591 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
8592 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
8593 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8595 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
8596 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
8597 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8598 (__floorf): Removed.
8599 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
8600 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
8601 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8602 (__nearbyint): Removed.
8603 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
8604 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
8605 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8606 (__nearbyintf): Removed.
8607 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
8608 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
8609 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8611 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
8612 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
8613 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8616 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8618 * sysdeps/i386/start.S (_start): Check Check PIC instead of
8619 SHARED. Avoid dynamic relocation against main in static PIE.
8621 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8624 * elf/Makefile (CFLAGS-tst-prelink.c): New.
8625 (LDFLAGS-tst-prelink): Likewise.
8627 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8629 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
8630 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
8631 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
8632 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8633 (INTERNAL_SYSCALL_NCS): Likewise.
8634 (LOADARGS_1): Likewise.
8635 (LOADARGS_5): Likewise.
8636 (RESTOREARGS_1): Likewise.
8637 (RESTOREARGS_5): Likewise.
8639 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8641 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
8642 (MEMPCPY_SYMBOL): Likewise.
8643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8644 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
8645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
8647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8648 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8650 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
8651 (__hidden_ver1): Don't use in libc.a.
8652 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8653 (__mempcpy): Don't create a weak alias in libc.a.
8654 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
8656 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
8657 (__hidden_ver1): Don't use in libc.a.
8659 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8661 * config.make.in (have-insert): New.
8662 * configure.ac (libc_cv_insert): New. Set to yes if linker
8663 supports INSERT in linker script.
8664 (AC_SUBST(libc_cv_insert): New.
8665 * configure: Regenerated.
8666 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
8667 if $(have-insert) == yes.
8669 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8671 * elf/Makefile (tests): Add vismain only if
8672 $(have-protected-data) == yes.
8673 (tests-pie): Likewise.
8675 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8678 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8679 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
8681 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8684 * sysdeps/i386/i586/memset.S
8685 (__memset_zero_constant_len_parameter): Removed.
8686 * sysdeps/i386/i686/memset.S
8687 (__memset_zero_constant_len_parameter): Likewise.
8688 * sysdeps/i386/i686/multiarch/memset_chk.S
8689 (__memset_zero_constant_len_parameter): Likewise.
8690 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
8693 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8695 * stdlib/getentropy.c (getentropy): Change return type to int.
8697 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8699 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8701 2017-08-03 Joseph Myers <joseph@codesourcery.com>
8703 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
8705 * math/s_nexttowardf.c (__nexttowardf): Likewise.
8706 * sysdeps/generic/math_private.h (ieee_double_shape_type):
8708 (ieee_float_shape_type): Likewise.
8709 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
8710 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
8711 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8712 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8713 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8714 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
8715 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
8716 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8717 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8719 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8720 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8721 (__ieee754_yn): Likewise.
8722 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8723 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8724 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
8726 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8727 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
8728 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
8729 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
8731 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8732 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
8733 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
8734 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
8735 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
8736 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
8738 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8739 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
8740 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8741 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
8742 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8743 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
8744 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
8745 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
8746 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
8747 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8748 (__issignaling): Likewise.
8749 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
8750 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
8751 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8753 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8754 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8755 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
8756 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
8758 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
8760 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
8761 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
8762 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
8763 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8764 (__erfcf): Likewise.
8765 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8766 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8767 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
8768 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
8770 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
8771 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
8773 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8774 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
8775 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8776 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
8777 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
8778 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8779 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
8780 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
8782 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8784 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8786 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8787 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8789 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8791 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8792 (__ieee754_ynl): Likewise.
8793 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8794 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8796 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8798 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8799 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8800 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8802 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8803 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8804 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8805 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8806 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8807 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8808 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8809 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8811 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8812 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8815 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8816 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8817 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8819 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8824 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8826 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8828 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8829 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8831 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8832 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8833 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8836 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8841 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8842 (__ieee754_remainderl): Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8848 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8851 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8852 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8853 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8854 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8855 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8856 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8858 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8859 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8860 (__ieee754_y0l): Likewise.
8863 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8864 (__ieee754_y1l): Likewise.
8867 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8868 (__ieee754_ynl): Likewise.
8869 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8870 (__ieee754_lgammal_r): Likewise.
8871 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8873 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8874 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8875 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8876 (__erfcl): Likewise.
8877 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8878 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8880 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8881 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8882 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8883 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8884 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8885 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8888 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8889 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8891 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8892 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8894 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8895 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8897 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8898 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8899 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8900 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8901 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8903 2017-08-03 Florian Weimer <fweimer@redhat.com>
8906 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8907 on memory allocation failure.
8909 2017-08-03 Alan Modra <amodra@gmail.com>
8911 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8912 tst-tlsopt-powerpc.c with function name change and no test harness.
8913 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8914 Call tls_get_addr_opt_test.
8915 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8916 (modules-names): Add mod-tlsopt-powerpc.
8917 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8918 (tst-tlsopt-powerpc): Depend on .so.
8919 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8920 define. Expand use in TLS_GD and TLS_LD.
8922 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8924 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8926 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8928 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8931 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8932 comparing size with that of double.
8933 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8934 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8935 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8936 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8937 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8938 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8939 unsigned __int128 types.
8941 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8943 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8944 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8945 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8946 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8947 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8949 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8951 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8953 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8955 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8957 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8958 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8962 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8965 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8968 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8969 bit-field expressions passed to sizeof or typeof.
8970 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8971 (__TGMATH_F128): Likewise.
8972 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8973 (__TGMATH_CF128): Likewise.
8974 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8975 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8976 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8977 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8978 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8979 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8980 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8981 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8982 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8983 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8984 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8985 (__TGMATH_UNARY_IMAG): Likewise.
8986 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8987 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8988 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8990 (define_vars_for_type): Handle bit_field type specially.
8991 (Tests.__init__): Declare structure with bit-field element.
8993 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8996 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8997 (MEMCPY_CHK): Define only if SHARED is defined.
8998 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
9000 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
9003 See ChangeLog.18 for earlier changes.