1 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * io/futimens.c: Add missing start-of-file descriptive comment.
4 * io/utime.c: Likewise.
5 * misc/futimesat.c: Likewise.
6 * misc/utimes.c: Likewise.
7 * sysdeps/mach/hurd/futimesat.c: Likewise.
8 * sysdeps/mach/hurd/utimes.c: Likewise.
9 * sysdeps/posix/utime.c: Likewise.
10 * sysdeps/posix/utimes.c: Likewise.
11 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
12 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
21 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
22 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
23 (__futimens): Move implementation to...
24 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
25 utime_tvalue_from_tspec): ... new helper functions.
26 (hurd_futimens): New function.
27 * sysdeps/mach/hurd/futimesat.c: New file.
28 * sysdeps/mach/hurd/utimensat.c: New file.
30 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
32 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
33 UTIME_OMIT): New macros.
34 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
35 before reverting to converting time spec to time value and calling
37 * sysdeps/mach/hurd/utime-helper.c: New file.
38 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
39 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
40 reverting to utime_tvalue_from_tval and __file_utimes.
41 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
42 (__lutimes): Just call hurd_futimens after lookup.
43 * sysdeps/mach/hurd/utimes.c: Likewise.
45 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
47 * bits/sigaction.h: Add include guard.
48 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
49 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
50 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
51 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
52 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
53 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
54 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
55 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
56 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
58 2018-03-05 Joseph Myers <joseph@codesourcery.com>
60 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
61 -Wmaybe-uninitialized for -Os.
62 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
65 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
67 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
68 __INO_T_MATCHES_INO64_T is defined.
69 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
70 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
72 * dirent/alphasort64.c: Likewise.
73 * dirent/scandir.c: Likewise.
74 * dirent/scandir64-tail.c: Likewise.
75 * dirent/scandir64.c: Likewise.
76 * dirent/scandirat.c: Likewise.
77 * dirent/scandirat64.c: Likewise.
78 * dirent/versionsort.c: Likewise.
79 * dirent/versionsort64.c: Likewise.
80 * include/dirent.h: Likewise.
82 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
83 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
84 for socketpair endpoint.
85 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
86 WRITE_BUFFER_SIZE as buffer size for sending socket.
87 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
88 issue on system where send is implemented with sendto syscall.
89 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
90 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
91 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
92 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
95 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
96 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
97 sa_restorer for vDSO case.
98 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
100 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
102 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
103 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
104 * hurd/hurd/ioctl.h: Include <mach/port.h>
105 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
106 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
107 <mach/mach_types.h> and <mach/message.h>.
108 (headers): Move mach/param.h to bits/mach/param.h.
109 * sysdeps/mach/i386/mach/param.h: Move file to ...
110 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
111 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
113 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
114 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
115 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
116 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
117 trivial, for C++ conformity.
118 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
119 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
120 Process mig output through $(migheadersed).
121 * hurd/Makefile (migheadersed): Define variable.
122 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
123 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
125 * hurd/hurd.h: Include <bits/types/sigset_t.h>
126 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
127 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
128 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
129 <bits/types/sigset_t.h>.
130 [!defined __USE_GNU]: Do not #error out.
131 (struct hurd_sigstate): Use _NSIG instead of NSIG.
132 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
133 Include <stddef.h> and <bits/types/sigset_t.h>
134 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
135 instead of sighandler_t.
136 * stdlib/errno.h (error_t): Move definition to...
137 * bits/types/error_t.h: ... new header.
138 * stdlib/Makefile (headers): Add bits/types/error_t.h.
139 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
140 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
141 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
142 * hurd/hurd.h: Include <bits/types/error_t.h>
143 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
144 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
145 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
146 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
147 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
148 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
149 * sysdeps/mach/hurd/futimens.c: New file.
151 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
154 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
155 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
156 * nscd/gai.c (__nss_hosts_database): Readd definition.
157 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
158 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
159 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
161 2018-03-02 Joseph Myers <joseph@codesourcery.com>
163 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
164 (ifunc_one): Likewise.
166 2018-03-01 DJ Delorie <dj@delorie.com>
169 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
172 2018-03-01 Maciej W. Rozycki <macro@mips.com>
174 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
175 `match_pid' parameter.
176 (td_ta_thr_iter): Update accordingly.
178 2018-03-01 Florian Weimer <fweimer@redhat.com>
180 * nptl/Makefile (install-lib-ldscripts): Remove.
181 (install): Remove rule.
182 ($(inst_libdir)/libpthread.so): Likewise.
184 2018-03-01 Mike FABIAN <mfabian@redhat.com>
187 * localedata/locales/an_ES: update month and day names,
188 improve d_fmt, improve postal_fmt, add country_post,
191 2018-03-01 Mike FABIAN <mfabian@redhat.com>
193 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
194 Ukrainian instead of Bulgarian.
196 2018-03-01 Florian Weimer <fweimer@redhat.com>
198 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
201 2018-03-01 Florian Weimer <fweimer@redhat.com>
203 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
204 * nptl/Makefile (routines): Add pthread_atfork.
205 (static-only-routines): Set to pthread_atfork.
206 (libpthread-routines): Remove pthread_atfork.
207 (libpthread-static-only-routines): Remove.
208 (install): Update comment.
209 (libpthread.so): Do not install libpthread_nonshared.a.
210 (tests): Do not link with libpthread_nonshared.a.
211 (generated): Remove libpthread_nonshared.a.
212 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
213 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
214 with libpthread_nonshared.a.
216 2018-02-28 Joseph Myers <joseph@codesourcery.com>
219 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
220 (libc_feholdexcept_setroundf128): New macro.
221 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
224 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
226 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
227 * include/inttypes.h: New file.
229 2018-02-27 Joseph Myers <joseph@codesourcery.com>
231 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
232 -Os in two more places.
234 2018-02-27 Mike FABIAN <mfabian@redhat.com>
236 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
237 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
238 be sorted correctly at the moment because of a bug.
240 2018-02-27 Mike FABIAN <mfabian@redhat.com>
242 [BZ #22550] - es_ES locale (and other es_* locales): collation should
243 treat ñ as a primary different character, sync the collation
244 for Spanish with CLDR.
245 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
246 * localedata/Makefile: Add new test files.
247 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
248 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
250 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
251 * localedata/am_ET.UTF-8.in: New test file.
252 * localedata/az_AZ.UTF-8.in: Likewise.
253 * localedata/be_BY.UTF-8.in: Likewise.
254 * localedata/ber_DZ.UTF-8.in: Likewise.
255 * localedata/ber_MA.UTF-8.in: Likewise.
256 * localedata/bg_BG.UTF-8.in: Likewise.
257 * localedata/br_FR.UTF-8.in: Likewise.
258 * localedata/cmn_TW.UTF-8.in: Likewise.
259 * localedata/crh_UA.UTF-8.in: Likewise.
260 * localedata/csb_PL.UTF-8.in: Likewise.
261 * localedata/cv_RU.UTF-8.in: Likewise.
262 * localedata/cy_GB.UTF-8.in: Likewise.
263 * localedata/dz_BT.UTF-8.in: Likewise.
264 * localedata/eo.UTF-8.in: Likewise.
265 * localedata/es_ES.UTF-8.in: Likewise.
266 * localedata/fa_IR.UTF-8.in: Likewise.
267 * localedata/fi_FI.UTF-8.in: Likewise.
268 * localedata/fil_PH.UTF-8.in: Likewise.
269 * localedata/fur_IT.UTF-8.in: Likewise.
270 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
271 * localedata/ha_NG.UTF-8.in: Likewise.
272 * localedata/ig_NG.UTF-8.in: Likewise.
273 * localedata/ik_CA.UTF-8.in: Likewise.
274 * localedata/kk_KZ.UTF-8.in: Likewise.
275 * localedata/ku_TR.UTF-8.in: Likewise.
276 * localedata/ky_KG.UTF-8.in: Likewise.
277 * localedata/ln_CD.UTF-8.in: Likewise.
278 * localedata/mi_NZ.UTF-8.in: Likewise.
279 * localedata/ml_IN.UTF-8.in: Likewise.
280 * localedata/mn_MN.UTF-8.in: Likewise.
281 * localedata/mr_IN.UTF-8.in: Likewise.
282 * localedata/mt_MT.UTF-8.in: Likewise.
283 * localedata/nb_NO.UTF-8.in: Likewise.
284 * localedata/om_KE.UTF-8.in: Likewise.
285 * localedata/os_RU.UTF-8.in: Likewise.
286 * localedata/ps_AF.UTF-8.in: Likewise.
287 * localedata/ro_RO.UTF-8.in: Likewise.
288 * localedata/ru_RU.UTF-8.in: Likewise.
289 * localedata/sc_IT.UTF-8.in: Likewise.
290 * localedata/se_NO.UTF-8.in: Likewise.
291 * localedata/sq_AL.UTF-8.in: Likewise.
292 * localedata/sv_SE.UTF-8.in: Likewise.
293 * localedata/szl_PL.UTF-8.in: Likewise.
294 * localedata/tg_TJ.UTF-8.in: Likewise.
295 * localedata/tk_TM.UTF-8.in: Likewise.
296 * localedata/tt_RU.UTF-8.in: Likewise.
297 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
298 * localedata/ug_CN.UTF-8.in: Likewise.
299 * localedata/uz_UZ.UTF-8.in: Likewise.
300 * localedata/vi_VN.UTF-8.in: Likewise.
301 * localedata/yi_US.UTF-8.in: Likewise.
302 * localedata/yo_NG.UTF-8.in: Likewise.
303 * localedata/zh_CN.UTF-8.in: Likewise.
304 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
305 file and fix bugs in the collation.
306 * localedata/locales/az_AZ: Likewise.
307 * localedata/locales/be_BY: Likewise.
308 * localedata/locales/ber_DZ: Likewise.
309 * localedata/locales/ber_MA: Likewise.
310 * localedata/locales/bg_BG: Likewise.
311 * localedata/locales/br_FR: Likewise.
312 * localedata/locales/br_FR@euro: Likewise.
313 * localedata/locales/ca_ES: Likewise.
314 * localedata/locales/cns11643_stroke: Likewise.
315 * localedata/locales/crh_UA: Likewise.
316 * localedata/locales/cs_CZ: Likewise.
317 * localedata/locales/csb_PL: Likewise.
318 * localedata/locales/cv_RU: Likewise.
319 * localedata/locales/cy_GB: Likewise.
320 * localedata/locales/da_DK: Likewise.
321 * localedata/locales/dz_BT: Likewise.
322 * localedata/locales/en_CA: Likewise.
323 * localedata/locales/eo: Likewise.
324 * localedata/locales/es_CU: Likewise.
325 * localedata/locales/es_EC: Likewise.
326 * localedata/locales/es_ES: Likewise.
327 * localedata/locales/es_US: Likewise.
328 * localedata/locales/et_EE: Likewise.
329 * localedata/locales/fa_IR: Likewise.
330 * localedata/locales/fi_FI: Likewise.
331 * localedata/locales/fil_PH: Likewise.
332 * localedata/locales/fur_IT: Likewise.
333 * localedata/locales/gez_ER@abegede: Likewise.
334 * localedata/locales/ha_NG: Likewise.
335 * localedata/locales/hr_HR: Likewise.
336 * localedata/locales/hsb_DE: Likewise.
337 * localedata/locales/hu_HU: Likewise.
338 * localedata/locales/ig_NG: Likewise.
339 * localedata/locales/ik_CA: Likewise.
340 * localedata/locales/is_IS: Likewise.
341 * localedata/locales/iso14651_t1_pinyin: Likewise.
342 * localedata/locales/kk_KZ: Likewise.
343 * localedata/locales/ku_TR: Likewise.
344 * localedata/locales/ky_KG: Likewise.
345 * localedata/locales/ln_CD: Likewise.
346 * localedata/locales/lt_LT: Likewise.
347 * localedata/locales/lv_LV: Likewise.
348 * localedata/locales/mi_NZ: Likewise.
349 * localedata/locales/ml_IN: Likewise.
350 * localedata/locales/mn_MN: Likewise.
351 * localedata/locales/mr_IN: Likewise.
352 * localedata/locales/mt_MT: Likewise.
353 * localedata/locales/nb_NO: Likewise.
354 * localedata/locales/om_KE: Likewise.
355 * localedata/locales/os_RU: Likewise.
356 * localedata/locales/pl_PL: Likewise.
357 * localedata/locales/ps_AF: Likewise.
358 * localedata/locales/ro_RO: Likewise.
359 * localedata/locales/ru_RU: Likewise.
360 * localedata/locales/ru_UA: Likewise.
361 * localedata/locales/sc_IT: Likewise.
362 * localedata/locales/se_NO: Likewise.
363 * localedata/locales/si_LK: Likewise.
364 * localedata/locales/sq_AL: Likewise.
365 * localedata/locales/sv_FI: Likewise.
366 * localedata/locales/sv_FI@euro: Likewise.
367 * localedata/locales/sv_SE: Likewise.
368 * localedata/locales/szl_PL: Likewise.
369 * localedata/locales/tg_TJ: Likewise.
370 * localedata/locales/ti_ER: Likewise.
371 * localedata/locales/tk_TM: Likewise.
372 * localedata/locales/tl_PH: Likewise.
373 * localedata/locales/tr_TR: Likewise.
374 * localedata/locales/tt_RU: Likewise.
375 * localedata/locales/tt_RU@iqtelif: Likewise.
376 * localedata/locales/ug_CN: Likewise.
377 * localedata/locales/uk_UA: Likewise.
378 * localedata/locales/uz_UZ: Likewise.
379 * localedata/locales/uz_UZ@cyrillic: Likewise.
380 * localedata/locales/vi_VN: Likewise.
381 * localedata/locales/yi_US: Likewise.
382 * localedata/locales/yo_NG: Likewise.
384 2018-02-27 Mike FABIAN <mfabian@redhat.com>
386 * gen-locales.mk: Make test files which contain @ modifiers in their
388 * localedata/gen-locale.sh: Likewise.
390 2018-02-27 Mike FABIAN <mfabian@redhat.com>
392 * posix/tst-fnmatch.input: Fix results for range expressions
394 * posix/tst-regexloc.c: Do not use a range expression for
395 de_DE.ISO-8859-1 locale.
397 2018-02-27 Mike FABIAN <mfabian@redhat.com>
399 * posix/bug-regex5.c: Fix test case because with the new
400 iso14651_t1_common file, the da_DK locale now has 6 collating elements
401 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
404 2018-02-27 Mike FABIAN <mfabian@redhat.com>
406 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
407 downloaded from ISO, the collation order of @-. and space has changed.
408 Therefore, this test file needed to be adapted.
409 * localedata/fr_CA.UTF-8.in: Likewise.
410 * localedata/fr_FR.UTF-8.in: Likewise.
411 * localedata/uk_UA.UTF-8.in: Likewise.
413 2018-02-27 Mike FABIAN <mfabian@redhat.com>
415 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
416 order of ȥ in the new iso14651_t1_common file.
417 * localedata/pl_PL.UTF-8.in: Likewise.
419 2018-02-27 Mike FABIAN <mfabian@redhat.com>
421 * localedata/locales/iso14651_t1_common: Add sections for various
422 scripts to the iso14651_t1_common file.
424 2018-02-27 Mike FABIAN <mfabian@redhat.com>
426 * localedata/locales/iso14651_t1_common: Use the code point of a
427 character in the fourth collation level instead of IGNORE for all
428 entries which have IGNORE on all 4 levels.
430 2018-02-27 Mike FABIAN <mfabian@redhat.com>
432 * localedata/locales/iso14651_t1_common: Add some convenient collation
433 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
434 rules similar to those in CLDR.
436 2018-02-27 Mike FABIAN <mfabian@redhat.com>
438 * localedata/locales/iso14651_t1_common: The new version of this
439 file downloaded from ISO contained several syntax errors which
440 are fixed by this patch.
442 2018-02-27 Mike FABIAN <mfabian@redhat.com>
444 * localedata/locales/iso14651_t1_common: replace all <U.....>
445 with <U000.....> because glibc understands only 4 digit or 8 digit
447 2018-02-27 Mike FABIAN <mfabian@redhat.com>
449 * localedata/locales/iso14651_t1_common: Necessary changes
450 to make the file downloaded from ISO usable by glibc.
452 2018-02-27 Mike FABIAN <mfabian@redhat.com>
455 * localedata/locales/iso14651_t1_common: Update file to
456 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
458 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
460 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
462 (thread_attr_compare): Move function to...
463 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
464 * sysdeps/nptl/timer_routines.h: ... new header.
465 * sysdeps/mach/hurd/gai_misc.h: New file.
467 2018-02-26 Joseph Myers <joseph@codesourcery.com>
469 * string/strcoll_l.c: Include <libc-diag.h>.
470 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
471 declarations of seq1 and seq2.
474 * stdlib/atoi.c (atoi): Use libc_hidden_def.
475 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
477 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
482 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
483 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
484 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
485 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
486 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
488 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
491 macros used in __ptrace_request.
493 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
496 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
499 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
503 2018-02-23 Joseph Myers <joseph@codesourcery.com>
506 * ctype/ctype.c (tolower): Use libc_hidden_def.
508 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
509 [!_ISOMAC] (toupper): Likewise.
511 2018-02-23 Mike FABIAN <mfabian@redhat.com>
513 * localedata/Makefile: Remove --quiet argument when
516 2018-02-23 Mike FABIAN <mfabian@redhat.com>
519 * localedata/locales/pt_BR (LC_TIME): use / instead of -
521 * localedata/locales/pt_PT (LC_TIME): likewise
523 2018-02-23 Mike FABIAN <mfabian@redhat.com>
526 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
527 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
528 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
530 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
534 * nptl/Makefile (routines): Remove unregister-atfork.
535 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
536 (fork_handler_alloc): Remove function.
537 (fork_handlers, fork_handler_init): New variables.
538 (__fork_lock): Rename to atfork_lock.
539 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
540 to use a dynamic array to add/remove atfork handlers.
541 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
542 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
544 (fork_handler): Remove next, refcntr, and need_signal member.
545 (__run_fork_handler_type): New enum.
546 (__run_fork_handlers): New prototype.
547 * nptl/register-atfork.c: Remove file.
548 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
550 * sysdeps/nptl/nptl-signals.h: Move to ...
551 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
553 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
554 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
555 unnecessary check for SIGTIMER.
556 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
557 remove unnecessary removal of SIGTIMER.
558 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
559 include-signals.h rename.
560 * nptl/pthreadP.h: Likewise.
561 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
562 __is_internal_signal instead of __nptl_is_internal_signal.
564 2018-02-22 Andrew Waterman <andrew@sifive.com>
567 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
568 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
569 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
570 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
572 2018-02-22 DJ Delorie <dj@delorie.com>
574 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
576 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
578 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
579 do_misaligned, not misaligned8.
581 2018-02-22 Steve Ellcey <sellcey@cavium.com>
583 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
584 Add memcpy_thunderx2.
585 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
587 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
588 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
589 and IS_THUNDERX2PA checks.
590 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
591 Use macro to set name appropriately.
592 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
593 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
594 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
596 (IS_THUNDERX2): New macro.
598 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
600 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
602 2018-02-21 Zack Weinberg <zackw@panix.com>
604 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
605 Define here, unconditionally.
606 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
607 * libio/libioP.h: Remove #if 0 blocks.
608 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
609 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
610 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
612 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
613 Assume weak_alias is always defined.
615 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
616 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
617 Remove #if 0 and #ifdef TODO blocks.
618 Assume text_set_element is always defined.
620 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
621 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
622 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
624 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
625 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
626 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
627 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
628 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
629 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
630 Reformat bit flags for _flags field to make occupancy clearer.
632 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
633 Keep definitions consistent with those in libio/libio.h.
635 * libio/libio.h (_IO_file_flags): Remove macro.
636 All uses changed to _flags.
638 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
639 (__HAVE_COLUMN, _IO_BE): Don't define.
640 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
641 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
642 * libio/libioP.h (EOF): Don't define.
643 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
644 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
645 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
646 testing _IO_UNIFIED_JUMPTABLES.
648 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
649 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
650 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
651 (_IO_size_t): Delete; all uses changed to size_t.
652 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
653 (_IO_off_t): Delete; all uses changed to off_t.
654 (_IO_off64_t): Delete; all uses changed to off64_t.
655 (_IO_pid_t): Delete; all uses changed to pid_t.
656 (_IO_uid_t): Delete; all uses changed to uid_t.
657 (_IO_wint_t): Delete; all uses changed to wint_t.
658 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
659 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
660 (_IO_cookie_io_functions_t): Delete; all uses changed to
661 cookie_io_functions_t.
662 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
663 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
664 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
665 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
667 * libio/iofopncook.c: Remove unnecessary forward declarations.
668 * libio/iolibio.h: Correct outdated commentary.
669 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
670 * stdio-common/fxprintf.c (__fxprintf_nocancel):
671 Remove unnecessary casts.
672 * stdio-common/getline.c: Use _IO_getdelim directly.
673 Don't redefine ssize_t.
674 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
675 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
676 Remove outdated comments.
677 * stdio-common/vfscanf.c: Don't redefine va_list.
679 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
680 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
681 Remove preprocessor conditionals on _LIBC and __USE_GNU,
682 which are always true, and __cplusplus, which is always false.
684 2018-02-21 Joseph Myers <joseph@codesourcery.com>
688 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
689 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
690 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
691 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
693 [!_ISOMAC] (putc_unlocked): Likewise.
694 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
695 define inline if [__USE_EXTERN_INLINES].
696 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
701 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
702 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
703 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
704 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
705 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
707 * time/tzfile.c (__tzfile_read): Likewise.
709 2018-02-21 Mike FABIAN <mfabian@redhat.com>
712 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
714 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
716 * io/fcntl.h: Fix a typo in a comment.
718 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
721 * include/features.h: Add _ISOC11_SOURCE to test for whether to
722 define _DEFAULT_SOURCE.
723 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
725 2018-02-21 Florian Weimer <fweimer@redhat.com>
728 * elf/cache.c (save_cache): Call fsync on temporary file before
730 (save_aux_cache): Call fdatasync on temporary file before renaming
733 2018-02-21 Florian Weimer <fweimer@redhat.com>
736 * include/caller.h: Remove file.
737 * elf/dl-caller.c: Likewise.
738 * elf/Makefile (dl-routines): Remove dl-caller.
739 (shared-only-routines): Do not add dl-caller.
740 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
742 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
744 (dl_open_worker): Do not call __check_caller.
745 (_dl_open): Do not set caller_dl_open member.
746 * elf/rtld.c (_rtld_global_ro): Do not initialize
747 _dl_check_caller member.
748 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
749 _dl_check_caller member.
750 (_dl_check_caller): Remove declaration.
751 * sysdeps/unix/sysv/linux/dl-execstack.c
752 (_dl_make_stack_executable): Do not call __check_caller.
754 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
757 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
759 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
761 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
764 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
767 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
768 of 199606L, 200112L, and 200809L.
769 (_XOPEN_SOURCE): Document special values of 600 and 700.
770 (_ISOC11_SOURCE): Document macro.
771 (_ATFILE_SOURCE): Likewise.
772 (_FORTIFY_SOURCE): Likewise.
774 2018-02-19 Joseph Myers <joseph@codesourcery.com>
778 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
779 and define as weak alias of __ferror_unlocked. Use
781 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
783 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
784 function if [__USE_EXTERN_INLINES].
785 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
788 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
791 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
793 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
796 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
797 the GLIBC_2.1 version.
799 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
802 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
803 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
804 intl/tst-gettext-de.po from po/de.po by removing the
805 POT-Creation-Date line.
806 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
808 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
811 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
813 * mach/Makefile (headers): Add mach/param.h.
814 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
815 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
816 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
817 (__ptsname_r): Move implementation to...
818 (__ptsname_internal): ... new function. Add filling the STP
821 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
823 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
826 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
828 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
831 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
833 * nptl/Makefile (tst-mutex8-ENV): Delete.
834 * nptl/tst-mutex8.c (check_type):
835 Add runtime check if mutex will be elided.
837 2018-02-15 Joseph Myers <joseph@codesourcery.com>
841 * manual/install.texi (Configuring and compiling): Describe
842 passing CC and CFLAGS on configure command line, not as
843 environment variables. Use @code markup on those variables.
844 Specify what options go in CC and what go in CFLAGS. Note the
845 requirement to compile with optimization.
846 * INSTALL: Regenerated.
849 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
850 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
851 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
852 __sigprocmask instead of sigprocmask.
853 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
855 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
856 __sigsetjmp and sigprocmask.
859 * include/argz.h (argz_next): Use libc_hidden_proto.
860 (__argz_next): Likewise.
861 * string-argz-next.c (__argz_next): Use libc_hidden_def.
862 (argz_next): Use libc_hidden_weak.
865 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
867 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
871 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
873 * libio/iofputs.c (fputs): Use libc_hidden_weak.
877 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
878 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
879 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
880 (__feof_unlocked): New declaration, and inline function if
881 [__USE_EXTERN_INLINES].
882 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
883 instead of feof_unlocked.
884 * intl/localealias.c [_LIBC] (FEOF): Likewise.
885 * nss/nsswitch.c (nss_parse_file): Likewise.
886 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
888 * time/getdate.c (__getdate_r): Likewise.
889 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
890 Define as macro to call __feof_unlocked.
892 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
894 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
896 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
898 * math/Makefile: Remove mpexp.c and mplog.c
899 * sysdeps/i386/fpu/mpexp.c: Delete file.
900 * sysdeps/i386/fpu/mplog.c: Likewise.
901 * sysdeps/ia64/fpu/mpexp.c: Likewise.
902 * sysdeps/ia64/fpu/mplog.c: Likewise.
903 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
904 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
905 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
906 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
907 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
908 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
909 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
910 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
911 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
913 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
914 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
915 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
916 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
917 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
918 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
920 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
922 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
924 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
926 * sysdeps/sh/libm-test-ulps: Update.
928 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
930 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
933 2018-02-12 Zack Weinberg <zackw@panix.com>
936 * posix/sys/types.h: Don't include sys/sysmacros.h.
937 * misc/sys/sysmacros.h: Remove the conditional deprecation
938 warnings for the macros defined by this header.
940 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
942 * manual/probes.texi: Remove slowexp probes.
943 * math/Makefile: Remove slowexp.
944 * sysdeps/generic/math_private.h (__slowexp): Remove.
945 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
946 document error bounds.
947 * sysdeps/i386/fpu/slowexp.c: Remove.
948 * sysdeps/ia64/fpu/slowexp.c: Remove.
949 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
950 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
951 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
952 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
953 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
954 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
957 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
959 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
961 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
964 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
965 * benchtests/pow-inputs: Update comment for slow path cases.
966 * manual/probes.texi (slowpow_p10): Delete removed probe.
967 (slowpow_p10): Likewise.
968 * math/Makefile: Remove halfulp.c and slowpow.c.
969 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
970 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
973 * sysdeps/i386/fpu/halfulp.c: Delete file.
974 * sysdeps/i386/fpu/slowpow.c: Likewise.
975 * sysdeps/ia64/fpu/halfulp.c: Likewise.
976 * sysdeps/ia64/fpu/slowpow.c: Likewise.
977 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
978 improve comments and add error analysis.
979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
980 (power1): Remove function:
981 (log1): Remove error argument, add error analysis.
982 (my_log2): Remove function.
983 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
984 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
985 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
986 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
987 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
988 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
989 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
990 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
991 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
992 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
993 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
994 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
995 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
996 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
998 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1000 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
1001 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
1003 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
1006 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
1007 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
1008 and PTRACE_SETHBPREGS.
1010 2018-02-10 Zack Weinberg <zackw@panix.com>
1013 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
1015 * malloc/tst-malloc-stats-cancellation.c: New test case.
1016 * malloc/Makefile: Add new test case.
1018 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
1020 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
1022 2018-02-10 Joseph Myers <joseph@codesourcery.com>
1024 * math/Makefile (libm-narrow-fns): Add add.
1025 (libm-test-funcs-narrow): Likewise.
1026 * math/Versions (GLIBC_2.28): Add narrowing add functions.
1027 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
1028 * math/gen-auto-libm-tests.c (test_functions): Add add.
1029 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
1030 (NARROW_ADD_ROUND_TO_ODD): Likewise.
1031 (NARROW_ADD_TRIVIAL): Likewise.
1032 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
1034 (__daddl): Likewise.
1035 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
1037 (CFLAGS-nldbl-dadd.c): New variable.
1038 (CFLAGS-nldbl-fadd.c): Likewise.
1039 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
1041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
1043 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
1044 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
1045 * math/auto-libm-test-in: Add tests of add.
1046 * math/auto-libm-test-out-narrow-add: New generated file.
1047 * math/libm-test-narrow-add.inc: New file.
1048 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
1049 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
1051 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
1052 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
1053 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
1054 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
1055 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
1056 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
1059 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
1060 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
1062 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
1063 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1064 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
1065 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1067 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
1068 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1069 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1070 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1071 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1072 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1073 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1074 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1075 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1076 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1077 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1078 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1079 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1084 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1086 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1087 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1089 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1090 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
1091 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1093 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1095 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
1096 (f128-pairs): New variable.
1097 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
1098 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
1100 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
1101 Also make tests add $(f128-loader-link) to gnulib-tests.
1103 2018-02-09 DJ Delorie <dj@redhat.com>
1106 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
1107 64-bit ELF type for 64-bit ELF objects.
1109 2018-02-09 Joseph Myers <joseph@codesourcery.com>
1111 * math/libm-test-driver.c (snan_tests_arg): New variable.
1112 * math/libm-test-support.h (snan_tests_arg): New declaration.
1113 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
1115 * math/Makefile (test-type-pairs): New variable.
1116 (test-type-pairs-f64xf128-yes): Likewise.
1117 (tests): Add test-narrow-macros.
1118 (libm-test-funcs-narrow): New variable.
1119 (libm-test-c-narrow): Likewise.
1120 (generated): Add $(libm-test-c-narrow).
1121 (libm-tests-base-narrow): New variable.
1122 (libm-tests-narrow): Likewise.
1123 (libm-tests): Add $(libm-tests-narrow).
1124 (libm-tests-for-type): Handle $(libm-tests-narrow).
1125 (libm-test-c-narrow-obj): New variable.
1126 ($(libm-test-c-narrow-obj)): New rule.
1127 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
1128 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
1129 $(o-iterator) to set dependencies and CFLAGS.
1130 * math/gen-auto-libm-tests.c: Document use for narrowing
1132 (output_for_one_input_case): Take argument NARROW.
1133 (generate_output): Likewise. Update call to
1134 output_for_one_input_case.
1135 (main): Take --narrow option. Update call to generate_output.
1136 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
1137 (apply_lit): Update call to _apply_lit.
1138 (apply_arglit): New function.
1139 (parse_args): Handle "a" arguments.
1140 (parse_auto_input): Handle format names using ":".
1141 * math/README.libm-test: Document "a" parameter type.
1142 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
1143 (ARG_TYPE_TRUE_MIN): Likewise.
1144 (ARG_TYPE_MAX): Likwise.
1145 (ARG_MIN_EXP): Likewise.
1146 (ARG_MAX_EXP): Likewise.
1147 (ARG_MANT_DIG): Likewise.
1148 (TEST_COND_arg_ibm128): Likewise.
1149 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
1150 (TEST_COND_arg_fmt): New macro.
1151 (init_max_error): Update prototype.
1152 * math/libm-test-support.c (test_ibm128): New variable.
1153 (init_max_error): Take argument testing_ibm128 and set test_ibm128
1154 instead of using [TEST_COND_ibm128] conditional.
1155 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
1156 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
1157 [TEST_NARROW] (TEST_MSG): New definition.
1158 (arg_plus_zero): New macro.
1159 (arg_minus_zero): Likewise.
1160 (arg_plus_infty): Likewise.
1161 (arg_minus_infty): Likewise.
1162 (arg_qnan_value_pl): Likewise.
1163 (arg_qnan_value): Likewise.
1164 (arg_snan_value_pl): Likewise.
1165 (arg_snan_value): Likewise.
1166 (arg_max_value): Likewise.
1167 (arg_min_value): Likewise.
1168 (arg_min_subnorm_value): Likewise.
1169 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
1170 (RUN_TEST_LOOP_aa_f): New macro.
1171 (TEST_SUFF): New macro.
1172 (TEST_SUFF_STR): Likewise.
1173 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
1174 (TEST_COND_any_ibm128): New macro.
1175 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
1176 this_func. Update call to init_max_error.
1177 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
1178 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
1179 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
1180 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
1181 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
1182 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
1183 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
1184 * math/test-math-scalar.h (TEST_NARROW): Likewise.
1185 * math/test-math-vector.h (TEST_NARROW): Likewise.
1186 * math/test-arg-double.h: New file.
1187 * math/test-arg-float128.h: Likewise.
1188 * math/test-arg-float32x.h: Likewise.
1189 * math/test-arg-float64.h: Likewise.
1190 * math/test-arg-float64x.h: Likewise.
1191 * math/test-arg-ldouble.h: Likewise.
1192 * math/test-math-narrow.h: Likewise.
1193 * math/test-narrow-macros.c: Likewise.
1194 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
1195 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
1196 test-narrow-macros-ldbl-64.
1197 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
1199 * math/bits/mathcalls-narrow.h: New file.
1200 * include/bits/mathcalls-narrow.h: Likewise.
1201 * math/math-narrow.h: Likewise.
1202 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
1203 (__MATHCALL_NARROW_ARGS_2): Likewise.
1204 (__MATHCALL_NARROW_ARGS_3): Likewise.
1205 (__MATHCALL_NARROW_NORMAL): Likewise.
1206 (__MATHCALL_NARROW_REDIR): Likewise.
1207 (__MATHCALL_NARROW): Likewise.
1208 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
1209 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
1211 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1212 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
1213 (libm-narrow-fns): New variable.
1214 (libm-narrow-types-basic): Likewise.
1215 (libm-narrow-types-ldouble-yes): Likewise.
1216 (libm-narrow-types-float128-yes): Likewise.
1217 (libm-narrow-types-float128-alias-yes): Likewise.
1218 (libm-narrow-types): Likewise.
1219 (libm-routines): Add narrowing functions.
1220 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
1221 (libc_feholdexcept_setroundf128): New macro.
1222 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
1223 * sysdeps/ieee754/float128/float128_private.h: Include
1224 <math/math-narrow.h>.
1225 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
1226 Undefine and redefine.
1227 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
1228 (libm_alias_float_ldouble): Undefine and redefine.
1229 (libm_alias_double_ldouble): Likewise.
1231 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
1233 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
1235 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
1238 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
1240 * manual/creature.texi: Convert references to gcc.info to gcc.
1241 * manual/stdio.texi: Likewise.
1242 * manual/string.texi: Likewise.
1244 2018-02-07 Joseph Myers <joseph@codesourcery.com>
1247 * posix/bits/types.h (__int_least8_t): New typedef.
1248 (__uint_least8_t): Likewise.
1249 (__int_least16_t): Likewise.
1250 (__uint_least16_t): Likewise.
1251 (__int_least32_t): Likewise.
1252 (__uint_least32_t): Likewise.
1253 (__int_least64_t): Likewise.
1254 (__uint_least64_t): Likewise.
1255 * sysdeps/generic/stdint.h (int_least8_t): Define using
1257 (int_least16_t): Define using __int_least16_t.
1258 (int_least32_t): Define using __int_least32_t.
1259 (int_least64_t): Define using __int_least64_t.
1260 (uint_least8_t): Define using __uint_least8_t.
1261 (uint_least16_t): Define using __uint_least16_t.
1262 (uint_least32_t): Define using __uint_least32_t.
1263 (uint_least64_t): Define using __uint_least64_t.
1264 * wcsmbs/uchar.h: Include <bits/types.h>.
1265 (char16_t): Define using __uint_least16_t conditional only on
1267 (char32_t): Define using __uint_least32_t conditional only on
1269 * wcsmbs/test-char-types.c: New file.
1270 * wcsmbs/Makefile (tests): Add test-char-types.
1272 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1275 2018-02-07 Zack Weinberg <zackw@panix.com>
1277 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
1278 Delete all contents except for definitions of _G_HAVE_MMAP and
1279 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
1280 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
1281 sysdeps/unix/sysv/linux/_G_config.h. Make same content
1284 * libio/libio.h: Don't include bits/_G_config.h here.
1285 Include stddef.h with __need_wchar_t defined. Include
1286 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
1287 Define _IO_iconv_t here, directly.
1288 Don't define _IO_HAVE_ST_BLKSIZE.
1289 * libio/libioP.h: Include _G_config.h here. Move include of
1290 shlib-compat.h up with rest of includes. Simplify conditionals
1291 controlling definition of _IO_JUMPS_OFFSET.
1293 * csu/init.c: Remove always-true #if around entire file.
1294 Don't include stdio.h. Set _IO_stdin_used to hardwired
1295 constant 0x20001, and update commentary.
1296 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
1297 Replace all uses of _G_va_list with __gnuc_va_list.
1298 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
1299 instead of #if _IO_HAVE_ST_BLKSIZE.
1300 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
1301 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
1304 * libio/bits/libio.h: Move back to libio/libio.h and adjust
1305 multiple-include guard to match.
1306 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
1308 Remove preprocessor conditionals that are always true and/or
1309 redundant to other preprocessor conditionals in the same nest.
1310 Include shlib-compat.h unconditionally.
1311 Error out if _LIBC is not defined, or if _ISOMAC is defined,
1312 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
1313 defined after including stdio.h.
1314 Use __BEGIN_DECLS/__END_DECLS.
1316 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
1317 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
1318 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
1320 2018-02-07 Zack Weinberg <zackw@panix.com>
1322 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
1323 New single-type headers split from _G_config.h.
1324 * libio/bits/types/cookie_io_functions_t.h
1325 * libio/bits/types/struct_FILE.h
1326 New single-type headers split from libio.h.
1328 * libio/Makefile: Install the above new headers. Don't install
1329 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
1331 * libio/_G_config.h, libio/libio.h: Delete file.
1333 * libio/bits/libio.h: Remove improper-inclusion guard.
1334 Include stdio.h and don't repeat anything that it does.
1335 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
1336 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
1337 __io_read_fn as cookie_read_function_t,
1338 __io_write_fn as cookie_write_function_t,
1339 __io_seek_fn as cookie_seek_function_t,
1340 __io_close_fn as cookie_close_function_t,
1341 and _IO_cookie_io_functions_t as cookie_io_functions_t.
1342 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
1343 here, in the "compatibility defines" section. Remove an #if 0
1344 block. Use the "body" macros from bits/types/struct_FILE.h to
1345 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
1346 and _IO_ferror_unlocked.
1347 Move prototypes of __uflow and __overflow...
1349 * libio/stdio.h: ...here. Don't include bits/libio.h.
1350 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
1351 directly from stdarg.h. Include bits/types/__fpos_t.h,
1352 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
1353 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
1354 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
1355 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
1356 cookie_io_functions_t, not _IO_cookie_io_functions_t;
1357 __ssize_t, not _IO_ssize_t. Unconditionally define
1358 BUFSIZ as 8192 and EOF as (-1).
1360 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
1361 macros from bits/types/struct_FILE.h instead of _IO_* macros
1362 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
1363 instead of _IO_ssize_t.
1364 * libio/bits/stdio2.h: Similarly.
1366 * libio/iolibio.h: Add multiple-include guard.
1367 Include bits/libio.h after stdio.h.
1368 * libio/libioP.h: Add multiple-include guard.
1369 Include stdio.h and bits/libio.h before iolibio.h.
1371 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
1372 * include/bits/types/cookie_io_functions_t.h
1373 * include/bits/types/struct_FILE.h: New wrappers.
1375 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
1376 Get definitions of _G_fpos_t and _G_fpos64_t from
1377 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
1378 respectively. Remove improper-inclusion guards.
1380 * conform/data/stdio.h-data: Update expectations of va_list.
1381 * scripts/check-installed-headers.sh: Remove special case for
1382 libio.h and _G_config.h.
1384 2018-02-07 Joseph Myers <joseph@codesourcery.com>
1388 * include/sys/sysmacros.h [!_ISOMAC]
1389 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
1390 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
1391 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
1392 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
1394 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
1395 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
1397 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
1398 Undefine and redefine to add use __gnu_dev_ prefix.
1399 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
1401 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
1402 and define as hidden inline function.
1403 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
1405 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
1407 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
1408 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
1409 (gnu_dev_minor): Likewise.
1410 (gnu_dev_makedev): Likewise.
1411 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
1413 * posix/wordexp.c (exec_comm_child): Likewise.
1414 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
1415 instead of minor and __gnu_dev_major instead of major.
1416 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
1417 __gnu_dev_major instead of major.
1418 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
1419 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
1420 instead of gnu_dev_minor.
1421 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
1422 (SLAVE_P): Likewise.
1423 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
1424 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
1428 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
1430 * locale/weightwc.h (findidx): Likewise.
1432 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
1434 * manual/probes.texi (slowlog): Delete documentation of removed probe.
1435 (slowlog_inexact): Likewise
1436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
1437 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
1439 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
1442 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
1443 missing second underscore to parameter name.
1445 2018-02-06 Joseph Myers <joseph@codesourcery.com>
1451 * bits/byteswap.h: Update file comment. Do not include
1452 <bits/byteswap-16.h>.
1453 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
1455 (__bswap_16): Define as inline function.
1456 (__bswap_constant_32): Reformat definition.
1457 (__bswap_32): Always define as inline function, not macro, using
1458 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
1459 otherwise __bswap_constant_32.
1460 (__bswap_constant_64): Reformat definition. Do not use
1462 (__bswap_64): Always define as inline function, not macro. Use
1463 __extension__ on function definition. Use __builtin_bswap64 if
1464 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
1465 * string/test-endian-file-scope.c: New file.
1466 * string/test-endian-sign-conversion.c: Likewise.
1467 * string/Makefile (headers): Remove bits/byteswap-16.h.
1468 (tests): Add test-endian-file-scope and
1469 test-endian-sign-conversion.
1470 (CFLAGS-test-endian-sign-conversion.c): New variable.
1471 * bits/byteswap-16.h: Remove file.
1472 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
1473 * sysdeps/ia64/bits/byteswap.h: Likewise.
1474 * sysdeps/m68k/bits/byteswap.h: Likewise.
1475 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1476 * sysdeps/s390/bits/byteswap.h: Likewise.
1477 * sysdeps/tile/bits/byteswap.h: Likewise.
1478 * sysdeps/x86/bits/byteswap-16.h: Likewise.
1479 * sysdeps/x86/bits/byteswap.h: Likewise.
1482 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
1483 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
1484 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
1485 199901L] (__restrict): Define to restrict.
1488 * string/testcopy.c: Include <support/support.h>. Do not include
1489 <malloc.h>. Use <support/test-driver.c>.
1490 (main): Rename to do_test. Make static. Use xmalloc instead of
1494 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
1495 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
1496 (SSIZE_MAX): Define to INT_MAX.
1497 * posix/test-ssize-max.c: New file.
1498 * posix/Makefile (tests): Add test-ssize-max.
1501 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1502 <support/support.h>. Do not include <malloc.h>.
1503 (query_auxv): Use xmalloc instead of malloc.
1506 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
1507 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
1510 2018-02-06 Florian Weimer <fweimer@redhat.com>
1513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1514 Use scratch_buffer instead of extend_alloca.
1516 2018-02-06 Zack Weinberg <zackw@panix.com>
1518 * libio/stdio.h: Don't define getc or putc as macros.
1519 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
1520 not _IO_getc and _IO_putc.
1522 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
1523 * stdio-common/tstgetln.c: Don't redefine ssize_t.
1525 2018-02-06 Joseph Myers <joseph@codesourcery.com>
1527 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
1528 (TCP_FASTOPEN_NO_COOKIE): Likewise.
1530 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
1533 * elf/elf.h (NT_PRFPREG): New macro.
1534 (NT_S390_VXRS_LOW): Likewise.
1535 (NT_S390_VXRS_HIGH): Likewise.
1536 (NT_S390_GS_CB): Likewise.
1537 (NT_S390_GS_BC): Likewise.
1538 (NT_S390_RI_CB): Likewise.
1540 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
1541 (MAP_SYNC): New macro.
1542 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
1544 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
1545 (MAP_SYNC): Likewise.
1546 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
1547 (MAP_SYNC): Likewise.
1548 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
1549 (MAP_SYNC): Likewise.
1550 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
1551 (MAP_SYNC): Likewise.
1552 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
1553 (MAP_SYNC): Likewise.
1554 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
1555 (MAP_SYNC): Likewise.
1556 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
1558 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
1561 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
1562 (MAP_SHARED_VALIDATE): New macro.
1563 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1564 (MAP_SHARED_VALIDATE): Likewise.
1566 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1568 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
1569 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
1570 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1572 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1574 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
1575 (DT_NUM): Updated to 35.
1577 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1580 __builtin_expect with __glibc_likely and __glibc_unlikely.
1581 (elf_machine_rela): Likewise.
1582 (elf_machine_lazy_rel): Likewise.
1584 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
1587 __builtin_expect with __glibc_likely and __glibc_unlikely.
1588 (elf_machine_lazy_rel): Likewise.
1590 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1593 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
1595 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
1597 2018-02-05 Andreas Schwab <schwab@suse.de>
1600 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
1603 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1605 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
1606 not check against PTHREAD_STACK_MIN.
1608 2018-02-02 Sean McKean <smckean83@gmail.com>
1611 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
1613 2018-02-02 Florian Weimer <fweimer@redhat.com>
1616 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
1617 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
1618 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
1619 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
1620 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
1621 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
1622 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
1623 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
1624 * manual/llio.texi (Scatter-Gather): Mention offset -1.
1625 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
1626 * misc/tst-preadvwritev2.c (do_test): Call it.
1627 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1629 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
1631 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
1633 * benchtests/bench-memcmp.c: Print json instead of plain text.
1635 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
1638 2018-02-01 Joseph Myers <joseph@codesourcery.com>
1640 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1642 (s390_sthyi): New syscall.
1644 * sysdeps/generic/ldbl-classify-compat.h: New file.
1645 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
1646 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
1647 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
1648 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
1649 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
1650 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
1651 * sysdeps/ieee754/dbl-64/s_finite.c: Include
1652 <ldbl-classify-compat.h>.
1653 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1654 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
1655 <ldbl-classify-compat.h>.
1656 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1657 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
1658 <ldbl-classify-compat.h>.
1659 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1660 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
1661 <ldbl-classify-compat.h>.
1662 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
1664 <ldbl-classify-compat.h>.
1665 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
1667 <ldbl-classify-compat.h>.
1668 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1669 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
1670 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1671 * sysdeps/m68k/coldfire/math_private.h: Remove file.
1672 * sysdeps/microblaze/math_private.h: Likewise.
1673 * sysdeps/nios2/math_private.h: Likewise.
1674 * sysdeps/sh/math_private.h: Likewise.
1676 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
1677 * sysdeps/m68k/coldfire/math_private.h: ... here.
1678 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
1679 * sysdeps/tile/math_private.h: Likewise.
1680 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
1682 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
1685 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
1687 (libc_fetestexcept): Likewise.
1688 (libc_feupdateenv_test): Likewise.
1689 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
1690 (libc_fetestexcept): Likewise.
1691 (libc_feupdateenv_test): Likewise.
1692 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
1693 (libc_fetestexcept): Likewise.
1694 (libc_feupdateenv_test): Likewise.
1695 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
1696 (libc_fetestexcept): Likewise.
1697 (libc_feupdateenv_test): Likewise.
1699 * sysdeps/generic/math_private.h
1700 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
1701 New inline function.
1702 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
1705 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
1706 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
1707 * sysdeps/generic/math_private.h
1708 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
1710 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
1712 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
1714 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
1716 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
1718 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
1720 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
1721 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
1722 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
1723 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
1724 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
1725 (__fegetenv): Likewise.
1726 (fesetenv): Likewise.
1727 (__fesetenv): Likewise.
1728 (feupdateenv): Likewise.
1729 (__feupdateenv): Likewise.
1730 (fegetround): Likewise.
1731 (__fegetround): Likewise.
1732 (fesetround): Likewise.
1733 (__fesetround): Likewise.
1735 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
1736 (feraiseexcept): New macro.
1737 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
1738 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
1740 (__feraiseexcept): Likewise.
1741 (feclearexcept): Likewise.
1742 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
1743 (__feraiseexcept): Likewise.
1744 (feclearexcept): Likewise.
1745 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
1746 (__feraiseexcept): Likewise.
1747 (feclearexcept): Likewise.
1748 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
1749 (__feraiseexcept): Likewise.
1750 (feclearexcept): Likewise.
1751 (fetestexcept): Likewise.
1753 * sysdeps/m68k/coldfire/math-tests.h: New file.
1755 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
1756 * sysdeps/m68k/bits/fenv.h: ... here.
1757 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
1759 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
1761 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
1763 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
1765 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
1767 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
1769 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
1770 (__FE_UNDEFINED): New enum constant.
1771 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
1773 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
1775 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
1777 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
1778 to match generic bits/fenv.h.
1779 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
1782 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
1784 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
1785 * soft-fp/half.h (union _FP_UNION_H): Likewise.
1786 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
1787 * soft-fp/single.h (union _FP_UNION_S): Likewise.
1789 2018-02-01 Carlos O'Donell <carlos@redhat.com>
1790 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
1791 Joseph Myers <joseph@codesourcery.com>
1794 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
1795 (__log1p): Disable -Wmaybe-uninitialized for -Os around
1796 computation using c.
1797 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
1798 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
1799 computation using c.
1801 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
1803 * version.h (RELEASE): Set to "development".
1804 (VERSION): Set to "2.27.9000".
1805 * NEWS (2.28): New section.
1807 * version.h (RELEASE): Set to "stable".
1808 (VERSION): Set to "2.27".
1809 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
1811 * NEWS: Add the list of bugs fixed in 2.27.
1813 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1815 * stdlib/test-atexit-race-common.c (do_test): Check stack size
1816 against PTHREAD_STACK_MIN.
1818 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
1820 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
1822 (Rafal Luzynski, Andreas Schwab): Update.
1824 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
1827 * NEWS: List the languages which actually use the alternative
1828 months feature in this release. Also explain that "alt_mon" and
1829 "ab_alt_mon" are optional.
1831 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
1834 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
1836 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
1838 * manual/install.texi (Tools for Compilation): Update the newest
1839 versions of gcc, binutils, texinfo, gawk, bison, and sed.
1840 * INSTALL: Regenerated.
1842 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1844 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
1845 instead of __builtin_expect.
1847 2018-01-30 Florian Weimer <fweimer@redhat.com>
1849 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
1851 * nss/tst-nss-getpwent.c (do_test): Likewise.
1853 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
1856 * localedata/locales/hr_HR (mon): Rename to...
1858 (mon): Import from CLDR (genitive case).
1859 (d_t_fmt): Update the comment.
1861 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
1863 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
1864 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
1865 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
1867 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1869 * mach/Versions: Fix version when __mach_host_self_ was added.
1870 * hurd/Versions: Fix version when _hurd_exec_paths was added.
1871 * sysdeps/mach/hurd/i386/ld.abilist: New file.
1872 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
1873 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
1874 * sysdeps/mach/hurd/i386/libc.abilist: New file.
1875 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
1876 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
1877 * sysdeps/mach/hurd/i386/libm.abilist: New file.
1878 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
1879 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
1880 * sysdeps/mach/hurd/i386/librt.abilist: New file.
1881 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
1882 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
1883 || to respect codestyle.
1884 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
1885 (do_test_bz20181): Rename accordingly.
1886 * malloc/malloc.c: Include <assert.h>.
1887 (assert): Do not define.
1888 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
1889 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
1890 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1891 * sysdeps/mach/hurd/hp-timing.h: New file.
1892 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
1894 2018-01-29 Darius Rad <darius@bluespec.com>
1896 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
1898 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
1900 * sysdeps/init_array/crti.S (.section .init_array): Add
1901 PREINIT_FUNCTION when defined.
1902 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
1903 * config.h.in: Regenerate.
1904 * manual/platform.texi: Add RISC-V documenation for
1905 __riscv_flush_icache.
1906 * sysdeps/riscv/__longjmp.S: New file.
1907 * sysdeps/riscv/backtrace.c: Likewise.
1908 * sysdeps/riscv/bits/endian.h: Likewise.
1909 * sysdeps/riscv/bits/setjmp.h: Likewise.
1910 * sysdeps/riscv/bits/wordsize.h: Likewise.
1911 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
1912 * sysdeps/riscv/bsd-setjmp.c: Likewise.
1913 * sysdeps/riscv/dl-trampoline.S: Likewise.
1914 * sysdeps/riscv/gccframe.h: Likewise.
1915 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
1916 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
1917 * sysdeps/riscv/machine-gmon.h: Likewise.
1918 * sysdeps/riscv/memusage.h: Likewise.
1919 * sysdeps/riscv/setjmp.S: Likewise.
1920 * sysdeps/riscv/sys/asm.h: Likewise.
1921 * sysdeps/riscv/tls-macros.h: Likewise.
1922 * sysdeps/riscv/dl-tls.h: New file.
1923 * sysdeps/riscv/libc-tls.c: Likewise.
1924 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
1925 * sysdeps/riscv/nptl/tls.h: Likewise.
1926 * sysdeps/riscv/stackinfo.h: Likewise.
1927 * sysdeps/riscv/bits/fenv.h: New file.
1928 * sysdeps/riscv/e_sqrtl.c: Likewise.
1929 * sysdeps/riscv/fpu_control.h: Likewise.
1930 * sysdeps/riscv/math-tests.h: Likewise.
1931 * sysdeps/riscv/nofpu/Implies: Likewise.
1932 * sysdeps/riscv/sfp-machine.h: Likewise.
1933 * sysdeps/riscv/tininess.h: Likewise.
1934 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
1935 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
1936 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
1937 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
1938 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
1939 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
1940 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
1941 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
1942 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
1943 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
1944 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
1945 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
1946 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
1947 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
1948 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
1949 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
1950 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
1951 * sysdeps/riscv/rvd/s_finite.c: Likewise.
1952 * sysdeps/riscv/rvd/s_fma.c: Likewise.
1953 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
1954 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
1955 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
1956 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
1957 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
1958 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
1959 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
1960 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
1961 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
1962 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
1963 * sysdeps/riscv/rvf/fegetround.c: Likewise.
1964 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
1965 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
1966 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
1967 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
1968 * sysdeps/riscv/rvf/fesetround.c: Likewise.
1969 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
1970 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
1971 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
1972 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
1973 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
1974 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
1975 * sysdeps/riscv/rvf/math_private.h: Likewise.
1976 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
1977 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
1978 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
1979 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
1980 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
1981 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
1982 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
1983 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
1984 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
1985 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
1986 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
1987 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
1988 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
1989 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
1990 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
1991 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
1992 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
1993 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
1994 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
1995 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
1996 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
1997 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
1998 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
1999 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
2000 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2001 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
2002 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
2003 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
2004 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
2005 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
2006 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
2007 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
2008 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
2009 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
2010 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
2011 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
2012 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
2013 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
2014 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2015 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
2016 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
2017 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
2018 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
2019 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
2020 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
2021 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
2022 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
2023 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
2024 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
2025 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
2026 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
2027 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
2028 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
2029 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2030 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
2031 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
2032 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
2033 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
2034 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
2035 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
2036 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
2037 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
2038 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2039 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
2040 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2041 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
2042 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
2043 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
2044 * sysdeps/riscv/Implies: New file.
2045 * sysdeps/riscv/Makefile: Likewise.
2046 * sysdeps/riscv/configure: Likewise.
2047 * sysdeps/riscv/configure.ac: Likewise.
2048 * sysdeps/riscv/nptl/Makefile: Likewise.
2049 * sysdeps/riscv/preconfigure: Likewise.
2050 * sysdeps/riscv/rv64/Implies-after: Likewise.
2051 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
2052 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
2053 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
2054 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
2055 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
2056 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
2057 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
2058 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
2059 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
2060 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
2061 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
2062 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
2065 2018-01-29 Florian Weimer <fweimer@redhat.com>
2068 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
2069 libnsl_hidden_proto.
2070 * include/rpcsvc/yp.h (yp_xdrall): Declare with
2071 libnsl_hidden_proto.
2072 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
2073 * nis/Makefile (libnsl-routines): Add nss-default only for
2075 * nis/nis_defaults.c (__nis_default_ttl): Add
2076 libnsl_hidden_nolink_def.
2077 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
2079 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
2080 * nis/ypclnt.c (yp_maplist): Likewise.
2082 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
2084 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2085 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
2087 2018-01-29 Joseph Myers <joseph@codesourcery.com>
2089 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
2090 clean -dxfq for git updates when replacing sources.
2092 * scripts/build-many-glibcs.py (Config.build_gcc): Use
2093 --disable-libcilkrts unconditionally, not just for the final GCC
2096 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2099 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2102 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
2105 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2108 * localedata/locales/be_BY (mon): Rename to...
2109 (alt_mon): This, then synchronize with CLDR (nominative case).
2110 (abmon): Rename to...
2111 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
2112 (mon): Import from CLDR (genitive case).
2114 * localedata/locales/be_BY@latin (mon): Rename to...
2116 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
2118 * localedata/locales/be_BY@latin (lang_name): Reworded to
2119 "biełaruskaja mova".
2121 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2124 * localedata/locales/el_CY (mon): Renamed to...
2126 (mon): Import from CLDR (genitive case).
2127 * localedata/locales/el_GR: Likewise.
2129 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2132 * localedata/locales/ru_RU (mon): Rename to...
2134 (abmon): Rename to...
2136 (mon): Import from CLDR (genitive case).
2137 (abmon): Copy from the old content except the 5th month which is
2138 now in the genitive case, even when abbreviated.
2139 * localedata/locales/ru_UA: Likewise.
2140 * time/tst-strptime.c (day_tests): Add an actual example of
2141 a difference between %b and %Ob in Russian.
2143 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2145 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
2146 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
2148 * resolv/res-close.c: Include <stdlib.h>.
2149 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
2150 <sys/wait.h>, <time.h>, <sys/uio.h>.
2151 (NOT_CANCEL_H): Add inclusion guard.
2152 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
2153 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
2154 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
2156 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
2157 vm_address_t * to ElfW(Addr) * for dl_main parameter.
2158 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
2160 * sysdeps/pthread/timer_create.c (timer_create): Do not use
2161 timer_ptr2id to cast struct timer_node * to void *.
2162 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
2163 --disable-libcilkrts to gcc configure.
2164 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
2165 and make them the default for now.
2166 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
2167 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
2168 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
2169 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
2170 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
2172 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
2173 __task_terminate would ever return successfully.
2174 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
2176 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
2177 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
2178 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
2179 critical section to make code simpler and avoid warning.
2180 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
2181 critical section to make code simpler and avoid warning.
2182 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
2183 const char * instead of char *.
2184 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
2185 __hurd_file_name_split, hurd_file_name_split,
2186 __hurd_directory_name_split, hurd_directory_name_split,
2187 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
2188 hurd_file_name_path_lookup): Make lookup function parameter take a
2189 const char *name instead of char *name.
2190 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
2191 __hurd_directory_name_split): Likewise.
2192 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2193 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
2194 * sysdeps/mach/hurd/check_native.c: New file.
2195 * sysdeps/mach/hurd/check_pf.c: New file.
2196 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
2197 (__freeifaddrs): Define macro to freeifaddrs.
2198 * sysdeps/mach/hurd/libhurduser.abilist: New file.
2199 * sysdeps/mach/libmachuser.abilist: New file.
2200 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
2201 (do_test_bz20181): Rename accordingly.
2202 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
2203 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
2205 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
2206 version only if __USE_EXTERN_INLINES is defined.
2207 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
2208 __hurd_sockfail): Likewise.
2209 (_hurd_fd_get): Always declare functions, and provide inline versions
2210 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
2211 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
2212 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
2213 _hurd_port_set): Always declare functions, and provide inline versions
2214 only if __USE_EXTERN_INLINES and _LIBC are defined and
2216 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
2217 _hurd_critical_section_unlock): Likewise.
2218 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
2219 * __hurd_threadvar_location): Likewise.
2220 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
2221 _hurd_userlink_clear): Likewise.
2222 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
2223 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
2224 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
2225 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
2226 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
2227 __spin_lock_locked): Likewise.
2228 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
2229 __spin_lock_locked): Likewise.
2230 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
2231 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
2232 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
2233 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
2234 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
2235 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
2236 _POSIX_NO_TRUNC): Define to 0.
2237 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
2238 check size against PTHREAD_STACK_MIN.
2239 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
2240 IS_IN(libpthread)]: Include <sigsetops.h>.
2241 * mach/Makefile (user-interfaces): Add mach/gnumach.
2242 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
2243 * sysdeps/mach/configure (mach_interface_list): Regenerate.
2244 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
2245 instead of invalid -1.
2246 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
2247 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
2248 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
2251 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
2253 * hurd/fcntl-internal.h: New file.
2255 2018-01-27 James Clarke <jrtc27@jrtc27.com>
2257 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2259 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2261 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
2264 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
2265 Build only shared objects.
2267 2018-01-26 Carlos O'Donell <carlos@redhat.com>
2269 * README: Update for hppa.
2271 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2273 * sysdeps/sparc/fpu/libm-test-ulps: Update
2274 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
2276 2018-01-26 Carlos O'Donell <carlos@redhat.com>
2280 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2283 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
2284 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
2285 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
2286 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
2289 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2292 * bits/types/__cancel_jmp_buf_tag.h: New file.
2293 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
2294 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
2295 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
2296 * nptl/Makefile (headers): Add
2297 bits/types/__cancel_jmp_buf_tag.h.
2298 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
2299 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
2300 * sysdeps/nptl/pthread.h: Include
2301 <bits/types/__cancel_jmp_buf_tag.h>.
2302 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
2304 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
2306 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
2309 * localedata/locales/uk_UA (mon): Renamed to...
2311 (alt_digits): "0" removed and then renamed to...
2313 (date_fmt): Definition changed not to use the alternative
2316 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
2318 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
2319 FLAG_RISCV_FLOAT_ABI_DOUBLE.
2320 * elf/elf.h (EF_RISCV_RVC): New define.
2321 (EF_RISCV_FLOAT_ABI): Likewise.
2322 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
2323 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
2324 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
2325 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
2326 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
2328 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
2330 2018-01-25 Andreas Schwab <schwab@suse.de>
2332 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
2334 * sysdeps/gnu/configure: Regenerate.
2335 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2336 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2338 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2340 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
2341 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2342 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2344 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2346 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
2347 URL, and run autoconf, make it the default for now.
2349 2018-01-24 Joseph Myers <joseph@codesourcery.com>
2351 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2352 soft-float ColdFire configuration.
2354 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
2355 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
2356 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
2358 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
2361 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
2363 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
2365 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
2368 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
2369 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
2370 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
2373 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2376 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
2377 Rename to __reserved and add comment.
2378 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
2379 Rename to __reserved.
2381 2018-01-24 Joseph Myers <joseph@codesourcery.com>
2383 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2384 i686-gnu configurations.
2385 (Context.run_builds): Include mig, gnumach and hurd in components
2387 (Context.checkout): Add mig, gnumach and hurd to components.
2388 (Context.checkout_tar): Add URL mappings for mig, gnumach and
2390 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
2391 (Config.build): Install gnumach headers, build mig and install
2392 hurd headers for 'gnu' OS.
2393 (Config.install_gnumach_headers): New function.
2394 (Config.install_hurd_headers): Likewise.
2395 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
2396 when building for 'gnu' OS.
2398 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
2400 * manual/tunables.texi (Hardware Capability Tunables): Fix
2403 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
2405 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
2406 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
2407 (ALTMON_11, ALTMON_12): Improve documentation.
2408 * manual/time.texi (strftime): Likewise.
2410 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2413 * localedata/locales/pl_PL: Alternative month names added,
2414 primary month names are genitive now.
2415 * time/tst-strptime.c (day_tests): Actually use a genitive case
2416 of a month name in Polish language.
2418 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2421 * manual/locale.texi: Document ALTMON_1..12 constants for
2422 nl_langinfo. Specify when to use ALTMON instead of MON.
2423 * manual/time.texi (strftime, strptime): Document GNU extension
2424 permitting O modifier with %B and %b. Specify when to use
2427 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2430 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
2431 names, define them as the same as abbreviated month names explicitly.
2432 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
2433 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
2434 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
2435 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
2436 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
2437 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
2438 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
2439 _NL_WABALTMON_12): New enum constants.
2440 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
2441 wab_alt_mon, and ab_alt_mon_defined members.
2442 (time_output): Output ab_alt_mon and wab_alt_mon members.
2443 (time_read): Read them, initialize them as copies of abmon and wabmon
2444 respectively if they are missing, initialize ab_alt_mon_defined.
2445 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
2446 * locale/programs/locfile-kw.h: Regenerate.
2447 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
2448 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
2450 * time/strftime_l.c (a_altmonth, aam_len): New macros.
2451 [!COMPILE_WIDE] (ABALTMON_1): New macro.
2452 (__strftime_internal): Handle %Ob and %Oh formats.
2453 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
2454 (__strptime_internal): Handle %Ob and %Oh formats.
2455 * time/tst-strptime.c (day_tests): Add more tests to parse different
2456 forms of month names including the new %Ob format specifier.
2458 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2461 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
2462 define them as the same as primary full month names explicitly.
2463 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
2464 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
2465 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
2466 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
2467 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
2468 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
2469 _NL_WALTMON_12): New enum constants.
2470 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
2471 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
2473 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
2474 walt_mon, and alt_mon_defined members.
2475 (time_output): Output alt_mon and walt_mon members.
2476 (time_read): Read them, initialize them as copies of mon and wmon
2477 respectively if they are missing, initialize alt_mon_defined.
2478 * locale/programs/locfile-kw.gperf (alt_mon): Define.
2479 * locale/programs/locfile-kw.h: Regenerate.
2480 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
2481 * localedata/tst-langinfo.c (map): Add tests for the new constants
2482 ALTMON_1 .. ALTMON_12.
2483 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
2485 * time/strftime_l.c (f_altmonth): New macro.
2486 (__strftime_internal): Handle %OB format.
2487 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
2488 (__strptime_internal): Handle %OB format.
2489 * time/tst-strptime.c (day_tests): Add tests to parse different forms
2490 of month names including the new %OB format specifier.
2492 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2495 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
2496 from ABORT_TRANSACTION.
2497 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
2498 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
2499 ABORT_TRANSACTION_IMPL): Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
2501 Linux code, but remove the code that aborts transactions.
2503 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2505 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
2507 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2509 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
2510 in date: "2004-14-09" should be "2004-09-14".
2511 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
2512 "2003-15-09" should be "2003-09-15".
2514 2018-01-18 Arjun Shankar <arjun@redhat.com>
2520 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
2522 (_int_memalign): check for integer overflow before calling
2524 * malloc/tst-malloc-too-large.c: New test.
2525 * malloc/Makefile: Add tst-malloc-too-large.
2527 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
2529 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
2530 in date: "2017-24-07" should be "2017-07-24".
2531 * localedata/locales/mai_IN: Likewise.
2532 * localedata/locales/mai_NP: Likewise.
2534 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
2536 * po/ru.po: Update translations.
2538 2018-01-17 Joseph Myers <joseph@codesourcery.com>
2541 * sysdeps/hppa/backtrace.c: New file.
2543 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
2546 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
2547 align La_x86_64_retval to VEC_SIZE.
2549 2018-01-16 Joseph Myers <joseph@codesourcery.com>
2551 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
2552 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
2554 2018-01-16 Florian Weimer <fweimer@redhat.com>
2556 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
2557 Move tst-thread-exit-clobber ...
2558 [$(CXX)] (tests-unsupported): ... to here.
2560 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
2562 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
2563 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
2564 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2565 (_dl_aarch64_cap_flags): Update.
2566 (_DL_HWCAP_COUNT): Update.
2568 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
2570 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2571 (_DL_HWCAP_LAST): Remove.
2572 (_DL_HWCAP_COUNT): Move to ...
2573 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2574 (_DL_HWCAP_COUNT): ... here.
2576 2018-01-16 Florian Weimer <fweimer@redhat.com>
2578 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
2579 mode with GNU extensions.
2581 2018-01-15 Alan Hayward <alan.hayward@arm.com>
2583 * elf/elf.h (NT_ARM_SVE): Define.
2585 2018-01-15 Florian Weimer <fweimer@redhat.com>
2588 * nptl/tst-minstack-throw.cc: New file.
2589 * nptl/Makefile (tests): Add tst-minstack-throw.
2590 (LDLIBS-tst-minstack-throw): Link with libstdc++.
2591 [!CXX] (tests-unsupported): Add tst-minstack-throw.
2593 2018-01-15 Joseph Myers <joseph@codesourcery.com>
2595 * scripts/build-many-glibcs.py (Context.checkout): Default
2596 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
2599 2018-01-13 Carlos O'Donell <carlos@redhat.com>
2602 * elf/elf.h (DF_1_STUB): Define.
2605 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2608 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
2609 Do not add 0.5 to integer or out-of-range arguments.
2611 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
2613 * po/bg.po: Update translations.
2614 * po/cs.po: Likewise.
2615 * po/de.po: Likewise.
2616 * po/ko.po: Likewise.
2617 * po/pl.po: Likewise.
2618 * po/sv.po: Likewise.
2619 * po/uk.po: Likewise.
2620 * po/vi.po: Likewise.
2622 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2624 * aarch64/start.S (_start): Use __wrap_main.
2625 (__wrap_main): New local symbol.
2627 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
2631 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
2632 generic_getcwd if the path returned by getcwd syscall is not absolute.
2633 * io/tst-getcwd-abspath.c: New test.
2634 * io/Makefile (tests): Add tst-getcwd-abspath.
2636 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
2638 * malloc/malloc.c (malloc_consolidate): Add size check.
2640 2018-01-12 Florian Weimer <fweimer@redhat.com>
2642 * support/write_message.c (write_message): Preserve errno.
2643 * support/check.c (print_failure): Likewise.
2644 * support/support_test_verify_impl.c (support_test_verify_impl):
2646 * support/support_test_compare_failure.c
2647 (support_test_compare_failure): Likewise.
2649 2018-01-12 Florian Weimer <fweimer@redhat.com>
2652 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
2653 Prevent installation of libnsl.so.
2654 (libnsl-inhibit-o): Do not build (or install) static libraries.
2656 2018-01-12 Egmont Koblinger <egmont@gmail.com>
2659 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
2660 before the day number which may produce a double space.
2661 (date_fmt): Likewise.
2663 2018-01-12 Joseph Myers <joseph@codesourcery.com>
2665 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
2666 instead of fegetenv.
2668 2018-01-11 Joseph Myers <joseph@codesourcery.com>
2671 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
2672 comment to say exceptions are discarded.
2673 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
2675 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
2678 2018-01-11 Florian Weimer <fweimer@redhat.com>
2680 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
2683 2018-01-11 Florian Weimer <fweimer@redhat.com>
2686 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
2687 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
2689 2018-01-10 Joseph Myers <joseph@codesourcery.com>
2692 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
2693 negative arguments in test for NaN or infinity argument.
2695 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
2697 * po/libc.pot: Regenerate.
2699 2018-01-10 Florian Weimer <fweimer@redhat.com>
2702 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
2703 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
2705 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2707 * hurd/hurd/fd.h: Include <fcntl.h>
2708 (__hurd_at_flags): New function.
2709 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
2710 with call to __hurd_at_flags.
2711 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
2712 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
2714 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
2715 (__access_noerrno): Use __faccessat_common instead of access_common.
2716 (__access): Likewise.
2717 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
2718 with a call to __faccessat.
2719 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
2720 (__faccessat_common): ... this. Move implementation of __access into it when
2721 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
2722 reauthenticate_cwdir_at helper to implement AT mechanism.
2723 (__faccessat_noerrno): New function, just calls __faccessat_common.
2724 (__faccessat): New function, just calls __faccessat_common.
2725 (faccessat): Define weak alias.
2727 2018-01-10 Joseph Myers <joseph@codesourcery.com>
2730 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2731 (CFLAGS-s_fmaxmagl.c): New variable.
2732 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
2735 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
2736 long int for arguments of possibly overflowing addition or
2738 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2740 2018-01-09 Joseph Myers <joseph@codesourcery.com>
2743 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2744 (CFLAGS-e_remainderl.c): New variable.
2747 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
2749 (CFLAGS-s_cacoshl.c): Likewise.
2750 (CFLAGS-s_casinhl.c): Likewise.
2751 (CFLAGS-s_catanl.c): Likewise.
2752 (CFLAGS-s_catanhl.c): Likewise.
2753 (CFLAGS-s_cexpl.c): Likewise.
2754 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
2755 (CFLAGS-s_csinhl.c): Likewise.
2756 (CFLAGS-s_clogl.c): Likewise.
2757 (CFLAGS-s_clog10l.c): Likewise.
2758 (CFLAGS-s_csinl.c): Likewise.
2759 (CFLAGS-s_csqrtl.c): Likewise.
2761 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
2762 2017-01-09 Svante Signell <svante.signell@gmail.com>
2764 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
2765 (_hurd_exec_paths): New function.
2766 * hurd/hurd.h (_hurd_exec): Deprecate function.
2767 (_hurd_exec_paths): Declare function.
2768 * hurd/Versions: Export _hurd_exec_paths.
2769 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
2770 (__execve): Use __getcwd to build absolute path, and use
2771 _hurd_exec_paths instead of _hurd_exec.
2772 * sysdeps/mach/hurd/spawni.c: Likewise.
2773 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
2776 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
2778 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
2779 test instead of failing in case of ENOENT returned by posix_openpt.
2781 2018-01-08 Florian Weimer <fweimer@redhat.com>
2783 resolv: Support binary labels in test framework.
2784 * support/resolv_test.c (struct to_be_freed): Remove.
2785 (struct compressed_name): New.
2786 (allocate_compressed_name, ascii_tolower)
2787 (compare_compressed_name): New functions.
2788 (struct resolv_response_builder): Update type of
2789 compression_offsets for use with tsearch. Rempve to_be_freed.
2790 (response_push_pointer_to_free): Remove function.
2791 (resolv_response_add_name): Rewrite using struct compressed_name
2792 and tsearch instead of hsearch_r.
2793 (response_builder_allocate): Remove initialization of
2794 compression_offsets.
2795 (response_builder_free): Update for removal of to_be_freed. Use
2796 tdestroy instead of hdestroy_r.
2797 * resolv/Makefile (tests): Add tst-resolv-binary.
2798 (tst-resolv-binary): Link with -lresolv -lpthread.
2800 2018-01-08 Florian Weimer <fweimer@redhat.com>
2802 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
2803 time. Pass positive flag instead of negative flag to
2804 support_test_compare_failure.
2805 (support_test_compare_failure): Change negative parameter to
2807 * support/support_test_compare_failure.c (report)
2808 (support_test_compare_failure): Likewise.
2809 * support/tst-test_compare.c (return_ssize_t, return_int): New.
2810 (do_test): Check int/size_t, ssize_t/size_t comparisons.
2812 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
2815 * nptl/descr.h (stackblock, stackblock_size): Update comments.
2816 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
2817 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
2819 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2821 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
2823 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2824 Add s_sincosf-sse2 and s_sincosf-fma.
2825 (CFLAGS-s_sincosf-fma.c): New.
2826 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
2827 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2828 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
2829 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
2830 __sincosf is defined.
2832 2018-01-08 Florian Weimer <fweimer@redhat.com>
2834 * nptl/tst-thread-exit-clobber.cc: New file.
2835 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
2837 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
2838 (tests): Add tst-thread-exit-clobber.
2839 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
2841 2018-01-08 Florian Weimer <fweimer@redhat.com>
2843 * support/check.h (support_static_assert): Define.
2844 (TEST_COMPARE): Use it.
2846 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
2848 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
2849 [!__RLIM_T_MATCHES_RLIM64_T]
2850 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
2851 __getrlimit64. Add libc_hidden_weak.
2853 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
2855 * elf/elf.h (R_RISCV_NONE): New define.
2856 (R_RISCV_32): Likewise.
2857 (R_RISCV_64): Likewise.
2858 (R_RISCV_RELATIVE): Likewise.
2859 (R_RISCV_COPY): Likewise.
2860 (R_RISCV_JUMP_SLOT): Likewise.
2861 (R_RISCV_TLS_DTPMOD32): Likewise.
2862 (R_RISCV_TLS_DTPMOD64): Likewise.
2863 (R_RISCV_TLS_DTPREL32): Likewise.
2864 (R_RISCV_TLS_DTPREL64): Likewise.
2865 (R_RISCV_TLS_TPREL32): Likewise.
2866 (R_RISCV_TLS_TPREL64): Likewise.
2867 * Makerules (make-link-multidir): Make directories before linking into
2869 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
2871 (VDSO_HASH_LINUX_4_15): Likewise.
2872 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
2873 in subdirectories of lib.
2874 * nptl/Makefile (/librt.so): Always depend on
2875 "$(shared-thread-library)".
2877 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2879 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
2880 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
2881 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
2883 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
2884 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
2886 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
2887 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
2888 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
2889 * sysdeps/gnu/glob-lstat-compat.c: New file.
2890 * sysdeps/gnu/glob64-lstat-compat.c: New file.
2891 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
2893 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2895 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
2896 Reserve 16 chars to reloc_addr before calling _itoa_word.
2898 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2901 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
2902 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
2904 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
2905 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
2907 * resource/tst-getrlimit.c: Add copyright header.
2909 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2910 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2912 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
2913 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
2914 Define __GI_getrlimit64 as weak alias of __getrlimit64.
2915 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
2917 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
2918 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
2919 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
2920 RLIM64_INFINITY): Fix values to match the kernel ones.
2921 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
2922 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
2923 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
2924 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
2925 getrlimit64@@GLIBC_2_27.
2926 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
2928 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
2929 getrlimit, setrlimit, getrlimit64 and setrlimit64.
2930 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
2931 setrlimit, getrlimit64 and setrlimit64.
2933 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2936 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
2937 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
2939 2018-01-04 Joseph Myers <joseph@codesourcery.com>
2941 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
2942 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
2943 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
2945 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2949 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
2950 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
2954 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
2955 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
2956 * sysdeps/alpha/fpu/s_floor.c: Likewise.
2957 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
2959 2018-01-04 Florian Weimer <fweimer@redhat.com>
2962 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2963 Align the stack before calling exit.
2964 * stdlib/tst-makecontext-align.c: New file.
2965 * stdlib/Makefile (tests): Add tst-makecontext-align.
2967 2018-01-04 Florian Weimer <fweimer@redhat.com>
2969 Add support for calling dlvsym from libc.so.
2970 * include/dlfcn.h (__libc_dlvsym): Declare.
2971 * elf/Makefile (tests-static-internal): Add
2972 tst-libc_dlvsym-static.
2973 (tests-internal): Add tst-libc_dlvsym.
2974 (modules-names): Add tst-libc_dlvsym-dso.
2975 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
2976 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
2977 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
2978 object tst-libc_dlvsym-dso.so needs to be built before running
2980 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
2981 * elf/Versions: Export __libc_dlvsym.
2982 * elf/dl-libc.c (struct do_dlvsym_args): New.
2983 (do_dlvsym, __libc_dlvsym): New functions.
2984 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
2985 (_dl_open_hook2): New variable.
2986 (__libc_register_dl_open_hook): Set it.
2987 * elf/tst-libc_dlvsym-dso.c: New file.
2988 * elf/tst-libc_dlvsym-static.c: Likewise.
2989 * elf/tst-libc_dlvsym.c: Likewise.
2990 * elf/tst-libc_dlvsym.h: Likewise.
2992 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2994 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
2995 include <sys/mount.h>.
2997 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
2999 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
3000 Add __NO_MATH_ERRNO__ check.
3002 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3004 * sysdeps/mips/mips32/libm-test-ulps: Update.
3005 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3007 2018-01-02 Florian Weimer <fweimer@redhat.com>
3009 * misc/tst-pselect.c: Add copyright header.
3011 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3013 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
3015 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
3017 (settrlimit): Rename into setrlimit.
3018 (__sttrlimit): Rename into __setrlimit.
3020 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
3021 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
3022 never defined in that case.
3024 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3026 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3028 * sysdeps/arm/libm-test-ulps: Update.
3030 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
3031 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
3033 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3035 * NEWS: Add cosf and sincosf to list of optimized functions.
3037 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3040 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
3041 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
3042 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
3043 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
3045 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
3048 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
3050 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
3051 making a copy of it.
3053 2018-01-01 Joseph Myers <joseph@codesourcery.com>
3055 * manual/texinfo.tex: Update to version 2017-12-26.21 with
3056 trailing whitespace removed.
3057 * scripts/config.guess: Update to version 2018-01-01.
3058 * scripts/config.sub: Update to version 2018-01-01.
3059 * scripts/move-if-change: Update from gnulib.
3061 * NEWS: Update copyright dates.
3062 * catgets/gencat.c (print_version): Likewise.
3063 * csu/version.c (banner): Likewise.
3064 * debug/catchsegv.sh: Likewise.
3065 * debug/pcprofiledump.c (print_version): Likewise.
3066 * debug/xtrace.sh (do_version): Likewise.
3067 * elf/ldconfig.c (print_version): Likewise.
3068 * elf/ldd.bash.in: Likewise.
3069 * elf/pldd.c (print_version): Likewise.
3070 * elf/sotruss.sh: Likewise.
3071 * elf/sprof.c (print_version): Likewise.
3072 * iconv/iconv_prog.c (print_version): Likewise.
3073 * iconv/iconvconfig.c (print_version): Likewise.
3074 * locale/programs/locale.c (print_version): Likewise.
3075 * locale/programs/localedef.c (print_version): Likewise.
3076 * login/programs/pt_chown.c (print_version): Likewise.
3077 * malloc/memusage.sh (do_version): Likewise.
3078 * malloc/memusagestat.c (print_version): Likewise.
3079 * malloc/mtrace.pl: Likewise.
3080 * manual/libc.texinfo: Likewise.
3081 * nptl/version.c (banner): Likewise.
3082 * nscd/nscd.c (print_version): Likewise.
3083 * nss/getent.c (print_version): Likewise.
3084 * nss/makedb.c (print_version): Likewise.
3085 * posix/getconf.c (main): Likewise.
3086 * scripts/test-installation.pl: Likewise.
3087 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3089 * All files with FSF copyright notices: Update copyright dates
3090 using scripts/update-copyrights.
3091 * locale/programs/charmap-kw.h: Regenerated.
3092 * locale/programs/locfile-kw.h: Likewise.
3094 2017-12-31 Zack Weinberg <zackw@panix.com>
3096 * libio/bits/libio-ldbl.h: Correct check for improper
3097 inclusion. Add own multiple include guard.
3099 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
3100 Dmitry V. Levin <ldv@altlinux.org>
3104 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
3105 string token expansion. Check for NULL pointer or empty string possibly
3106 returned by expand_dynamic_string_token.
3107 (decompose_rpath): Check for empty path after dynamic string
3110 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
3113 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
3115 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
3116 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
3117 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
3119 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3120 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3123 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3124 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3126 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
3127 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
3128 __ptrace_peeksiginfo_flags, ptrace): Move to ...
3129 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
3130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3131 bits/ptrace-shared.h.
3132 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
3133 <bits/ptrace-shared.h>.
3134 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
3135 __ptrace_peeksiginfo_flags, ptrace): Remove.
3136 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3137 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3138 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3139 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3140 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3142 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
3145 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
3146 end of the loop. Improve comments.
3148 2017-12-29 Zack Weinberg <zackw@panix.com>
3151 * manual/errno.texi (Checking for Errors): Explicitly say that errno
3152 might be set on success.
3154 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
3157 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
3158 is unchanged on success.
3160 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
3162 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
3164 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
3165 expand_dynamic_string_token): Likewise.
3166 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
3169 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
3172 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
3173 is set and name contains ':', and all code depending on these checks.
3175 2017-12-24 Zack Weinberg <zackw@panix.com>
3177 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
3178 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
3180 * libio/libio.h: Rename the original version of this file to
3181 libio/bits/libio.h. Error out if not included by stdio.h or the
3183 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
3184 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
3185 if not included by bits/libio.h or the stub _G_config.h.
3186 * sysdeps/unix/sysv/linux/_G_config.h: Move to
3187 sysdeps/unix/sysv/linux/bits. Error out if not included by
3188 bits/libio.h or the stub _G_config.h.
3189 * libio/stdio.h: Include bits/libio.h, not libio.h.
3190 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
3191 well as libio.h and _G_config.h.
3193 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
3194 * libio/strfile.h, stdio-common/vfscanf.c
3195 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
3196 Include stdio.h, not _G_config.h nor libio.h.
3197 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
3198 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
3200 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
3202 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
3205 * stdlib/getrandom.c (getrandom): Fix comment.
3206 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
3208 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
3211 * manual/arith.texi (strtoul): Fix a typo.
3214 * manual/arith.texi (finite): Fix the description of the return
3217 2017-12-22 Eric Blake <ebb9@byu.net>
3219 Avoid gcc warnings on cygwin
3220 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
3221 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
3222 Avoid unused variable.
3224 2017-12-22 Florian Weimer <fweimer@redhat.com>
3226 * io/Makefile (routines): Add copy_file_range.
3227 (tests): Add tst-copy_file_range.
3228 (tests-static, tests-internal): Add tst-copy_file_range-compat.
3229 * io/Versions (GLIBC_2.27): Export copy_file_range.
3230 * io/copy_file_range-compat.c: New file.
3231 * io/copy_file_range.c: Likewise.
3232 * io/tst-copy_file_range-compat.c: Likewise.
3233 * io/tst-copy_file_range.c: Likewise.
3234 * manual/llio.texi (Copying File Data): New section.
3235 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
3236 * support/Makefile (libsupport-routines): Add support-xfstat,
3238 * support/support-xfstat.c: New file.
3239 * support/xftruncate.c: Likewise.
3240 * support/xlseek.c: Likewise.
3241 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
3242 * sysdeps/unix/sysv/linux/**.abilist: Update.
3243 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
3245 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3247 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3248 disable-multi-arch variant to aarch64-linux-gnu.
3250 2017-12-20 Joseph Myers <joseph@codesourcery.com>
3252 * manual/texinfo.tex: Update to version 2017-12-18.20 with
3253 trailing whitespace removed.
3254 * scripts/config.guess: Update to version 2017-12-17.
3255 * scripts/config.sub: Update to version 2017-11-23.
3256 * scripts/install-sh: Update to version 2017-09-23.17.
3257 * scripts/move-if-change: Update to version 2017-09-13 06:45.
3259 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3261 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
3262 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
3263 * sysdeps/tile/_mcount.S (__mcount): Likewise.
3264 * sysdeps/tile/crti.S (_init, _fini): Likewise.
3265 * sysdeps/tile/crtn.S: Likewise.
3266 * sysdeps/tile/dl-start.S (_start): Likewise.
3267 * sysdeps/tile/dl-trampoline.S: Likewise.
3268 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3269 * sysdeps/tile/start.S (_start): Likewise.
3270 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
3271 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
3272 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
3273 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
3274 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
3275 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
3276 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
3278 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
3280 * sysdeps/tile/preconfigure: Remove tilegx folder.
3281 * sysdeps/tile/tilegx/Implies: Move definitions to ...
3282 * sysdeps/tile/Implies: ... here.
3283 * sysdeps/tile/tilegx/Makefile: Move rules to ...
3284 * sysdeps/tile/Makefile: ... here.
3285 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
3286 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
3287 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
3288 * sysdeps/tile/bits/wordsize.h: ... here.
3289 * sysdeps/tile/tilegx/*: Move to ...
3290 * sysdeps/tile/*: ... here.
3291 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
3292 * sysdeps/tile/tilegx32/Implies: ... here.
3293 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
3294 * sysdeps/tile/tilegx64/Implies: ... here.
3295 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
3297 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3298 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
3299 * sysdeps/unix/sysv/linux/tile/*: ... here.
3300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
3301 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
3302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
3303 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
3305 * README: Remove tilepro-*-linux-gnu from supported architecture.
3306 * scripts/build-many-glibcs.py: Likewise.
3307 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
3308 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
3309 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
3310 elf_machine_matches_host, elf_machine_dynamic,
3311 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
3312 howto, elf_machine_rela): Likewise.
3313 * sysdeps/tile/dl-start.S (_start): Likewise.
3314 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
3315 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
3316 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
3317 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
3318 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
3319 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3321 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
3322 * sysdeps/tile/preconfigure: Likewise.
3323 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
3324 POINTER_CHK_GUARD): Likewise.
3325 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
3326 * sysdeps/tile/start.S (_start): Likewise.
3327 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
3329 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
3330 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
3332 * sysdeps/unix/sysv/linux/tile/bits/environments.h
3333 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
3334 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
3336 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
3337 * sysdeps/tile/tilepro/Implies: Remove file.
3338 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3339 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3340 * sysdeps/tile/tilepro/memchr.c: Likewise.
3341 * sysdeps/tile/tilepro/memcpy.S: Likewise.
3342 * sysdeps/tile/tilepro/memset.c: Likewise.
3343 * sysdeps/tile/tilepro/memusage.h: Likewise.
3344 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
3345 * sysdeps/tile/tilepro/strchr.c: Likewise.
3346 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
3347 * sysdeps/tile/tilepro/strlen.c: Likewise.
3348 * sysdeps/tile/tilepro/strrchr.c: Likewise.
3349 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
3350 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
3351 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
3352 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3353 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
3354 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3356 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
3357 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3358 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
3359 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
3360 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3361 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
3362 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
3363 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
3364 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
3365 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
3366 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
3367 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
3368 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
3369 tilepro mention in comment.
3371 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
3372 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
3373 * nptl/pthread_join_common.c: New file: common function used on
3374 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
3375 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
3376 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
3377 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3378 (cleanup): Move definition to pthread_join_common.c.
3379 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
3380 Remove superflous checks.
3381 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
3384 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3386 * sysdeps/aarch64/libm-test-ulps: Update.
3388 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3390 * sysdeps/aarch64/memset.S (MEMSET): Define.
3392 2017-12-20 Florian Weimer <fweimer@redhat.com>
3395 nptl: Provide full implementation of pthread_self in libc.so.
3396 * nptl/Makefile (routines): Add pthread_self.
3397 (libpthread-routines): Replace pthread_self with
3398 compat-pthread_self.
3399 * nptl/forward.c (pthread_self): Remove.
3400 * nptl/nptl-init.c (pthread_functions): Do not initialize
3402 * nptl/pthread_self.c (pthread_self): Remove weak alias.
3403 * nptl/compat-pthread_self.c: New file.
3404 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
3405 Remove ptr_pthread_self.
3407 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
3409 * posix/regcomp.c: Fix spelling in comments.
3410 * posix/regex.h: Likewise.
3411 * posix/regex_internal.c: Likewise.
3412 * posix/regexec.c: Likewise.
3414 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3417 * math/Makefile [C++] (tests): Add test for iseqsig.
3418 * math/math.h [C++] (iseqsig): New implementation, which does
3419 not rely on __MATH_TG/__builtin_types_compatible_p.
3420 * math/test-math-iseqsig.cc: New file.
3421 * sysdeps/powerpc/powerpc64le/Makefile
3422 (CFLAGS-test-math-iseqsig.cc): New variable.
3424 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
3426 * elf/dl-load.c (is_trusted_path): Remove.
3427 (fillin_rpath): Remove check_trusted argument and its use,
3428 all callers changed.
3430 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3433 * Makeconfig (link-pie-before-libc): Replace -pie with
3434 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
3435 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
3436 (tst-dlopen-aout-no-pie): New.
3437 (LDFLAGS-tst-prelink): Removed.
3438 (tst-prelink-no-pie): New.
3439 (LDFLAGS-tst-main1): Removed.
3440 (tst-main1-no-pie): New.
3441 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
3442 (tst-gmon-no-pie): New.
3444 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3446 * manual/install.texi: Document that --enable-static-pie
3448 * INSTALL: Regenerated.
3450 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
3453 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
3456 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3460 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3464 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
3467 <errno.h>. Include "eexp.tbl".
3468 (half): New constant.
3470 (__ieee754_exp): Rewrite.
3471 (__slowexp): Remove prototype.
3472 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
3473 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
3474 * sysdeps/i386/fpu/slowexp.c: Likewise.
3475 * sysdeps/ia64/fpu/slowexp.c: Likewise.
3476 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
3477 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
3478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3479 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3480 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
3481 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
3483 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
3484 (CPPFLAGS-slowexp.c): Remove variable.
3485 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3486 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
3487 (CFLAGS-slowexp-fma.c): Remove variable.
3488 (CFLAGS-slowexp-fma4.c): Likewise.
3489 (CFLAGS-slowexp-avx.c): Likewise.
3490 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
3492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
3493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
3494 * math/Makefile (type-double-routines): Remove slowexp.
3495 * manual/probes.texi (slowexp_p6): Remove.
3496 (slowexp_p32): Likewise.
3498 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3500 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
3503 * lib/glob.c (glob): Do not pass NULL to mempcpy.
3505 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3509 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3511 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
3512 <errno.h>. Include "eexp.tbl".
3513 (half): New constant.
3515 (__ieee754_exp): Rewrite.
3516 (__slowexp): Remove prototype.
3517 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
3518 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
3519 * sysdeps/i386/fpu/slowexp.c: Likewise.
3520 * sysdeps/ia64/fpu/slowexp.c: Likewise.
3521 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
3522 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
3523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3524 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3525 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
3526 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
3528 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
3529 (CPPFLAGS-slowexp.c): Remove variable.
3530 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3531 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
3532 (CFLAGS-slowexp-fma.c): Remove variable.
3533 (CFLAGS-slowexp-fma4.c): Likewise.
3534 (CFLAGS-slowexp-avx.c): Likewise.
3535 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
3537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
3538 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
3539 * math/Makefile (type-double-routines): Remove slowexp.
3540 * manual/probes.texi (slowexp_p6): Remove.
3541 (slowexp_p32): Likewise.
3543 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3544 James Clarke <jrtc27@jrtc27.com>
3547 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
3550 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3553 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
3556 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3559 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3560 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
3561 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3562 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
3565 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3568 * bits/types/__cancel_jmp_buf_tag.h: New file.
3569 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
3570 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
3571 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
3572 * nptl/Makefile (headers): Add
3573 bits/types/__cancel_jmp_buf_tag.h.
3574 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
3575 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
3576 * sysdeps/nptl/pthread.h: Include
3577 <bits/types/__cancel_jmp_buf_tag.h>.
3578 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
3580 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
3582 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
3584 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3585 --enable-static-pie variants to x86_64, x32 and i686.
3587 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3590 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
3591 argument for attrubutes. All callers changed.
3592 (__inline_mathop1): Likewise. All callers changed.
3593 (__inline_mathop): Likewise. All callers changed.
3594 [__USE_MISC] (scalbn): Use __inline_forward instead of
3596 [__USE_ISOC99] (scalbln): Likewise.
3597 [__USE_ISOC99] (nearbyint): Likewise.
3598 [__USE_ISOC99] (lrint): Likewise.
3599 [__USE_MISC] (scalbnf): Likewise.
3600 [__USE_ISOC99] (scalblnf): Likewise.
3601 [__USE_ISOC99] (nearbyintf): Likewise.
3602 [__USE_ISOC99] (lrintf): Likewise.
3603 [__USE_MISC] (scalbnl): Likewise.
3604 [__USE_ISOC99] (scalblnl): Likewise.
3605 [__USE_ISOC99] (nearbyintl): Likewise.
3606 [__USE_ISOC99] (lrintl): Likewise.
3607 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
3608 __inline_mathop and __m81_defun changed.
3610 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
3611 CPU or FPU for ARM hard-float configurations.
3613 2017-12-18 Joseph Myers <joseph@codesourcery.com>
3615 * nptl/tst-attr3.c: Include <libc-diag.h>.
3616 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
3618 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
3620 * string/tester.c (test_strncat): Also disable -Warray-bounds
3621 warnings for two tests.
3623 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
3626 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
3627 $(cc-pie-default) == yes.
3628 * config.make.in (cc-pie-default): New.
3629 * configure.ac (libc_cv_pie_default): Renamed to ...
3630 (libc_cv_cc_pie_default): This.
3631 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
3632 * configure: Regenerated.
3634 2017-12-18 Florian Weimer <fweimer@redhat.com>
3637 ld.so: Harden dl-libc/libdl hooks.
3638 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
3639 (rtld_active): New function.
3640 * dlfcn/dladdr.c (__dladdr): Call it.
3641 * dlfcn/dladdr1.c (__dladdr1): Likewise.
3642 * dlfcn/dlclose.c (__dlcose): Likewise.
3643 * dlfcn/dlerror.c (__dlerror): Likewise.
3644 * dlfcn/dlinfo.c (__dlinfo): Likewise.
3645 * dlfcn/dlmopen.c (__dlmopen): Likewise.
3646 * dlfcn/dlopen.c (__dlopen): Likewise.
3647 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3648 * dlfcn/dlsym.c (__dlsym): Likewise.
3649 * dlfcn/dlvsym.c (__dlvsym): Likewise.
3650 * libio/vtables.c (_IO_vtable_check): Likewise.
3651 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
3652 (__libc_dlclose): Likewise.
3653 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
3656 2017-12-18 Joseph Myers <joseph@codesourcery.com>
3659 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
3660 buffers for readlink input and output.
3662 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
3665 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
3666 inhibit_stack_protector.
3669 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
3670 inhibit_stack_protector.
3672 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
3675 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
3676 code and invocation.
3678 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3680 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
3682 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
3685 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
3687 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3689 * sysdeps/s390/fpu/libm-test-ulps: Update.
3691 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3695 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3697 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
3698 constants to s_sincosf.h file.
3699 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3700 * sysdeps/ieee754/flt-32/s_sincosf.c: New
3702 * sysdeps/ieee754/flt-32/s_sincosf.h:
3705 2017-12-12 Carlos O'Donell <carlos@redhat.com>
3708 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
3711 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
3714 * INSTALL: Regenerated.
3715 * Makeconfig (real-static-start-installed-name): New.
3716 (pic-default): Updated for --enable-static-pie.
3717 (pie-default): New for --enable-static-pie.
3718 (default-pie-ldflag): Likewise.
3719 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
3720 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
3721 Replace $(static-start-installed-name) with
3722 $(real-static-start-installed-name).
3723 (+prectorT): Updated for --enable-static-pie.
3724 (+postctorT): Likewise.
3725 (CFLAGS-.o): Add $(pie-default).
3726 (CFLAGS-.op): Likewise.
3727 * NEWS: Mention --enable-static-pie.
3728 * config.h.in (ENABLE_STATIC_PIE): New.
3729 * configure.ac (--enable-static-pie): New configure option.
3730 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
3731 (have-static-pie): Likewise.
3732 Enable static PIE if linker supports --no-dynamic-linker.
3733 (ENABLE_STATIC_PIE): New AC_DEFINE.
3734 (enable-static-pie): New LIBC_CONFIG_VAR.
3735 * configure: Regenerated.
3736 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
3737 gr$(start-installed-name) for --enable-static-pie.
3738 (extra-objs): Likewise.
3739 (install-lib): Likewise.
3740 (extra-objs): Add static-reloc.o and static-reloc.os
3741 ($(objpfx)$(start-installed-name)): Also depend on
3742 $(objpfx)static-reloc.o.
3743 ($(objpfx)r$(start-installed-name)): New.
3744 ($(objpfx)g$(start-installed-name)): Also depend on
3745 $(objpfx)static-reloc.os.
3746 ($(objpfx)gr$(start-installed-name)): New.
3747 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
3749 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
3751 * csu/static-reloc.c: New file.
3752 * elf/Makefile (routines): Add dl-reloc-static-pie.
3753 (elide-routines.os): Likewise.
3754 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
3755 (tst-tls1-static-non-pie-no-pie): New.
3756 * elf/dl-reloc-static-pie.c: New file.
3757 * elf/dl-support.c (_dl_get_dl_main_map): New function.
3758 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
3759 STATIC_PIE_BOOTSTRAP.
3760 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3761 * gmon/Makefile (tests): Add tst-gmon-static-pie.
3762 (tests-static): Likewise.
3763 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
3764 (tst-gmon-static-no-pie): New.
3765 (CFLAGS-tst-gmon-static-pie.c): Likewise.
3766 (CRT-tst-gmon-static-pie): Likewise.
3767 (tst-gmon-static-pie-ENV): Likewise.
3768 (tests-special): Likewise.
3769 ($(objpfx)tst-gmon-static-pie.out): Likewise.
3770 (clean-tst-gmon-static-pie-data): Likewise.
3771 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
3772 * gmon/tst-gmon-static-pie.c: New file.
3773 * manual/install.texi: Document --enable-static-pie.
3774 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
3775 (_dl_get_dl_main_map): Likewise.
3776 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
3777 * sysdeps/x86_64/configure.ac: Likewise.
3778 * sysdeps/i386/configure: Regenerated.
3779 * sysdeps/x86_64/configure: Likewise.
3780 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
3781 (ASFLAGS-.op): Likewise.
3783 2017-12-15 Joseph Myers <joseph@codesourcery.com>
3785 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
3786 * posix/tst-mmap-offset.c (fname): Use /tmp.
3787 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
3789 2017-12-15 Steve Ellcey <sellcey@cavium.com>
3791 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
3793 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
3795 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
3798 2017-12-15 Joseph Myers <joseph@codesourcery.com>
3800 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
3801 --with-float=hard for arm-linux-gnueabihf configurations.
3804 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
3805 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
3806 ($(mo-installed)): Use $(objpfx)%.mo.
3807 (realclean): Remove rule.
3809 * po/Makefile (linguas): Remove rule and dependencies.
3810 (linguas.mo): Likewise.
3811 (.PHONY): Do not depend on linguas and linguas.mo.
3812 (podir): Remove variable.
3813 (pofiles): Likewise.
3814 [$(pofiles)] (%.po): Remove rule.
3816 * sysdeps/sparc/sparc32/Makefile
3817 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
3818 start-of-line whitespace in argument of echo.
3819 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
3820 with whitespace. Generate __wrap_.udiv alias.
3821 * sysdeps/sparc/sparc32/rem.S: Regenerated.
3822 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3823 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3824 * sysdeps/sparc/sparc32/urem.S: Likewise.
3826 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3828 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
3831 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3833 * benchtests/bench-strcmp.c: Print output in JSON format.
3835 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
3837 2017-12-14 Florian Weimer <fweimer@redhat.com>
3841 * elf/dl-load.c (_dl_init_paths): Compute number of components in
3842 the expanded path string.
3844 2017-12-14 Florian Weimer <fweimer@redhat.com>
3848 * elf/dl-load.c (system_dirs): Update comment.
3849 (nsystem_dirs_len): Use array_length.
3850 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
3852 2017-12-14 Florian Weimer <fweimer@redhat.com>
3854 Simplify compiling most of support/ outside of glibc.
3855 * support/check_addrinfo.c: Include <string.h>.
3856 * support/check_dns_packet.c: Likewise.
3857 * support/check_hostent.c: Likewise.
3858 * support/support_can_chroot.c: Include <support/xunistd.h>.
3859 * support/support_format_addrinfo.c: Include <stdlib.h>
3860 * support/support_format_dns_packet.c: Include <stdbool.h>.
3861 * support/support_format_hostent.c: Include <stdlib.h>.
3862 * support/support_format_netent.c: Likewise.
3863 * support/support_write_string.c: Include <support/xunistd.h>.
3864 * support/xdlfcn.c: Include <stddef.h>.
3866 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
3868 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
3870 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3871 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3873 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3874 (sysdeps_routines): Add memset-niagara7.
3875 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
3877 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
3879 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
3880 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
3881 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
3882 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
3883 Add niagara7 option.
3884 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
3887 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3888 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
3889 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
3891 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
3893 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
3894 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
3895 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
3896 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
3897 and __memmove_niagara7.
3898 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
3899 Add niagara7 option.
3900 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
3901 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
3902 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
3903 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
3904 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
3906 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3908 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
3909 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
3910 * sysdeps/sparc/sparc64/memmove.S: Likewise.
3911 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
3913 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
3914 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
3915 _dl_sparc_cap_flags array.
3916 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
3918 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
3920 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
3921 time whenever possible.
3923 2017-12-12 Carlos O'Donell <carlos@redhat.com>
3925 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
3926 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
3928 2017-12-12 Joseph Myers <joseph@codesourcery.com>
3930 * soft-fp/fmadf4.c: Move to ....
3931 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
3932 * soft-fp/fmasf4.c: Move to ....
3933 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
3934 * soft-fp/fmatf4.c: Move to ....
3935 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
3936 * sysdeps/ieee754/soft-fp/Makefile: New file.
3937 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
3938 * sysdeps/arm/preconfigure: Regenerated.
3939 * sysdeps/arm/nofpu/Implies: New file.
3940 * sysdeps/arm/s_fma.c: Remove file.
3941 * sysdeps/arm/s_fmaf.c: Likewise.
3942 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
3943 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
3944 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3945 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
3946 * sysdeps/microblaze/s_fma.c: Remove file.
3947 * sysdeps/microblaze/s_fmaf.c: Likewise.
3948 * sysdeps/mips/mips32/nofpu/Implies: New file.
3949 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
3950 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
3951 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
3952 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
3953 * sysdeps/mips/ieee754/s_fma.c: Remove file.
3954 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
3955 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
3957 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
3958 * sysdeps/nios2/s_fma.c: Remove file.
3959 * sysdeps/nios2/s_fmaf.c: Likewise.
3960 * sysdeps/sh/nofpu/Implies: New file.
3961 * sysdeps/sh/s_fma.c: Remove file.
3962 * sysdeps/sh/s_fmaf.c: Likewise.
3963 * sysdeps/tile/Implies: Add ieee754/soft-fp.
3964 * sysdeps/tile/s_fma.c: Remove file.
3965 * sysdeps/tile/s_fmaf.c: Likewise.
3967 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
3969 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3970 Add s_cosf-sse2 and s_cosf-fma.
3971 (CFLAGS-s_cosf-fma.c): New.
3972 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
3973 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
3974 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
3976 2017-12-12 Steve Ellcey <sellcey@cavium.com>
3978 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
3980 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3982 * libio/Makefile (tests): Add tst-bz22415.
3983 (tst-bz22415-ENV): New rule.
3984 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
3985 (tests-special): Add tst-bz22415-mem.out.
3986 ($(objpfx)tst-bz22415-mem.out): New rule.
3987 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
3988 in case of a successful seek operation.
3989 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3990 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
3992 * libio/tst-bz22415.c: New test.
3994 * sysdeps/ia64/fpu/libm-test-ulps: Update.
3996 2017-12-12 James Clarke <jrtc27@jrtc27.com>
3998 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
3999 __IPC_64 to 0 to avoid IPC_64 being set.
4001 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4004 * math/bits/mathcalls.h (nextafter): Remove const.
4005 (nexttoward): Likewise.
4007 2017-12-12 Joseph Myers <joseph@codesourcery.com>
4009 * configure.ac (--with-fp): Remove configure option.
4010 (with_fp_cond): New variable.
4011 (libc_cv_with_fp): New configure test. Use this variable instead
4013 * configure: Regenerated.
4014 * config.make.in (with-fp): Use @libc_cv_with_fp@.
4015 * manual/install.texi (Configuring and compiling): Remove
4017 * INSTALL: Regenerated.
4018 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
4019 * sysdeps/mips/preconfigure (with_fp_cond): Define.
4020 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
4021 * sysdeps/sh/preconfigure (with_fp_cond): Define.
4022 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
4023 use --without-fp to configure glibc.
4025 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
4027 * manual/locale.texi (nl_langinfo): Fix a typo.
4029 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
4032 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
4034 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
4036 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
4037 (CFLAGS-argp-parse.c): Likewise.
4038 (CFLAGS-argp-fmtstream.c): Likewise.
4039 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
4040 (CPPFLAGS-sha512-crypt.c): Likewise.
4041 (CPPFLAGS-md5-crypt.c): Likewise.
4042 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
4043 (CFLAGS-stack_chk_fail_local.c): Likewise.
4044 (CFLAGS-backtrace.c): Likewise.
4045 (CFLAGS-sprintf_chk.c): Likewise.
4046 (CFLAGS-snprintf_chk.c): Likewise.
4047 (CFLAGS-vsprintf_chk.c): Likewise.
4048 (CFLAGS-vsnprintf_chk.c): Likewise.
4049 (CFLAGS-asprintf_chk.c): Likewise.
4050 (CFLAGS-vasprintf_chk.c): Likewise.
4051 (CFLAGS-obprintf_chk.c): Likewise.
4052 (CFLAGS-dprintf_chk.c): Likewise.
4053 (CFLAGS-vdprintf_chk.c): Likewise.
4054 (CFLAGS-printf_chk.c): Likewise.
4055 (CFLAGS-fprintf_chk.c): Likewise.
4056 (CFLAGS-vprintf_chk.c): Likewise.
4057 (CFLAGS-vfprintf_chk.c): Likewise.
4058 (CFLAGS-gets_chk.c): Likewise.
4059 (CFLAGS-fgets_chk.c): Likewise.
4060 (CFLAGS-fgets_u_chk.c): Likewise.
4061 (CFLAGS-fread_chk.c): Likewise.
4062 (CFLAGS-fread_u_chk.c): Likewise.
4063 (CFLAGS-swprintf_chk.c): Likewise.
4064 (CFLAGS-vswprintf_chk.c): Likewise.
4065 (CFLAGS-wprintf_chk.c): Likewise.
4066 (CFLAGS-fwprintf_chk.c): Likewise.
4067 (CFLAGS-vwprintf_chk.c): Likewise.
4068 (CFLAGS-vfwprintf_chk.c): Likewise.
4069 (CFLAGS-fgetws_chk.c): Likewise.
4070 (CFLAGS-fgetws_u_chk.c): Likewise.
4071 (CFLAGS-read_chk.c): Likewise.
4072 (CFLAGS-pread_chk.c): Likewise.
4073 (CFLAGS-pread64_chk.c): Likewise.
4074 (CFLAGS-recv_chk.c): Likewise.
4075 (CFLAGS-recvfrom_chk.c): Likewise.
4076 (CFLAGS-tst-longjmp_chk.c): Likewise.
4077 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
4078 (CFLAGS-tst-longjmp_chk2.c): Likewise.
4079 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
4080 (CFLAGS-tst-longjmp_chk3.c): Likewise.
4081 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4082 (CFLAGS-tst-chk1.c): Likewise.
4083 (CFLAGS-tst-chk2.c): Likewise.
4084 (CFLAGS-tst-chk3.c): Likewise.
4085 (CFLAGS-tst-chk4.cc): Likewise.
4086 (CFLAGS-tst-chk5.cc): Likewise.
4087 (CFLAGS-tst-chk6.cc): Likewise.
4088 (CFLAGS-tst-lfschk1.c): Likewise.
4089 (CFLAGS-tst-lfschk2.c): Likewise.
4090 (CFLAGS-tst-lfschk3.c): Likewise.
4091 (CFLAGS-tst-lfschk4.cc): Likewise.
4092 (CFLAGS-tst-lfschk5.cc): Likewise.
4093 (CFLAGS-tst-lfschk6.cc): Likewise.
4094 (CFLAGS-tst-ssp-1.c): Likewise.
4095 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
4096 (CFLAGS-scandir64.c): Likewise.
4097 (CFLAGS-scandir-tail.c): Likewise.
4098 (CFLAGS-scandir64-tail.c): Likewise.
4099 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
4100 (CFLAGS-dl-tunables.c): Likewise.
4101 (CFLAGS-dl-runtime.c): Likewise.
4102 (CFLAGS-dl-lookup.c): Likewise.
4103 (CFLAGS-dl-iterate-phdr.c): Likewise.
4104 (CFLAGS-vismain.c): Likewise.
4105 (CFLAGS-tst-linkall-static.c): Likewise.
4106 (CFLAGS-tst-linkall-static.c): Likewise.
4107 (CPPFLAGS-dl-load.c): Likewise.
4108 (CFLAGS-ldconfig.c): Likewise.
4109 (CFLAGS-dl-cache.c): Likewise.
4110 (CFLAGS-cache.c): Likewise.
4111 (CFLAGS-rtld.c): Likewise.
4112 (CFLAGS-multiload.c): Likewise.
4113 (CFLAGS-filtmod1.c): Likewise.
4114 (CFLAGS-tst-align.c): Likewise.
4115 (CFLAGS-tst-align2.c): Likewise.
4116 (CFLAGS-tst-alignmod.c): Likewise.
4117 (CFLAGS-tst-alignmod2.c): Likewise.
4118 (CPPFLAGS-tst-execstack.c): Likewise.
4119 (CFLAGS-tst-ptrguard1-static.c): Likewise.
4120 (CFLAGS-tst-latepthreadmod.c): Likewise.
4121 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
4122 (CFLAGS-getgrnam_r.c): Likewise.
4123 (CFLAGS-getgrent_r.c): Likewise.
4124 (CFLAGS-getgrent.c): Likewise.
4125 (CFLAGS-fgetgrent.c): Likewise.
4126 (CFLAGS-fgetgrent_r.c): Likewise.
4127 (CFLAGS-putgrent.c): Likewise.
4128 (CFLAGS-initgroups.c): Likewise.
4129 (CFLAGS-getgrgid.c): Likewise.
4130 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
4131 (CFLAGS-getsgent.c): Likewise.
4132 (CFLAGS-fgetsgent.c): Likewise.
4133 (CFLAGS-fgetsgent_r.c): Likewise.
4134 (CFLAGS-putsgent.c): Likewise.
4135 (CFLAGS-getsgnam.c): Likewise.
4136 (CFLAGS-getsgnam_r.c): Likewise.
4137 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
4138 (CFLAGS-iconv_charmap.c): Likewise.
4139 (CFLAGS-dummy-repertoire.c): Likewise.
4140 (CFLAGS-charmap.c): Likewise.
4141 (CFLAGS-linereader.c): Likewise.
4142 (CFLAGS-simple-hash.c): Likewise.
4143 (CFLAGS-gconv_conf.c): Likewise.
4144 (CFLAGS-iconvconfig.c): Likewise.
4145 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4146 (CFLAGS-gethstbyad.c): Likewise.
4147 (CFLAGS-gethstbynm_r.c): Likewise.
4148 (CFLAGS-gethstbynm.c): Likewise.
4149 (CFLAGS-gethstbynm2_r.c): Likewise.
4150 (CFLAGS-gethstbynm2.c): Likewise.
4151 (CFLAGS-gethstent_r.c): Likewise.
4152 (CFLAGS-gethstent.c): Likewise.
4153 (CFLAGS-rcmd.c): Likewise.
4154 (CFLAGS-getnetbynm_r.c): Likewise.
4155 (CFLAGS-getnetbynm.c): Likewise.
4156 (CFLAGS-getnetbyad_r.c): Likewise.
4157 (CFLAGS-getnetbyad.c): Likewise.
4158 (CFLAGS-getnetent_r.c): Likewise.
4159 (CFLAGS-getnetent.c): Likewise.
4160 (CFLAGS-getaliasent_r.c): Likewise.
4161 (CFLAGS-getaliasent.c): Likewise.
4162 (CFLAGS-getrpcent_r.c): Likewise.
4163 (CFLAGS-getrpcent.c): Likewise.
4164 (CFLAGS-getservent_r.c): Likewise.
4165 (CFLAGS-getservent.c): Likewise.
4166 (CFLAGS-getprtent_r.c): Likewise.
4167 (CFLAGS-getprtent.c): Likewise.
4168 (CFLAGS-either_ntoh.c): Likewise.
4169 (CFLAGS-either_hton.c): Likewise.
4170 (CFLAGS-getnetgrent.c): Likewise.
4171 (CFLAGS-getnetgrent_r.c): Likewise.
4172 (CFLAGS-tst-checks-posix.c): Likewise.
4173 (CFLAGS-tst-sockaddr.c): Likewise.
4174 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
4175 (CFLAGS-tst-translit.c): Likewise.
4176 (CFLAGS-tst-gettext2.c): Likewise.
4177 (CFLAGS-tst-codeset.c): Likewise.
4178 (CFLAGS-tst-gettext3.c): Likewise.
4179 (CFLAGS-tst-gettext4.c): Likewise.
4180 (CFLAGS-tst-gettext5.c): Likewise.
4181 (CFLAGS-tst-gettext6.c): Likewise.
4182 * io/Makefile (CFLAGS-open.c): Likewise.
4183 (CFLAGS-open64.c): Likewise.
4184 (CFLAGS-creat.c): Likewise.
4185 (CFLAGS-creat64.c): Likewise.
4186 (CFLAGS-fcntl.c): Likewise.
4187 (CFLAGS-poll.c): Likewise.
4188 (CFLAGS-ppoll.c): Likewise.
4189 (CFLAGS-lockf.c): Likewise.
4190 (CFLAGS-statfs.c): Likewise.
4191 (CFLAGS-fstatfs.c): Likewise.
4192 (CFLAGS-statvfs.c): Likewise.
4193 (CFLAGS-fstatvfs.c): Likewise.
4194 (CFLAGS-fts.c): Likewise.
4195 (CFLAGS-fts64.c): Likewise.
4196 (CFLAGS-ftw.c): Likewise.
4197 (CFLAGS-ftw64.c): Likewise.
4198 (CFLAGS-lockf.c): Likewise.
4199 (CFLAGS-posix_fallocate.c): Likewise.
4200 (CFLAGS-posix_fallocate64.c): Likewise.
4201 (CFLAGS-fallocate.c): Likewise.
4202 (CFLAGS-fallocate64.c): Likewise.
4203 (CFLAGS-read.c): Likewise.
4204 (CFLAGS-write.c): Likewise.
4205 (CFLAGS-test-stat.c): Likewise.
4206 (CFLAGS-test-lfs.c): Likewise.
4207 * libio/Makefile (CFLAGS-fileops.c): Likewise.
4208 (CFLAGS-fputc.c): Likewise.
4209 (CFLAGS-fputwc.c): Likewise.
4210 (CFLAGS-freopen64.c): Likewise.
4211 (CFLAGS-freopen.c): Likewise.
4212 (CFLAGS-fseek.c): Likewise.
4213 (CFLAGS-fseeko64.c): Likewise.
4214 (CFLAGS-fseeko.c): Likewise.
4215 (CFLAGS-ftello64.c): Likewise.
4216 (CFLAGS-ftello.c): Likewise.
4217 (CFLAGS-fwide.c): Likewise.
4218 (CFLAGS-genops.c): Likewise.
4219 (CFLAGS-getc.c): Likewise.
4220 (CFLAGS-getchar.c): Likewise.
4221 (CFLAGS-getwc.c): Likewise.
4222 (CFLAGS-getwchar.c): Likewise.
4223 (CFLAGS-iofclose.c): Likewise.
4224 (CFLAGS-iofflush.c): Likewise.
4225 (CFLAGS-iofgetpos64.c): Likewise.
4226 (CFLAGS-iofgetpos.c): Likewise.
4227 (CFLAGS-iofgets.c): Likewise.
4228 (CFLAGS-iofgetws.c): Likewise.
4229 (CFLAGS-iofputs.c): Likewise.
4230 (CFLAGS-iofputws.c): Likewise.
4231 (CFLAGS-iofread.c): Likewise.
4232 (CFLAGS-iofsetpos64.c): Likewise.
4233 (CFLAGS-iofsetpos.c): Likewise.
4234 (CFLAGS-ioftell.c): Likewise.
4235 (CFLAGS-iofwrite.c): Likewise.
4236 (CFLAGS-iogetdelim.c): Likewise.
4237 (CFLAGS-iogetline.c): Likewise.
4238 (CFLAGS-iogets.c): Likewise.
4239 (CFLAGS-iogetwline.c): Likewise.
4240 (CFLAGS-ioputs.c): Likewise.
4241 (CFLAGS-ioseekoff.c): Likewise.
4242 (CFLAGS-ioseekpos.c): Likewise.
4243 (CFLAGS-iosetbuffer.c): Likewise.
4244 (CFLAGS-iosetvbuf.c): Likewise.
4245 (CFLAGS-ioungetc.c): Likewise.
4246 (CFLAGS-ioungetwc.c): Likewise.
4247 (CFLAGS-oldfileops.c): Likewise.
4248 (CFLAGS-oldiofclose.c): Likewise.
4249 (CFLAGS-oldiofgetpos64.c): Likewise.
4250 (CFLAGS-oldiofgetpos.c): Likewise.
4251 (CFLAGS-oldiofsetpos64.c): Likewise.
4252 (CFLAGS-oldiofsetpos.c): Likewise.
4253 (CFLAGS-peekc.c): Likewise.
4254 (CFLAGS-putc.c): Likewise.
4255 (CFLAGS-putchar.c): Likewise.
4256 (CFLAGS-putwc.c): Likewise.
4257 (CFLAGS-putwchar.c): Likewise.
4258 (CFLAGS-rewind.c): Likewise.
4259 (CFLAGS-wfileops.c): Likewise.
4260 (CFLAGS-wgenops.c): Likewise.
4261 (CFLAGS-oldiofopen.c): Likewise.
4262 (CFLAGS-iofopen.c): Likewise.
4263 (CFLAGS-iofopen64.c): Likewise.
4264 (CFLAGS-oldtmpfile.c): Likewise.
4265 (CFLAGS-tst_putwc.c): Likewise.
4266 * locale/Makefile (CFLAGS-md5.c): Likewise.
4267 (CFLAGS-charmap.c): Likewise.
4268 (CFLAGS-locfile.c): Likewise.
4269 (CFLAGS-charmap-dir.c): Likewise.
4270 * login/Makefile (CFLAGS-grantpt.c): Likewise.
4271 (CFLAGS-getpt.c): Likewise.
4272 (CFLAGS-pt_chown.c): Likewise.
4273 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
4274 (CFLAGS-obstack.c): Likewise.
4275 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
4276 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
4277 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
4278 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
4279 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
4280 (CFLAGS-test-tgmath.c): Likewise.
4281 (CFLAGS-test-tgmath2.c): Likewise.
4282 (CFLAGS-test-tgmath-ret.c): Likewise.
4283 (CFLAGS-test-powl.c): Likewise.
4284 (CFLAGS-test-snan.c): Likewise.
4285 (CFLAGS-test-signgam-finite.c): Likewise.
4286 (CFLAGS-test-signgam-finite-c99.c): Likewise.
4287 (CFLAGS-test-signgam-finite-c11.c): Likewise.
4288 (CFLAGS-test-signgam-uchar.c): Likewise.
4289 (CFLAGS-test-signgam-uchar-init.c): Likewise.
4290 (CFLAGS-test-signgam-uchar-static.c): Likewise.
4291 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4292 (CFLAGS-test-signgam-uint.c): Likewise.
4293 (CFLAGS-test-signgam-uint-init.c): Likewise.
4294 (CFLAGS-test-signgam-uint-static.c): Likewise.
4295 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4296 (CFLAGS-test-signgam-ullong.c): Likewise.
4297 (CFLAGS-test-signgam-ullong-init.c): Likewise.
4298 (CFLAGS-test-signgam-ullong-static.c): Likewise.
4299 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4300 (CFLAGS-test-math-cxx11.cc): Likewise.
4301 (CFLAGS-test-math-isinff.cc): Likewise.
4302 (CFLAGS-test-math-iszero.cc): Likewise.
4303 (CFLAGS-test-math-issignaling.cc): Likewise.
4304 (CFLAGS-test-math-iscanonical.cc): Likewise.
4305 (CFLAGS-test-iszero-excess-precision.c): Likewise.
4306 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
4307 (CFLAGS-test-flt-eval-method.c): Likewise.
4308 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
4309 (CFLAGS-test-finite-macros.c): Likewise.
4310 * misc/Makefile (CFLAGS-select.c): Likewise.
4311 (CFLAGS-tsearch.c): Likewise.
4312 (CFLAGS-lsearch.c): Likewise.
4313 (CFLAGS-pselect.c): Likewise.
4314 (CFLAGS-readv.c): Likewise.
4315 (CFLAGS-writev.c): Likewise.
4316 (CFLAGS-preadv.c): Likewise.
4317 (CFLAGS-preadv64.c): Likewise.
4318 (CFLAGS-pwritev.c): Likewise.
4319 (CFLAGS-pwritev64.c): Likewise.
4320 (CFLAGS-preadv2.c): Likewise.
4321 (CFLAGS-preadv64v2.c): Likewise.
4322 (CFLAGS-pwritev2.c): Likewise.
4323 (CFLAGS-pwritev64v2.c): Likewise.
4324 (CFLAGS-usleep.c): Likewise.
4325 (CFLAGS-syslog.c): Likewise.
4326 (CFLAGS-error.c): Likewise.
4327 (CFLAGS-getpass.c): Likewise.
4328 (CFLAGS-mkstemp.c): Likewise.
4329 (CFLAGS-mkstemp64.c): Likewise.
4330 (CFLAGS-getsysstats.c): Likewise.
4331 (CFLAGS-getusershell.c): Likewise.
4332 (CFLAGS-err.c): Likewise.
4333 (CFLAGS-tst-tsearch.c): Likewise.
4334 (CFLAGS-msync.c): Likewise.
4335 (CFLAGS-fdatasync.c): Likewise.
4336 (CFLAGS-fsync.c): Likewise.
4337 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
4338 (CFLAGS-unwind.c): Likewise.
4339 (CFLAGS-unwind-forcedunwind.c): Likewise.
4340 (CFLAGS-pthread_cancel.c): Likewise.
4341 (CFLAGS-pthread_setcancelstate.c): Likewise.
4342 (CFLAGS-pthread_setcanceltype.c): Likewise.
4343 (CFLAGS-cancellation.c): Likewise.
4344 (CFLAGS-libc-cancellation.c): Likewise.
4345 (CFLAGS-pthread_exit.c): Likewise.
4346 (CFLAGS-forward.c): Likewise.
4347 (CFLAGS-pthread_testcancel.c): Likewise.
4348 (CFLAGS-pthread_join.c): Likewise.
4349 (CFLAGS-pthread_timedjoin.c): Likewise.
4350 (CFLAGS-pthread_once.c): Likewise.
4351 (CFLAGS-pthread_cond_wait.c): Likewise.
4352 (CFLAGS-sem_wait.c): Likewise.
4353 (CFLAGS-sem_timedwait.c): Likewise.
4354 (CFLAGS-fcntl.c): Likewise.
4355 (CFLAGS-lockf.c): Likewise.
4356 (CFLAGS-pread.c): Likewise.
4357 (CFLAGS-pread64.c): Likewise.
4358 (CFLAGS-pwrite.c): Likewise.
4359 (CFLAGS-pwrite64.c): Likewise.
4360 (CFLAGS-wait.c): Likewise.
4361 (CFLAGS-waitpid.c): Likewise.
4362 (CFLAGS-sigwait.c): Likewise.
4363 (CFLAGS-msgrcv.c): Likewise.
4364 (CFLAGS-msgsnd.c): Likewise.
4365 (CFLAGS-tcdrain.c): Likewise.
4366 (CFLAGS-open.c): Likewise.
4367 (CFLAGS-open64.c): Likewise.
4368 (CFLAGS-pause.c): Likewise.
4369 (CFLAGS-recv.c): Likewise.
4370 (CFLAGS-send.c): Likewise.
4371 (CFLAGS-accept.c): Likewise.
4372 (CFLAGS-sendto.c): Likewise.
4373 (CFLAGS-connect.c): Likewise.
4374 (CFLAGS-recvfrom.c): Likewise.
4375 (CFLAGS-recvmsg.c): Likewise.
4376 (CFLAGS-sendmsg.c): Likewise.
4377 (CFLAGS-close.c): Likewise.
4378 (CFLAGS-read.c): Likewise.
4379 (CFLAGS-write.c): Likewise.
4380 (CFLAGS-nanosleep.c): Likewise.
4381 (CFLAGS-sigsuspend.c): Likewise.
4382 (CFLAGS-msync.c): Likewise.
4383 (CFLAGS-fdatasync.c): Likewise.
4384 (CFLAGS-fsync.c): Likewise.
4385 (CFLAGS-pt-system.c): Likewise.
4386 (CFLAGS-tst-cleanup2.c): Likewise.
4387 (CFLAGS-tst-cleanupx2.c): Likewise.
4388 (CFLAGS-flockfile.c): Likewise.
4389 (CFLAGS-ftrylockfile.c): Likewise.
4390 (CFLAGS-funlockfile.c): Likewise.
4391 (CFLAGS-tst-initializers1.c): Likewise.
4392 (CFLAGS-tst-initializers1-c89.c): Likewise.
4393 (CFLAGS-tst-initializers1-c99.c): Likewise.
4394 (CFLAGS-tst-initializers1-c11.c): Likewise.
4395 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
4396 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
4397 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4398 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
4399 (CFLAGS-nscd_getgr_r.c): Likewise.
4400 (CFLAGS-nscd_gethst_r.c): Likewise.
4401 (CFLAGS-nscd_getai.c): Likewise.
4402 (CFLAGS-nscd_initgroups.c): Likewise.
4403 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
4404 (CFLAGS-pause.c): Likewise.
4405 (CFLAGS-pread.c): Likewise.
4406 (CFLAGS-pread64.c): Likewise.
4407 (CFLAGS-pwrite.c): Likewise.
4408 (CFLAGS-pwrite64.c): Likewise.
4409 (CFLAGS-sleep.c): Likewise.
4410 (CFLAGS-wait.c): Likewise.
4411 (CFLAGS-waitid.c): Likewise.
4412 (CFLAGS-waitpid.c): Likewise.
4413 (CFLAGS-getopt.c): Likewise.
4414 (CFLAGS-wordexp.c): Likewise.
4415 (CFLAGS-sysconf.c): Likewise.
4416 (CFLAGS-pathconf.c): Likewise.
4417 (CFLAGS-fpathconf.c): Likewise.
4418 (CFLAGS-spawn.c): Likewise.
4419 (CFLAGS-spawnp.c): Likewise.
4420 (CFLAGS-spawni.c): Likewise.
4421 (CFLAGS-glob.c): Likewise.
4422 (CFLAGS-glob64.c): Likewise.
4423 (CFLAGS-getconf.c): Likewise.
4424 (CFLAGS-nanosleep.c): Likewise.
4425 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
4426 (CFLAGS-getpwent.c): Likewise.
4427 (CFLAGS-getpw.c): Likewise.
4428 (CFLAGS-fgetpwent_r.c): Likewise.
4429 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
4430 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
4431 (CFLAGS-mq_timedreceive.c): Likewise.
4432 (CFLAGS-mq_timedsend.c): Likewise.
4433 (CFLAGS-clock_nanosleep.c): Likewise.
4434 (CFLAGS-librt-cancellation.c): Likewise.
4435 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
4436 (CFLAGS-getspent.c): Likewise.
4437 (CFLAGS-fgetspent.c): Likewise.
4438 (CFLAGS-fgetspent_r.c): Likewise.
4439 (CFLAGS-putspent.c): Likewise.
4440 (CFLAGS-getspnam.c): Likewise.
4441 (CFLAGS-getspnam_r.c): Likewise.
4442 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
4443 (CFLAGS-sigsuspend.c): Likewise.
4444 (CFLAGS-sigtimedwait.c): Likewise.
4445 (CFLAGS-sigwait.c): Likewise.
4446 (CFLAGS-sigwaitinfo.c): Likewise.
4447 (CFLAGS-sigreturn.c): Likewise.
4448 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4449 (CFLAGS-vfwprintf.c): Likewise.
4450 (CFLAGS-tmpfile.c): Likewise.
4451 (CFLAGS-tmpfile64.c): Likewise.
4452 (CFLAGS-tempname.c): Likewise.
4453 (CFLAGS-psignal.c): Likewise.
4454 (CFLAGS-vprintf.c): Likewise.
4455 (CFLAGS-cuserid.c): Likewise.
4456 (CFLAGS-errlist.c): Likewise.
4457 (CFLAGS-siglist.c): Likewise.
4458 (CFLAGS-scanf15.c): Likewise.
4459 (CFLAGS-scanf17.c): Likewise.
4460 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
4461 (CFLAGS-msort.c): Likewise.
4462 (CFLAGS-qsort.c): Likewise.
4463 (CFLAGS-system.c): Likewise.
4464 (CFLAGS-fmtmsg.c): Likewise.
4465 (CFLAGS-strfmon.c): Likewise.
4466 (CFLAGS-strfmon_l.c): Likewise.
4467 (CFLAGS-strfromd.c): Likewise.
4468 (CFLAGS-strfromf.c): Likewise.
4469 (CFLAGS-strfroml.c): Likewise.
4470 (CFLAGS-tst-bsearch.c): Likewise.
4471 (CFLAGS-tst-qsort.c): Likewise.
4472 (CFLAGS-tst-makecontext2.c): Likewise.
4473 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
4474 (CFLAGS-xnlm_prot.c): Likewise.
4475 (CFLAGS-xrstat.c): Likewise.
4476 (CFLAGS-xyppasswd.c): Likewise.
4477 (CFLAGS-xklm_prot.c): Likewise.
4478 (CFLAGS-xrex.c): Likewise.
4479 (CFLAGS-xsm_inter.c): Likewise.
4480 (CFLAGS-xmount.c): Likewise.
4481 (CFLAGS-xrusers.c): Likewise.
4482 (CFLAGS-xspray.c): Likewise.
4483 (CFLAGS-xnfs_prot.c): Likewise.
4484 (CFLAGS-xrquota.c): Likewise.
4485 (CFLAGS-xkey_prot.c): Likewise.
4486 (CFLAGS-auth_unix.c): Likewise.
4487 (CFLAGS-key_call.c): Likewise.
4488 (CFLAGS-pmap_rmt.c): Likewise.
4489 (CFLAGS-clnt_perr.c): Likewise.
4490 (CFLAGS-openchild.c): Likewise.
4491 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
4492 (CFLAGS-msgsnd.c): Likewise.
4493 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
4494 * time/Makefile (CFLAGS-tzfile.c): Likewise.
4495 (CFLAGS-tzset.c): Likewise.
4496 (CFLAGS-getdate.c): Likewise.
4497 (CFLAGS-test_time.c): Likewise.
4498 (CPPFLAGS-tst-tzname.c): Likewise.
4499 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
4500 (CFLAGS-zic.c): Likewise.
4501 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
4502 (CFLAGS-wcswidth.c): Likewise.
4503 (CFLAGS-wcstol.c): Likewise.
4504 (CFLAGS-wcstoul.c): Likewise.
4505 (CFLAGS-wcstoll.c): Likewise.
4506 (CFLAGS-wcstoull.c): Likewise.
4507 (CFLAGS-wcstod.c): Likewise.
4508 (CFLAGS-wcstold.c): Likewise.
4509 (CFLAGS-wcstof128.c): Likewise.
4510 (CFLAGS-wcstof.c): Likewise.
4511 (CFLAGS-wcstol_l.c): Likewise.
4512 (CFLAGS-wcstoul_l.c): Likewise.
4513 (CFLAGS-wcstoll_l.c): Likewise.
4514 (CFLAGS-wcstoull_l.c): Likewise.
4515 (CFLAGS-wcstod_l.c): Likewise.
4516 (CFLAGS-wcstold_l.c): Likewise.
4517 (CFLAGS-wcstof128_l.c): Likewise.
4518 (CFLAGS-wcstof_l.c): Likewise.
4519 (CPPFLAGS-tst-wchar-h.c): Likewise.
4520 (CPPFLAGS-wcstold_l.c): Likewise.
4522 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
4524 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
4526 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4527 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4529 * manual/tunables.texi (Hardware Capability Tunables): Document
4530 glibc.tune.cached_memopt.
4531 * sysdeps/powerpc/cpu-features.c: New file.
4532 * sysdeps/powerpc/cpu-features.h: New file.
4533 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
4534 _dl_powerpc_cpu_features.
4535 * sysdeps/powerpc/dl-tunables.list: New file.
4536 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
4537 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4538 (INIT_ARCH): Initialize use_aligned_memopt.
4539 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
4540 IS_IN(rtld))]: Restrict dl_platform_init availability and
4541 initialize CPU features used by tunables.
4542 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
4543 Add memcpy-power8-cached.
4544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
4545 __memcpy_power8_cached.
4546 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4547 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
4550 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
4552 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
4553 (CFLAGS-noinl-tester.c): Likewise.
4554 (CFLAGS-tst-strlen.c): Likewise.
4555 (CFLAGS-stratcliff.c): Likewise.
4556 (CFLAGS-test-ffs.c): Likewise.
4557 (CFLAGS-tst-inlcall.c): Likewise.
4558 (CFLAGS-tst-xbzero-opt.c): Likewise.
4559 (CFLAGS-memcpy.c): Likewise.
4560 (CFLAGS-wordcopy.c): Likewise.
4562 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4564 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4565 Store r15 on stack and add cfi rule.
4566 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4569 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
4572 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
4575 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
4577 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4578 Add s_sinf-sse2 and s_sinf-fma.
4579 (CFLAGS-s_sinf-fma.c): New.
4580 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
4581 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
4582 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
4584 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
4588 2017-12-07 Joseph Myers <joseph@codesourcery.com>
4591 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
4592 part of result to imaginary part of argument if it is zero and the
4593 real part of the argument is not finite.
4594 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
4595 of result to real part of argument if it is zero and the imaginary
4596 part of the argument is not finite.
4598 2017-12-07 Mike FABIAN <mfabian@redhat.com>
4601 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
4602 and to the list of locales to be built for testing.
4603 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
4604 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
4605 and build the collation rules upon that.
4607 2017-12-07 Joseph Myers <joseph@codesourcery.com>
4609 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
4610 * manual/math.texi (Mathematics): Document support for _Float32.
4611 * math/Makefile (test-types): Add float32.
4612 * math/Versions (GLIBC_2.27): Add _Float32 functions.
4613 * stdlib/Versions (GLIBC_2.27): Likewise.
4614 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4615 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4616 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4617 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4618 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4619 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4620 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4621 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4622 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4623 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4624 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4625 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4626 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4627 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4628 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4630 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4631 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4633 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4634 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4635 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4638 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4639 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4640 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4641 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4660 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4662 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4663 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4667 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4668 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4677 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4678 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4680 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4682 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4683 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4684 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4686 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4688 * stdlib/strtof.c: Include <bits/floatn.h>
4689 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
4690 and later undefine as macro. Define as weak alias if
4692 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
4693 and later undefine as macro. Define as weak alias if
4695 * stdlib/strtof_l.c: Include <bits/floatn.h>
4696 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
4697 and later undefine as macro. Define as weak alias if
4699 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
4700 and later undefine as macro. Define as weak alias if
4703 * stdlib/strfromf.c: Include <bits/floatn.h>.
4704 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
4705 and later undefine as macro and define as weak alias.
4707 * math/test-float32.h: New file.
4709 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
4710 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
4711 (libm_alias_float_other_r): Create f32 alias.
4712 (libm_alias_float_r): Use semicolon before call to
4713 libm_alias_float_other_r.
4715 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
4716 second argument to libm_alias_float_other.
4717 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
4718 second argument to libm_alias_float_other.
4719 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
4720 argument to libm_alias_float_other.
4723 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
4724 real part of result for argument 0 + i * NaN.
4725 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
4726 results for tests of 0 + i * NaN.
4728 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4730 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4732 2017-12-06 David S. Miller <davem@davemloft.net>
4734 * sysdeps/sparc/fpu/libm-test-ulps: Update
4735 exp_{downward,towardzero,upward} ulps.
4737 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4739 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
4742 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
4744 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
4746 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
4748 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
4751 2017-12-06 Mike FABIAN <mfabian@redhat.com>
4754 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
4755 and to the list of locales to be built for testing.
4756 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
4757 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
4758 and build the collation rules upon that.
4760 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4762 * NEWS: Add sinf to list of optimized functions.
4764 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4766 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
4767 (__HAVE_FLOAT32X): Likewise.
4768 * manual/math.texi (Mathematics): Document support for _Float64
4770 * math/Makefile (test-types): Add float64 and float32x.
4771 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
4773 * stdlib/Versions (GLIBC_2.27): Likewise.
4774 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4776 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4778 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4779 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4780 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4781 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4782 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4783 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4785 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4786 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4787 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4788 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4789 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4790 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4791 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4792 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4793 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4794 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4795 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4797 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4798 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4819 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4821 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4822 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4836 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4837 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4838 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4840 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4841 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4842 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4843 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4845 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4847 * bits/floatn-common.h: Include <bits/long-double.h>.
4848 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4849 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
4850 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4851 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
4852 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4853 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
4854 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4855 (__builtin_huge_valf64): Use __builtin_huge_vall.
4856 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4857 (__builtin_inff64): Use __builtin_infl.
4858 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4859 (__builtin_nanf64): Use __builtin_nanl.
4860 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4861 (__builtin_nansf64): Use __builtin_nansl.
4863 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
4864 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4865 Carlos O'Donnell <carlos@redhat.com>
4867 * elf/dl-tunables.list: Add elision parameters.
4868 * manual/tunables.texi: Add entries about elision tunable.
4869 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
4870 Add callback functions to dynamically enable/disable elision.
4871 Add multiple callbacks functions to set elision parameters.
4872 Deleted __libc_enable_secure check.
4873 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
4874 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
4875 * configure: Regenerated.
4876 * configure.ac: Option enable_lock_elision was deleted.
4877 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
4878 * config.make.in: Remove references to enable_lock_elision.
4879 * manual/install.texi: Elision configure option was removed.
4880 * INSTALL: Regenerated to remove enable_lock_elision.
4882 Disable elision so it can verify error case for destroying a mutex.
4883 * sysdeps/powerpc/nptl/elide.h:
4884 Cleanup ENABLE_LOCK_ELISION check.
4885 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
4886 * sysdeps/s390/configure: Regenerated.
4887 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
4888 * nptl/tst-mutex8.c:
4889 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
4890 * sysdeps/powerpc/powerpc32/sysdep.h:
4891 Deleted all ENABLE_LOCK_ELISION checks.
4892 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4893 * sysdeps/powerpc/sysdep.h: Likewise.
4894 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4895 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
4896 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4897 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4898 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4899 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
4900 enable-lock-elision.
4902 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4904 * stdlib/strtod.c: Include <bits/floatn.h>.
4905 (BUILD_DOUBLE): New macro.
4906 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4907 (strtof64): Define and later undefine as macro. Define as weak
4908 alias if [!USE_WIDE_CHAR].
4909 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4910 (wcstof64): Define and later undefine as macro. Define as weak
4911 alias if [USE_WIDE_CHAR].
4912 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4913 (strtof32x): Define and later undefine as macro. Define as weak
4914 alias if [!USE_WIDE_CHAR].
4915 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4916 (wcstof32x): Define and later undefine as macro. Define as weak
4917 alias if [USE_WIDE_CHAR].
4918 * stdlib/strtod_l.c: Include <bits/floatn.h>.
4919 (BUILD_DOUBLE): New macro.
4920 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4921 (strtof64_l): Define and later undefine as macro. Define as weak
4922 alias if [!USE_WIDE_CHAR].
4923 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4924 (wcstof64_l): Define and later undefine as macro. Define as weak
4925 alias if [USE_WIDE_CHAR].
4926 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4927 (strtof32x_l): Define and later undefine as macro. Define as weak
4928 alias if [!USE_WIDE_CHAR].
4929 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4930 (wcstof32x_l): Define and later undefine as macro. Define as weak
4931 alias if [USE_WIDE_CHAR].
4933 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4935 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
4936 (reduced): Use ones as double instead of integer.
4938 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
4940 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
4942 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4944 * stdlib/strfromd.c: Include <bits/floatn.h>.
4945 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
4946 and later undefine as macro and define as weak alias.
4947 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
4950 * math/test-float32x.h: New file.
4951 * math/test-float64.h: Likewise.
4953 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
4954 (libm_alias_double_other_r_f64): New macro.
4955 (libm_alias_double_other_r_f32x): Likewise.
4956 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
4957 libm_alias_double_other_r_f32x.
4958 (libm_alias_double_r): Use semicolon before call to
4959 libm_alias_double_other_r.
4960 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
4962 (libm_alias_double_other_r_f64): New macro.
4963 (libm_alias_double_other_r_f32x): Likewise.
4964 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
4965 libm_alias_double_other_r_f32x.
4967 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
4969 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
4971 (SINF_FUNC): Likewise. Replace floor with simple casts.
4973 2017-12-05 Mike FABIAN <mfabian@redhat.com>
4976 * localedata/Makefile: Add et_EE.UTF-8 to test-input
4977 and to the list of locales to be built for testing.
4978 * localedata/et_EE.UTF-8.in: New file for testing the collation.
4979 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
4980 and build the collation rules upon that.
4982 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
4984 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
4985 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
4986 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
4987 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
4988 instead of __insn__xxx.
4989 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
4990 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
4991 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
4992 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
4993 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
4994 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
4996 2017-12-05 Florian Weimer <fweimer@redhat.com>
4998 Linux: Implement interfaces for memory protection keys
4999 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
5001 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
5002 * support/xunistd.h (xsysconf): Declare.
5003 * support/xraise.c: New file.
5004 * support/xsigaction.c: Likewise.
5005 * support/xsignal.c: Likewise.
5006 * support/xsysconf.c: Likewise.
5007 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
5008 pkey_set, pkey_get, pkey_mprotect.
5009 [misc] (tests): Add tst-pkey.
5010 (tst-pkey): Link with -lpthread.
5011 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
5012 pkey_free, pkey_set, pkey_get, pkey_mprotect.
5013 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
5014 (PKEY_DISABLE_WRITE): Define.
5015 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
5017 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
5019 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
5020 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
5021 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
5022 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
5024 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
5025 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
5026 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
5027 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
5028 * sysdeps/unix/sysv/linux/**.abilist: Update.
5030 2017-12-05 Florian Weimer <fweimer@redhat.com>
5032 * support/tst-test_compare.c (subprocess): Use long long instead
5033 of long argument for consistent type width across 32-bit and
5034 64-bit architectures.
5035 (do_test): Adjust expected output.
5037 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
5040 (cosf): Define using libm_alias_float.
5041 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
5042 (fabsf): Define using libm_alias_float.
5043 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
5044 (fmaf): Define using libm_alias_float.
5045 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
5046 (rintf): Define using libm_alias_float.
5047 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
5048 (sinf): Define using libm_alias_float.
5049 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
5050 <libm-alias-float.h>.
5051 (modff): Define using libm_alias_float.
5052 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
5053 <libm-alias-float.h>.
5054 (logbf): Define using libm_alias_float.
5055 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
5056 <libm-alias-float.h>.
5057 (ceilf): Define using libm_alias_float.
5058 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
5059 <libm-alias-float.h>.
5060 (copysignf): Define using libm_alias_float.
5061 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
5062 <libm-alias-float.h>.
5063 (floorf): Define using libm_alias_float.
5064 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5065 <libm-alias-float.h>.
5066 (llrintf): Define using libm_alias_float.
5067 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5068 <libm-alias-float.h>.
5069 (llroundf): Define using libm_alias_float.
5070 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
5071 <libm-alias-float.h>.
5072 (lrintf): Define using libm_alias_float.
5073 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
5074 <libm-alias-float.h>.
5075 (lroundf): Define using libm_alias_float.
5076 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
5077 <libm-alias-float.h>.
5078 (nearbyintf): Define using libm_alias_float.
5079 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
5080 <libm-alias-float.h>.
5081 (rintf): Define using libm_alias_float.
5082 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
5083 <libm-alias-float.h>.
5084 (roundf): Define using libm_alias_float.
5085 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
5086 <libm-alias-float.h>.
5087 (truncf): Define using libm_alias_float.
5088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
5089 Include <libm-alias-float.h>.
5090 (ceilf): Define using libm_alias_float.
5091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5092 Include <libm-alias-float.h>.
5093 (copysignf): Define using libm_alias_float.
5094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
5095 Include <libm-alias-float.h>.
5096 (floorf): Define using libm_alias_float.
5097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
5098 Include <libm-alias-float.h>.
5099 (llrintf): Define using libm_alias_float.
5100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
5101 Include <libm-alias-float.h>.
5102 (llroundf): Define using libm_alias_float.
5103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
5104 Include <libm-alias-float.h>.
5105 (logbf): Define using libm_alias_float.
5106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
5107 Include <libm-alias-float.h>.
5108 (lrintf): Define using libm_alias_float.
5109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
5110 Include <libm-alias-float.h>.
5111 (lroundf): Define using libm_alias_float.
5112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
5113 Include <libm-alias-float.h>.
5114 (modff): Define using libm_alias_float.
5115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
5116 Include <libm-alias-float.h>.
5117 (roundf): Define using libm_alias_float.
5118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
5119 Include <libm-alias-float.h>.
5120 (truncf): Define using libm_alias_float.
5121 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
5122 <libm-alias-float.h>.
5123 (llrintf): Define using libm_alias_float.
5124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
5125 <libm-alias-float.h>.
5126 (llroundf): Define using libm_alias_float.
5127 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
5128 <libm-alias-float.h>.
5129 (ceilf): Define using libm_alias_float.
5130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
5131 <libm-alias-float.h>.
5132 (floorf): Define using libm_alias_float.
5133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
5134 <libm-alias-float.h>.
5135 (llroundf): Define using libm_alias_float.
5136 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
5137 <libm-alias-float.h>.
5138 (lroundf): Define using libm_alias_float.
5139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
5140 <libm-alias-float.h>.
5141 (roundf): Define using libm_alias_float.
5142 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
5143 <libm-alias-float.h>.
5144 (truncf): Define using libm_alias_float.
5145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
5146 <libm-alias-float.h>.
5147 (copysignf): Define using libm_alias_float.
5148 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
5149 <libm-alias-float.h>.
5150 (llrintf): Define using libm_alias_float.
5151 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
5152 <libm-alias-float.h>.
5153 (llroundf): Define using libm_alias_float.
5154 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
5155 <libm-alias-float.h>.
5156 (lrintf): Define using libm_alias_float.
5157 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
5158 <libm-alias-float.h>.
5159 (lroundf): Define using libm_alias_float.
5160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
5161 <libm-alias-float.h>.
5162 (ceilf): Define using libm_alias_float.
5163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
5164 <libm-alias-float.h>.
5165 (copysignf): Define using libm_alias_float.
5166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
5167 <libm-alias-float.h>.
5168 (cosf): Define using libm_alias_float.
5169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
5170 <libm-alias-float.h>.
5171 (floorf): Define using libm_alias_float.
5172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
5173 <libm-alias-float.h>.
5174 (llrintf): Define using libm_alias_float.
5175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
5176 <libm-alias-float.h>.
5177 (llroundf): Define using libm_alias_float.
5178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
5179 <libm-alias-float.h>.
5180 (logbf): Define using libm_alias_float.
5181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
5182 <libm-alias-float.h>.
5183 (modff): Define using libm_alias_float.
5184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
5185 <libm-alias-float.h>.
5186 (roundf): Define using libm_alias_float.
5187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
5188 <libm-alias-float.h>.
5189 (sinf): Define using libm_alias_float.
5190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
5191 <libm-alias-float.h>.
5192 (truncf): Define using libm_alias_float.
5193 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
5194 <libm-alias-float.h>.
5195 (ceilf): Define using libm_alias_float.
5196 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
5197 <libm-alias-float.h>.
5198 (copysignf): Define using libm_alias_float.
5199 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
5200 <libm-alias-float.h>.
5201 (floorf): Define using libm_alias_float.
5202 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
5203 <libm-alias-float.h>.
5204 (llrintf): Define using libm_alias_float.
5205 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
5206 <libm-alias-float.h>.
5207 (llroundf): Define using libm_alias_float.
5208 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
5209 <libm-alias-float.h>.
5210 (nearbyintf): Define using libm_alias_float.
5211 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
5212 <libm-alias-float.h>.
5213 (rintf): Define using libm_alias_float.
5214 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
5215 <libm-alias-float.h>.
5216 (roundf): Define using libm_alias_float.
5217 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
5218 <libm-alias-float.h>.
5219 (truncf): Define using libm_alias_float.
5220 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
5221 <libm-alias-float.h>.
5222 (ceilf): Define using libm_alias_float.
5223 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
5224 <libm-alias-float.h>.
5225 (floorf): Define using libm_alias_float.
5226 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
5227 <libm-alias-float.h>.
5228 (llroundf): Define using libm_alias_float.
5229 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
5230 <libm-alias-float.h>.
5231 (roundf): Define using libm_alias_float.
5232 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
5233 <libm-alias-float.h>.
5234 (truncf): Define using libm_alias_float.
5235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
5236 <libm-alias-float.h>.
5237 (copysignf): Define using libm_alias_float.
5238 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
5239 <libm-alias-float.h>.
5240 (llrintf): Define using libm_alias_float.
5241 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
5242 <libm-alias-float.h>.
5243 (llroundf): Define using libm_alias_float.
5244 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
5245 <libm-alias-float.h>.
5246 (cosf): Define using libm_alias_float.
5247 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
5248 <libm-alias-float.h>.
5249 (llrintf): Define using libm_alias_float.
5250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
5251 <libm-alias-float.h>.
5252 (llroundf): Define using libm_alias_float.
5253 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
5254 <libm-alias-float.h>.
5255 (sinf): Define using libm_alias_float.
5257 2017-12-04 Florian Weimer <fweimer@redhat.com>
5259 * support/check.h (TEST_COMPARE): Define.
5260 (support_test_compare_failure): Declare.
5261 * support/Makefile (libsupport-routines): Add
5262 support_test_compare_failure.
5263 (tests): Add tst-test_compare.
5264 * support /support_test_compare_failure.c: New file.
5265 * support/tst-test_compare.c: Likewise.
5267 2017-12-04 Mike FABIAN <mfabian@redhat.com>
5270 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
5271 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
5272 available, this rewrite of the collation rules does reproduce
5273 the test file in the same order.
5275 2017-12-04 Mike FABIAN <mfabian@redhat.com>
5278 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
5279 digraphs in the month and day names. Using single code points for
5280 digraphs is deprecated. While there are dedicated Unicode
5281 codepoints, for the digraphs, these are included for backwards
5282 compatibility and modern texts use a sequence of Basic Latin
5283 characters. See: https://www.unicode.org/faq/ligature_digraph.html
5284 This makes the month and day names agree exactly with CLDR now,
5285 CLDR does not use the single code points for the digraphs either.
5287 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
5289 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
5291 2017-12-04 Joseph Myers <joseph@codesourcery.com>
5293 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
5296 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
5298 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
5299 Define only for libc.so.
5301 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5304 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
5305 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
5306 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
5307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5309 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5312 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
5314 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
5317 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
5318 PREINIT_FUNCTION_WEAK is nonzero.
5319 (gmon_initializer): New function. Put procedure label for it in
5320 .init_array section.
5321 (_init): Don't call PREINIT_FUNCTION.
5322 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
5323 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
5324 value when map argument is null.
5326 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
5327 depi instruction from PIC pc-relative sequence.
5328 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
5329 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
5330 (elf_machine_load_address): Likewise.
5331 (elf_machine_runtime_setup): Likewise.
5333 2017-12-02 Joseph Myers <joseph@codesourcery.com>
5335 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
5336 <libm-alias-double.h>.
5337 (logb): Define using libm_alias_double.
5338 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
5339 <libm-alias-double.h>.
5340 (copysign): Define using libm_alias_double.
5341 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
5342 <libm-alias-double.h>.
5343 (llrint): Define using libm_alias_double.
5344 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
5345 <libm-alias-double.h>.
5346 (llround): Define using libm_alias_double.
5347 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
5348 <libm-alias-double.h>.
5349 (lrint): Define using libm_alias_double.
5350 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
5351 <libm-alias-double.h>.
5352 (lround): Define using libm_alias_double.
5353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5354 Include <libm-alias-double.h>.
5355 (copysign): Define using libm_alias_double.
5356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
5357 Include <libm-alias-double.h>.
5358 (llrint): Define using libm_alias_double.
5359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
5360 Include <libm-alias-double.h>.
5361 (llround): Define using libm_alias_double.
5362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
5363 <libm-alias-double.h>.
5364 (logb): Define using libm_alias_double.
5365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
5366 Include <libm-alias-double.h>.
5367 (lrint): Define using libm_alias_double.
5368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
5369 Include <libm-alias-double.h>.
5370 (lround): Define using libm_alias_double.
5371 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
5372 <libm-alias-double.h>.
5373 (llrint): Define using libm_alias_double.
5374 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
5375 <libm-alias-double.h>.
5376 (llround): Define using libm_alias_double.
5377 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
5378 <libm-alias-double.h>.
5379 (llround): Define using libm_alias_double.
5380 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
5381 <libm-alias-double.h>.
5382 (lround): Define using libm_alias_double.
5383 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
5384 <libm-alias-double.h>.
5385 (copysign): Define using libm_alias_double.
5386 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
5387 <libm-alias-double.h>.
5388 (llrint): Define using libm_alias_double.
5389 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
5390 <libm-alias-double.h>.
5391 (llround): Define using libm_alias_double.
5392 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
5393 <libm-alias-double.h>.
5394 (lrint): Define using libm_alias_double.
5395 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
5396 <libm-alias-double.h>.
5397 (lround): Define using libm_alias_double.
5398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
5399 <libm-alias-double.h>.
5400 (copysign): Define using libm_alias_double.
5401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
5402 <libm-alias-double.h>.
5403 (llrint): Define using libm_alias_double.
5405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
5406 <libm-alias-double.h>.
5407 (llround): Define using libm_alias_double.
5409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
5410 <libm-alias-double.h>.
5411 (logb): Define using libm_alias_double.
5412 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
5413 <libm-alias-double.h>.
5414 (copysign): Define using libm_alias_double.
5415 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
5416 <libm-alias-double.h>.
5417 (llrint): Define using libm_alias_double.
5419 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
5420 <libm-alias-double.h>.
5421 (llround): Define using libm_alias_double.
5423 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
5424 <libm-alias-double.h>.
5425 (llround): Define using libm_alias_double.
5427 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
5428 <libm-alias-double.h>.
5429 (copysign): Define using libm_alias_double.
5430 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
5431 <libm-alias-double.h>.
5432 (llrint): Define using libm_alias_double.
5434 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
5435 <libm-alias-double.h>.
5436 (llround): Define using libm_alias_double.
5438 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
5439 <libm-alias-double.h>.
5440 (llrint): Define using libm_alias_double.
5442 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
5443 <libm-alias-double.h>.
5444 (llround): Define using libm_alias_double.
5447 2017-12-01 Joseph Myers <joseph@codesourcery.com>
5449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5450 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
5451 compat symbol based on llround.
5453 * sysdeps/powerpc/power7/fpu/s_logb.c
5454 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
5455 symbol based on __logb, not on logb.
5456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
5457 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
5459 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5461 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
5462 (rint): Define using libm_alias_double.
5463 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
5464 <libm-alias-double.h>.
5465 (modf): Define using libm_alias_double.
5466 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
5467 <libm-alias-double.h>.
5468 (ceil): Define using libm_alias_double.
5469 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
5470 <libm-alias-double.h>.
5471 (floor): Define using libm_alias_double.
5472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
5473 <libm-alias-double.h>.
5474 (nearbyint): Define using libm_alias_double.
5475 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
5476 <libm-alias-double.h>.
5477 (rint): Define using libm_alias_double.
5478 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
5479 <libm-alias-double.h>.
5480 (round): Define using libm_alias_double.
5481 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
5482 <libm-alias-double.h>.
5483 (trunc): Define using libm_alias_double.
5484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
5485 <libm-alias-double.h>.
5486 (ceil): Define using libm_alias_double.
5487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
5488 Include <libm-alias-double.h>.
5489 (floor): Define using libm_alias_double.
5490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
5491 <libm-alias-double.h>.
5492 (modf): Define using libm_alias_double.
5493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
5494 Include <libm-alias-double.h>.
5495 (round): Define using libm_alias_double.
5496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
5497 Include <libm-alias-double.h>.
5498 (trunc): Define using libm_alias_double.
5499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
5500 <libm-alias-double.h>.
5501 (ceil): Define using libm_alias_double.
5502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
5503 <libm-alias-double.h>.
5504 (floor): Define using libm_alias_double.
5505 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
5506 <libm-alias-double.h>.
5507 (round): Define using libm_alias_double.
5508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
5509 <libm-alias-double.h>.
5510 (trunc): Define using libm_alias_double.
5511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
5512 <libm-alias-double.h>.
5513 (ceil): Define using libm_alias_double.
5514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
5515 <libm-alias-double.h>.
5516 (floor): Define using libm_alias_double.
5517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
5518 <libm-alias-double.h>.
5519 (modf): Define using libm_alias_double.
5520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
5521 <libm-alias-double.h>.
5522 (round): Define using libm_alias_double.
5523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
5524 <libm-alias-double.h>.
5525 (trunc): Define using libm_alias_double.
5526 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
5527 <libm-alias-double.h>.
5528 (ceil): Define using libm_alias_double.
5529 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
5530 <libm-alias-double.h>.
5531 (floor): Define using libm_alias_double.
5532 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
5533 <libm-alias-double.h>.
5534 (nearbyint): Define using libm_alias_double.
5535 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
5536 <libm-alias-double.h>.
5537 (rint): Define using libm_alias_double.
5538 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
5539 <libm-alias-double.h>.
5540 (round): Define using libm_alias_double.
5541 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
5542 <libm-alias-double.h>.
5543 (trunc): Define using libm_alias_double.
5544 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
5545 <libm-alias-double.h>.
5546 (ceil): Define using libm_alias_double.
5547 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
5548 <libm-alias-double.h>.
5549 (floor): Define using libm_alias_double.
5550 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
5551 <libm-alias-double.h>.
5552 (round): Define using libm_alias_double.
5553 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
5554 <libm-alias-double.h>.
5555 (trunc): Define using libm_alias_double.
5557 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
5558 (fabs): Define using libm_alias_double.
5559 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
5560 (fma): Define using libm_alias_double.
5561 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
5562 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
5563 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
5564 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
5566 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5568 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
5570 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
5571 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
5572 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
5574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
5577 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
5579 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
5581 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5583 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
5584 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
5585 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
5586 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
5588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5589 (libm-sysdep_routines): Add s_nearbyintf-generic and
5590 s_nearbyint-generic.
5591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
5593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
5594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
5596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
5598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
5600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
5603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5604 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
5605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
5607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
5610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
5612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5615 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
5616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
5618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
5619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
5621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
5622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
5623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
5625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5626 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
5627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
5629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
5630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
5632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
5633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
5634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5637 (sysdep_calls): New rule.
5638 (sysdep_routines): Use sysdep_calls as base.
5639 (libm-sysdep_routines): Add generic rule for symbols shared with
5640 libc. Add s_copysign-generic and s_copysign-generic objects.
5641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
5644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
5646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
5647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
5648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
5650 2017-12-01 Mike FABIAN <mfabian@redhat.com>
5653 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
5654 the list of locales to be built for testing.
5655 * localedata/is_IS.UTF-8.in: New file.
5656 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
5659 2017-12-01 Joseph Myers <joseph@codesourcery.com>
5661 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
5662 <libm-alias-float.h>.
5663 (fabsf): Define using libm_alias_float.
5665 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
5667 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
5669 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5671 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
5672 <libm-alias-float.h>.
5673 (fabsf): Define using libm_alias_float.
5674 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
5675 <libm-alias-float.h>.
5676 (lrintf): Define using libm_alias_float.
5677 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
5678 <libm-alias-float.h>.
5679 (rintf): Define using libm_alias_float.
5681 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
5682 <libm-alias-double.h>.
5683 (fabs): Define using libm_alias_double.
5684 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
5685 <libm-alias-double.h>.
5686 (lrint): Define using libm_alias_double.
5687 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
5688 <libm-alias-double.h>.
5689 (rint): Define using libm_alias_double.
5691 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
5692 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5693 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
5694 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
5695 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
5696 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5697 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
5698 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
5699 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
5700 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
5701 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
5702 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
5703 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
5704 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
5705 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
5706 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
5707 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5708 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
5710 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
5711 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
5712 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
5714 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
5715 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
5716 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
5718 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
5719 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
5720 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
5722 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
5723 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
5724 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
5726 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
5727 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
5728 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
5730 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
5731 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
5732 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
5734 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
5735 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
5737 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
5738 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
5739 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
5741 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
5742 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
5743 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
5744 s_nearbyint_template.c.
5745 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
5746 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
5747 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
5748 s_remquo_template.c.
5749 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
5750 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
5751 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
5753 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5754 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5755 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
5757 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
5758 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
5759 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
5760 s_sincos_template.c.
5761 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
5762 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
5763 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
5765 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
5766 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
5767 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
5769 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
5770 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
5771 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
5773 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
5774 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
5775 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
5776 s_atan.c instead of including s_atan.c.
5777 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
5778 s_atanf.c instead of including s_atanf.c.
5779 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
5780 s_atanl.c instead of including s_atanl.c.
5781 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
5782 instead of s_atan.c.
5783 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
5784 instead of s_atanf.c.
5785 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
5786 instead of s_atanl.c.
5788 * scripts/update-copyrights: Do not handle intl/plural.c
5791 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
5794 * configure.ac (BISON): Require to be present.
5795 * configure: Regenerated.
5796 * intl/Makefile (generated): Add plural.c.
5797 [$(BISON) != no]: Make code unconditional.
5798 (plural.c): Change rule to $(objpfx)plural.c.
5799 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
5800 * intl/plural.c: Remove.
5801 * manual/install.texi (Tools for Compilation): Document bison as
5803 * INSTALL: Regenerated.
5805 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5807 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
5808 <libm-alias-double.h>.
5809 (llrint): Define using libm_alias_double.
5810 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
5811 <libm-alias-float.h>.
5812 (llrintf): Define using libm_alias_float.
5813 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
5814 <libm-alias-ldouble.h>.
5815 (llrintl): Define using libm_alias_ldouble.
5817 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
5818 declare_mgen_alias instead of weak_alias.
5819 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
5820 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
5821 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
5823 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5825 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5827 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
5828 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
5829 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
5831 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5832 Add submul_1-generic.
5833 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
5834 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
5835 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
5837 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5838 Add addmul_1-generic.
5839 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
5840 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
5841 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
5843 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5845 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
5846 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
5847 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
5849 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5851 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
5852 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
5853 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
5855 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5857 According to CLDR, collation rules for Serbian and Bosnian
5858 should be the same as for Croatian.
5861 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
5862 and to the list of locales to be built for testing.
5863 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
5864 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
5865 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
5866 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
5868 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5870 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
5871 to make test case pass.
5872 * localedata/hr_HR.UTF-8.in: Add more test strings.
5874 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5876 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
5878 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
5880 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
5881 the list of locales to built for testing.
5882 * localedata/hr_HR.UTF-8.in: New file.
5884 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
5887 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
5889 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
5890 CLDR (except use ligatures for the digraphs, CLDR does not use
5891 the ligatures), add first_workday, some fixes in the date and time
5893 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
5895 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
5896 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
5897 Add int_p_cs_precedes and int_n_cs_precedes.
5898 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
5899 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
5901 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
5902 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
5904 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
5905 and lang_lib. Change postal_fmt.
5907 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
5909 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
5911 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
5912 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
5913 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
5914 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
5915 * sysdeps/generic/setjmpP.h: New file.
5916 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
5917 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
5918 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
5919 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
5920 Add jmp_buf-ssp.sym.
5921 (tests): Add tst-saved_mask-1.
5923 2017-11-30 Arjun Shankar <arjun@redhat.com>
5927 * malloc/malloc.c (__libc_malloc): Use checked_request2size
5928 instead of request2size.
5930 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
5933 (__lllrint): Remove alias.
5934 (lllrint): Likewise.
5935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
5936 (__lllrintf): Likewise.
5937 (lllrintf): Likewise.
5939 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
5940 <libm-alias-float.h>.
5941 (copysignf): Define using libm_alias_float.
5942 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
5943 <libm-alias-float.h>.
5944 (fabsf): Define using libm_alias_float.
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5946 Include <libm-alias-float.h>.
5947 (copysignf): Define using libm_alias_float.
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
5949 <libm-alias-float.h>.
5950 (fabsf): Define using libm_alias_float.
5951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
5952 <libm-alias-float.h>.
5953 (fdimf): Define using libm_alias_float.
5954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
5955 <libm-alias-float.h>.
5956 (fmaf): Define using libm_alias_float.
5957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
5958 <libm-alias-float.h>.
5959 (llrintf): Define using libm_alias_float.
5960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
5961 Include <libm-alias-float.h>.
5962 (nearbyintf): Define using libm_alias_float.
5963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
5964 <libm-alias-float.h>.
5965 (rintf): Define using libm_alias_float.
5966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
5967 <libm-alias-float.h>.
5968 (llrintf): Define using libm_alias_float.
5969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
5970 <libm-alias-float.h>.
5971 (lrintf): Define using libm_alias_float.
5972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
5973 <libm-alias-float.h>.
5974 (nearbyintf): Define using libm_alias_float.
5975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
5976 <libm-alias-float.h>.
5977 (rintf): Define using libm_alias_float.
5978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
5979 <libm-alias-float.h>.
5980 (ceilf): Define using libm_alias_float.
5981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
5982 <libm-alias-float.h>.
5983 (floorf): Define using libm_alias_float.
5984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
5985 <libm-alias-float.h>.
5986 (fmaf): Define using libm_alias_float.
5987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
5988 <libm-alias-float.h>.
5989 (lrintf): Define using libm_alias_float.
5990 (llrintf): Likewise.
5991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
5992 <libm-alias-float.h>.
5993 (nearbyintf): Define using libm_alias_float.
5994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
5995 <libm-alias-float.h>.
5996 (rintf): Define using libm_alias_float.
5997 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
5998 <libm-alias-float.h>.
5999 (truncf): Define using libm_alias_float.
6000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
6001 <libm-alias-float.h>.
6002 (copysignf): Define using libm_alias_float.
6003 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
6004 <libm-alias-float.h>.
6005 (fabsf): Define using libm_alias_float.
6006 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
6007 <libm-alias-float.h>.
6008 (lrintf): Define using libm_alias_float.
6009 (llrintf): Likewise.
6010 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
6011 <libm-alias-float.h>.
6012 (nearbyintf): Define using libm_alias_float.
6013 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
6014 <libm-alias-float.h>.
6015 (rintf): Define using libm_alias_float.
6017 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
6020 <libm-alias-double.h>.
6021 (copysign): Define using libm_alias_double.
6022 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
6023 <libm-alias-double.h>.
6024 (fabs): Define using libm_alias_double.
6025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6026 Include <libm-alias-double.h>.
6027 (copysign): Define using libm_alias_double.
6028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
6029 <libm-alias-double.h>.
6030 (fabs): Define using libm_alias_double.
6031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
6032 <libm-alias-double.h>.
6033 (fdim): Define using libm_alias_double.
6034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
6035 <libm-alias-double.h>.
6036 (fma): Define using libm_alias_double.
6037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
6038 <libm-alias-double.h>.
6039 (llrint): Define using libm_alias_double.
6040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
6041 Include <libm-alias-double.h>.
6042 (nearbyint): Define using libm_alias_double.
6043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
6044 <libm-alias-double.h>.
6045 (rint): Define using libm_alias_double.
6046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
6047 <libm-alias-double.h>.
6048 (fabs): Define using libm_alias_double.
6049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
6050 <libm-alias-double.h>.
6051 (llrint): Define using libm_alias_double.
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
6053 <libm-alias-double.h>.
6054 (nearbyint): Define using libm_alias_double.
6055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
6056 <libm-alias-double.h>.
6057 (rint): Define using libm_alias_double.
6058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
6059 <libm-alias-double.h>.
6060 (ceil): Define using libm_alias_double.
6061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
6062 <libm-alias-double.h>.
6063 (floor): Define using libm_alias_double.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
6065 <libm-alias-double.h>.
6066 (fma): Define using libm_alias_double.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
6068 <libm-alias-double.h>.
6069 (lrint): Define using libm_alias_double.
6071 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
6072 <libm-alias-double.h>.
6073 (nearbyint): Define using libm_alias_double.
6074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
6075 <libm-alias-double.h>.
6076 (rint): Define using libm_alias_double.
6077 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
6078 <libm-alias-double.h>.
6079 (trunc): Define using libm_alias_double.
6080 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
6081 <libm-alias-double.h>.
6082 (copysign): Define using libm_alias_double.
6083 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
6084 <libm-alias-double.h>.
6085 (fabs): Define using libm_alias_double.
6086 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
6087 <libm-alias-double.h>.
6088 (lrint): Define using libm_alias_double.
6090 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
6091 <libm-alias-double.h>.
6092 (nearbyint): Define using libm_alias_double.
6093 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
6094 <libm-alias-double.h>.
6095 (rint): Define using libm_alias_double.
6098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
6100 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6102 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6103 SPARC --disable-multi-arch glibc variants.
6105 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
6106 <libm-alias-float.h>.
6107 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6109 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
6110 <libm-alias-float.h>.
6111 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6113 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
6114 <libm-alias-float.h>.
6115 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6117 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
6118 <libm-alias-float.h>.
6119 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6121 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
6122 <libm-alias-float.h>.
6123 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6125 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
6126 <libm-alias-float.h>.
6127 (ceilf): Define using libm_alias_float.
6128 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
6129 <libm-alias-float.h>.
6130 (floorf): Define using libm_alias_float.
6131 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
6132 <libm-alias-float.h>.
6133 (fmaf): Define using libm_alias_float.
6134 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
6135 <libm-alias-float.h>.
6136 (nearbyintf): Define using libm_alias_float.
6137 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
6138 <libm-alias-float.h>.
6139 (rintf): Define using libm_alias_float.
6140 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
6141 <libm-alias-float.h>.
6142 (truncf): Define using libm_alias_float.
6143 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
6144 (copysignf): Define using libm_alias_float.
6145 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
6146 (cosf): Define using libm_alias_float.
6147 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
6148 (fabsf): Define using libm_alias_float.
6149 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6150 (fmaxf): Define using libm_alias_float.
6151 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
6152 (fminf): Define using libm_alias_float.
6153 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
6154 (llrintf): Define using libm_alias_float.
6155 [!__ILP32__] (lrintf): Likewise.
6156 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
6157 (sincosf): Define using libm_alias_float.
6158 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
6159 (sinf): Define using libm_alias_float.
6160 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
6161 (lrintf): Define using libm_alias_float.
6163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
6164 <libm-alias-double.h>.
6165 (atan): Define using libm_alias_double.
6166 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
6167 <libm-alias-double.h>.
6168 (ceil): Define using libm_alias_double.
6169 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
6170 <libm-alias-double.h>.
6171 (floor): Define using libm_alias_double.
6172 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
6173 <libm-alias-double.h>.
6174 (fma): Define using libm_alias_double.
6175 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
6176 <libm-alias-double.h>.
6177 (nearbyint): Define using libm_alias_double.
6178 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
6179 <libm-alias-double.h>.
6180 (rint): Define using libm_alias_double.
6181 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
6182 <libm-alias-double.h>.
6183 (sin): Define using libm_alias_double.
6185 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
6186 <libm-alias-double.h>.
6187 (tan): Define using libm_alias_double.
6188 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
6189 <libm-alias-double.h>.
6190 (trunc): Define using libm_alias_double.
6191 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
6192 (copysign): Define using libm_alias_double.
6193 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
6194 (fabs): Define using libm_alias_double.
6195 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
6196 (fmax): Define using libm_alias_double.
6197 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
6198 (fmin): Define using libm_alias_double.
6199 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
6200 (llrint): Define using libm_alias_double.
6201 [!__ILP32__] (lrint): Likewise.
6202 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
6203 (lrint): Define using libm_alias_double.
6205 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6208 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
6211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6218 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
6221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
6222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
6223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
6224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
6225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6228 (libm-sysdep_routines): Add s_nearbyint-generic and
6229 s_nearbyintf-generic objects.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
6235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6238 Add s_finitef-generic and s_finite-generic objects.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
6246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6247 Add s_isinff-generic and s_isinf-generic objects.
6248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
6249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
6251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
6252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
6253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6256 Add s_isnanf-generic and s_isnan-generic objects.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
6258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
6259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
6261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
6262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6264 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
6266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
6268 (sysdep_routines): Use sysdep_calls as base.
6269 (libm-sysdep_routines): Add generic rule for symbols shared with
6270 libc. Add s_signbit-generic and s_signbitf-generic objects.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
6274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
6275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
6276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6278 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6280 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
6281 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
6282 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
6283 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
6284 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
6285 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
6286 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
6287 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
6288 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
6289 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
6290 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
6291 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
6292 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
6294 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
6295 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
6297 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
6298 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
6299 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
6300 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
6301 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
6302 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
6303 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
6304 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
6305 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
6306 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
6308 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
6310 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
6311 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
6312 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
6313 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
6314 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
6315 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
6316 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
6317 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
6318 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
6319 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
6320 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
6321 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
6322 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
6323 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
6324 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
6325 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
6326 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
6327 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
6328 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
6330 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
6331 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
6332 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
6333 * sysdeps/ia64/fpu/w_lgammaf_main.c
6334 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
6335 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
6337 2017-11-28 Mike FABIAN <mfabian@redhat.com>
6338 Alexandre Oliva <aoliva@redhat.com>
6341 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
6342 * localedata/fr_CA.UTF-8.in: New file with test data for backward
6344 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
6346 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
6347 * localedata/locales/de_DE (LC_COLLATE): Likewise.
6348 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
6349 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
6350 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
6351 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
6352 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
6353 instead of “ifdef DIACRIT_BACKWARD”.
6355 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6357 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
6358 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
6359 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
6360 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
6361 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
6362 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
6363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
6368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
6369 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6370 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6371 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
6372 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
6373 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
6374 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6376 ($(have-as-vis3) == yes): Remove conditional.
6377 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
6383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
6385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
6387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
6388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
6389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
6390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
6391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
6392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
6393 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
6394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
6396 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6398 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
6399 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
6400 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
6401 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
6402 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
6403 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
6404 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
6405 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
6406 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
6407 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
6408 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
6409 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
6410 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
6411 libm_alias_double_r.
6412 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
6414 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
6415 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
6416 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
6417 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
6418 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
6419 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
6420 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
6421 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
6422 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
6423 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
6424 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
6426 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
6428 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
6429 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
6430 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
6431 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
6432 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
6433 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
6434 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
6435 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
6436 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
6437 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
6438 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
6439 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
6440 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
6441 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
6442 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
6443 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
6444 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
6445 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
6447 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
6448 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
6449 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
6450 * sysdeps/ia64/fpu/w_lgamma_main.c
6451 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
6452 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
6454 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
6456 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
6457 address of $global$ into %dp register earlier. Use pc-relative
6458 instruction sequence for PIC case.
6460 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6462 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
6463 (asinhf): Define using libm_alias_float.
6464 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
6465 (atanf): Define using libm_alias_float.
6466 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
6467 (cbrtf): Define using libm_alias_float.
6468 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
6469 (ceilf): Define using libm_alias_float.
6470 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
6471 (copysignf): Define using libm_alias_float.
6472 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
6473 (expm1f): Define using libm_alias_float.
6474 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
6475 (fabsf): Define using libm_alias_float.
6476 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
6477 (floorf): Define using libm_alias_float.
6478 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6479 (fmaxf): Define using libm_alias_float.
6480 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
6481 (fminf): Define using libm_alias_float.
6482 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
6483 (frexpf): Define using libm_alias_float.
6484 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
6485 (llrintf): Define using libm_alias_float.
6486 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
6487 (logbf): Define using libm_alias_float.
6488 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
6489 (lrintf): Define using libm_alias_float.
6490 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
6491 (nearbyintf): Define using libm_alias_float.
6492 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
6493 (remquof): Define using libm_alias_float.
6494 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
6495 (rintf): Define using libm_alias_float.
6496 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
6497 (truncf): Define using libm_alias_float.
6498 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
6499 <libm-alias-float.h>.
6500 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6502 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
6503 <libm-alias-float.h>.
6504 (expf): Define using libm_alias_float, or libm_alias_float_other
6506 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
6507 <libm-alias-float.h>.
6508 (log2f): Define using libm_alias_float, or libm_alias_float_other
6510 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
6511 <libm-alias-float.h>.
6512 (logf): Define using libm_alias_float, or libm_alias_float_other
6514 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
6515 <libm-alias-float.h>.
6516 (powf): Define using libm_alias_float, or libm_alias_float_other
6518 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
6519 <libm-alias-float.h>.
6520 (cosf): Define using libm_alias_float.
6521 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
6522 <libm-alias-float.h>.
6523 (sincosf): Define using libm_alias_float.
6524 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
6525 <libm-alias-float.h>.
6526 (sinf): Define using libm_alias_float.
6527 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6528 (fmaxf): Define using libm_alias_float.
6529 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
6530 (fminf): Define using libm_alias_float.
6531 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6532 <libm-alias-float.h>.
6533 (fmaf): Define using libm_alias_float.
6535 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
6536 (asinh): Define using libm_alias_double.
6537 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
6538 (atan): Define using libm_alias_double.
6539 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
6540 (cbrt): Define using libm_alias_double.
6541 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
6542 (ceil): Define using libm_alias_double.
6543 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
6544 (copysign): Define using libm_alias_double.
6545 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
6546 (expm1): Define using libm_alias_double.
6547 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
6548 (fabs): Define using libm_alias_double.
6549 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
6550 (fdim): Define using libm_alias_double.
6551 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
6552 (floor): Define using libm_alias_double.
6553 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
6554 (fmax): Define using libm_alias_double.
6555 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
6556 (fmin): Define using libm_alias_double.
6557 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
6558 (frexp): Define using libm_alias_double.
6559 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
6560 (llrint): Define using libm_alias_double.
6561 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
6562 (logb): Define using libm_alias_double.
6563 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
6564 (lrint): Define using libm_alias_double.
6565 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
6566 (nearbyint): Define using libm_alias_double.
6567 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
6568 (remquo): Define using libm_alias_double.
6569 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
6570 (rint): Define using libm_alias_double.
6571 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
6572 (trunc): Define using libm_alias_double.
6573 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
6574 (fmax): Define using libm_alias_double.
6575 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
6576 (fmin): Define using libm_alias_double.
6577 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
6578 (fma): Define using libm_alias_double.
6580 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
6583 * elf/dl-hwcaps.c (ROUND): Removed.
6584 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
6585 and ELF_NOTE_NEXT_OFFSET.
6586 * elf/dl-load.c (ROUND): Removed.
6587 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
6588 * elf/readelflib.c (ROUND): Removed.
6589 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
6590 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
6591 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
6592 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
6594 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6596 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
6597 [!__fmaf] (fmaf): Define using libm_alias_float.
6599 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
6600 [!__fma] (fma): Define using libm_alias_double.
6601 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
6603 2017-11-28 Mike FABIAN <mfabian@redhat.com>
6606 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
6607 and implement the collation rules for cs from CLDR on top of that.
6608 * Makefile: Add cs_CZ.UTF-8 to test-input.
6609 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
6611 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
6613 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
6615 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
6616 Icarus Sparry <icarus.w.sparry@intel.com>
6618 * benchtests/Makefile:Add BENCHSET to allow subsets of
6619 benchmarks to be run.
6620 * benchtests/README: Add documentation for: Running subsets of
6623 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
6625 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
6626 range of tests names.
6628 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
6629 result from property and remove "max", min" and "mean" from
6630 required properties based on benchtests/bench-skeleton.c.
6632 2017-11-28 Florian Weimer <fweimer@redhat.com>
6635 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
6636 due to Internet requirement.
6637 * posix/Makefile (tests): Remove tst-getaddrinfo4,
6639 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
6641 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6643 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6644 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
6645 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
6646 (sysdep_routines): Add memset-ultra1.
6647 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
6649 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
6650 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
6651 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
6652 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
6653 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
6654 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
6655 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
6656 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6658 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
6660 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
6661 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
6662 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
6663 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
6664 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
6665 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
6666 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
6668 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6669 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
6670 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
6671 (sysdep_routines): Add memcpy-ultra1.
6672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
6673 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
6675 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6677 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
6678 (cfloat_versions): Take function argument without trailing 'f'.
6679 Call libm_alias_float_other.
6680 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
6681 * sysdeps/alpha/fpu/cargf.c: Likewise.
6682 * sysdeps/alpha/fpu/cimagf.c: Likewise.
6683 * sysdeps/alpha/fpu/conjf.c: Likewise.
6684 * sysdeps/alpha/fpu/crealf.c: Likewise.
6685 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
6686 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6687 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
6688 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6689 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
6690 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6691 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6692 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6693 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
6694 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
6695 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
6696 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
6697 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6698 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6699 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
6700 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6701 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6702 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
6703 (clog10f): Use libm_alias_float_other.
6704 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
6705 (ceilf): Define using libm_alias_float.
6706 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
6707 (copysignf): Define using libm_alias_float.
6708 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
6709 (fabsf): Define using libm_alias_float.
6710 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
6711 (floorf): Define using libm_alias_float.
6712 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
6713 (fmaxf): Define using libm_alias_float.
6714 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
6715 (fminf): Define using libm_alias_float.
6716 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
6717 (lrintf): Define using libm_alias_float.
6718 (llrintf): Likewise.
6719 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
6720 (lroundf): Define using libm_alias_float.
6721 (llroundf): Likewise.
6722 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
6723 (rintf): Define using libm_alias_float.
6724 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
6725 (truncf): Define using libm_alias_float.
6727 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
6728 (ceilf): Define using libm_alias_float.
6729 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
6730 (floorf): Define using libm_alias_float.
6731 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
6732 (fmaf): Define using libm_alias_float.
6733 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
6734 (fmaxf): Define using libm_alias_float.
6735 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
6736 (fminf): Define using libm_alias_float.
6737 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
6738 (llrintf): Define using libm_alias_float.
6739 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
6740 (llroundf): Define using libm_alias_float.
6741 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
6742 (lrintf): Define using libm_alias_float.
6743 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
6744 (lroundf): Define using libm_alias_float.
6745 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
6746 <libm-alias-float.h>.
6747 (nearbyintf): Define using libm_alias_float.
6748 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
6749 (rintf): Define using libm_alias_float.
6750 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
6751 (roundf): Define using libm_alias_float.
6752 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
6753 (truncf): Define using libm_alias_float.
6755 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
6756 (ceil): Define using libm_alias_double.
6757 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
6758 (copysign): Define using libm_alias_double.
6759 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
6760 (fabs): Define using libm_alias_double.
6761 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
6762 (floor): Define using libm_alias_double.
6763 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
6764 (fmax): Define using libm_alias_double.
6765 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
6766 (fmin): Define using libm_alias_double.
6767 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
6768 (lrint): Define using libm_alias_double.
6770 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
6771 (lround): Define using libm_alias_double.
6772 (llround): Likewise.
6773 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
6774 (rint): Define using libm_alias_double.
6775 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
6776 (trunc): Define using libm_alias_double.
6778 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
6779 (libm_alias_double_r): Add semicolon after weak_alias call.
6781 2017-11-27 Joseph Myers <joseph@codesourcery.com>
6783 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
6784 (ceil): Define using libm_alias_double.
6785 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
6786 (floor): Define using libm_alias_double.
6787 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
6788 (fma): Define using libm_alias_double.
6789 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
6790 (fmax): Define using libm_alias_double.
6791 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
6792 (fmin): Define using libm_alias_double.
6793 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
6794 (llrint): Define using libm_alias_double.
6795 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
6796 (llround): Define using libm_alias_double.
6797 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
6798 (lrint): Define using libm_alias_double.
6799 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
6800 (lround): Define using libm_alias_double.
6801 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
6802 (nearbyint): Define using libm_alias_double.
6803 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
6804 (rint): Define using libm_alias_double.
6805 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
6806 (round): Define using libm_alias_double.
6807 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
6808 (trunc): Define using libm_alias_double.
6810 2017-11-27 Florian Weimer <fweimer@redhat.com>
6812 * sysdeps/unix/sysv/linux/mlock2.c: New file.
6813 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
6814 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
6815 (tests): Add tst-mlock2.
6816 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
6817 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
6818 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
6819 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
6820 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
6821 for mlock. Document mlock2.
6823 2017-11-27 Joseph Myers <joseph@codesourcery.com>
6825 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
6826 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
6828 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
6830 * sysdeps/x86/Makeconfig: New file.
6831 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
6832 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6833 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
6834 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6835 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6836 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6837 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
6839 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6840 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6841 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6842 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6843 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6844 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6845 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6846 * manual/math.texi (Mathematics): Document support for _Float64x.
6847 * math/Versions (GLIBC_2.27): Add _Float64x functions.
6848 * stdlib/Versions (GLIBC_2.27): Likewise.
6849 * wcsmbs/Versions (GLIBC_2.27): Likewise.
6850 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6851 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6852 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6853 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6854 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6855 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6856 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6857 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6858 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6859 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6860 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6865 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6866 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6867 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6868 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6869 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6870 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6873 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6874 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6875 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6877 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6878 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6880 2017-11-27 Andreas Schwab <schwab@suse.de>
6882 * elf/Makefile (dl-routines): Add dl-sort-maps.
6883 * elf/dl-sort-maps.c: New file.
6884 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
6885 (_dl_sort_maps): Declare.
6886 * elf/dl-fini.c (_dl_sort_fini): Remove.
6887 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
6888 * elf/dl-close.c (_dl_close_worker): Likewise.
6889 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
6891 * elf/dl-open.c (dl_open_worker): Likewise.
6893 2017-11-24 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
6896 using libm_alias_float128.
6897 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
6899 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
6901 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
6902 (setpayloadsigf128): Likewise.
6903 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
6905 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
6908 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
6909 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
6910 -mfloat128 to CFLAGS.
6912 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
6914 (CFLAGS-libm-test-support-float64x.c): New variable.
6915 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
6916 $(f128-loader-link) to gnulib-tests.
6918 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
6919 (libm_alias_float128_other_r): If
6920 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
6922 (libm_alias_float128_r): Add semicolon after weak_alias call.
6923 * sysdeps/generic/libm-alias-ldouble.h
6924 (libm_alias_ldouble_other_r_f128): New macro.
6925 (libm_alias_ldouble_other_r_f64x): Likewise.
6926 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
6927 and libm_alias_ldouble_other_r_f64x.
6928 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
6929 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
6930 (libm_alias_ldouble_other_r_f128): New macro.
6931 (libm_alias_ldouble_other_r_f64x): Likewise.
6932 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
6933 and libm_alias_ldouble_other_r_f64x.
6935 * stdlib/strfroml.c: Always include <stdlib.h>.
6936 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
6937 undefine as macro and define as weak alias.
6938 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
6939 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
6941 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
6942 Define and later undefine as macro and define as weak alias.
6944 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
6945 Define and later undefine as macro. Define as weak alias if
6947 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
6948 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6949 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
6950 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
6951 Define and later undefine as macro. Define as weak alias if
6953 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
6954 Define and later undefine as macro. Define as weak alias if
6956 * sysdeps/ieee754/float128/strtof128_l.c
6957 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
6958 Define and later undefine as macro. Define as weak alias if
6960 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
6961 Define and later undefine as macro. Define as weak alias if
6963 * sysdeps/ieee754/ldbl-128/strtold_l.c
6964 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6965 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6966 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6967 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6968 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
6969 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6970 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6971 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6972 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6973 * sysdeps/ieee754/ldbl-96/strtold_l.c
6974 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6975 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6976 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6977 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6979 * math/test-float64x.h: New file.
6980 * math/Makefile (type-float64x-yes): New variable.
6981 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
6983 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
6984 function-like macro.
6985 (min_of_type_): Likewise.
6986 (min_of_type_l): Likewise.
6987 (min_of_type_f128): Likewise.
6988 (min_of_type): Pass () as last argument of __MATH_TG.
6990 * stdlib/tst-strtod-round-skeleton.c
6991 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
6994 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
6995 for combinations of long double with _Float64 and _Float64x.
6997 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
6998 (__DECL_SIMD_cosf32): Likewise.
6999 (__DECL_SIMD_cosf64): Likewise.
7000 (__DECL_SIMD_cosf32x): Likewise.
7001 (__DECL_SIMD_cosf64x): Likewise.
7002 (__DECL_SIMD_cosf128x): Likewise.
7003 (__DECL_SIMD_sinf16): Likewise.
7004 (__DECL_SIMD_sinf32): Likewise.
7005 (__DECL_SIMD_sinf64): Likewise.
7006 (__DECL_SIMD_sinf32x): Likewise.
7007 (__DECL_SIMD_sinf64x): Likewise.
7008 (__DECL_SIMD_sinf128x): Likewise.
7009 (__DECL_SIMD_sincosf16): Likewise.
7010 (__DECL_SIMD_sincosf32): Likewise.
7011 (__DECL_SIMD_sincosf64): Likewise.
7012 (__DECL_SIMD_sincosf32x): Likewise.
7013 (__DECL_SIMD_sincosf64x): Likewise.
7014 (__DECL_SIMD_sincosf128x): Likewise.
7015 (__DECL_SIMD_logf16): Likewise.
7016 (__DECL_SIMD_logf32): Likewise.
7017 (__DECL_SIMD_logf64): Likewise.
7018 (__DECL_SIMD_logf32x): Likewise.
7019 (__DECL_SIMD_logf64x): Likewise.
7020 (__DECL_SIMD_logf128x): Likewise.
7021 (__DECL_SIMD_expf16): Likewise.
7022 (__DECL_SIMD_expf32): Likewise.
7023 (__DECL_SIMD_expf64): Likewise.
7024 (__DECL_SIMD_expf32x): Likewise.
7025 (__DECL_SIMD_expf64x): Likewise.
7026 (__DECL_SIMD_expf128x): Likewise.
7027 (__DECL_SIMD_powf16): Likewise.
7028 (__DECL_SIMD_powf32): Likewise.
7029 (__DECL_SIMD_powf64): Likewise.
7030 (__DECL_SIMD_powf32x): Likewise.
7031 (__DECL_SIMD_powf64x): Likewise.
7032 (__DECL_SIMD_powf128x): Likewise.
7034 * stdlib/Versions (libc): Move entries for wcstof128 and
7036 * wcsmbs/Versions (libc): ... here.
7037 Include <float128-abi.h>.
7039 2017-11-24 Florian Weimer <fweimer@redhat.com>
7041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7043 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
7044 <bits/mman-shared.h>.
7045 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
7047 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
7048 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
7049 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7050 <bits/mman-shared.h>.
7052 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7055 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
7056 posix_memalign/free.
7057 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
7059 2017-11-22 Mike FABIAN <mfabian@redhat.com>
7062 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
7063 and implement the collation rules for pl from CLDR on top of that.
7064 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
7065 of locales to be built for testing.
7066 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
7068 2017-11-23 Joseph Myers <joseph@codesourcery.com>
7070 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
7071 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
7072 libm_alias_ldouble_other.
7073 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
7074 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
7075 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
7076 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
7077 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
7078 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
7079 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
7080 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
7081 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
7082 libm_alias_ldouble_r.
7083 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
7084 libm_alias_ldouble_other.
7085 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
7087 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
7088 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
7089 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
7090 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
7091 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
7092 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
7093 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
7095 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
7096 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
7097 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
7099 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
7101 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
7102 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
7103 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
7105 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
7106 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
7107 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
7108 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
7109 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
7110 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
7111 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
7112 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
7113 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
7114 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
7115 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
7117 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
7118 libm_alias_ldouble_other.
7119 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
7120 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
7121 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
7123 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
7124 libm_alias_ldouble_other.
7125 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
7126 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
7127 * sysdeps/ia64/fpu/w_lgammal_main.c
7128 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
7129 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
7131 2017-11-23 Florian Weimer <fweimer@redhat.com>
7133 * malloc/malloc.c (tcache_thread_shutdown): Rename from
7134 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
7135 alike. Remove freeres marker.
7136 * malloc/arena.c (arena_thread_freeres): Call
7137 tcache_thread_shutdown.
7139 2017-11-23 Florian Weimer <fweimer@redhat.com>
7142 Export nscd hash function as __nss_hash.
7143 * include/nss.h (__nss_hash): Declare.
7144 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
7146 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
7147 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
7149 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
7150 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
7151 * nss/Makefiles (routines): Add nss_hash.
7152 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
7153 * nss/nss_hash.c: Rename from nis/nis_hash.c.
7154 (__nss_hash): Rename from __nis_hash. Define hidden alias.
7155 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
7157 2017-11-23 Florian Weimer <fweimer@redhat.com>
7160 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
7161 Return error code, not -1.
7162 * signal/tst-sigwait-eintr.c: New file.
7163 * signal/Makefile (tests): Add tst-sigwait-eintr.
7165 2017-11-23 Florian Weimer <fweimer@redhat.com>
7167 Linux: Add memfd_create system call wrapper
7168 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
7170 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7171 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
7172 [__USE_GNU] (memfd_create): Declare.
7173 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
7174 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
7175 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
7176 * sysdeps/unix/sysv/linux/**.abilist: Update.
7177 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
7179 2017-11-22 Joseph Myers <joseph@codesourcery.com>
7181 * localedata/gen-locale.sh: Fix typo in variable name.
7183 * resolv/res_debug.c (p_secstodate): Condition definition on
7184 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
7185 directly as __p_secstodate, and as a compat symbol. Do not use
7186 libresolv_hidden_def.
7187 * resolv/resolv.h (p_secstodate): Remove macro and function
7189 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
7191 * include/resolv.h (__p_secstodate): Do not use
7192 libresolv_hidden_proto.
7193 * resolv/Makefile (tests): Move tst-p_secstodate to ....
7194 (tests-internal): ... here.
7195 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
7196 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
7197 and declare and use __p_secstodate and use compat_symbol_reference
7199 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
7200 implementation returning 77.
7203 * resolv/res_debug.c: Include <libc-diag.h>.
7204 (p_secstodate): Assert time_t at least as wide as u_long. On
7205 overflow, use integer seconds since the epoch as output, or use
7206 "<overflow>" as output and set errno to EOVERFLOW if integer
7207 seconds since the epoch would be 14 or more characters.
7208 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
7210 * resolv/tst-p_secstodate.c: New file.
7211 * resolv/Makefile (tests): Add tst-p_secstodate.
7212 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
7214 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
7215 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7216 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
7218 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
7220 * posix/regcomp.c (init_word_char): Add comments.
7222 2017-11-22 Joseph Myers <joseph@codesourcery.com>
7225 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
7226 strlen to compute length of ut_user and set trailing NUL byte of
7229 2017-11-21 Mike FABIAN <mfabian@redhat.com>
7232 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
7233 using “copy "iso14651_t1"” and then implementing the
7234 collation rules for lv from CLDR on top of that.
7235 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
7236 of locales to be built for testing.
7237 * lv_LV.UTF-8.in: New file with test data to test the Latvian
7240 2017-11-21 Joseph Myers <joseph@codesourcery.com>
7242 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
7243 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
7244 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
7245 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
7246 [__USE_MISC] (MADV_HWPOISON): New macro.
7247 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
7249 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7251 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
7252 -Wmissing-braces on GCC 4.9.
7254 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7256 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
7257 * sysdeps/s390/s390-32/start.S (_start): Likewise
7258 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
7259 (thread_start): Likewise.
7260 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
7261 (thread_start): Likewise.
7262 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
7263 (__makecontext_ret): Likewise.
7264 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
7265 (__makecontext_ret): Likewise.
7267 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7269 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
7270 __wcschrnul): Remove attribute_hidden.
7272 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
7274 regex: don't assume uint64_t or uint32_t
7275 This avoids -Werror=overflow errors for 32-bit systems in
7276 the 64-bit case. Problem reported by Joseph Myers in:
7277 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
7278 Also, when this code is used in Gnulib it ports to platforms
7279 that lack uint64_t and uint32_t. The C standard doesn't guarantee
7280 them, and on some 32-bit compilers there is no uint64_t.
7281 Problem reported by Gianluigi Tiesi in:
7282 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
7283 * posix/regcomp.c (init_word_char): Don't assume that the types
7284 uint64_t and uint32_t exist. Adapted from Gnulib patch
7285 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
7286 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
7288 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
7290 * sysdeps/aarch64/memset-reg.h: New file.
7291 * sysdeps/aarch64/memset.S: Use it.
7292 (__memset): Rename to MEMSET macro.
7293 [ZVA_MACRO]: Use zva_macro.
7294 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7295 Add memset_generic and memset_falkor.
7296 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7297 (__libc_ifunc_impl_list): Add memset ifuncs.
7298 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
7299 local variable zva_size.
7300 * sysdeps/aarch64/multiarch/memset.c: New file.
7301 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
7302 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
7303 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
7304 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7305 (DCZID_DZP_MASK): New macro.
7306 (DCZID_BS_MASK): Likewise.
7307 (init_cpu_features): Read and set zva_size.
7308 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
7309 (struct cpu_features): New member zva_size.
7311 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
7312 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
7313 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
7315 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
7316 backwards. Fix timing computation.
7317 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
7318 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
7319 on memset by N at a time. Fix timing computation.
7321 2017-11-20 Florian Weimer <fweimer@redhat.com>
7323 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
7324 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
7326 2017-11-19 Florian Weimer <fweimer@redhat.com>
7328 manual: Document mprotect
7329 * manual/memory.texi (Memory Protection): New section.
7330 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
7331 documentation of PROT_* flags and reference the Memory Protection
7334 2017-11-19 Florian Weimer <fweimer@redhat.com>
7336 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
7337 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
7338 (Scatter-Gather): ... to here. Remove misleading comment.
7340 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
7342 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
7345 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
7346 when /proc/<pid>/setgroups does not exist.
7348 2017-11-18 Florian Weimer <fweimer@redhat.com>
7350 * sysdeps/unix/sysv/linux/tst-ttyname.c
7351 (become_root_in_mount_ns): Remove.
7352 (do_in_chroot_1): Call support_enter_mount_namespace.
7353 (do_in_chroot_2): Likewise.
7354 (do_test): Call support_become_root early.
7356 2017-11-18 Florian Weimer <fweimer@redhat.com>
7358 * support/namespace.h (support_enter_mount_namespace): Declare.
7359 * support/support_enter_mount_namespace.c: New file.
7360 * support/Makefile (libsupport-routines): Add
7361 support_enter_mount_namespace.
7363 2017-11-18 Florian Weimer <fweimer@redhat.com>
7365 * support/temp_file.c (support_create_temp_directory): Use
7366 test_dir and do not rely on the presence of the XXXXXX suffix.
7367 * support/temp_file.h (support_create_temp_directory): Update
7369 * support/tst-xreadlink.c (do_test): Adjust.
7370 * support/support_chroot.c (support_chroot_create): Likewise.
7372 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7374 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
7376 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
7379 2017-11-17 Joseph Myers <joseph@codesourcery.com>
7381 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
7382 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
7383 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
7384 (ceill): Define using libm_alias_ldouble.
7385 * sysdeps/x86_64/fpu/s_copysignl.S: Include
7386 <libm-alias-ldouble.h>.
7387 (copysignl): Define using libm_alias_ldouble.
7388 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
7389 (fabsl): Define using libm_alias_ldouble.
7390 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
7391 (floorl): Define using libm_alias_ldouble.
7392 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7393 (fmaxl): Define using libm_alias_ldouble.
7394 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7395 (fminl): Define using libm_alias_ldouble.
7396 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
7397 (llrintl): Define using libm_alias_ldouble.
7399 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
7400 <libm-alias-ldouble.h>.
7401 (nearbyintl): Define using libm_alias_ldouble.
7402 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
7403 (truncl): Define using libm_alias_ldouble.
7404 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
7405 <libm-alias-ldouble.h>.
7406 (lrintl): Define using libm_alias_ldouble.
7408 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
7409 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
7410 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
7411 (asinhl): Define using libm_alias_ldouble.
7412 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
7413 (atanl): Define using libm_alias_ldouble.
7414 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
7415 (cbrtl): Define using libm_alias_ldouble.
7416 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
7417 (ceill): Define using libm_alias_ldouble.
7418 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
7419 (copysignl): Define using libm_alias_ldouble.
7420 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
7421 (fabsl): Define using libm_alias_ldouble.
7422 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
7423 (floorl): Define using libm_alias_ldouble.
7424 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7425 (fmaxl): Define using libm_alias_ldouble.
7426 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7427 (fminl): Define using libm_alias_ldouble.
7428 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
7429 (frexpl): Define using libm_alias_ldouble.
7430 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
7431 (llrintl): Define using libm_alias_ldouble.
7432 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
7433 (logbl): Define using libm_alias_ldouble.
7434 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
7435 (lrintl): Define using libm_alias_ldouble.
7436 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
7437 (nearbyintl): Define using libm_alias_ldouble.
7438 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
7439 (nextafterl): Define using libm_alias_ldouble.
7440 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
7441 (remquol): Define using libm_alias_ldouble.
7442 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
7443 (rintl): Define using libm_alias_ldouble.
7444 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
7445 (truncl): Define using libm_alias_ldouble.
7446 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7447 (fmaxl): Define using libm_alias_ldouble.
7448 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7449 (fminl): Define using libm_alias_ldouble.
7451 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
7452 to C syntax instead of availability and properties of types.
7453 * bits/floatn.h [!__ASSEMBLER]: Likewise.
7454 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
7455 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
7456 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
7457 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
7458 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
7460 2017-11-17 Florian Weimer <fweimer@redhat.com>
7462 support_become_root: Enable file creation in namespaces.
7463 * support/support_become_root.c (setup_mapping): New function.
7464 (support_become_root): Call it.
7466 2017-11-17 Joseph Myers <joseph@codesourcery.com>
7468 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
7471 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7473 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
7474 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
7476 2017-11-16 Joseph Myers <joseph@codesourcery.com>
7478 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
7480 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7483 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7485 * INSTALL: Fix botched up regeneration.
7487 * NEWS: Update sourceare link to https.
7488 * configure.ac: Likewise.
7489 * crypt/md5test-giant.c: Likewise.
7490 * dlfcn/bug-atexit1.c: Likewise.
7491 * dlfcn/bug-atexit2.c: Likewise.
7492 * localedata/README: Likewise.
7493 * malloc/tst-mallocfork.c: Likewise.
7494 * manual/install.texi: Likewise.
7495 * nptl/tst-pthread-getattr.c: Likewise.
7496 * stdio-common/tst-fgets.c: Likewise.
7497 * stdio-common/tst-fwrite.c: Likewise.
7498 * sunrpc/Makefile: Likewise.
7499 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
7500 * wcsmbs/tst-mbrtowc2.c: Likewise.
7501 * configure: Regenerate.
7502 * INSTALL: Regenerate.
7504 2017-11-15 Martin Sebor <msebor@redhat.com>
7506 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
7507 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
7508 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
7510 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
7513 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
7514 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
7517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
7518 Defer is_pty check until end of the function.
7519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7522 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
7523 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
7524 (ttyname): Likewise.
7525 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
7526 (__ttyname_r): Likewise.
7528 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
7531 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
7533 * manual/terminal.texi (Is It a Terminal):
7534 Mention ENODEV for ttyname and ttyname_r.
7536 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7538 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
7541 * sysdeps/unix/sysv/linux/bits/mman-linux.h
7542 [__USE_MISC] (MADV_WIPEONFORK): New macro.
7543 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7544 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
7545 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7546 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7548 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7550 * signal/sigrelse.c (sigrelse): Optimize implementation.
7552 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
7553 (__sigpause): Rely on __sigsuspend to implement single thread
7554 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
7556 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7558 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7559 kernel version to 4.14.
7561 2017-11-15 Steve Ellcey <sellcey@cavium.com>
7564 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
7565 Check if ifname is too long.
7567 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
7569 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
7571 2017-11-15 Mike FABIAN <mfabian@redhat.com>
7573 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
7574 was accidentally lost.
7576 2017-11-15 Mike FABIAN <mfabian@redhat.com>
7578 * localedata/locales/az_IR: Add standard copyright header.
7580 2017-11-15 Florian Weimer <fweimer@redhat.com>
7583 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
7584 not just the top one. Output a new "subheaps" statistic.
7586 2017-11-15 Florian Weimer <fweimer@redhat.com>
7589 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
7590 under the per-arena lock.
7591 * malloc/Makefile (tests): Add tst-malloc_info.
7592 (tst-malloc_info): Link with libpthread.
7593 * malloc/tst-malloc_info.c: New file.
7595 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7598 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
7599 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
7600 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
7601 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
7602 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
7603 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
7604 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
7605 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
7606 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
7607 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
7608 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
7609 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
7610 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
7611 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
7612 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
7613 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
7614 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
7615 (__floating_type): Likewise.
7616 (__real_integer_type): Likewise.
7617 (__complex_integer_type): Likewise.
7618 (__expr_is_real): Likewise.
7619 (__tgmath_real_type_sub): Likewise.
7620 (__tgmath_real_type): Likewise.
7621 (__tgmath_complex_type_sub): Likewise.
7622 (__tgmath_complex_type): Likewise.
7623 (__TGMATH_F128): Likewise.
7624 (__TGMATH_CF128): Likewise.
7625 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
7627 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
7628 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
7630 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
7632 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
7633 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7634 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7635 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
7637 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7638 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
7640 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
7641 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
7642 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
7644 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
7645 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
7646 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
7650 2017-11-14 Joseph Myers <joseph@codesourcery.com>
7652 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
7653 for stpncpy calls for GCC 8.
7654 (test_strncat): Disable -Wstringop-truncation warning for strncat
7655 calls for GCC 8. Disable -Wstringop-overflow= warning for one
7656 strncat call for GCC 7.
7657 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
7659 (test_memcmp): Use memcpy instead of strncpy for calls not copying
7662 * string/bug-strncat1.c: Include <libc-diag.h>.
7663 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
7665 2017-11-13 Claude Paroz <claude@2xlibre.net>
7668 * localedata/locales/aa_DJ: Improved readibility by replacing
7669 <Uxxxx> sequences in the ASCII printable range by their ASCII
7670 character equivalents.
7671 * localedata/locales/aa_ER: Likewise.
7672 * localedata/locales/aa_ER@saaho: Likewise.
7673 * localedata/locales/aa_ET: Likewise.
7674 * localedata/locales/af_ZA: Likewise.
7675 * localedata/locales/agr_PE: Likewise.
7676 * localedata/locales/ak_GH: Likewise.
7677 * localedata/locales/am_ET: Likewise.
7678 * localedata/locales/anp_IN: Likewise.
7679 * localedata/locales/ar_AE: Likewise.
7680 * localedata/locales/ar_BH: Likewise.
7681 * localedata/locales/ar_DZ: Likewise.
7682 * localedata/locales/ar_EG: Likewise.
7683 * localedata/locales/ar_IN: Likewise.
7684 * localedata/locales/ar_IQ: Likewise.
7685 * localedata/locales/ar_JO: Likewise.
7686 * localedata/locales/ar_KW: Likewise.
7687 * localedata/locales/ar_LB: Likewise.
7688 * localedata/locales/ar_LY: Likewise.
7689 * localedata/locales/ar_MA: Likewise.
7690 * localedata/locales/ar_OM: Likewise.
7691 * localedata/locales/ar_QA: Likewise.
7692 * localedata/locales/ar_SA: Likewise.
7693 * localedata/locales/ar_SD: Likewise.
7694 * localedata/locales/ar_SS: Likewise.
7695 * localedata/locales/ar_SY: Likewise.
7696 * localedata/locales/ar_TN: Likewise.
7697 * localedata/locales/ar_YE: Likewise.
7698 * localedata/locales/as_IN: Likewise.
7699 * localedata/locales/ast_ES: Likewise.
7700 * localedata/locales/ayc_PE: Likewise.
7701 * localedata/locales/az_AZ: Likewise.
7702 * localedata/locales/az_IR: Likewise.
7703 * localedata/locales/be_BY: Likewise.
7704 * localedata/locales/be_BY@latin: Likewise.
7705 * localedata/locales/bem_ZM: Likewise.
7706 * localedata/locales/ber_DZ: Likewise.
7707 * localedata/locales/ber_MA: Likewise.
7708 * localedata/locales/bg_BG: Likewise.
7709 * localedata/locales/bhb_IN: Likewise.
7710 * localedata/locales/bho_IN: Likewise.
7711 * localedata/locales/bi_VU: Likewise.
7712 * localedata/locales/bn_BD: Likewise.
7713 * localedata/locales/bn_IN: Likewise.
7714 * localedata/locales/bo_CN: Likewise.
7715 * localedata/locales/bo_IN: Likewise.
7716 * localedata/locales/br_FR: Likewise.
7717 * localedata/locales/brx_IN: Likewise.
7718 * localedata/locales/bs_BA: Likewise.
7719 * localedata/locales/byn_ER: Likewise.
7720 * localedata/locales/ca_AD: Likewise.
7721 * localedata/locales/ca_ES: Likewise.
7722 * localedata/locales/ca_FR: Likewise.
7723 * localedata/locales/ca_IT: Likewise.
7724 * localedata/locales/ce_RU: Likewise.
7725 * localedata/locales/chr_US: Likewise.
7726 * localedata/locales/cmn_TW: Likewise.
7727 * localedata/locales/crh_UA: Likewise.
7728 * localedata/locales/cs_CZ: Likewise.
7729 * localedata/locales/csb_PL: Likewise.
7730 * localedata/locales/cv_RU: Likewise.
7731 * localedata/locales/cy_GB: Likewise.
7732 * localedata/locales/da_DK: Likewise.
7733 * localedata/locales/de_AT: Likewise.
7734 * localedata/locales/de_BE: Likewise.
7735 * localedata/locales/de_CH: Likewise.
7736 * localedata/locales/de_DE: Likewise.
7737 * localedata/locales/de_IT: Likewise.
7738 * localedata/locales/de_LI: Likewise.
7739 * localedata/locales/de_LU: Likewise.
7740 * localedata/locales/doi_IN: Likewise.
7741 * localedata/locales/dv_MV: Likewise.
7742 * localedata/locales/dz_BT: Likewise.
7743 * localedata/locales/el_CY: Likewise.
7744 * localedata/locales/el_GR: Likewise.
7745 * localedata/locales/en_AG: Likewise.
7746 * localedata/locales/en_AU: Likewise.
7747 * localedata/locales/en_BW: Likewise.
7748 * localedata/locales/en_CA: Likewise.
7749 * localedata/locales/en_DK: Likewise.
7750 * localedata/locales/en_GB: Likewise.
7751 * localedata/locales/en_HK: Likewise.
7752 * localedata/locales/en_IE: Likewise.
7753 * localedata/locales/en_IL: Likewise.
7754 * localedata/locales/en_IN: Likewise.
7755 * localedata/locales/en_NG: Likewise.
7756 * localedata/locales/en_NZ: Likewise.
7757 * localedata/locales/en_PH: Likewise.
7758 * localedata/locales/en_SG: Likewise.
7759 * localedata/locales/en_US: Likewise.
7760 * localedata/locales/en_ZA: Likewise.
7761 * localedata/locales/en_ZM: Likewise.
7762 * localedata/locales/en_ZW: Likewise.
7763 * localedata/locales/eo: Likewise.
7764 * localedata/locales/es_AR: Likewise.
7765 * localedata/locales/es_BO: Likewise.
7766 * localedata/locales/es_CL: Likewise.
7767 * localedata/locales/es_CO: Likewise.
7768 * localedata/locales/es_CR: Likewise.
7769 * localedata/locales/es_CU: Likewise.
7770 * localedata/locales/es_DO: Likewise.
7771 * localedata/locales/es_EC: Likewise.
7772 * localedata/locales/es_ES: Likewise.
7773 * localedata/locales/es_GT: Likewise.
7774 * localedata/locales/es_HN: Likewise.
7775 * localedata/locales/es_MX: Likewise.
7776 * localedata/locales/es_NI: Likewise.
7777 * localedata/locales/es_PA: Likewise.
7778 * localedata/locales/es_PE: Likewise.
7779 * localedata/locales/es_PR: Likewise.
7780 * localedata/locales/es_PY: Likewise.
7781 * localedata/locales/es_SV: Likewise.
7782 * localedata/locales/es_US: Likewise.
7783 * localedata/locales/es_UY: Likewise.
7784 * localedata/locales/es_VE: Likewise.
7785 * localedata/locales/et_EE: Likewise.
7786 * localedata/locales/eu_ES: Likewise.
7787 * localedata/locales/eu_ES@euro: Likewise.
7788 * localedata/locales/fa_IR: Likewise.
7789 * localedata/locales/ff_SN: Likewise.
7790 * localedata/locales/fi_FI: Likewise.
7791 * localedata/locales/fil_PH: Likewise.
7792 * localedata/locales/fo_FO: Likewise.
7793 * localedata/locales/fr_BE: Likewise.
7794 * localedata/locales/fr_CA: Likewise.
7795 * localedata/locales/fr_CH: Likewise.
7796 * localedata/locales/fr_FR: Likewise.
7797 * localedata/locales/fr_LU: Likewise.
7798 * localedata/locales/fur_IT: Likewise.
7799 * localedata/locales/fy_DE: Likewise.
7800 * localedata/locales/fy_NL: Likewise.
7801 * localedata/locales/ga_IE: Likewise.
7802 * localedata/locales/gd_GB: Likewise.
7803 * localedata/locales/gez_ER: Likewise.
7804 * localedata/locales/gez_ET: Likewise.
7805 * localedata/locales/gl_ES: Likewise.
7806 * localedata/locales/gu_IN: Likewise.
7807 * localedata/locales/gv_GB: Likewise.
7808 * localedata/locales/ha_NG: Likewise.
7809 * localedata/locales/hak_TW: Likewise.
7810 * localedata/locales/he_IL: Likewise.
7811 * localedata/locales/hi_IN: Likewise.
7812 * localedata/locales/hif_FJ: Likewise.
7813 * localedata/locales/hne_IN: Likewise.
7814 * localedata/locales/hr_HR: Likewise.
7815 * localedata/locales/hsb_DE: Likewise.
7816 * localedata/locales/ht_HT: Likewise.
7817 * localedata/locales/hu_HU: Likewise.
7818 * localedata/locales/hy_AM: Likewise.
7819 * localedata/locales/i18n: Likewise.
7820 * localedata/locales/ia_FR: Likewise.
7821 * localedata/locales/id_ID: Likewise.
7822 * localedata/locales/ig_NG: Likewise.
7823 * localedata/locales/ik_CA: Likewise.
7824 * localedata/locales/is_IS: Likewise.
7825 * localedata/locales/it_CH: Likewise.
7826 * localedata/locales/it_IT: Likewise.
7827 * localedata/locales/iu_CA: Likewise.
7828 * localedata/locales/ja_JP: Likewise.
7829 * localedata/locales/ka_GE: Likewise.
7830 * localedata/locales/kk_KZ: Likewise.
7831 * localedata/locales/kl_GL: Likewise.
7832 * localedata/locales/kn_IN: Likewise.
7833 * localedata/locales/ko_KR: Likewise.
7834 * localedata/locales/kok_IN: Likewise.
7835 * localedata/locales/ks_IN: Likewise.
7836 * localedata/locales/ks_IN@devanagari: Likewise.
7837 * localedata/locales/ku_TR: Likewise.
7838 * localedata/locales/kw_GB: Likewise.
7839 * localedata/locales/ky_KG: Likewise.
7840 * localedata/locales/lb_LU: Likewise.
7841 * localedata/locales/lg_UG: Likewise.
7842 * localedata/locales/li_BE: Likewise.
7843 * localedata/locales/li_NL: Likewise.
7844 * localedata/locales/lij_IT: Likewise.
7845 * localedata/locales/ln_CD: Likewise.
7846 * localedata/locales/lo_LA: Likewise.
7847 * localedata/locales/lt_LT: Likewise.
7848 * localedata/locales/lv_LV: Likewise.
7849 * localedata/locales/lzh_TW: Likewise.
7850 * localedata/locales/mag_IN: Likewise.
7851 * localedata/locales/mai_IN: Likewise.
7852 * localedata/locales/mg_MG: Likewise.
7853 * localedata/locales/mhr_RU: Likewise.
7854 * localedata/locales/mi_NZ: Likewise.
7855 * localedata/locales/mk_MK: Likewise.
7856 * localedata/locales/ml_IN: Likewise.
7857 * localedata/locales/mn_MN: Likewise.
7858 * localedata/locales/mni_IN: Likewise.
7859 * localedata/locales/mr_IN: Likewise.
7860 * localedata/locales/ms_MY: Likewise.
7861 * localedata/locales/mt_MT: Likewise.
7862 * localedata/locales/my_MM: Likewise.
7863 * localedata/locales/nan_TW: Likewise.
7864 * localedata/locales/nan_TW@latin: Likewise.
7865 * localedata/locales/nb_NO: Likewise.
7866 * localedata/locales/nds_DE: Likewise.
7867 * localedata/locales/nds_NL: Likewise.
7868 * localedata/locales/ne_NP: Likewise.
7869 * localedata/locales/nhn_MX: Likewise.
7870 * localedata/locales/niu_NU: Likewise.
7871 * localedata/locales/niu_NZ: Likewise.
7872 * localedata/locales/nl_AW: Likewise.
7873 * localedata/locales/nl_BE: Likewise.
7874 * localedata/locales/nl_NL: Likewise.
7875 * localedata/locales/nn_NO: Likewise.
7876 * localedata/locales/nr_ZA: Likewise.
7877 * localedata/locales/nso_ZA: Likewise.
7878 * localedata/locales/oc_FR: Likewise.
7879 * localedata/locales/om_ET: Likewise.
7880 * localedata/locales/om_KE: Likewise.
7881 * localedata/locales/or_IN: Likewise.
7882 * localedata/locales/os_RU: Likewise.
7883 * localedata/locales/pa_IN: Likewise.
7884 * localedata/locales/pa_PK: Likewise.
7885 * localedata/locales/pap_AW: Likewise.
7886 * localedata/locales/pap_CW: Likewise.
7887 * localedata/locales/pl_PL: Likewise.
7888 * localedata/locales/ps_AF: Likewise.
7889 * localedata/locales/pt_BR: Likewise.
7890 * localedata/locales/pt_PT: Likewise.
7891 * localedata/locales/quz_PE: Likewise.
7892 * localedata/locales/raj_IN: Likewise.
7893 * localedata/locales/ro_RO: Likewise.
7894 * localedata/locales/ru_RU: Likewise.
7895 * localedata/locales/ru_UA: Likewise.
7896 * localedata/locales/rw_RW: Likewise.
7897 * localedata/locales/sa_IN: Likewise.
7898 * localedata/locales/sat_IN: Likewise.
7899 * localedata/locales/sc_IT: Likewise.
7900 * localedata/locales/sd_IN: Likewise.
7901 * localedata/locales/sd_IN@devanagari: Likewise.
7902 * localedata/locales/se_NO: Likewise.
7903 * localedata/locales/sgs_LT: Likewise.
7904 * localedata/locales/shs_CA: Likewise.
7905 * localedata/locales/si_LK: Likewise.
7906 * localedata/locales/sid_ET: Likewise.
7907 * localedata/locales/sk_SK: Likewise.
7908 * localedata/locales/sl_SI: Likewise.
7909 * localedata/locales/sm_WS: Likewise.
7910 * localedata/locales/so_DJ: Likewise.
7911 * localedata/locales/so_ET: Likewise.
7912 * localedata/locales/so_KE: Likewise.
7913 * localedata/locales/so_SO: Likewise.
7914 * localedata/locales/sq_AL: Likewise.
7915 * localedata/locales/sq_MK: Likewise.
7916 * localedata/locales/sr_ME: Likewise.
7917 * localedata/locales/sr_RS: Likewise.
7918 * localedata/locales/sr_RS@latin: Likewise.
7919 * localedata/locales/ss_ZA: Likewise.
7920 * localedata/locales/st_ZA: Likewise.
7921 * localedata/locales/sv_FI: Likewise.
7922 * localedata/locales/sv_SE: Likewise.
7923 * localedata/locales/sw_KE: Likewise.
7924 * localedata/locales/sw_TZ: Likewise.
7925 * localedata/locales/szl_PL: Likewise.
7926 * localedata/locales/ta_IN: Likewise.
7927 * localedata/locales/ta_LK: Likewise.
7928 * localedata/locales/tcy_IN: Likewise.
7929 * localedata/locales/te_IN: Likewise.
7930 * localedata/locales/tg_TJ: Likewise.
7931 * localedata/locales/th_TH: Likewise.
7932 * localedata/locales/the_NP: Likewise.
7933 * localedata/locales/ti_ER: Likewise.
7934 * localedata/locales/ti_ET: Likewise.
7935 * localedata/locales/tig_ER: Likewise.
7936 * localedata/locales/tk_TM: Likewise.
7937 * localedata/locales/tl_PH: Likewise.
7938 * localedata/locales/tn_ZA: Likewise.
7939 * localedata/locales/to_TO: Likewise.
7940 * localedata/locales/tpi_PG: Likewise.
7941 * localedata/locales/tr_CY: Likewise.
7942 * localedata/locales/tr_TR: Likewise.
7943 * localedata/locales/ts_ZA: Likewise.
7944 * localedata/locales/tt_RU: Likewise.
7945 * localedata/locales/tt_RU@iqtelif: Likewise.
7946 * localedata/locales/ug_CN: Likewise.
7947 * localedata/locales/uk_UA: Likewise.
7948 * localedata/locales/unm_US: Likewise.
7949 * localedata/locales/ur_IN: Likewise.
7950 * localedata/locales/ur_PK: Likewise.
7951 * localedata/locales/uz_UZ: Likewise.
7952 * localedata/locales/uz_UZ@cyrillic: Likewise.
7953 * localedata/locales/ve_ZA: Likewise.
7954 * localedata/locales/vi_VN: Likewise.
7955 * localedata/locales/wa_BE: Likewise.
7956 * localedata/locales/wae_CH: Likewise.
7957 * localedata/locales/wal_ET: Likewise.
7958 * localedata/locales/wo_SN: Likewise.
7959 * localedata/locales/xh_ZA: Likewise.
7960 * localedata/locales/yi_US: Likewise.
7961 * localedata/locales/yo_NG: Likewise.
7962 * localedata/locales/yue_HK: Likewise.
7963 * localedata/locales/yuw_PG: Likewise.
7964 * localedata/locales/zh_CN: Likewise.
7965 * localedata/locales/zh_HK: Likewise.
7966 * localedata/locales/zh_SG: Likewise.
7967 * localedata/locales/zh_TW: Likewise.
7968 * localedata/locales/zu_ZA: Likewise.
7970 2017-11-13 Florian Weimer <fweimer@redhat.com>
7972 * support/next_to_fault.h, support/next_to_fault.c: New files.
7973 * support/Makefile (libsupport-routines): Add next_to_fault.
7974 * resolv/tst-inet_pton.c (struct next_to_fault)
7975 (next_to_fault_allocate, next_to_fault_free): Remove.
7976 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
7978 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
7980 * elf/dl-support.c: Include <dl-procruntime.c>.
7981 * include/link.h: Include <link_map.h>.
7982 * sysdeps/generic/dl-procruntime.c: New file.
7983 * sysdeps/generic/link_map.h: Likewise.
7984 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
7985 the writable ld.so namespace.
7987 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
7989 timezone: pacify GCC -Wstringop-truncation
7990 Problem reported by Martin Sebor in:
7991 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
7992 * timezone/zic.c (writezone): Use memcpy, not strncpy.
7994 2017-11-12 Florian Weimer <fweimer@redhat.com>
7996 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
7998 (tests): Add tst-xreadlink.
7999 * support/support.h (xstrndup): Declare.
8000 * support/xunistd.h (xunlink, xreadlink): Declare.
8001 * support/temp_file.h (support_create_temp_directory): Declare.
8002 * support/temp_file.c (support_create_temp_directory): New function.
8003 * support/support_chroot.c (support_chroot_create): Use it.
8004 * support/xreadlink.c: New file.
8005 * support/xstrndup.c: Likewise.
8006 * support/xunlink.c: Likewise.
8007 * support/tst-xreadlink.c: Likewise.
8009 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
8011 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
8013 2017-11-11 Florian Weimer <fweimer@redhat.com>
8017 * resolv/res_comp.c (printable_string, binary_hnok)
8018 (binary_leading_dash): New functions.
8019 (res_hnok): Reimplement using these functions and ns_name_pton.
8020 (res_ownok): Likewise.
8021 (res_mailok): Reimplement using printable_string, ns_name_pton and
8023 (res_dnok): Reimplement using printable_string and ns_name_pton.
8024 * resolv/tst-res_hnok.c (tests): Add additional tests.
8025 (LETTERDIGITS, PRINTABLE): Define.
8026 (do_test): Adjust one_char results.
8028 2017-11-11 Florian Weimer <fweimer@redhat.com>
8031 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
8032 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
8034 2017-11-11 Florian Weimer <fweimer@redhat.com>
8036 * resolv/tst-ns_name_pton.c: New file.
8037 * resolv/Makefile (tests): Add tst-ns_name_pton.
8038 (tst-ns_name_pton): Link against libresolv.
8040 2017-11-11 Florian Weimer <fweimer@redhat.com>
8042 * resolv/tst-res_hnok.c: New file.
8043 * resolv/Makefile (tests): Add tst-res_hnok.
8044 (tst-res_hnok): Link against libresolv.
8046 2017-11-11 Florian Weimer <fweimer@redhat.com>
8048 * resolv/tst-resolv-network.c: Use test framework instead explicit
8051 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
8053 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
8055 [!_ISOMAC] (STR_HELPER): New.
8056 [!_ISOMAC] (STR): Likewise.
8057 [!_ISOMAC] (TEST_SIZE): Likewise.
8058 [!_ISOMAC] (TEST_ALIGN): Likewise.
8059 [!_ISOMAC] (TEST_OFFSET): Likewise.
8060 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
8061 field offsets of jmp_buf as well as sigjmp_buf.
8062 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
8063 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
8064 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
8065 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
8066 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
8067 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
8068 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
8069 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
8070 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
8071 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
8073 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
8075 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
8080 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
8081 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
8082 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
8083 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
8084 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
8085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
8087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
8089 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
8090 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
8091 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
8093 2017-11-07 Joseph Myers <joseph@codesourcery.com>
8096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8097 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
8098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8099 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
8100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8101 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
8102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8103 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
8104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8105 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
8106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8107 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
8108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8109 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
8110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8111 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
8112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8113 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
8114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8115 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
8116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8117 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
8118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8119 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
8120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8121 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
8122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8123 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
8124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8125 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
8126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8127 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
8128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8129 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
8130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8131 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
8132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8133 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
8134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8135 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
8136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8137 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
8138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8139 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
8140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8141 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
8142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8143 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
8144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8145 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
8146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8147 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
8148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8149 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
8150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8151 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
8152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8153 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
8154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8155 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
8156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8157 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
8158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8159 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
8160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8161 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
8162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8163 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
8164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8165 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
8166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8167 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
8168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8169 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
8170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8171 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
8172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8173 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
8174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8175 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
8176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8177 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
8178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8179 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
8180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8181 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
8182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8183 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
8185 * stdlib/tst-strtod.h (F16): New macro.
8191 (IF_FLOAT16): Likewise.
8192 (IF_FLOAT32): Likewise.
8193 (IF_FLOAT64): Likewise.
8194 (IF_FLOAT32X): Likewise.
8195 (IF_FLOAT64X): Likewise.
8196 (IF_FLOAT128X): Likewise.
8197 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
8198 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
8199 (STRTOD_TEST_FOREACH): Likewise.
8200 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
8201 (CHOOSE_f64): Likewise.
8202 (CHOOSE_f32x): Likewise.
8203 (CHOOSE_f64x): Likewise.
8205 2017-11-07 Andreas Schwab <schwab@suse.de>
8207 * nptl/Makefile (tests-internal): Remove tst-typesizes.
8209 2017-11-07 Mike FABIAN <mfabian@redhat.com>
8212 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
8214 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
8217 2017-11-07 Claude Paroz <claude@2xlibre.net>
8220 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
8222 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
8224 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
8227 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8230 * nptl/allocatestack.c (allocate_stack): Check if
8231 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
8232 __PTHREAD_MUTEX_HAVE_PREV is defined.
8233 * nptl/descr.h (pthread): Likewise.
8234 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8236 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8237 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8238 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
8239 * sysdeps/nptl/bits/thread-shared-types.h
8240 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
8242 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
8243 of __WORDSIZE for internal layout.
8244 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
8245 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
8246 instead of __WORDSIZE whether to use an union for __spins and __list
8248 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
8250 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
8251 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
8253 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
8254 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8256 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
8257 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8259 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
8260 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8262 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
8263 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8265 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
8266 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8268 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
8269 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8271 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
8272 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8274 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
8275 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8277 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
8278 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8280 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
8281 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8283 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
8284 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8286 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
8287 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8289 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
8290 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8292 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
8293 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8296 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
8298 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
8299 checks for expected input type size.
8300 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8301 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8303 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8304 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
8305 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8306 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
8307 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8308 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
8309 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
8310 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
8311 superflous runtime assert check.
8312 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
8314 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
8316 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8318 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
8320 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
8322 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
8324 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
8325 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
8326 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8328 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8330 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8332 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
8334 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8336 * nptl/pthread_attr_setinheritsched.c
8337 (__pthread_attr_setinheritsched): Likewise.
8338 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
8340 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
8342 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
8343 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
8344 __old_pthread_attr_setstack): Likewise.
8345 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8347 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8349 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
8351 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8352 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8354 * nptl/tst-typesizes.c: Remove file.
8356 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
8357 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
8358 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
8359 checks for internal pthread_mutex_t offsets.
8360 * sysdeps/aarch64/nptl/pthread-offsets.h
8361 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
8362 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
8363 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
8364 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
8365 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
8366 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
8367 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
8368 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
8369 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
8370 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
8371 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
8372 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
8373 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
8374 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
8375 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
8376 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
8377 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
8378 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
8380 2017-11-07 Florian Weimer <fweimer@redhat.com>
8382 * bits/mman-linux.h: Move ...
8383 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
8385 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
8388 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8390 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
8391 Redefine STRNLEN as __strnlen_power8.
8393 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8395 * signal/sighold.c (sighold): Optimize implementation.
8397 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
8398 __NR_rt_sigqueueinfo.
8400 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8402 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
8403 assume __NR_rt_sigtimedwait.
8404 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
8405 and add LIBC_CANCEL_HANDLED for cancellation marking.
8406 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8408 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
8409 (sysdeps_routines): Add memchr_noneon.
8410 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
8411 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
8412 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
8413 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
8414 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
8415 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
8416 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
8418 * sysdeps/arm/arm-ifunc.h: New file.
8419 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
8420 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
8421 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
8422 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
8423 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
8424 (__memcpy_neon): Avoid create hidden alias.
8425 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
8426 (__memcpy_vfp): Likewise.
8427 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
8428 (sysdep_routines): Add memcpy_arm.
8429 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
8431 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
8434 * Makerules (make-link-multidir): New.
8435 * config.make.in (multidir): New.
8436 * configure.ac (libc_cv_multidir): New. AC_SUBST.
8437 * configure: Regenerated.
8438 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
8439 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
8440 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
8443 2017-11-06 Joseph Myers <joseph@codesourcery.com>
8446 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
8447 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
8449 2017-11-04 Mike FABIAN <mfabian@redhat.com>
8451 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
8454 2017-11-04 Florian Weimer <fweimer@redhat.com>
8456 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
8458 2017-11-03 Joseph Myers <joseph@codesourcery.com>
8460 * math/math.h [__HAVE_DISTINCT_FLOAT16
8461 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
8462 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
8463 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
8464 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
8465 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
8466 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
8467 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8468 (__MATH_TG_F32): New macro.
8469 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8470 (__MATH_TG_F64X): Likewise.
8471 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8472 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
8474 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
8476 * po/de.po: Update translations.
8477 * po/ru.po: Likewise.
8479 2017-11-03 Florian Weimer <fweimer@redhat.com>
8481 * manual/filesys.texi (Hard Links): Document linkat.
8483 2017-11-03 Joseph Myers <joseph@codesourcery.com>
8485 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
8486 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
8487 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
8488 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
8489 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
8490 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
8491 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
8492 the same as _Float128.
8493 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
8494 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
8495 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
8498 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
8500 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
8502 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
8504 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8505 (strtof32x): Likewise.
8506 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8507 (strtof64x): Likewise.
8508 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8509 (strtof128x): Likewise.
8510 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8511 (strfromf16): Likewise.
8512 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8513 (strfromf32): Likewise.
8514 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8515 (strfromf64): Likewise.
8516 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8517 (strfromf32x): Likewise.
8518 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8519 (strfromf64x): Likewise.
8520 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8521 (strfromf128x): Likewise.
8522 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
8523 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
8524 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
8525 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
8526 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
8527 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
8529 2017-11-03 Richard Henderson <rth@twiddle.net>
8531 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
8533 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8535 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
8537 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8539 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
8540 DT_TLSDESC_GOT initialization.
8541 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
8542 (_dl_tlsdesc_resolve_hold): Likewise.
8543 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
8544 (_dl_tlsdesc_resolve_hold): Likewise.
8545 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
8546 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
8548 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8550 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
8552 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8555 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
8556 non-lazily for R_ARM_TLS_DESC.
8558 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8561 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
8562 R_ARM_TLS_DESC case.
8563 (elf_machine_lazy_rel): Remove the prelink check.
8565 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8567 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
8568 DT_TLSDESC_GOT initialization.
8569 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
8570 (_dl_tlsdesc_resolve_rela): Likewise.
8571 (_dl_tlsdesc_resolve_hold): Likewise.
8572 (_dl_tlsdesc_undefweak): Remove ldar.
8573 (_dl_tlsdesc_dynamic): Likewise.
8574 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
8575 (_dl_tlsdesc_resolve_rela): Likewise.
8576 (_dl_tlsdesc_resolve_hold): Likewise.
8577 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
8578 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
8579 (_dl_tlsdesc_resolve_rela): Likewise.
8580 (_dl_tlsdesc_resolve_hold): Likewise.
8582 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8584 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
8585 binding and initialization non-lazily for R_AARCH64_TLSDESC.
8587 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8589 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
8590 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8592 2017-11-02 Joseph Myers <joseph@codesourcery.com>
8594 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
8596 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
8597 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
8598 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
8599 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
8600 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
8601 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
8602 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
8603 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
8604 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
8605 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
8606 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
8608 2017-11-02 Mike FABIAN <mfabian@redhat.com>
8611 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
8612 * localedata/locales/tpi_PG: Add standard header.
8614 2017-11-02 Florian Weimer <fweimer@redhat.com>
8616 test-errno-linux: quotactl can fail with EPERM in containers.
8617 * sysdeps/unix/sysv/linux/test-errno-linux.c
8618 (LIST, LIST_FORWARD): New macros.
8619 (check_error_in_list): New function.
8620 (test_wrp_rv): Accept list of permitted error codes.
8621 (test_wrp_rv2): Remove.
8622 (test_wrp): Call test_wrp_rv with list of error codes.
8623 (test_wrp2): Accept list of error codes.
8624 (do_test): Adjust. Allow EPERM for quotactl.
8626 2017-11-02 Florian Weimer <fweimer@redhat.com>
8628 * stdio-common/bug16.c (do_test): Use array_length.
8629 * stdio-common/errlist.c (_sys_nerr): Likewise.
8630 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
8631 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
8632 * stdio-common/psiginfo.c (psiginfo): Use array_length.
8633 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
8634 (do_test): Use array_length.
8635 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
8636 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
8637 * stdio-common/tst-printf-round.c (do_test): Likewise.
8638 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
8639 (CHECK): Use array_length.
8640 * stdio-common/tstdiomisc.c (t3, F): Likewise.
8641 * stdio-common/tstscanf.c (main): Likewise.
8642 * stdio-common/vfprintf.c (process_string_arg): Likewise.
8644 2017-11-02 Florian Weimer <fweimer@redhat.com>
8646 Add array_length and array_end macros.
8647 * include/array_length.h: New file.
8649 2017-11-02 Florian Weimer <fweimer@redhat.com>
8652 * posix/tst-glob-tilde.c (do_noescape): New variable.
8653 (one_test): Process it.
8654 (do_test): Set do_noescape. Add unescaping test case.
8656 2017-11-01 Joseph Myers <joseph@codesourcery.com>
8659 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
8660 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
8661 with appropriate macros defined and undefined.
8662 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
8663 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8664 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
8665 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8666 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
8667 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8668 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
8669 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8670 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
8671 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8674 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
8675 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
8676 that for long double. Do not condition define and undefine of
8677 _Mdouble_complex_ on [__CFLOAT128].
8679 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
8681 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
8682 of <sysdeps/generic/sysdep.h>.
8683 (ALIGNARG): Removed.
8684 (ASM_SIZE_DIRECTIVE): Likewise.
8687 (ENTRY_CHK): Likewise.
8688 (END_CHK): Likewise.
8689 (syscall_error): Likewise.
8691 (PSEUDO_END): Likewise.
8693 (atom_text_section): Likewise.
8694 * sysdeps/x86/sysdep.h: New file.
8695 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
8696 of <sysdeps/generic/sysdep.h>.
8697 (ALIGNARG): Removed.
8698 (ASM_SIZE_DIRECTIVE): Likewise.
8701 (ENTRY_CHK): Likewise.
8702 (END_CHK): Likewise.
8703 (syscall_error): Likewise.
8705 (PSEUDO_END): Likewise.
8707 (atom_text_section): Likewise.
8709 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
8711 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
8712 category of LC_CTYPE set to "i18n:2012".
8713 * localedata/locales/i18n_ctype: Regenerate.
8715 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
8717 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
8718 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
8719 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8720 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8722 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
8723 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
8724 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
8725 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
8727 2017-10-31 Joseph Myers <joseph@codesourcery.com>
8730 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
8732 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
8734 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
8736 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8737 (CMPLXF32X): Likewise.
8738 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8739 (CMPLXF64X): Likewise.
8740 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8741 (CMPLXF128X): Likewise.
8744 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
8745 (__MATH_EVAL_FMT2): Define to add 0.0f.
8747 2017-10-31 Alan Modra <amodra@gmail.com>
8749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
8751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
8752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
8753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
8756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
8757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
8758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
8759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
8760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
8761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
8764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
8765 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
8766 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
8767 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
8768 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
8769 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
8770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
8771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
8772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
8773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
8774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
8775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8776 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
8777 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
8778 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
8779 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
8780 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
8781 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8782 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8783 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
8784 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
8785 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
8786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
8787 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
8788 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
8789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
8790 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8791 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
8792 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
8793 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
8794 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
8795 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
8796 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
8797 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
8798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
8799 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
8800 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8801 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
8802 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
8803 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
8804 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
8805 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8806 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8807 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
8808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
8809 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
8810 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
8811 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8812 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
8813 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
8814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8815 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
8816 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
8817 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
8818 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
8819 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
8821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
8822 include sysdep.h and math_ldbl_opt.h.
8824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
8825 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
8826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
8828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
8829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
8830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
8831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
8832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
8833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
8834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
8835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
8836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
8837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
8838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
8839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
8840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
8841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
8842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
8843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
8845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
8846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
8847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
8848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
8849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
8851 2017-10-31 Alan Modra <amodra@gmail.com>
8853 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
8854 string/strncase_l.c, not string/strncase.c.
8855 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
8856 (libc_hidden_def): Redefine.
8858 2017-10-31 Alan Modra <amodra@gmail.com>
8860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
8861 (__STRCMP, STRCMP, __strcasecmp_l): Define.
8862 (__strcasecmp): Don't define.
8864 2017-10-31 Alan Modra <amodra@gmail.com>
8866 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
8868 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
8869 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
8870 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
8872 2017-10-31 Alan Modra <amodra@gmail.com>
8874 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
8877 2017-10-31 Alan Modra <amodra@gmail.com>
8879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
8880 Redefine only when SHARED.
8882 2017-10-30 Joseph Myers <joseph@codesourcery.com>
8884 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
8885 Include <bits/math-finite.h> with appropriate macros defined and
8887 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
8888 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
8889 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
8890 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
8891 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
8893 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
8894 [!_Mlong_double_] (_Mlong_double_): Likewise.
8895 [!_Mfloat16_] (_Mfloat16_): Likewise.
8896 [!_Mfloat32_] (_Mfloat32_): Likewise.
8897 [!_Mfloat64_] (_Mfloat64_): Likewise.
8898 [!_Mfloat128_] (_Mfloat128_): Likewise.
8899 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
8900 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
8901 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
8902 (_Mdouble_): Define without indirection through those macros.
8903 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
8904 [!_Mfloat128_] (_Mfloat128_): Likewise.
8905 [_Mlong_double_] (_Mlong_double_): Likewise.
8906 (_Mdouble_): Define without indirection through those macros.
8907 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
8908 not add -D_Mlong_double_=double.
8909 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
8910 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
8912 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8914 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
8916 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8918 * sysdeps/x86/libc-start.c: Reformat.
8920 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8923 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
8927 (L(Src2)): Likewise.
8928 (L(1)): Renamed to ...
8931 2017-10-30 Joseph Myers <joseph@codesourcery.com>
8933 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
8934 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
8935 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
8936 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
8937 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
8938 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
8939 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
8940 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
8941 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
8942 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
8943 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
8944 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
8945 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
8946 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
8947 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
8948 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
8949 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
8950 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
8951 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
8952 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
8953 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
8954 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
8955 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
8956 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
8957 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
8958 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
8959 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
8960 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
8961 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
8962 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
8963 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
8964 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
8965 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
8966 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
8967 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
8968 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
8969 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
8970 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
8971 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
8972 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
8973 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
8974 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
8975 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
8976 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
8977 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
8978 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
8979 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
8980 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
8981 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
8982 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
8983 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
8984 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
8985 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
8986 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
8987 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
8988 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
8989 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
8990 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
8991 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
8992 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
8993 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
8994 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
8995 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
8996 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
8997 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
8998 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
9000 2017-10-30 Florian Weimer <fweimer@redhat.com>
9002 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
9004 * io/tst-mkdirat.c (do_test): Likewise.
9005 * io/tst-mkfifoat.c (do_test): Likewise.
9006 * io/tst-mknodat.c (do_test): Likewise.
9007 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
9008 * locale/programs/locale.c (select_dirs): Likewise.
9009 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
9010 * posix/bug-glob2.c (my_readdir): Likewise.
9011 * posix/tst-dir.c (main): Likewise.
9012 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
9013 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
9015 2017-10-30 Florian Weimer <fweimer@redhat.com>
9017 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
9020 2017-10-30 Florian Weimer <fweimer@redhat.com>
9022 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
9023 Convert to support/test-driver.c.
9024 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
9025 New macro parameters.
9026 (PRINTF): Remove macro. Use test_verbose conditionals instead.
9027 * posix/tst-gnuglob.c: New file.
9028 * posix/tst-gnuglob64.c: Likewise.
9029 * posix/Makefile (tests): Add tst-gnuglob64.
9031 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
9034 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
9035 and use a better translation for March in “mon”.
9036 * localedata/locales/csb_PL: Use more ASCII to improve the
9037 readability of the source.
9039 2017-10-30 Mike FABIAN <mfabian@redhat.com>
9042 * localedata/locales/km_KH: Use ASCII as much
9043 as possible for better readability of the source and
9044 remove useless comments.
9045 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
9046 was commented out and apparently wrong anyway because it was
9047 using Lao characters. If Buddhist era should be used
9048 for km_KH, a native speaker should write the correct formaat
9050 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
9051 (According to CLDR, the first weekday for Cambodia is Sunday).
9052 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
9053 (These were using Lao characters which must be wrong. If we get
9054 the correct data from a native speaker, we could add it back, until
9055 then it is better not to have name_mr and name_mrs at all than
9058 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
9060 * locale/loadlocale.c: Correct size of
9061 _nl_value_type_LC_<category> arrays.
9063 2017-10-27 Joseph Myers <joseph@codesourcery.com>
9065 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
9066 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
9067 with appropriate macros defined and undefined.
9068 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
9069 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
9070 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
9071 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
9072 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
9074 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
9076 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
9079 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9081 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
9082 with lowercase letters to make it agree with CLDR.
9084 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9087 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
9088 first letters of yesstr and nostr in yesexpr and noexpr,
9089 not for the full words.
9090 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
9091 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
9092 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
9093 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
9094 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
9095 first letters of yesstr and nostr in yesexpr and noexpr,
9096 until now only English was matched in yesexpr and noexpr.
9097 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
9098 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
9099 fil but not for tl. As tl and fil are very similar, using fil
9100 is probably better than using English.
9102 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
9105 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
9106 in yesstr and nostr.
9108 2017-10-26 Joseph Myers <joseph@codesourcery.com>
9110 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
9111 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
9112 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
9114 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
9116 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
9118 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
9120 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9121 (SNANF128X): Likewise.
9123 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
9124 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
9125 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9126 (HUGE_VAL_F32): Likewise.
9127 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9128 (HUGE_VAL_F64): Likewise.
9129 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9130 (HUGE_VAL_F32X): Likewise.
9131 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9132 (HUGE_VAL_F64X): Likewise.
9133 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9134 (HUGE_VAL_F128X): Likewise.
9136 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
9138 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
9139 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
9140 for the br_FR locale.
9142 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
9145 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
9147 2017-10-25 Carlos O'Donell <carlos@redhat.com>
9149 * locale/programs/record-status.h: Define globals, and function
9150 prototypes. Move function bodies...
9151 * locale/programs/record-status.c: ... to here. New file.
9152 * iconv/Makefile (iconv_prog-modules): Add record-status.
9153 * locale/Makefile (lib-modules): Likewise.
9154 * iconv/iconv_prog.c: Remove verbose.
9155 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
9156 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
9157 record a warning about ASCII compatibility.
9158 * locale/programs/ld-monetary.c (monetary_finish): If
9159 warn_int_curr_symbol is true then record a warning about the symbol
9160 not being in our ISO 4217 list.
9161 * locale/programs/locale.c: Include record-status.h. Remove verbose.
9162 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
9163 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
9164 (OPT_NO_WARN): Define.
9166 (options): Add entry for --no-warnings, and --warnings.
9167 (set_warnings): New function to enable/disable warnings.
9168 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
9169 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
9170 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
9171 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
9172 Pass flags to generate_locale.
9173 (generate_locale): Accept new flag argument and pass it to localedef
9175 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
9176 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
9178 * localedata/Makefile (test-input-data): Use full file name.
9179 * localedata/da_DK.in: Rename to...
9180 * localedata/da_DK.ISO-8859-1.in: ...this.
9181 * localedata/de_DE.in: Rename to...
9182 * localedata/de_DE.ISO-8859-1.in: ...this.
9183 * localedata/en_US.in: Rename to...
9184 * localedata/en_US.ISO-8859-1.in: ...this.
9185 * localedata/fr_FR.in: Rename to...
9186 * localedata/fr_FR.UTF-8.in: ... this.
9187 * localedata/hr_HR.in: Rename to...
9188 * localedata/hr_HR.ISO-8859-2.in: ...this.
9189 * localedata/hu_HU.in: Rename to...
9190 * localedata/hu_HU.UTF-8.in: ...this.
9191 * localedata/si_LK.in: Rename to...
9192 * localedata/si_LK.UTF-8.in: ...this.
9193 * localedata/sv_SE.in: Rename to...
9194 * localedata/sv_SE.ISO-8859-1.in: ...this.
9195 * localedata/tr_TR.in: Rename to...
9196 * localedata/tr_TR.UTF-8.in: ...this.
9197 * localedata/uk_UA.in: Rename to...
9198 * localedata/uk_UA.UTF-8.in: ...this.
9199 * localedata/sort-test.sh: Test file is locale name with the
9202 * localedata/unicode-gen/Makefile (check_i18n): Rename to
9203 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
9205 * localedata/locales/i18n_ctype: Regenerate.
9206 * localedata/locales/tr_TR: Likewise.
9207 * localedata/locales/translit_circle: Likewise.
9208 * localedata/locales/translit_cjk_compat: Likewise.
9209 * localedata/locales/translit_combining: Likewise.
9210 * localedata/locales/translit_compat: Likewise.
9211 * localedata/locales/translit_font: Likewise.
9212 * localedata/locales/translit_fraction: Likewise.
9214 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9216 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
9217 lxvd2x/stxvd2x with lvx/stvx.
9218 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
9220 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
9222 * include/alloc_buffer.h: Replace "if if " with "if " in
9224 * sysdeps/mips/memcpy.S: Likkewise.
9225 * sysdeps/mips/memset.S: Likewise.
9226 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
9228 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
9230 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
9233 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9236 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
9238 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
9239 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
9240 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
9241 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
9242 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
9243 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
9244 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
9246 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9248 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
9249 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
9250 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
9251 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
9252 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
9253 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
9254 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
9255 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
9256 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
9257 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
9258 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
9259 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
9261 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9263 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
9264 as possible for better readability of the source.
9265 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
9266 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
9267 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
9268 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
9269 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
9270 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
9271 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
9272 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
9273 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
9274 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
9275 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
9276 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
9277 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
9278 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
9279 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
9280 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
9281 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
9282 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
9283 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
9284 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
9285 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
9286 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
9287 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
9288 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
9289 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
9290 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
9291 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
9292 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
9293 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
9294 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
9295 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
9296 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
9297 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
9298 * localedata/locales/en_US (LC_MESSAGES): Likewise.
9299 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
9300 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
9301 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
9302 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
9303 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
9304 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
9305 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
9306 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
9307 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
9308 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
9309 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
9310 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
9311 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
9312 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
9313 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
9314 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
9315 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
9316 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
9317 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
9318 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
9319 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
9320 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
9321 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
9322 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
9323 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
9324 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
9325 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
9326 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
9327 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
9328 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
9329 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
9330 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
9331 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
9332 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
9333 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
9334 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
9335 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
9336 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
9337 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
9338 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
9339 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
9340 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
9341 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
9342 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
9343 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
9344 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
9345 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
9346 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
9347 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
9348 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
9349 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
9350 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
9351 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
9352 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
9353 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
9354 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
9355 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
9356 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
9357 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
9358 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
9359 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
9360 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
9361 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
9362 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
9363 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
9364 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
9365 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
9366 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
9367 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
9368 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
9369 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
9370 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
9371 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
9372 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
9373 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
9374 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
9375 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
9376 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
9377 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
9378 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
9379 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
9380 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
9381 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
9382 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
9383 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
9384 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
9385 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
9386 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
9387 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
9388 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
9389 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
9390 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
9391 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
9392 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
9393 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
9394 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
9395 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
9396 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
9397 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
9398 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
9399 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
9400 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
9401 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
9402 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
9403 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
9404 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
9405 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
9406 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
9407 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
9408 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
9409 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
9410 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
9411 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
9412 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
9413 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
9414 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
9415 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
9416 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
9417 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
9418 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
9419 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
9420 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
9421 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
9422 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
9423 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
9424 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
9425 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
9426 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
9427 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
9428 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
9429 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
9430 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
9431 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
9432 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
9433 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
9434 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
9435 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
9436 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
9437 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
9438 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
9440 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9442 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
9443 (Use first letters of yesstr and nostr correctly instead of using
9446 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9448 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
9449 (Use first letters of yesstr and nostr correctly).
9451 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9453 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
9454 also check for the first characters of yesstr and nostr.
9455 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
9456 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
9458 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9460 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
9461 also check for Chinese characters.
9463 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9465 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
9466 match also for the contents of yesstr and nostr. As the first letter
9467 of yesstr and nostr is equal, checking only for the first letter
9470 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9472 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
9473 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
9475 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9477 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
9478 of main contributor.
9480 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9482 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
9483 instead of using English.
9485 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9487 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
9488 by including the first letters of nostr and yesexpr in the regexp.
9489 Also make it more readable by using ASCII where possible.
9491 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9493 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
9494 the first letter of nostr in the regexp. It agrees with CLDR now.
9495 Also make it more readable by using ASCII where possible.
9497 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9499 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
9500 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
9501 these strings contain a U+17D6 (which somewhat looks like a colon)
9502 instead of a real colon to separate the full words for “yes”
9503 and “no” from the single letter responses.
9505 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9507 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
9508 it agree with CLDR (include the first letter of yesstr).
9509 Also make it more readable by using ASCII where possible.
9511 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9513 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
9514 and improve yesexpr and noexpr. The yesstr and nostr apparently
9515 came from CLDR. And CLDR has a bug there: these strings contain
9516 a U+0903 (which looks like a colon) instead of a real colon
9517 to separate the full words for “yes” and “no” from the single
9520 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9522 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
9523 letters of the full yesstr and nostr in yesexpr and noexpr.
9525 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9527 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
9528 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
9529 * localedata/locales/an_ES: Make source more readable by using ASCII
9532 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9535 * localedata/locales/yuw_PG: New file.
9536 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
9537 * locale/iso-639.def: Add Yau (Uruwa).
9539 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9541 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
9543 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9545 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
9546 (__libc_realloc): Likewise.
9547 (_mid_memalign): Likewise.
9548 (__libc_calloc): Likewise.
9550 2017-10-23 Mike FABIAN <mfabian@redhat.com>
9552 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
9553 by adding the generic +1 and -0 as in all other locales.
9554 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
9555 day names and make it more readable by using ASCII where possible.
9557 2017-10-24 Joseph Myers <joseph@codesourcery.com>
9559 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
9560 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
9562 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9564 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
9565 WNOHANG in waitpid call.
9567 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9569 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
9570 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
9572 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
9573 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
9574 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
9575 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
9576 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
9577 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
9578 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
9579 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
9582 2017-10-23 Michael Collison <michael.collison@arm.com>
9584 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
9585 with __builtin_sqrt.
9586 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
9587 with __builtin_sqrtf.
9588 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
9589 with __builtin_ceil.
9590 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
9591 with __builtin_ceilf.
9592 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
9593 with __builtin_floor.
9594 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
9595 with __builtin_floorf.
9596 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
9598 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
9599 with __builtin_fmaf.
9600 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
9601 with __builtin_fmax.
9602 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
9603 with __builtin_fmaxf.
9604 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
9605 with __builtin_fmin.
9606 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
9607 with __builtin_fminf.
9608 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
9609 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
9610 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
9611 with builtin_rint and conversion to int.
9612 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
9613 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
9614 with builtin_llround.
9615 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
9616 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
9617 with builtin_rint and conversion to long int.
9618 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
9619 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
9620 with builtin_lround.
9621 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
9622 with builtin_lroundf.
9623 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
9624 statements with __builtin_nearbyint.
9625 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
9626 statements with __builtin_nearbyintf.
9627 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
9628 with __builtin_rint.
9629 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
9630 with __builtin_rintf.
9631 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
9632 with __builtin_round.
9633 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
9634 with __builtin_roundf.
9635 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
9636 with __builtin_trunc.
9637 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
9638 with __builtin_truncf.
9639 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
9640 and s_l[l]round[f].c too.
9642 2017-10-23 Alan Modra <amodra@gmail.com>
9644 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
9645 Adjust stack after restoring regs. Add missing LR cfi_restore.
9647 2017-10-23 Alan Modra <amodra@gmail.com>
9649 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
9650 Move LR save and frame setup/teardown and LR restore to
9651 immediately around memset call. Provide cfi.
9653 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9655 * sysdeps/i386/fpu/e_powf.S: Removed.
9656 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
9657 * sysdeps/i386/fpu/w_powf.c: Likewise.
9658 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
9659 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9660 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9662 (CFLAGS-e_powf-sse2.c): New.
9663 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
9664 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
9666 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9668 * sysdeps/i386/fpu/e_log2f.S: Removed.
9669 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
9670 * sysdeps/i386/fpu/w_log2f.c: Likewise.
9671 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
9672 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9673 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9675 (CFLAGS-e_log2f-sse2.c): New.
9676 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
9677 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
9679 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9681 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9683 (CFLAGS-e_powf-fma.c): New.
9684 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
9685 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
9687 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9689 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9691 (CFLAGS-e_log2f-fma.c): New.
9692 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
9693 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
9695 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9697 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9699 (CFLAGS-e_logf-fma.c): New.
9700 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
9701 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
9703 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9705 * sysdeps/i386/fpu/e_logf.S: Removed.
9706 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
9707 * sysdeps/i386/fpu/w_logf.c: Likewise.
9708 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
9709 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
9710 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9711 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9713 (CFLAGS-e_logf-sse2.c): New.
9714 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
9715 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
9717 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9719 * sysdeps/i386/fpu/e_exp2f.S: Removed.
9720 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
9721 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
9722 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9723 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9725 (CFLAGS-e_exp2f-sse2.c): New.
9726 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
9727 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
9729 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9733 (CFLAGS-e_exp2f-fma.c): New.
9734 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
9735 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
9737 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9739 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
9740 * sysdeps/i386/fpu/e_expf.S: Likewise.
9741 * sysdeps/i386/fpu/math_errf.c: Likewise.
9742 * sysdeps/i386/fpu/w_expf.c: Likewise.
9743 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
9744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9745 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
9746 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
9747 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9748 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9750 (CFLAGS-e_expf-sse2.c): New.
9751 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
9752 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
9754 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9756 * sysdeps/x86_64/fpu/e_expf.S: Removed.
9757 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
9758 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
9759 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
9761 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
9763 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
9764 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
9766 (__redirect_expf): This.
9767 (SYMBOL_NAME): Changed to expf.
9768 (__ieee754_expf): Renamed to ...
9770 (__GI___expf): This.
9771 (__ieee754_expf): Add strong_alias.
9772 (__expf_finite): Likewise.
9774 Include <sysdeps/ieee754/flt-32/e_expf.c>.
9776 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
9779 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
9782 2017-10-21 Florian Weimer <fweimer@redhat.com>
9784 * posix/Makefile (tests): Add tst-glob-tilde.
9785 (tests-special): Add tst-glob-tilde-mem.out
9786 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
9787 (tst-glob-tilde-mem.out): Add mtrace check.
9788 * posix/tst-glob-tilde.c: New file.
9790 2017-10-20 Joseph Myers <joseph@codesourcery.com>
9792 * bits/floatn-common.h: New file.
9793 * math/Makefile (headers): Add bits/floatn-common.h.
9794 * bits/floatn.h: Include <bits/floatn-common.h>.
9795 * sysdeps/ia64/bits/floatn.h: Likewise.
9796 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
9797 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
9798 * sysdeps/powerpc/bits/floatn.h: Likewise.
9799 * sysdeps/x86/bits/floatn.h: Likewise.
9801 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9803 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
9804 indicates whether compiler emits an warning for alias for
9805 functions with incompatible types.
9808 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
9809 the auxiliary process is terminated by a signal before calling _exit
9812 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9815 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
9817 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
9818 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
9819 and bit_arch_XSAVEC_Usable if needed.
9820 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
9821 and bit_arch_Use_dl_runtime_resolve_opt.
9822 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9824 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9825 (bit_arch_Prefer_No_AVX512): Updated.
9826 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
9827 (bit_arch_XSAVEC_Usable): New.
9828 (STATE_SAVE_OFFSET): Likewise.
9829 (STATE_SAVE_MASK): Likewise.
9830 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
9831 (cpu_features): Add xsave_state_size and xsave_state_full_size.
9832 (index_arch_Use_dl_runtime_resolve_opt): Removed.
9833 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9834 (index_arch_XSAVEC_Usable): New.
9835 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9836 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
9837 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
9839 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
9840 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
9841 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
9842 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
9843 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
9844 _dl_runtime_resolve_xsavec.
9845 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
9847 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
9848 instead of VEC_SIZE.
9849 (REGISTER_SAVE_BND0): Removed.
9850 (REGISTER_SAVE_BND1): Likewise.
9851 (REGISTER_SAVE_BND3): Likewise.
9852 (REGISTER_SAVE_RAX): Always defined to 0.
9854 (_dl_runtime_resolve_avx): Likewise.
9855 (_dl_runtime_resolve_avx_slow): Likewise.
9856 (_dl_runtime_resolve_avx_opt): Likewise.
9857 (_dl_runtime_resolve_avx512): Likewise.
9858 (_dl_runtime_resolve_avx512_opt): Likewise.
9859 (_dl_runtime_resolve_sse): Likewise.
9860 (_dl_runtime_resolve_sse_vex): Likewise.
9862 (_dl_runtime_resolve_fxsave): Likewise.
9863 (USE_XSAVE): Likewise.
9864 (_dl_runtime_resolve_xsave): Likewise.
9865 (USE_XSAVEC): Likewise.
9866 (_dl_runtime_resolve_xsavec): Likewise.
9867 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
9869 (_dl_runtime_resolve_avx512_opt): Likewise.
9870 (_dl_runtime_resolve_avx): Likewise.
9871 (_dl_runtime_resolve_avx_opt): Likewise.
9872 (_dl_runtime_resolve_sse): Likewise.
9873 (_dl_runtime_resolve_sse_vex): Likewise.
9874 (_dl_runtime_resolve_fxsave): New.
9875 (_dl_runtime_resolve_xsave): Likewise.
9876 (_dl_runtime_resolve_xsavec): Likewise.
9878 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
9882 * posix/glob.c (__glob): Fix one-byte overflow.
9884 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
9886 * malloc/malloc.c (sysdep-cancel.h): Add include.
9888 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
9890 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
9892 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
9894 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
9895 (tests): Remove $(objpfx)ga_test depdendency.
9896 * resolv/ga_test.c: Remove file.
9898 2017-10-20 Mike FABIAN <mfabian@redhat.com>
9901 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
9902 * localedata/locales/kab_DZ: New file.
9904 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9906 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
9907 _dl_relocate_static_pie instead of _dl_start to compute load
9908 address in static PIE.
9910 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9912 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
9914 2017-10-20 Mike FABIAN <mfabian@redhat.com>
9917 * localedata/SUPPORTED: Add shn_MM/UTF-8.
9918 * localedata/locales/shn_MM: New file.
9920 2017-10-20 Florian Weimer <fweimer@redhat.com>
9923 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
9924 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
9925 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
9926 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
9927 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
9928 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
9930 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
9932 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9934 2017-10-19 Joseph Myers <joseph@codesourcery.com>
9936 * sysdeps/mips/ieee754/bits/floatn.h: New file.
9939 * sysdeps/mips/bits/long-double.h: Move to ....
9940 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
9942 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
9944 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
9946 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
9947 H.J. Lu <hongjiu.lu@intel.com>
9950 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9951 GLRO(dl_platform) to NULL.
9952 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
9953 (modules-names): Add tst-platformmod-1 and
9954 x86_64/tst-platformmod-2.
9955 (CFLAGS-tst-platform-1.c): New.
9956 (CFLAGS-tst-platformmod-1.c): Likewise.
9957 (CFLAGS-tst-platformmod-2.c): Likewise.
9958 (LDFLAGS-tst-platformmod-2.so): Likewise.
9959 ($(objpfx)tst-platform-1): Likewise.
9960 ($(objpfx)tst-platform-1.out): Likewise.
9961 (tst-platform-1-ENV): Likewise.
9962 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
9963 * sysdeps/x86_64/tst-platform-1.c: New file.
9964 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
9965 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
9967 2017-10-19 Mike FABIAN <mfabian@redhat.com>
9970 * locale/iso-639.def: Add Karbi.
9971 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
9972 * localedata/locales/mjw_IN: New file.
9974 2017-10-18 Joseph Myers <joseph@codesourcery.com>
9976 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
9977 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
9978 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
9979 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
9980 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
9981 (libm_alias_ldouble_other_r): Also create _Float128 alias.
9982 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
9984 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
9985 (libm_alias_ldouble_other_r): Also create _Float128 alias.
9986 * manual/math.texi (Mathematics): Document additional architecture
9987 support for _Float128.
9988 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
9989 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9990 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9991 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9992 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9994 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9998 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10000 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10001 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10002 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10004 2017-10-18 Renlin Li <renlin.li@arm.com>
10006 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
10007 _DYNAMIC symbol to calculate load address.
10009 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
10011 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
10012 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
10014 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
10015 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
10017 2017-10-18 Mike FABIAN <mfabian@redhat.com>
10020 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
10021 and improve readability by using more ASCII.
10022 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
10023 and improve readability by using more ASCII.
10025 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
10027 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
10028 not all targets support atomics on bool.
10030 2017-10-17 Joseph Myers <joseph@codesourcery.com>
10032 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
10033 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
10035 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10036 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
10037 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10038 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
10039 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10040 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
10042 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10044 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
10047 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10050 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
10051 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
10052 (do_check_remalloced_chunk): Fix build bug.
10053 (do_check_malloc_state): Add assert that checks arena->top.
10054 (malloc_consolidate): Remove initialization.
10055 (int_mallinfo): Remove call to malloc_consolidate.
10056 (__libc_mallopt): Clarify why malloc_consolidate is needed.
10058 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10060 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
10061 (have_fastchunks): Remove.
10062 (clear_fastchunks): Remove.
10063 (set_fastchunks): Remove.
10064 (malloc_state): Add have_fastchunks.
10065 (malloc_init_state): Use have_fastchunks.
10066 (do_check_malloc_state): Remove incorrect invariant checks.
10067 (_int_malloc): Use have_fastchunks.
10068 (_int_free): Likewise.
10069 (malloc_consolidate): Likewise.
10071 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10073 * malloc/malloc.c (tcache_put): Inline.
10074 (tcache_get): Inline.
10076 2017-10-17 Jordi Mallach <jordi@gnu.org>
10078 Aurelien Jarno <aurelien@aurel32.net>
10080 * localedata/locales/ca_ES@valencia: New file.
10081 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
10083 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
10086 * math/math.h: Let signbit use the builtin in C++ mode with gcc
10089 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10091 * scripts/build-many-glibcs.py (Context.add_all_configs):
10092 Add arm-linux-gnueabihf multiarch extra_glibcs.
10094 * sysdeps/generic/ifunc-init.h: New file.
10095 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
10097 2017-10-17 Mike FABIAN <mfabian@redhat.com>
10100 * localedata/locales/el_GR: Set n_cs_precedes to 0.
10101 * localedata/locales/el_CY: copy "el_GR" because it is identical.
10102 * stdlib/tst-strfmon_l.c: adapt test case.
10104 2017-10-16 Joseph Myers <joseph@codesourcery.com>
10106 * sysdeps/generic/float128-abi.h: New file.
10107 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
10108 non-__prefixed symbols to ....
10109 * math/Versions: ... here. Include <float128-abi.h>.
10110 * stdlib/Versions ... and here. Include <float128-abi.h>
10112 2017-10-16 Florian Weimer <fweimer@redhat.com>
10114 * version.h (VERSION): Switch to ".9000" as the development
10117 2017-10-16 Florian Weimer <fweimer@redhat.com>
10120 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
10121 compat_symbol_reference to access non-default version.
10123 2017-10-16 Florian Weimer <fweimer@redhat.com>
10125 * malloc/Makefile (others-extras): Set to mcheck-init.o.
10127 2017-10-16 Carlos O'Donell <carlos@redhat.com>
10129 * include/shlib-compat.h (compat_symbol_reference): Update
10132 2017-10-16 Joseph Myers <joseph@codesourcery.com>
10134 * math/Makefile (test-types): Add
10135 $(type-float128-$(float128-alias-fcts)).
10136 * math/test-float128.h (TYPE_STR): Define conditional on
10137 [FLT128_MANT_DIG == LDBL_MANT_DIG].
10138 (ULP_IDX): Likewise.
10139 (ULP_I_IDX): Likewise.
10141 * stdlib/strtold.c: Include <bits/floatn.h>
10142 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
10143 and later undefine as macro. Define as weak alias if
10145 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
10146 and later undefine as macro. Define as weak alias if
10148 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
10149 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
10150 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
10151 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
10152 Define and later undefine as macro. Define as weak alias if
10154 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
10156 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
10157 Define and later undefine as macro. Define as weak alias if
10159 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
10160 Define and later undefine as macro. Define as weak alias if
10163 2017-10-15 Carlos O'Donell <carlos@redhat.com>
10165 * localedata/collate-test.c (allocate_arrays): Don't use \n in
10166 record_verbose messages.
10168 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
10171 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
10172 to silence -O3 -Wall warning with GCC 7.
10174 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
10176 * Makeconfig (+link-static-before-libc): Use the first of
10177 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
10178 * gmon/Makefile (tests): Add tst-gmon-static.
10179 (tests-static): Likewise.
10180 (CFLAGS-tst-gmon-static.c): New.
10181 (CRT-tst-gmon-static): Likewise.
10182 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
10183 (tst-gmon-static-ENV): Likewise.
10184 (tests-special): Likewise.
10185 ($(objpfx)tst-gmon-static.out): Likewise.
10186 (clean-tst-gmon-static-data): Likewise.
10187 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
10188 * gmon/tst-gmon-static-gprof.sh: New file.
10189 * gmon/tst-gmon-static.c: Likewise.
10191 2017-10-13 Carlos O'Donell <carlos@redhat.com>
10194 * locale/programs/linereader.c (get_string): Don't warn on
10195 non-symbolic character.
10198 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
10202 * locale/programs/record-status.h: New file
10203 * locale/programs/locale.c: Add comment.
10204 * locale/programs/charmap-dir.c: Don't include error.h.
10205 (charmap_opendir): Use record_error.
10206 * locale/programs/charmap.c: Don't include error.h.
10207 (charmap_read): Use record_error, and record_warning.
10208 (parse_charmap): Likewise.
10209 * locale/programs/ld-address.c: Don't include error.h.
10210 (address_finish): Use record_error, and record_warning.
10211 * locale/programs/ld-collate.c: Don't include error.h.
10212 (collate_finish): Use record_error, and record_error_at_line.
10213 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
10214 (ctype_class_new): Likewise.
10215 (ctype_map_new): Likewise.
10216 (set_one_default): Likewise.
10217 (set_class_defaults): Likewise.
10218 (translit_flatten): Likewise.
10219 (allocate_arrays): Use record_error, and record_verbose.
10220 * locale/programs/ld-identification.c: Don't include error.h.
10221 (indentation_finish): Use record_error and record_warning.
10222 * locale/programs/ld-measurement.c: Don't include error.h.
10223 (measurement_finish): Use record_error.
10224 * locale/programs/ld-messages.c
10225 (message_finish): Likewise.
10226 * locale/programs/ld-monetary.c
10227 (monetary_finish): Likewise.
10228 * locale/programs/ld-name.c (name_finish): Use record_error
10229 and record_warning.
10230 * locale/programs/ld-numeric.c
10231 (numeric_finish): Use record_error.
10232 * locale/programs/ld-paper.c: Don't include error.h.
10233 (paper_finish): Use record_error.
10234 * locale/programs/ld-telephone.c: Don't include error.h.
10235 (telephone_finish): Use record_error.
10236 * locale/programs/ld-time.c (time_finish): Likewise.
10237 * locale/programs/linereader.h (lr_error): Make inline func.
10238 * locale/programs/localedef.c: Define recorded_warning_count,
10239 and recorded_error_count.
10240 (main): Use record_error. Use recorded_error_count and
10241 recorded_warning_count to issue correct error returns.
10242 (add_to_readlist): Use record_error.
10243 (find_locale): Likewise.
10244 (load_locale): Likewise.
10245 * locale/programs/localedef.h: Remove be_quiet
10246 and WITH_CUR_LOCALE.
10247 * locale/programs/locarchive.c (compare_from_file): Use
10249 * locale/programs/locfile.c (write_locale_data): Use
10251 * locale/programs/repertoire.c: Dont include error.h.
10252 (repertoire_complain): Use record_error.
10253 * localedata/tst-fmon.sh: Expect failures from localedef.
10254 * localedata/tst-locale.sh: Likewise.
10255 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
10257 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
10258 (REPORTS): Likewise.
10260 (i18n): Rename to...
10261 (i18n_ctype): ...this.
10262 (i18n-report): Rename to...
10263 (i18n_ctype-report): ...this.
10264 * localedata/locales/i18n_ctype: Regenerate.
10265 * localedata/locales/i18n: copy i18n_ctype.
10267 2017-10-13 Joseph Myers <joseph@codesourcery.com>
10269 * stdlib/strfroml.c: Include <bits/floatn.h>.
10270 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
10271 Define before include of <stdlib.h> and undefine afterwards, then
10272 define as weak alias.
10274 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
10275 Undefine and restore default definition. Use
10276 libm_alias_ldouble_other.
10278 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
10281 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
10284 2017-10-13 James Clarke <jrtc27@jrtc27.com>
10286 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10287 Assign sym_map to be map for local symbols, as TLS relocations
10288 use sym_map to determine whether the symbol is defined and to
10289 extract the TLS information.
10290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10291 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10293 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10296 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
10297 (math_force_eval): Add powerpc version.
10300 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
10302 (do_test): Likewise.
10303 * stdio-common/tst-printf.sh: Likewise.
10304 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
10305 ifdef clause in order to set the carry bit right. Replace r0 by
10306 0 without changing the behavior.
10308 2017-10-13 Joseph Myers <joseph@codesourcery.com>
10310 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
10311 <libm-alias-ldouble.h>.
10312 (fabsl): Define using libm_alias_ldouble.
10313 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
10314 <libm-alias-ldouble.h>.
10315 (fabsl): Define using libm_alias_ldouble.
10317 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
10318 Remove conditional code.
10320 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
10321 Rename to __clog10_internal_l.
10322 (__clog10_internal_l): Define aliases using
10323 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
10326 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10328 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
10329 * benchtests/sincosf-inputs: New file.
10330 * benchtests/cosf-inputs: New file.
10331 * benchtests/sinf-inputs: New file.
10333 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10335 * posix/tst-spawn.c (do_test): Wait for both children.
10337 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
10340 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
10341 tests-pie): Add tst-gmon-pie.
10342 (CFLAGS-tst-gmon-pie.c): New.
10343 (CRT-tst-gmon-pie): Likewise.
10344 (tst-gmon-pie-ENV): Likewise.
10345 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
10346 ($(objpfx)tst-gmon-pie.out): Likewise.
10347 (clean-tst-gmon-pie-data): Likewise.
10348 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
10349 * gmon/gmon.c [PIC]: Include <link.h>.
10350 [PIC] (callback): New function.
10351 (write_hist): Add an argument for load address. Subtract load
10353 (write_call_graph): Likewise.
10354 (write_gmon): Call __dl_iterate_phdr to get load address, pass
10355 it to write_hist and write_call_graph.
10356 * gmon/tst-gmon-pie.c: New file.
10358 2017-10-11 Joseph Myers <joseph@codesourcery.com>
10360 * math/Makefile (test-types-basic): New variable.
10361 (test-types): Likewise.
10362 (libm-test-support): Use $(test-types) instead of $(types).
10363 (libm-tests-base-normal): Likewise.
10364 (libm-tests-base-finite): Likewise.
10365 (libm-tests-base-inline): Likewise.
10366 (generated): Likewise.
10367 ($(objpfx)libm-test-support-$(t).c): Likewise.
10368 (libm-tests-for-type iterator): Likewise.
10369 (libm-test-support iterator): Likewise.
10370 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
10371 (ulp_idx): Use ULP_IDX.
10372 * math/test-ldouble.h: Include <float.h>.
10373 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
10374 (ULP_IDX): New macro.
10375 (ULP_I_IDX): Likewise.
10376 * math/test-double.h (ULP_IDX): Likewise.
10377 (ULP_I_IDX): Likewise.
10378 * math/test-float.h (ULP_IDX): Likewise.
10379 (ULP_I_IDX): Likewise.
10380 * math/test-float128.h (ULP_IDX): Likewise.
10381 (ULP_I_IDX): Likewise.
10383 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10385 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
10386 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10387 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10388 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
10389 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10390 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
10392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10394 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10395 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
10396 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10397 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10399 (SINGLE_THREAD_BY_GLOBAL): Define.
10400 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10402 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10404 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10406 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10408 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
10409 (SINGLE_THREAD_BY_GLOBAL): Likewise.
10410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10413 2017-10-11 Andreas Schwab <schwab@suse.de>
10415 * nis/Makefile (aux): Remove.
10416 * nscd/Makefile (aux): Add nscd_hash.
10417 (nscd-modules): Likewise.
10418 ($(objpfx)nscd): Don't depend on libnsl.
10419 * nscd/nscd_hash.c: New file.
10420 * nscd/nscd_hash.h: Likewise.
10421 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
10422 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
10423 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
10424 instead of <nis/rpcsvc/nis.h>.
10425 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
10427 2017-10-11 Florian Weimer <fweimer@redhat.com>
10430 Avoid large NSS buffers with many addresses, aliases.
10431 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
10432 using dynarrays and struct alloc_buffer.
10433 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
10434 (tst-nss-files-hosts-multi): Link with -ldl.
10435 * nss/tst-nss-files-hosts-multi.c: New file.
10437 2017-10-11 Florian Weimer <fweimer@redhat.com>
10440 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
10441 scratch_buffer. Eliminate gotos.
10443 2017-10-11 Joseph Myers <joseph@codesourcery.com>
10445 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
10446 libm_alias_ldouble_other.
10447 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
10448 undefine and redefine.
10449 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
10450 (exp10l): Do not define here.
10451 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
10452 (weak_alias): Undefine and redefine.
10453 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
10454 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
10455 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
10456 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
10458 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
10459 [!__fma] (fma): Define using libm_alias_double.
10460 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
10461 [!__fmaf] (fmaf): Define using libm_alias_float.
10462 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
10463 (fmal): Define using libm_alias_ldouble.
10465 2017-10-10 Joseph Myers <joseph@codesourcery.com>
10467 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
10469 (libm_alias_double_other): Likewise.
10470 (libm_alias_double_r): Use libm_alias_double_other_r.
10471 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
10473 (libm_alias_float_other): Likewise.
10474 (libm_alias_float_r): Use libm_alias_float_other_r.
10475 * sysdeps/generic/libm-alias-float128.h
10476 (libm_alias_float128_other_r): New macro.
10477 (libm_alias_float128_other): Likewise.
10478 (libm_alias_float128_r): Use libm_alias_float128_other_r.
10479 * sysdeps/generic/libm-alias-ldouble.h
10480 (libm_alias_ldouble_other_r): New macro.
10481 (libm_alias_ldouble_other): Likewise.
10482 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
10483 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
10484 (libm_alias_double_other_r): New macro.
10485 (libm_alias_double_other): Likewise.
10486 (libm_alias_double_r): Use libm_alias_double_other_r.
10487 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
10488 (libm_alias_ldouble_other_r): New macro.
10489 (libm_alias_ldouble_other): Likewise.
10490 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
10491 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
10492 [!USE_AS_COMPAT]: Use libm_alias_double_other.
10493 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
10494 [!USE_AS_COMPAT]: Use libm_alias_float_other.
10495 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
10496 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
10497 * math/w_exp2f.c: Use libm_alias_float_other.
10498 * math/w_expf.c: Likewise.
10499 * math/w_log2f.c: Likewise.
10500 * math/w_logf.c: Likewise.
10501 * math/w_powf.c: Likewise.
10502 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
10503 [!__exp2f]: Use libm_alias_float_other.
10504 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
10505 [!__expf]: Use libm_alias_float_other.
10506 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
10507 [!__log2f]: Use libm_alias_float_other.
10508 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
10509 [!__logf]: Use libm_alias_float_other.
10510 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
10511 [!__powf]: Use libm_alias_float_other.
10513 2017-10-10 Florian Weimer <fweimer@redhat.com>
10515 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
10517 (_nss_files_gethostbyname3_r): Call it.
10519 2017-10-09 Joseph Myers <joseph@codesourcery.com>
10521 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
10522 error. Remove default definition of declare_mgen_alias.
10523 [!declare_mgen_alias_r]: Likewise.
10524 * sysdeps/generic/math-type-macros-double.h
10525 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
10526 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
10527 (declare_mgen_alias_r): Likewise.
10528 * sysdeps/generic/math-type-macros-float128.h
10529 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
10530 * sysdeps/generic/math-type-macros-ldouble.h
10531 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
10532 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
10534 (declare_mgen_alias_r_s): Likewise.
10535 (declare_mgen_alias_r): Likewise.
10536 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
10537 (lgamma_r): Define using libm_alias_double_r.
10538 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
10539 (lgammaf_r): Define using libm_alias_float_r.
10540 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
10541 (lgammal_r): Define using libm_alias_ldouble_r.
10542 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
10543 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
10545 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10547 * lib/glob.c (__glob_pattern_type): Remove now-spurious
10548 extern declaration.
10550 2017-10-09 Joseph Myers <joseph@codesourcery.com>
10552 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
10554 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
10557 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
10558 [__cplusplus >= 201103] (__USE_ISOC99): Define.
10559 * math/Makefile (test-math-cxx11): New test.
10560 * math/test-math-cxx11.cc: New file.
10562 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
10564 * login/openpty.c (openpty): Close slave pty file descriptor on error.
10566 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
10567 call to allocate the slave pty file descriptor.
10569 2017-10-06 Joseph Myers <joseph@codesourcery.com>
10571 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
10572 [!__fma] (fma): Define using libm_alias_double.
10573 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
10574 [!__fma] (fma): Define using libm_alias_double.
10576 * sysdeps/ieee754/float128/float128_private.h: Include
10577 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
10578 (libm_alias_ldouble_r): Undefine and redefine.
10579 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
10580 <libm-alias-ldouble.h>.
10581 (asinhl): Define using libm_alias_ldouble.
10582 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
10583 <libm-alias-ldouble.h>.
10584 (atanl): Define using libm_alias_ldouble.
10585 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
10586 <libm-alias-ldouble.h>.
10587 (cbrtl): Define using libm_alias_ldouble.
10588 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
10589 <libm-alias-ldouble.h>.
10590 (ceill): Define using libm_alias_ldouble.
10591 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
10592 <libm-alias-ldouble.h>.
10593 (copysignl): Define using libm_alias_ldouble.
10594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
10595 <libm-alias-ldouble.h>.
10596 (cosl): Define using libm_alias_ldouble.
10597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
10598 <libm-alias-ldouble.h>.
10599 (erfl): Define using libm_alias_ldouble.
10601 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
10602 <libm-alias-ldouble.h>.
10603 (expm1l): Define using libm_alias_ldouble.
10604 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
10605 <libm-alias-ldouble.h>.
10606 (fabsl): Define using libm_alias_ldouble.
10607 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
10608 <libm-alias-ldouble.h>.
10609 (floorl): Define using libm_alias_ldouble.
10610 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
10611 <libm-alias-ldouble.h>.
10612 (fmal): Define using libm_alias_ldouble.
10613 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
10614 <libm-alias-ldouble.h>.
10615 (frexpl): Define using libm_alias_ldouble.
10616 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
10617 libm_alias_ldouble.
10618 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
10619 <libm-alias-ldouble.h>.
10620 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
10621 libm_alias_ldouble.
10622 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
10623 <libm-alias-ldouble.h>.
10624 (getpayloadl): Define using libm_alias_ldouble.
10625 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
10626 <libm-alias-ldouble.h>.
10627 (llrintl): Define using libm_alias_ldouble.
10628 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
10629 <libm-alias-ldouble.h>.
10630 (llroundl): Define using libm_alias_ldouble.
10631 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
10632 <libm-alias-ldouble.h>.
10633 (logbl): Define using libm_alias_ldouble.
10634 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
10635 <libm-alias-ldouble.h>.
10636 (lrintl): Define using libm_alias_ldouble.
10637 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
10638 <libm-alias-ldouble.h>.
10639 (lroundl): Define using libm_alias_ldouble.
10640 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
10641 <libm-alias-ldouble.h>.
10642 (modfl): Define using libm_alias_ldouble.
10643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
10644 <libm-alias-ldouble.h>.
10645 (nearbyintl): Define using libm_alias_ldouble.
10646 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
10647 <libm-alias-ldouble.h>.
10648 (nextafterl): Define using libm_alias_ldouble.
10649 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
10650 <libm-alias-ldouble.h>.
10651 (nextupl): Define using libm_alias_ldouble.
10652 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
10653 <libm-alias-ldouble.h>.
10654 (remquol): Define using libm_alias_ldouble.
10655 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
10656 <libm-alias-ldouble.h>.
10657 (rintl): Define using libm_alias_ldouble.
10658 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
10659 <libm-alias-ldouble.h>.
10660 (roundevenl): Define using libm_alias_ldouble.
10661 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
10662 <libm-alias-ldouble.h>.
10663 (roundl): Define using libm_alias_ldouble.
10664 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
10665 using libm_alias_ldouble.
10666 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
10667 <libm-alias-ldouble.h>.
10668 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
10669 Define using libm_alias_ldouble.
10670 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
10671 <libm-alias-ldouble.h>.
10672 (sincosl): Define using libm_alias_ldouble.
10673 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
10674 <libm-alias-ldouble.h>.
10675 (sinl): Define using libm_alias_ldouble.
10676 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
10677 <libm-alias-ldouble.h>.
10678 (tanhl): Define using libm_alias_ldouble.
10679 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
10680 <libm-alias-ldouble.h>.
10681 (tanl): Define using libm_alias_ldouble.
10682 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10683 <libm-alias-ldouble.h>.
10684 (totalorderl): Define using libm_alias_ldouble.
10685 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10686 <libm-alias-ldouble.h>.
10687 (totalordermagl): Define using libm_alias_ldouble.
10688 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
10689 <libm-alias-ldouble.h>.
10690 (truncl): Define using libm_alias_ldouble.
10691 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
10692 libm_alias_ldouble.
10693 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
10694 libm_alias_ldouble.
10695 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
10696 <libm-alias-ldouble.h>.
10697 (weak_alias): Do not undefine and redefine.
10698 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10699 (copysignl): Define with long_double_symbol only if [IS_IN
10701 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
10702 <libm-alias-ldouble.h>.
10703 (weak_alias): Do not undefine and redefine.
10704 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10705 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
10706 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
10707 <libm-alias-ldouble.h>.
10708 (weak_alias): Do not undefine and redefine.
10709 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10710 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
10711 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
10712 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
10715 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
10718 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
10721 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
10728 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
10736 2017-10-06 Carlos O'Donell <carlos@redhat.com>
10739 * malloc/malloc.c (tcache_shutting_down): Use bool type.
10740 (tcache_thread_freeres): Set tcache_shutting_down before
10741 freeing the tcache.
10742 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
10743 * malloc/tst-malloc-tcache-leak.c: New file.
10745 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10747 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
10748 back to powerpc32 file.
10749 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
10750 (memrchr): Add __memrchr_power8 to ifunc list.
10751 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
10752 extra bytes for unaligned inputs.
10754 2017-10-06 Joseph Myers <joseph@codesourcery.com>
10756 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
10757 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10762 2017-10-05 Joseph Myers <joseph@codesourcery.com>
10764 * sysdeps/arm/libm-test-ulps: Update.
10766 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
10767 <libm-alias-ldouble.h>.
10768 (asinhl): Define using libm_alias_ldouble.
10769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
10770 <libm-alias-ldouble.h>.
10771 (cbrtl): Define using libm_alias_ldouble.
10772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
10773 <libm-alias-ldouble.h>.
10774 (copysignl): Define using libm_alias_ldouble.
10775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
10776 <libm-alias-ldouble.h>.
10777 (cosl): Define using libm_alias_ldouble.
10778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
10779 <libm-alias-ldouble.h>.
10780 (erfl): Define using libm_alias_ldouble.
10782 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
10783 <libm-alias-ldouble.h>.
10784 (fmal): Define using libm_alias_ldouble.
10785 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
10786 <libm-alias-ldouble.h>.
10787 (frexpl): Define using libm_alias_ldouble.
10788 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
10789 libm_alias_ldouble.
10790 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
10791 <libm-alias-ldouble.h>.
10792 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
10793 libm_alias_ldouble.
10794 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
10795 <libm-alias-ldouble.h>.
10796 (getpayloadl): Define using libm_alias_ldouble.
10797 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
10798 <libm-alias-ldouble.h>.
10799 (llrintl): Define using libm_alias_ldouble.
10800 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
10801 <libm-alias-ldouble.h>.
10802 (llroundl): Define using libm_alias_ldouble.
10803 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
10804 <libm-alias-ldouble.h>.
10805 (lrintl): Define using libm_alias_ldouble.
10806 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
10807 <libm-alias-ldouble.h>.
10808 (lroundl): Define using libm_alias_ldouble.
10809 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
10810 <libm-alias-ldouble.h>.
10811 (modfl): Define using libm_alias_ldouble.
10812 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
10813 <libm-alias-ldouble.h>.
10814 (nextupl): Define using libm_alias_ldouble.
10815 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
10816 <libm-alias-ldouble.h>.
10817 (remquol): Define using libm_alias_ldouble.
10818 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
10819 <libm-alias-ldouble.h>.
10820 (roundevenl): Define using libm_alias_ldouble.
10821 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
10822 <libm-alias-ldouble.h>.
10823 (roundl): Define using libm_alias_ldouble.
10824 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
10825 using libm_alias_ldouble.
10826 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
10827 <libm-alias-ldouble.h>.
10828 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
10829 <libm-alias-ldouble.h>.
10830 (setpayloadsigl): Define using libm_alias_ldouble.
10831 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
10832 <libm-alias-ldouble.h>.
10833 (sincosl): Define using libm_alias_ldouble.
10834 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
10835 <libm-alias-ldouble.h>.
10836 (sinl): Define using libm_alias_ldouble.
10837 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
10838 <libm-alias-ldouble.h>.
10839 (tanhl): Define using libm_alias_ldouble.
10840 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
10841 <libm-alias-ldouble.h>.
10842 (tanl): Define using libm_alias_ldouble.
10843 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10844 <libm-alias-ldouble.h>.
10845 (totalorderl): Define using libm_alias_ldouble.
10846 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10847 <libm-alias-ldouble.h>.
10848 (totalordermagl): Define using libm_alias_ldouble.
10849 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
10850 libm_alias_ldouble.
10851 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
10852 libm_alias_ldouble.
10854 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10856 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10858 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10859 (__libc_ifunc_impl_list): Likewise.
10860 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
10861 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
10863 * benchtests/bench-memmove-walk.c: New file.
10864 * benchtests/Makefile (string-benchset): Add it.
10866 * benchtests/bench-memset-walk.c: New file.
10867 * benchtests/Makefile (string-benchset): Add it.
10869 * benchtests/bench-memcpy-walk.c: New file.
10870 * benchtests/Makefile (string-benchset): Add it.
10872 2017-10-05 Florian Weimer <fweimer@redhat.com>
10874 nscd: Eliminate compilation time dependency in the build output.
10875 * nscd/nscd_stat.c (STATDATA_VERSION)
10876 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
10877 (STATDATA_VERSION_FULL): New macro definitions.
10878 (compilation): Remove.
10879 (struct statdata): Adjust version member.
10880 (send_stats): Set version from STATDATA_VERSION_FULL.
10881 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
10883 2017-10-05 Joseph Myers <joseph@codesourcery.com>
10885 * configure.ac (--enable-add-ons): Remove option.
10886 (machine): Do not mention add-ons in comment.
10887 (LIBC_PRECONFIGURE): Likewise.
10888 (add_ons): Remove variable and sanity checks and logic to locate
10890 (add_ons_automatic): Remove variable.
10891 (configured_add_ons): Likewise.
10892 (add_ons_sfx): Likewise.
10893 (add_ons_pfx): Likewise.
10894 (add_on_subdirs): Likewise.
10895 (sysnames_add_ons): Likewise. Remove loop over add-ons and
10896 consideration of add-ons in Implies handling.
10897 (sysdeps_add_ons): Likewise.
10898 * configure: Regenerated.
10899 * libidn/configure.ac: Remove.
10900 * libidn/configure: Likewise.
10901 * sysdeps/unix/inet/configure.ac: New file.
10902 * sysdeps/unix/inet/configure: New generated file.
10903 * sysdeps/unix/inet/Subdirs: Add libidn.
10904 * Makeconfig (sysdeps-srcdirs): Remove variable.
10905 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
10906 ($(common-objpfx)config.status): Do not depend on add-on files.
10907 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
10909 (all-subdirs): Do not include $(add-on-subdirs).
10910 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
10911 * config.make.in (add-ons): Remove variable.
10912 (add-on-subdirs): Likewise.
10913 (sysdeps-add-ons): Likewise.
10914 * manual/Makefile (add-chapters): Remove.
10915 ($(objpfx)texis): Do not depend on $(add-chapters).
10916 (nonexamples): Do not handle $(add-chapters).
10917 (examples): Do not handle $(add-ons).
10918 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
10920 * manual/install.texi (Installation): Do not mention add-ons.
10921 (--enable-add-ons): Do not document configure option.
10922 * INSTALL: Regenerated.
10923 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
10924 * manual/maint.texi (Hierarchy Conventions): Do not mention
10926 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
10928 * scripts/gen-sorted.awk: Do not handle Subdirs files from
10930 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
10931 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
10933 2017-10-05 Andreas Schwab <schwab@suse.de>
10936 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
10937 (_IO_flush_all_lockp): Always lock list_all_lock.
10938 (_IO_flush_all_linebuffered): Likewise.
10939 (_IO_unbuffer_all): Likewise.
10941 2017-10-05 Florian Weimer <fweimer@redhat.com>
10944 Do not flush stdio streams on abort.
10945 * stdlib/abort.c (fflush): Remove macro definition.
10946 (abort): Remove stages related to stdio flushing.
10948 2017-10-05 Florian Weimer <fweimer@redhat.com>
10950 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
10952 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
10954 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10956 2017-10-05 Florian Weimer <fweimer@redhat.com>
10958 * support/support_format_hostent.c (support_format_hostent): Add
10959 more error information for NETDB_INTERNAL.
10961 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10963 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
10964 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
10965 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
10966 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
10967 AC_DEFINE if multi-arch is enabled.
10968 * sysdeps/i386/configure: Regenerated.
10970 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10972 * Makeconfig (+link-static-before-libc): Use
10973 $(DEFAULT-LDFLAGS-$(@F)).
10974 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
10975 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
10976 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
10978 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10980 * elf/Makefile (tests): Add tst-main1.
10981 (modules-names): Add tst-main1mod.
10982 ($(objpfx)tst-main1): New.
10983 (CRT-tst-main1): Likewise.
10984 (LDFLAGS-tst-main1): Likewise.
10985 (LDLIBS-tst-main1): Likewise.
10986 (tst-main1mod.so-no-z-defs): Likewise.
10987 * elf/tst-main1.c: New file.
10988 * elf/tst-main1mod.c: Likewise.
10990 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10992 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
10994 2017-10-04 Joseph Myers <joseph@codesourcery.com>
10996 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
10997 (fma): Define using libm_alias_double.
10998 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
10999 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
11001 (fmal): Do not define as compat symbol here.
11002 * sysdeps/alpha/fpu/s_fma.c: New file.
11004 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11006 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
11008 2017-10-04 Joseph Myers <joseph@codesourcery.com>
11011 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
11013 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11015 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
11016 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11017 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
11018 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
11019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11020 Include <math_ldbl_opt.h>
11021 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11023 (compat_symbol): Undefine and redefine.
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
11026 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11027 (compat_symbol): Undefine and redefine.
11028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
11029 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
11030 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
11031 GLIBC_2_1 for libm.
11032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
11033 GLIBC_2.0 copysignl symbol.
11034 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11035 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
11037 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
11039 2017-10-04 Florian Weimer <fweimer@redhat.com>
11041 * scripts/check-local-headers.sh: Ignore nspr4 header file
11042 directory in addition to nspr.
11044 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
11047 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
11048 * configure: Regenerate.
11049 * crypt/Makefile (nss-cpp-flags): New variable.
11050 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
11051 (CPPFLAGS-md5-crypt.c): Use it.
11052 * scripts/check-local-headers.sh: Ignore nspr header file
11055 2017-10-04 Andreas Schwab <schwab@suse.de>
11057 * nis/Makefile (services): Remove compat.
11058 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
11059 ($(objpfx)libnss_compat.so): Remove rule.
11060 * nis/Versions (libnss_compat): Remove.
11061 * nss/Makefile (services): Add compat.
11062 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
11063 * nss/Versions (libnss_compat): Define.
11064 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
11065 Don't include <rpc/types.h>. Replace bool_t by bool.
11066 * nss/nss_compat/compat-initgroups.c: Likewise.
11067 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
11068 instead of <rpcsrv/ypclnt.h>.
11069 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
11070 yp_get_default_domain.
11071 * nss/nss_compat/compat-pwd.c: Likewise.
11072 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
11073 yp_get_default_domain.
11074 * nss/nss_compat/nisdomain.c: New file.
11075 * nss/nss_compat/nisdomain.h: Likewise.
11077 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11080 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
11081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11083 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
11087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
11089 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11091 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
11092 "movl main@GOTOFF(%ebx), %eax".
11094 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11096 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
11097 allow undefined _DYNAMIC in PIE libc.a.
11098 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
11101 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11103 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
11106 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11108 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
11111 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11113 * math/test-math-iscanonical.cc (error): Replace bool with int.
11115 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11117 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
11118 (modf): Define using libm_alias_double, only if [!__modf].
11119 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
11120 <libm-alias-double.h>.
11121 (modf): Define using libm_alias_double, only if [!__modf].
11122 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
11123 compat symbol here.
11124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
11125 (weak_alias): Do not undefine and redefine.
11126 (strong_alias): Likewise.
11127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
11128 (weak_alias): Likewise.
11129 (strong_alias): Likewise.
11131 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
11132 (logb): Define using libm_alias_double, only if [!__logb].
11133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
11134 <libm-alias-double.h>.
11135 (logb): Define using libm_alias_double, only if [!__logb].
11136 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
11137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
11138 (weak_alias): Do not undefine and redefine.
11139 (strong_alias): Likewise.
11140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
11141 (weak_alias): Likewise.
11142 (strong_alias): Likewise.
11144 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11146 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
11147 Check SHARED instead PIC.
11149 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11151 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
11152 [!__fmaf] (fmaf): Define using libm_alias_float.
11154 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
11155 (frexp): Define using libm_alias_double.
11156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
11157 <libm-alias-double.h>.
11158 (frexp): Define using libm_alias_double.
11159 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
11160 compat symbol here.
11162 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11165 * math/math.h: Trivial fix for unbalanced parentheses in comment.
11166 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
11167 (CFLAGS-test-math-iscanonical.cc): New variable.
11168 * math/test-math-iscanonical.cc: New file.
11169 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
11170 Provide a C++ implementation based on function overloading,
11171 rather than using __MATH_TG, which uses C-only builtins.
11172 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
11174 * sysdeps/powerpc/powerpc64le/Makefile
11175 (CFLAGS-test-math-iscanonical.cc): New variable.
11177 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11179 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
11180 (ceil): Define using libm_alias_double.
11181 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
11182 (floor): Define using libm_alias_double.
11183 * sysdeps/ieee754/dbl-64/s_llround.c: Include
11184 <libm-alias-double.h>.
11185 (llround): Define using libm_alias_double.
11186 * sysdeps/ieee754/dbl-64/s_lround.c: Include
11187 <libm-alias-double.h>.
11188 (lround): Define using libm_alias_double.
11189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
11190 <libm-alias-double.h>.
11191 (nearbyint): Define using libm_alias_double.
11192 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
11193 <libm-alias-double.h>.
11194 (remquo): Define using libm_alias_double.
11195 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
11196 (rint): Define using libm_alias_double.
11197 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
11198 (round): Define using libm_alias_double.
11199 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
11200 (trunc): Define using libm_alias_double.
11201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
11202 <libm-alias-double.h>.
11203 (ceil): Define using libm_alias_double.
11204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
11205 <libm-alias-double.h>.
11206 (floor): Define using libm_alias_double.
11207 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
11208 <libm-alias-double.h>.
11209 (llround): Define using libm_alias_double.
11210 [_LP64] (lround): Likewise.
11211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
11212 <libm-alias-double.h>.
11213 [!_LP64] (lround): Define using libm_alias_double.
11214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
11215 <libm-alias-double.h>.
11216 (nearbyint): Define using libm_alias_double.
11217 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
11218 <libm-alias-double.h>.
11219 (remquo): Define using libm_alias_double.
11220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
11221 <libm-alias-double.h>.
11222 (rint): Define using libm_alias_double.
11223 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
11224 <libm-alias-double.h>.
11225 (round): Define using libm_alias_double.
11226 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
11227 <libm-alias-double.h>.
11228 (trunc): Define using libm_alias_double.
11229 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
11230 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
11231 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
11232 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
11233 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
11234 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
11235 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
11236 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
11237 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
11239 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11241 * math/w_remainder.c: New file.
11242 * math/w_remainderf.c: New file.
11243 * math/w_remainderl.c: New file.
11245 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11247 * elf/rtld.c (BOOTSTRAP_MAP): New.
11248 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
11249 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11251 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11253 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11256 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11258 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
11259 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
11260 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
11261 rtld_hidden_data_ver): Define to empty.
11262 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
11263 __assert_perror_fail): Likewise.
11264 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11265 (__rewinddir): Likewise.
11266 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11267 (__profile_frequency): Likewise.
11268 * include/setjmp.h (__sigsetjmp): Likewise.
11269 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
11270 __libc_sigaction): Likewise.
11271 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
11272 not set hidden attribute.
11273 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
11274 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
11275 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
11276 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
11277 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
11278 __fxstatat64): Likewise.
11279 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11280 (__uname): Likewise.
11281 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11282 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
11283 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
11284 (NO_RTLD_HIDDEN): Set.
11285 * sysdeps/mach/hurd/configure: Refresh.
11286 * config.h.in: Refresh.
11288 2017-10-02 Joseph Myers <joseph@codesourcery.com>
11290 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
11291 (atan): Define using libm_alias_double.
11292 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
11293 (tan): Define using libm_alias_double.
11294 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
11295 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
11298 define as weak alias of __atan. Do not define any aliases if
11300 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
11301 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
11302 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
11303 as weak alias of __tan. Do not define any aliases if [__tan].
11304 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
11305 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
11306 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
11308 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
11309 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
11310 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
11311 and define as weak alias of __atan.
11312 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
11314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
11315 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
11316 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
11317 define as weak alias of __tan.
11319 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11321 * math/w_lgamma.c: New file.
11322 * math/w_lgammaf.c: New file.
11323 * math/w_lgammal.c: New file.
11325 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11327 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
11328 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
11329 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
11330 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
11331 * sysdeps/ieee754/flt-32/w_logf.c: New file.
11332 * sysdeps/ieee754/flt-32/w_powf.c: New file.
11333 * sysdeps/i386/fpu/w_log2f.c: New file.
11334 * sysdeps/i386/fpu/w_logf.c: New file.
11335 * sysdeps/i386/fpu/w_powf.c: New file.
11336 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
11337 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
11338 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
11340 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11341 H.J. Lu <hongjiu.lu@intel.com>
11343 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
11344 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
11345 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
11346 * sysdeps/ieee754/flt-32/w_expf.c: New file.
11347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
11349 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
11350 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
11351 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
11352 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
11353 * sysdeps/i386/fpu/w_exp2f.c: New file.
11354 * sysdeps/i386/fpu/w_expf.c: New file.
11355 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
11356 * sysdeps/x86_64/fpu/w_expf.c: New file.
11358 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11360 * math/Versions (logf): New libm symbol at GLIBC_2.27.
11363 * math/w_log2f.c: New file.
11364 * math/w_logf.c: New file.
11365 * math/w_powf.c: New file.
11366 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
11367 * math/w_logf_compat.c (__logf_compat): Likewise.
11368 * math/w_powf_compat.c (__powf_compat): Likewise.
11369 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
11370 * sysdeps/ia64/fpu/e_logf.S: Likewise.
11371 * sysdeps/ia64/fpu/e_powf.S: Likewise.
11372 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11373 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11392 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11401 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11405 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11407 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11408 (sysdep_routines): Add memrchr_power8.
11409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11410 (memrchr): Add __memrchr_power8 to list of memrchr functions.
11411 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
11413 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
11414 (memrchr): Add __memrchr_power8 to ifunc list.
11415 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
11417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11420 * sysdeps/unix/sysv/linux/posix_fadvise64.c
11421 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
11423 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11424 (__posix_fallocate64_l64): Likewise.
11426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11429 * sysdeps/unix/sysv/linux/sched_setaffinity.c
11430 (__sched_setaffinity_new): Add libc_hidden_proto and
11433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11436 * include/glob.h (__glob64): Add libc_hidden_proto.
11437 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
11440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11443 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
11446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11449 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
11451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11454 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
11457 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11460 * csu/version.c (__libc_print_version): Add attribute_hidden.
11462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11465 * include/libc-internal.h (__init_misc): Add attribute_hidden.
11467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11470 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
11472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11475 * nscd/nscd_helper.c (__nis_hash): New prototype.
11477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11480 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
11481 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
11483 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11484 * termios/tcgetattr.c (__tcgetattr): Likewise.
11486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11489 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
11490 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
11491 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
11492 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
11493 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
11495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11498 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
11500 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11503 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
11504 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
11506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11509 * intl/hash-string.h (__hash_string): Add attribute_hidden.
11511 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11514 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
11515 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
11517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11520 * include/ifreq.h: New file.
11521 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
11522 (__ifreq): Likewise.
11523 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
11524 (__ifreq): Likewise.
11526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11529 * include/idna.h: New file.
11530 * inet/getnameinfo.c: Include <idna.h> instead of
11532 (__idna_to_unicode_lzlz): Removed.
11533 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
11535 (__idna_to_ascii_lz): Removed.
11536 (__idna_to_unicode_lzlz): Likewise.
11538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11541 * include/plural-exp.h: New file.
11542 * intl/plural-exp.c: Include <plural-exp.h> instead of
11545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11548 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
11549 "getsourcefilter.h".
11550 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
11551 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
11552 "getsourcefilter.h".
11553 (__get_sol): Removed.
11555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11558 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
11560 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
11562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11565 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
11568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11571 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
11573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11576 * include/search.h (__tdestroy): Add libc_hidden_proto.
11577 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
11579 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11582 * include/assert.h (__assert_fail_base): Add attribute_hidden.
11584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11587 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
11590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11593 * include/signal.h (__kill): Add libc_hidden_proto.
11594 (__sigblock): Likewise.
11595 (__sigprocmask): Likewise.
11596 (__sigaltstack): Likewise.
11597 * signal/kill.c (__kill): Add libc_hidden_def.
11598 * signal/sigblock.c (__sigblock): Likewise.
11599 * signal/sigprocmask.c (__sigprocmask): Likewise.
11600 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
11601 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11602 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11603 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11604 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
11606 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11608 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11609 (__sigprocmask): Likewise.
11610 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
11612 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11613 (__sigprocmask): Likewise.
11614 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11617 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11620 * include/string.h (__strsep): Add libc_hidden_proto.
11621 * string/strsep.c (__strsep): Add libc_hidden_def.
11623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11626 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
11628 (__spawni): Likewise.
11630 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11633 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
11634 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
11637 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11640 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
11642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11645 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
11646 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
11647 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
11648 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
11649 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
11651 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
11652 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
11654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11657 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
11658 (__dcigettext): Likewise.
11660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11663 * include/sys/sysinfo.h (__get_nprocs_conf): Add
11665 (__get_nprocs): Likewise.
11666 (__get_phys_pages): Likewise.
11667 (__get_avphys_pages): Likewise.
11668 (__get_child_max): Add attribute_hidden.
11669 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
11670 (__get_nprocs): Likewise.
11671 (__get_phys_pages): Likewise.
11672 (__get_avphys_pages): Likewise.
11673 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
11675 (__get_nprocs): Likewise.
11676 (__get_phys_pages): Likewise.
11677 (__get_avphys_pages): Likewise.
11678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
11680 (__get_nprocs_conf): Likewise.
11681 (__get_phys_pages): Likewise.
11682 (__get_avphys_pages): Likewise.
11684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11687 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
11689 (__netlink_close): Likewise.
11690 (__netlink_free_handle): Likewise.
11691 (__netlink_request): Likewise.
11693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11696 * include/rpc/rpc.h (__rpc_thread_variables): Add
11698 (__rpc_thread_svc_cleanup): Likewise.
11699 (__rpc_thread_clnt_cleanup): Likewise.
11700 (__rpc_thread_key_cleanup): Likewise.
11702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11705 * include/sys/uio.h (__readv): Add libc_hidden_proto.
11706 (__writev): Likewise.
11707 * misc/readv.c (__readv): Add libc_hidden_def.
11708 * misc/writev.c (__writev): Likewise.
11709 * sysdeps/posix/readv.c (__readv): Likewise.
11710 * sysdeps/posix/writev.c (__writev): Likewise.
11711 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
11712 (__readv): Likewise.
11713 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
11714 (__writev): Likewise.
11716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11719 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
11720 (__regcomp): Add libc_hidden_proto.
11721 (__regexec): Likewise.
11722 (__regfree): Likewise.
11723 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
11724 (__regfree): Likewise.
11725 * posix/regexec.c (__regexec): Likewise.
11727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11730 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
11731 (__getutent): Likewise.
11732 (__getutid): Likewise.
11733 (__getutline): Likewise.
11734 (__pututline): Likewise.
11735 (__getutent_r): Likewise.
11736 (__getutid_r): Likewise.
11737 (__getutline_r): Likewise.
11738 (__utmpname): Add attribute_hidden.
11739 (__setutent): Likewise.
11740 (__endutent): Likewise.
11741 * login/getutent.c (__getutent): Add libc_hidden_def.
11742 * login/getutent_r.c (__getutent_r): Likewise.
11743 (__pututline): Likewise.
11744 * login/getutid.c (__getutid): Likewise.
11745 * login/getutid_r.c (__getutid_r): Likewise.
11746 * login/getutline.c (__getutline): Likewise.
11747 * login/getutline_r.c (__getutline_r): Likewise.
11748 * login/updwtmp.c (__updwtmp): Likewise.
11750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11753 * include/dirent.h (__opendir): Always add attribute_hidden.
11754 (__fdopendir): Likewise.
11755 (__closedir): Likewise.
11756 (__readdir): Likewise.
11757 (__readdir64): Add libc_hidden_proto.
11758 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
11759 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
11760 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
11761 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
11764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11767 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
11768 * include/netdb.h (__gethostbyaddr_r): Likewise.
11769 (__gethostbyname_r): Likewise.
11770 (__gethostbyname2_r): Likewise.
11771 (__getnetbyaddr_r): Likewise.
11772 (__getnetbyname_r): Likewise.
11773 (__getservbyname_r): Likewise.
11774 (__getservbyport_r): Likewise.
11775 (__getprotobyname_r): Likewise.
11776 (__getprotobynumber_r): Likewise.
11777 (__getnetgrent_r): Likewise.
11778 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
11779 (__getrpcbynumber_r): Likewise.
11780 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
11782 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11785 * include/stdio.h (__fcloseall): Add attribute_hidden.
11786 (__getline): Likewise.
11787 (__path_search): Likewise.
11788 (__gen_tempname): Likewise.
11789 (__libc_message): Likewise.
11790 (__flockfile): Likewise.
11791 (__funlockfile): Likewise.
11792 (__fxprintf): Likewise.
11793 (__fxprintf_nocancel): Likewise.
11795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11798 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
11799 (__sgetsgent_r): Likewise.
11801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11804 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
11805 (__statfs64): Likewise.
11806 (__fstatfs64): Likewise.
11807 * include/sys/statvfs.h (__statvfs64): Likewise.
11808 (__fstatvfs64): Likewise.
11809 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
11810 (__statfs_filesize_max): Likewise.
11811 (__statfs_symlinks): Likewise.
11812 (__statfs_chown_restricted): Likewise.
11814 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11817 * include/time.h (__tzstring): Add attribute_hidden.
11818 (__tzfile_read): Likewise.
11819 (__tzfile_compute): Likewise.
11820 (__tzfile_default): Likewise.
11821 (__tzset_parse_tz): Likewise.
11822 (__offtime): Likewise.
11823 (__asctime_r): Likewise.
11824 (__tzset): Likewise.
11825 (__tz_convert): Likewise.
11826 (__getdate_r): Likewise.
11827 (__getclktck): Likewise.
11829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11832 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
11833 (__nscd_unmap): Likewise.
11834 (__nscd_cache_search): Likewise.
11835 (__nscd_get_nl_timestamp): Likewise.
11836 (__nscd_getpwnam_r): Likewise.
11837 (__nscd_getpwuid_r): Likewise.
11838 (__nscd_getgrnam_r): Likewise.
11839 (__nscd_getgrgid_r): Likewise.
11840 (__nscd_gethostbyname_r): Likewise.
11841 (__nscd_gethostbyname2_r): Likewise.
11842 (__nscd_gethostbyaddr_r): Likewise.
11843 (__nscd_getai): Likewise.
11844 (__nscd_getgrouplist): Likewise.
11845 (__nscd_getservbyname_r): Likewise.
11846 (__nscd_getservbyport_r): Likewise.
11847 (__nscd_innetgr): Likewise.
11848 (__nscd_setnetgrent): Likewise.
11850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11853 * include/gmp.h: Declare internal functions only if _ISOMAC is
11855 (__mpn_extract_double): Add attribute_hidden.
11856 (__mpn_extract_long_double): Likewise.
11857 (__mpn_extract_float128): Likewise.
11858 (__mpn_construct_float): Likewise.
11859 (__mpn_construct_double): Likewise.
11860 (__mpn_construct_long_double): Likewise.
11861 (__mpn_construct_float128): Likewise.
11862 (mpn_add_1): Likewise.
11863 (mpn_addmul_1): Likewise.
11864 (mpn_add_n): Likewise.
11865 (mpn_cmp): Likewise.
11866 (mpn_divrem): Likewise.
11867 (mpn_lshift): Likewise.
11868 (mpn_mul): Likewise.
11869 (mpn_mul_1): Likewise.
11870 (mpn_rshift): Likewise.
11871 (mpn_sub_1): Likewise.
11872 (mpn_submul_1): Likewise.
11873 (mpn_sub_n): Likewise.
11875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11878 * include/wchar.h (__wcsnlen): Add attribute_hidden.
11879 (__wcscat): Likewise.
11880 (__btowc): Likewise.
11881 (__wcrtomb): Likewise.
11882 (__mbsrtowcs): Likewise.
11883 (__wcsrtombs): Likewise.
11884 (__mbsnrtowcs): Likewise.
11885 (__wcsnrtombs): Likewise.
11886 (__wcsncpy): Likewise.
11887 (__wcpncpy): Likewise.
11888 (__wmemcpy): Likewise.
11889 (__wmempcpy): Likewise.
11890 (__wmemmove): Likewise.
11891 (__wcschrnul): Likewise.
11892 (__vfwscanf): Likewise.
11893 (__vswprintf): Likewise.
11894 (__fwprintf): Likewise.
11895 (__vfwprintf): Likewise.
11897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11900 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
11901 (__getgrgid_r): Likewise.
11902 (__getgrnam_r): Likewise.
11903 * include/pwd.h (__getpwuid_r): Likewise.
11904 (__getpwnam_r): Likewise.
11905 (__fgetpwent_r): Likewise.
11906 * include/shadow.h (__getspnam_r): Likewise.
11907 (__sgetspent_r): Likewise.
11908 (__fgetspent_r): Likewise.
11910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11913 * include/unistd.h (__access): Add attribute_hidden.
11914 (__lseek64): Likewise.
11915 (__libc_pread64): Likewise.
11916 (__pipe2): Likewise.
11917 (__sleep): Likewise.
11918 (__chdir): Likewise.
11919 (__fchdir): Likewise.
11920 (__getcwd): Likewise.
11921 (__rmdir): Likewise.
11922 (__execvpe): Likewise.
11923 (__execve): Likewise.
11924 (__setsid): Likewise.
11925 (__getuid): Likewise.
11926 (__geteuid): Likewise.
11927 (__getgid): Likewise.
11928 (__getegid): Likewise.
11929 (__getgroups): Likewise.
11930 (__group_member): Likewise.
11931 (__ttyname_r): Likewise.
11932 (__isatty): Likewise.
11933 (__readlink): Likewise.
11934 (__unlink): Likewise.
11935 (__gethostname): Likewise.
11936 (__profil): Likewise.
11937 (__getdtablesize): Likewise.
11939 (__ftruncate): Likewise.
11940 (__ftruncate64): Likewise.
11942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11945 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
11946 * argp/argp-fs-xinl.c: Likewise.
11947 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
11948 * argp/argp-parse.c: Include <argp.h>.
11949 * argp/argp-xinl.c: Likewise.
11950 * include/argp-fmtstream.h: New file.
11951 * include/argp.h (__argp_error): Add attribute_hidden.
11952 (__argp_failure): Likewise.
11953 (__argp_input): Likewise.
11954 (__argp_state_help): Likewise.
11956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11959 * include/wchar.h (____wcstof_l_internal): New prototype.
11960 (____wcstod_l_internal): Likewise.
11961 (____wcstold_l_internal): Likewise.
11962 (____wcstol_l_internal): Likewise.
11963 (____wcstoul_l_internal): Likewise.
11964 (____wcstoll_l_internal): Likewise.
11965 (____wcstoull_l_internal): Likewise.
11966 (____wcstof128_l_internal): Likewise.
11967 * sysdeps/ieee754/float128/wcstof128.c
11968 (____wcstof128_l_internal): Removed.
11969 * sysdeps/ieee754/float128/wcstof128_l.c
11970 (____wcstof128_l_internal): Likewise.
11971 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
11972 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
11973 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
11974 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
11975 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
11976 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
11977 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
11978 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
11979 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
11980 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
11982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11985 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
11986 instead of <sys/statvfs.h>.
11987 (__internal_statvfs): Removed.
11988 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
11989 instead of <sys/statvfs.h>.
11990 (__internal_statvfs64): Removed.
11991 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
11992 "internal_statvfs.h" instead of <sys/statvfs.h>.
11993 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
11994 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
11995 instead of <sys/statvfs.h>.
11996 (__internal_statvfs): Removed.
11997 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
11998 instead of <sys/statvfs.h>.
11999 (__internal_statvfs64): Removed.
12001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12004 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
12005 (__gconv_close): Likewise.
12006 (__gconv): Likewise.
12007 (__gconv_find_transform): Likewise.
12008 (__gconv_lookup_cache): Likewise.
12009 (__gconv_compare_alias_cache): Likewise.
12010 (__gconv_load_cache): Likewise.
12011 (__gconv_get_path): Likewise.
12012 (__gconv_close_transform): Likewise.
12013 (__gconv_release_cache): Likewise.
12014 (__gconv_find_shlib): Likewise.
12015 (__gconv_release_shlib): Likewise.
12016 (__gconv_get_builtin_trans): Likewise.
12017 (__gconv_compare_alias): Likewise.
12018 * include/dlfcn.h (_dlerror_run): Likewise.
12019 * include/stdio.h (__fortify_fail_abort): Likewise.
12020 * include/time.h (__tz_compute): Likewise.
12021 (__strptime_internal): Likewise.
12022 * intl/gettextP.h (_nl_find_domain): Likewise.
12023 (_nl_load_domain): Likewise.
12024 (_nl_find_msg): Likewise.
12025 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
12026 (EXTRACT_PLURAL_EXPRESSION): Likewise.
12027 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
12028 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
12029 (__gai_find_request): Likewise.
12030 (__gai_remove_request): Likewise.
12031 (__gai_notify): Likewise.
12032 (__gai_notify_only): Likewise.
12033 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12034 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
12035 (_dl_non_dynamic_init): Likewise.
12036 (_dl_aux_init): Likewise.
12037 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
12038 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12040 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
12041 (__wcsmbs_clone_conv): Likewise.
12042 (__wcsmbs_named_conv): Likewise.
12044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12047 * include/stdlib.h (__random): Add attribute_hidden.
12048 (__random_r): Likewise.
12049 (__srandom_r): Likewise.
12050 (__initstate_r): Likewise.
12051 (__setstate_r): Likewise.
12052 (__erand48_r): Likewise.
12053 (__nrand48_r): Likewise.
12054 (__jrand48_r): Likewise.
12055 (__srand48_r): Likewise.
12056 (__seed48_r): Likewise.
12057 (__lcong48_r): Likewise.
12058 (__drand48_iterate): Likewise.
12059 (__setenv): Likewise.
12060 (__unsetenv): Likewise.
12061 (__clearenv): Likewise.
12062 (__ptsname_r): Likewise.
12063 (__posix_openpt): Likewise.
12064 (__add_to_environ): Likewise.
12065 (__realpath): Add libc_hidden_proto.
12066 (__ecvt_r): Likewise.
12067 (__fcvt_r): Likewise.
12068 (__qecvt_r): Likewise.
12069 (__qfcvt_r): Likewise.
12070 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
12071 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
12073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12076 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
12077 * include/time.h (__mktime_internal): Likewise.
12078 * libio/iolibio.h (__fopen_internal): Likewise.
12080 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
12082 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
12084 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
12085 Correct offset used to restore PIC register.
12087 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
12090 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
12091 code to load address of __getcontext_ret when generating PIC code.
12093 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
12095 * elf/Makefile (tests-static-internal): Add
12096 tst-tls1-static-non-pie.
12097 (LDFLAGS-tst-tls1-static-non-pie): New.
12098 * elf/tst-tls1-static-non-pie.c: New file.
12100 2017-09-29 Joseph Myers <joseph@codesourcery.com>
12102 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
12103 (asinh): Define using libm_alias_double.
12104 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
12105 (cbrt): Define using libm_alias_double.
12106 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
12107 <libm-alias-double.h>.
12108 (copysign): Define using libm_alias_double.
12109 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
12110 (erf): Define using libm_alias_double.
12112 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
12113 (expm1): Define using libm_alias_double.
12114 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
12115 (fabs): Define using libm_alias_double.
12116 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
12118 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
12119 <libm-alias-double.h>.
12120 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
12122 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
12123 <libm-alias-double.h>.
12124 (getpayload): Define using libm_alias_double.
12125 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
12126 <libm-alias-double.h>.
12127 (llrint): Define using libm_alias_double.
12128 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
12129 (lrint): Define using libm_alias_double.
12130 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
12131 <libm-alias-double.h>.
12132 (nextup): Define using libm_alias_double.
12133 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
12134 <libm-alias-double.h>.
12135 (roundeven): Define using libm_alias_double.
12136 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
12138 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
12139 <libm-alias-double.h>.
12140 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
12141 using libm_alias_double.
12142 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
12143 (cos): Define using libm_alias_double.
12145 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
12146 <libm-alias-double.h>.
12147 (sincos): Define using libm_alias_double.
12148 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
12149 (tanh): Define using libm_alias_double.
12150 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12151 <libm-alias-double.h>.
12152 (totalorder): Define using libm_alias_double.
12153 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12154 <libm-alias-double.h>.
12155 (totalordermag): Define using libm_alias_double.
12156 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
12158 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
12160 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
12161 <libm-alias-double.h>.
12162 (getpayload): Define using libm_alias_double.
12163 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
12164 <libm-alias-double.h>.
12165 (roundeven): Define using libm_alias_double.
12166 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
12167 <libm-alias-double.h>.
12168 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12169 <libm-alias-double.h>.
12170 (totalorder): Define using libm_alias_double.
12171 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12172 <libm-alias-double.h>.
12173 (totalordermag): Define using libm_alias_double.
12174 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
12175 libc compat symbol here.
12176 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
12177 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
12178 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
12179 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
12180 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
12181 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
12182 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
12183 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
12184 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
12185 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
12187 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12189 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
12190 _dl_relocate_static_pie instead of _dl_start to compute load
12191 address in static PIE. Return 0 if _DYNAMIC is undefined for
12194 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12196 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
12197 _DYNAMIC is undefined for static executable.
12199 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12201 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
12203 2017-09-29 Joseph Myers <joseph@codesourcery.com>
12205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12207 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
12209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12210 (__ieee754_lgamma_r): Use fabs rather than __fabs.
12211 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12212 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12213 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12214 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
12215 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
12216 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
12217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
12218 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
12219 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
12220 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12221 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
12222 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
12223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12225 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
12227 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
12229 * math/bits/cmathcalls.h (cimag): Remove inline.
12230 (creal): Remove inline.
12231 (conj): Remove inline.
12233 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12235 * math/Makefile (type-float-routines): Add e_powf_log2_data.
12236 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
12237 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
12238 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
12239 (issignalingf_inline): Likewise.
12240 (POWF_LOG2_TABLE_BITS): Likewise.
12241 (POWF_LOG2_POLY_ORDER): Likewise.
12242 (POWF_SCALE_BITS): Likewise.
12243 (POWF_SCALE): Likewise.
12244 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
12245 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
12246 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
12248 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12250 * math/Makefile (type-float-routines): Add e_log2f_data.
12251 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
12252 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
12253 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
12254 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
12255 * sysdeps/i386/fpu/e_log2f_data.c: New file.
12256 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
12257 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
12259 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12261 * math/Makefile (type-float-routines): Add e_logf_data.
12262 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
12263 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
12264 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
12265 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
12266 * sysdeps/i386/fpu/e_logf_data.c: New file.
12267 * sysdeps/ia64/fpu/e_logf_data.c: New file.
12268 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
12270 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
12272 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
12273 undefined _DYNAMIC in PIE libc.a.
12274 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
12277 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
12279 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
12280 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
12281 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
12282 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
12283 (__signbit): Remove.
12284 (__signbitl): Remove.
12285 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
12286 (__signbit): Remove.
12287 (__signbitl): Remove.
12288 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
12289 (__signbit): Remove.
12290 (__signbitl): Remove.
12291 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
12292 (__signbit): Remove.
12293 (__signbitl): Remove.
12294 * sysdeps/tile/bits/mathinline.h: Delete file.
12295 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
12296 (__signbit): Remove.
12297 (__signbitl): Remove.
12299 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
12301 * math/math.h: Improve handling of C99 isgreater macros.
12302 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
12303 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
12304 * sysdeps/powerpc/bits/mathinline.h: Likewise.
12305 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12306 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
12308 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12310 * sysdeps/aarch64/libm-test-ulps: Update.
12312 2017-09-28 Joseph Myers <joseph@codesourcery.com>
12315 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12316 math_opt_barrier on argument when doing arithmetic on it.
12317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12318 Likewise. Use math_force_eval not math_opt_barrier after
12320 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
12321 math_opt_barrier on argument when doing arithmetic on it.
12322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12325 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
12327 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
12329 (__freeifaddrs): Likewise.
12331 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12333 * include/dirent.h (__dirfd): New declaration.
12334 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
12336 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
12337 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
12338 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
12339 * include/unistd.h (__revoke): New declaration.
12340 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
12342 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12343 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
12345 * include/dirent.h (__seekdir): New declaration.
12346 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
12347 redefine as weak alias.
12348 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
12350 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
12351 and use libc_hidden_def on them.
12352 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
12354 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
12355 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
12356 instead of getifaddrs and freeifaddrs.
12358 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
12361 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
12362 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
12363 (__dso_handle): Remove declaration.
12364 * dlfcn/tstatexit.c (__dso_handle): Removed.
12365 (main): Don't check __dso_handle.
12366 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
12367 (main): Don't check __dso_handle.
12368 * include/dso_handle.h: New file.
12369 * malloc/mtrace.c: Include <dso_handle.h>.
12370 (mtrace): Pass __dso_handle directly.
12371 * nptl/pthread_atfork.c: Include <dso_handle.h>.
12372 (__dso_handle): Remove declaration.
12373 (__pthread_atfork): Pass __dso_handle directly.
12374 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
12375 (__dso_handle): Removed.
12376 * posix/wordexp-test.c: Include <dso_handle.h>.
12377 (__dso_handle): Remove declaration.
12378 (__app_register_atfork): Pass __dso_handle directly.
12379 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
12380 (__dso_handle): Remove declaration.
12381 (at_quick_exit): Pass __dso_handle directly.
12382 * stdlib/atexit.c: Include <dso_handle.h>.
12383 (__dso_handle): Remove declaration.
12384 (atexit): Pass __dso_handle directly.
12385 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
12386 (__dso_handle): Removed.
12388 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12390 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
12393 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
12395 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
12396 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
12397 values to correct default value for given type.
12399 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
12402 * elf/Makefile (tests): Add tst-debug1.
12403 ($(objpfx)tst-debug1): New.
12404 ($(objpfx)tst-debug1.out): Likewise.
12405 ($(objpfx)tst-debug1mod1.so): Likewise.
12406 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
12407 with p_filesz == 0.
12408 * elf/tst-debug1.c: New file.
12410 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12412 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
12413 Define using __ifunc.
12415 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12417 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
12420 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12423 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
12425 2017-09-26 Florian Weimer <fweimer@redhat.com>
12427 * resolv/Makefile (tests-internal): Fix typo in comment.
12429 2017-09-26 Florian Weimer <fweimer@redhat.com>
12431 * resolv/nss_dns/dns-host.c: Fix typo in comment.
12433 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12435 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
12436 Use an union instead of a max_align_t array for __space,
12437 so that __space is the same size on all platforms.
12438 * malloc/scratch_buffer_grow_preserve.c
12439 (__libc_scratch_buffer_grow_preserve): Likewise.
12442 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
12444 * posix/Makefile (routines): Add glob-lstat-compat and
12445 glob64-lstat-compat.
12446 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
12447 * posix/glob-lstat-compat.c: New file.
12448 * posix/glob64-lstat-compat.c: Likewise.
12449 * posix/tst-glob_lstat_compat.c: Likewise.
12450 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
12451 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
12452 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
12453 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
12455 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
12456 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
12457 * posix/glob.c (glob_lstat): New function.
12458 (glob): Rename to __glob and add versioned symbol to 2.27.
12459 (glob_in_dir): Use glob_lstat.
12460 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
12461 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
12464 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
12465 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
12466 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
12467 gl_lstat on glob call.
12468 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
12469 and glob64 symbols.
12470 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12484 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12497 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
12499 * configure.ac (AS): Require binutils 2.25 or later.
12500 * configure: Regenerated.
12502 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12505 * stdlib/test-atexit-race-common.c (do_test): Minimize required
12508 2017-09-25 DJ Delorie <dj@redhat.com>
12511 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
12514 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12516 * sysdeps/ieee754/dbl-64/sincos32.h
12517 [SINCCOS32_H]: Remove define.
12518 [SINCOS32_H]: Define.
12520 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12522 * math/Versions (expf): New libm symbol at GLIBC_2.27.
12524 * math/w_exp2f.c: New file.
12525 * math/w_expf.c: New file.
12526 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
12527 * math/w_expf_compat.c (__expf_compat): Likewise.
12528 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
12529 * sysdeps/ia64/fpu/e_expf.S: Likewise.
12530 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
12531 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12540 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12550 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12559 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12563 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12565 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
12566 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
12567 (roundtoint, converttoint): Likewise.
12568 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
12569 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
12570 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
12571 * sysdeps/ieee754/flt-32/math_config.h: New file.
12572 * sysdeps/ieee754/flt-32/math_errf.c: New file.
12573 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
12574 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
12575 * sysdeps/i386/fpu/math_errf.c: New file.
12576 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
12577 * sysdeps/ia64/fpu/math_errf.c: New file.
12578 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
12579 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
12581 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
12583 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
12584 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
12585 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
12586 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
12587 to make sure that these symbols are defined.
12588 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
12590 (__need_NULL): Do not define.
12591 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
12593 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
12594 CMGROUP_MAX, cmsgcred): Do not define.
12595 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
12597 * bits/socket.h: Likewise.
12598 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
12599 __gettimeofday instead of gettimeofday.
12600 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
12601 instead of settimeofday.
12603 2017-09-22 Joseph Myers <joseph@codesourcery.com>
12605 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
12606 (asinhf): Define using libm_alias_float.
12607 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
12608 (atanf): Define using libm_alias_float.
12609 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
12610 (cbrtf): Define using libm_alias_float.
12611 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
12612 (ceilf): Define using libm_alias_float.
12613 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
12614 <libm-alias-float.h>.
12615 (copysignf): Define using libm_alias_float.
12616 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
12617 (cosf): Define using libm_alias_float.
12618 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
12619 (erff): Define using libm_alias_float.
12621 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
12622 (expm1f): Define using libm_alias_float.
12623 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
12624 (fabsf): Define using libm_alias_float.
12625 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
12626 (floorf): Define using libm_alias_float.
12627 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
12628 (frexpf): Define using libm_alias_float.
12629 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
12631 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
12632 <libm-alias-float.h>.
12633 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
12635 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
12636 <libm-alias-float.h>.
12637 (getpayloadf): Define using libm_alias_float.
12638 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
12639 <libm-alias-float.h>.
12640 (llrintf): Define using libm_alias_float.
12641 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
12642 <libm-alias-float.h>.
12643 (llroundf): Define using libm_alias_float.
12644 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
12645 (logbf): Define using libm_alias_float.
12646 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
12647 (lrintf): Define using libm_alias_float.
12648 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
12649 (lroundf): Define using libm_alias_float.
12650 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
12651 (modff): Define using libm_alias_float.
12652 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
12653 <libm-alias-float.h>.
12654 (nearbyintf): Define using libm_alias_float.
12655 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
12656 <libm-alias-float.h>.
12657 (nextafterf): Define using libm_alias_float.
12658 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
12659 <libm-alias-float.h>.
12660 (nextupf): Define using libm_alias_float.
12661 * sysdeps/ieee754/flt-32/s_remquof.c: Include
12662 <libm-alias-float.h>.
12663 (remquof): Define using libm_alias_float.
12664 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
12665 (rintf): Define using libm_alias_float.
12666 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
12667 <libm-alias-float.h>.
12668 (roundevenf): Define using libm_alias_float.
12669 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
12670 (roundf): Define using libm_alias_float.
12671 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
12672 using libm_alias_float.
12673 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
12674 <libm-alias-float.h>.
12675 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
12676 Define using libm_alias_float.
12677 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
12678 <libm-alias-float.h>.
12679 (sincosf): Define using libm_alias_float.
12680 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
12681 (sinf): Define using libm_alias_float.
12682 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
12683 (tanf): Define using libm_alias_float.
12684 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
12685 (tanhf): Define using libm_alias_float.
12686 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12687 <libm-alias-float.h>.
12688 (totalorderf): Define using libm_alias_float.
12689 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12690 <libm-alias-float.h>.
12691 (totalordermagf): Define using libm_alias_float.
12692 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
12693 (truncf): Define using libm_alias_float.
12694 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
12696 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
12699 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12702 math/math.h: Let fpclassify use the builtin in C++ mode, even
12703 when optimazing for size.
12705 2017-09-22 Joseph Myers <joseph@codesourcery.com>
12707 * csu/Makefile (generated): Do not add version-info.h.
12708 (before-compile): Likewise.
12709 (all-Banner-files): Remove variable.
12710 ($(objpfx)version-info.h): Remove rule.
12711 * csu/version.c (banner): Do not include "version-info.h".
12712 * libidn/Banner: Remove.
12713 * manual/contrib.texi (Simon Josefsson): New entry.
12715 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12718 Remove conditionals on LDBL_MANT_DIG.
12719 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
12720 (__ieee754_lgammal_r): Likewise.
12722 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
12726 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
12727 _Float128 and L(). Replace _Float128 with long double and L(x)
12728 with xL, throughout the file.
12729 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
12734 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
12737 sysdeps/ieee754/ldbl-128ibm.
12738 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
12739 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
12740 of including it. Keep _Float128 and L() intact. These will be
12741 reviewed by a separate patch.
12742 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
12747 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
12750 (__finitef128): Define to __redirect___finitef128.
12751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
12752 (__isinff128): Define to __redirect___isinff128.
12753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
12754 (__isnanf128): Define to __redirect___isnanf128.
12756 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12758 * sysdeps/powerpc/powerpc64le/Makefile
12759 (CFLAGS-tst-strtod-nan-locale.c): New variable.
12760 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
12762 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
12763 Carlos O'Donell <carlos@redhat.com>
12766 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
12767 * stdlib/test-dlclose-exit-race.c: New file.
12768 * stdlib/test-dlclose-exit-race-helper.c: New file.
12769 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
12771 2017-09-21 Joseph Myers <joseph@codesourcery.com>
12773 * crypt/Banner: Remove file.
12774 * nptl/Banner: Likewise.
12775 * resolv/Banner: Likewise.
12776 * soft-fp/Banner: Likewise.
12777 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
12778 ($(objpfx)version.d): Remove dependency on banner.h.
12779 ($(objpfx)version.os): Likewise.
12780 * nptl/version.c (banner): Do not include banner.h.
12781 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
12782 Jelinek and BIND code.
12784 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
12785 Carlos O'Donell <carlos@redhat.com>
12787 * support/xdlfcn.h: New file.
12788 * support/xdlfcn.c: New file.
12789 * support/Makefile (libsupport-routines): Add xdlfcn.
12790 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
12792 2017-09-20 Joseph Myers <joseph@codesourcery.com>
12795 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12796 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
12797 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
12798 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
12799 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12800 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
12801 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
12802 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12804 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
12805 Ricky Zhou <rickyz@google.com>
12806 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
12809 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
12811 (__new_exitfn): Fail registration when we finished at_exit processing.
12812 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12813 * stdlib/on_exit.c (__on_exit): Likewise.
12814 * stdlib/exit.c (__exit_funcs_done): New variable.
12815 (__run_exit_handlers): Use __exit_funcs_lock.
12816 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
12818 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
12819 (test-cxa_atexit-race, test-on_exit-race): New tests.
12820 * stdlib/test-atexit-race-common.c: New file.
12821 * stdlib/test-atexit-race.c: New file.
12822 * stdlib/test-at_quick_exit-race.c: New file.
12823 * stdlib/test-cxa_atexit-race.c: New file.
12824 * stdlib/test-on_exit-race.c: New file.
12826 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
12828 * benchtests/Makefile: Add exp2f and log2f benchmarks.
12829 * benchtests/exp2f-inputs: Copy of expf-inputs.
12830 * benchtests/log2f-inputs: Copy of logf-inputs.
12832 2017-09-19 Joseph Myers <joseph@codesourcery.com>
12834 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
12835 Explicitly take address of first element of array arguments in
12836 call to INLINE_SYSCALL.
12838 2017-09-19 Andreas Schwab <schwab@suse.de>
12841 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
12843 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
12845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
12846 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
12847 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12848 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
12849 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12850 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
12851 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12852 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
12853 * posix/Makefile (tests): Add tst-fexecve.
12854 * posix/tst-fexecve.c: New file.
12856 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12858 * benchtests/Makefile: Add logf benchmark.
12859 * benchtests/logf-inputs: Add reduced trace from wrf_r.
12861 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12863 * benchtests/Makefile: Add expf benchmark.
12864 * benchtests/expf-inputs: Add reduced trace from wrf_r.
12866 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12868 * csu/Makefile: Add -funwind-tables to libc-start.c.
12869 * debug/Makefile: Add -funwind-tables to backtrace.c.
12870 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
12871 * sysdeps/arm/Makefile: Likewise.
12872 * sysdeps/i386/Makefile: Likewise.
12873 * sysdeps/m68k/Makefile: Likewise.
12874 * sysdeps/mips/Makefile: Likewise.
12875 * sysdeps/nios2/Makefile: Likewise.
12876 * sysdeps/sh/Makefile: Likewise.
12877 * sysdeps/sparc/Makefile: Likewise.
12879 2017-09-19 Joseph Myers <joseph@codesourcery.com>
12881 * benchtests/Makefile (bench-math): Add trunc and truncf.
12882 (CFLAGS-bench-trunc.c): New variable.
12883 (CFLAGS-bench-truncf.c): Likewise.
12884 * benchtests/trunc-inputs: New file.
12885 * benchtests/truncf-inputs: Likewise.
12887 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12889 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
12891 2017-09-18 Joseph Myers <joseph@codesourcery.com>
12893 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
12894 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
12896 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
12897 (exp10l): Define as weak alias.
12898 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
12899 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
12901 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
12902 (remainderl): Define as weak alias.
12904 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
12905 (fmal): Define using libm_alias_ldouble.
12906 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
12907 (acoshl): Define using libm_alias_ldouble.
12908 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
12909 (acosl): Define using libm_alias_ldouble.
12910 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
12911 (asinl): Define using libm_alias_ldouble.
12912 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
12913 (atan2l): Define using libm_alias_ldouble.
12914 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
12915 (atanhl): Define using libm_alias_ldouble.
12916 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
12917 (coshl): Define using libm_alias_ldouble.
12918 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
12919 (exp10l): Define using libm_alias_ldouble.
12920 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
12921 (exp2l): Define using libm_alias_ldouble.
12922 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
12923 (expl): Define using libm_alias_ldouble.
12924 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
12925 (fmodl): Define using libm_alias_ldouble.
12926 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
12927 (hypotl): Define using libm_alias_ldouble.
12928 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
12929 (j0l): Define using libm_alias_ldouble.
12931 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
12932 (j1l): Define using libm_alias_ldouble.
12934 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
12935 (jnl): Define using libm_alias_ldouble.
12937 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
12938 (log10l): Define using libm_alias_ldouble.
12939 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
12940 (log2l): Define using libm_alias_ldouble.
12941 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
12942 (logl): Define using libm_alias_ldouble.
12943 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
12944 (powl): Define using libm_alias_ldouble.
12945 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
12946 (remainderl): Define using libm_alias_ldouble.
12947 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
12948 (sinhl): Define using libm_alias_ldouble.
12949 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
12950 (sqrtl): Define using libm_alias_ldouble.
12951 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
12952 (tgammal): Define using libm_alias_ldouble.
12953 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
12954 (exp10l): Do not use long_double_symbol here.
12955 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
12956 [LIBM_SVID_COMPAT] (remainderl): Likewise.
12957 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
12958 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
12959 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
12960 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
12961 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
12962 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
12963 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
12964 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
12965 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
12966 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
12967 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
12968 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
12969 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
12970 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
12971 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
12972 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
12973 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
12974 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
12975 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
12976 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
12978 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
12980 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
12981 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
12983 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12985 * io/read.c (read): Add libc_hidden_weak.
12986 * sysdeps/mach/hurd/read.c (read): Likewise.
12987 * io/write.c (write): Likewise.
12988 * sysdeps/mach/hurd/write.c (write): Likewise.
12989 * io/pread64.c (__pread64): Likewise.
12990 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
12991 * posix/pread64.c (__pread64): Add libc_hidden_def.
12993 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12995 * benchtests/scripts/compare_strings.py: New option -g.
12996 (draw_graph): Print a message that a graph is being generated.
12997 (process_results): Generate graph only if -g is passed.
12998 (main): Process option -g.
13000 * benchtests/scripts/compare_strings.py (process_results):
13001 Better spacing for output.
13003 * benchtests/scripts/compare_strings.py: Use argparse.
13004 * benchtests/README: Document existence of compare_strings.py.
13006 2017-09-15 Joseph Myers <joseph@codesourcery.com>
13008 * math/s_fma.c: Include <libm-alias-double.h>.
13009 (fma): Define using libm_alias_double.
13010 * math/s_nextafter.c: Include <libm-alias-double.h>.
13011 (nextafter): Define using libm_alias_double.
13012 * math/w_acos_compat.c: Include <libm-alias-double.h>.
13013 (acos): Define using libm_alias_double.
13014 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
13015 (aocsh): Define using libm_alias_double.
13016 * math/w_asin_compat.c: Include <libm-alias-double.h>.
13017 (asin): Define using libm_alias_double.
13018 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
13019 (atan2): Define using libm_alias_double.
13020 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
13021 (atanh): Define using libm_alias_double.
13022 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
13023 (cosh): Define using libm_alias_double.
13024 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
13025 (exp10): Define using libm_alias_double.
13026 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
13027 (exp2): Define using libm_alias_double.
13028 * math/w_exp_compat.c: Include <libm-alias-double.h>.
13029 (exp): Define using libm_alias_double.
13030 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
13031 (fmod): Define using libm_alias_double.
13032 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
13033 (hypot): Define using libm_alias_double.
13034 * math/w_j0_compat.c: Include <libm-alias-double.h>.
13035 (j0): Define using libm_alias_double.
13037 * math/w_j1_compat.c: Include <libm-alias-double.h>.
13038 (j1): Define using libm_alias_double.
13040 * math/w_jn_compat.c: Include <libm-alias-double.h>.
13041 (jn): Define using libm_alias_double.
13043 * math/w_log10_compat.c: Include <libm-alias-double.h>.
13044 (log10): Define using libm_alias_double.
13045 * math/w_log2_compat.c: Include <libm-alias-double.h>.
13046 (log2): Define using libm_alias_double.
13047 * math/w_log_compat.c: Include <libm-alias-double.h>.
13048 (log): Define using libm_alias_double.
13049 * math/w_pow_compat.c: Include <libm-alias-double.h>.
13050 (pow): Define using libm_alias_double.
13051 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
13052 (remainder): Define using libm_alias_double.
13053 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
13054 (sinh): Define using libm_alias_double.
13055 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
13056 (sqrt): Define using libm_alias_double.
13057 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
13058 (tgamma): Define using libm_alias_double.
13059 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
13060 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
13061 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
13062 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
13063 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
13064 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
13065 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
13066 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
13067 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
13068 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
13069 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
13070 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
13071 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
13072 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
13073 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
13074 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
13075 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
13076 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
13077 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
13078 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
13079 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
13080 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
13081 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
13082 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
13083 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
13085 * math/e_acoshl.c: Remove.
13086 * math/e_acosl.c: Likewise.
13087 * math/e_asinl.c: Likewise.
13088 * math/e_atan2l.c: Likewise.
13089 * math/e_atanhl.c: Likewise.
13090 * math/e_coshl.c: Likewise.
13091 * math/e_expl.c: Likewise.
13092 * math/e_fmodl.c: Likewise.
13093 * math/e_gammal_r.c: Likewise.
13094 * math/e_hypotl.c: Likewise.
13095 * math/e_j0l.c: Likewise.
13096 * math/e_j1l.c: Likewise.
13097 * math/e_jnl.c: Likewise.
13098 * math/e_lgammal_r.c: Likewise.
13099 * math/e_log10l.c: Likewise.
13100 * math/e_log2l.c: Likewise.
13101 * math/e_logl.c: Likewise.
13102 * math/e_powl.c: Likewise.
13103 * math/e_rem_pio2l.c: Likewise.
13104 * math/e_sinhl.c: Likewise.
13105 * math/e_sqrtf128.c: Likewise.
13106 * math/e_sqrtl.c: Likewise.
13107 * math/k_cosl.c: Likewise.
13108 * math/k_sinl.c: Likewise.
13109 * math/k_tanl.c: Likewise.
13110 * math/s_asinhl.c: Likewise.
13111 * math/s_atanl.c: Likewise.
13112 * math/s_cbrtl.c: Likewise.
13113 * math/s_erfl.c: Likewise.
13114 * math/s_expm1l.c: Likewise.
13115 * math/s_log1pl.c: Likewise.
13116 * math/s_tanhl.c: Likewise.
13118 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
13122 [$(subdir) = math] (sysdep_calls): New variable. Has the
13123 previous contents of sysdep_routines, but re-sorted..
13124 [$(subdir) = math] (sysdep_routines): Re-use the contents from
13126 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
13127 defined in sysdep_calls and replace by the respective m_* names.
13128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
13129 (compat_symbol): Undefine to avoid duplicated compat symbols in
13132 2017-09-15 Joseph Myers <joseph@codesourcery.com>
13134 * math/s_fmaf.c: Include <libm-alias-float.h>.
13135 (fmaf): Define using libm_alias_float.
13136 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
13137 (acosf): Define using libm_alias_float.
13138 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
13139 (acoshf): Define using libm_alias_float.
13140 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
13141 (asinf): Define using libm_alias_float.
13142 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
13143 (atan2f): Define using libm_alias_float.
13144 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
13145 (atanhf): Define using libm_alias_float.
13146 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
13147 (coshf): Define using libm_alias_float.
13148 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
13149 (exp10f): Define using libm_alias_float.
13150 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
13151 (fmodf): Define using libm_alias_float.
13152 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
13153 (hypotf): Define using libm_alias_float.
13154 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
13155 (j0f): Define using libm_alias_float.
13157 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
13158 (j1f): Define using libm_alias_float.
13160 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
13161 (jnf): Define using libm_alias_float.
13163 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
13164 (log10f): Define using libm_alias_float.
13165 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
13166 (log2f): Define using libm_alias_float.
13167 * math/w_logf_compat.c: Include <libm-alias-float.h>.
13168 (logf): Define using libm_alias_float.
13169 * math/w_powf_compat.c: Include <libm-alias-float.h>.
13170 (powf): Define using libm_alias_float.
13171 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
13172 (remainderf): Define using libm_alias_float.
13173 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
13174 (sinhf): Define using libm_alias_float.
13175 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
13176 (sqrtf): Define using libm_alias_float.
13177 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
13178 (tgammaf): Define using libm_alias_float.
13180 2017-09-14 Joseph Myers <joseph@codesourcery.com>
13182 * include/math.h (roundeven): Change hidden_proto call to
13184 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
13186 [NO_LONG_DOUBLE] (__j0l): New strong alias.
13187 (y0): Rename to __y0 and define as weak alias.
13188 [NO_LONG_DOUBLE] (__y0l): New strong alias.
13189 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
13191 (y0f): Rename to __y0f and define as weak alias.
13192 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
13194 [NO_LONG_DOUBLE] (__j1l): New strong alias.
13195 (y1): Rename to __y1 and define as weak alias.
13196 [NO_LONG_DOUBLE] (__y1l): New strong alias.
13197 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
13199 (y1f): Rename to __y1f and define as weak alias.
13200 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
13202 [NO_LONG_DOUBLE] (__jnl): New strong alias.
13203 (yn): Rename to __yn and define as weak alias.
13204 [NO_LONG_DOUBLE] (__ynl): New strong alias.
13205 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
13207 (ynf): Rename to __ynf and define as weak alias.
13208 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
13209 (fromfp): Define as weak alias.
13210 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
13211 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
13212 (fromfpx): Define as weak alias.
13213 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
13214 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
13215 __getpayload and define as weak alias.
13216 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
13217 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
13218 __roundeven and define as weak alias.
13219 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
13220 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
13222 (setpayload): Define as weak alias.
13223 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
13224 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
13226 (setpayloadsig): Define as weak alias.
13227 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
13228 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
13229 __totalorder and define as weak alias.
13230 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
13231 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
13232 to __totalordermag and define as weak alias.
13233 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
13234 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
13235 (ufromfp): Define as weak alias.
13236 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
13237 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
13239 (ufromfpx): Define as weak alias.
13240 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
13241 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
13242 Rename to __getpayload and define as weak alias.
13243 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
13244 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
13245 Rename to __roundeven and define as weak alias.
13246 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
13247 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
13248 Rename to __totalorder and define as weak alias.
13249 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
13250 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
13251 (totalordermag): Rename to __totalordermag and define as weak
13253 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
13254 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
13256 (__roundevenl): Likewise.
13257 (__totalorderl): Likewise.
13258 (__totalordermagl): Likewise
13259 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
13261 (fromfpf128): Define as weak alias.
13262 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
13264 (fromfpxf128): Define as weak alias.
13265 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
13267 (setpayloadf128): Define as weak alias.
13268 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
13269 __setpayloadsigf128.
13270 (setpayloadsigf128): Define as weak alias.
13271 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
13273 (ufromfpf128): Define as weak alias.
13274 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
13276 (ufromfpxf128): Define as weak alias.
13277 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
13278 (fromfpf): Define as weak alias.
13279 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
13281 (fromfpxf): Define as weak alias.
13282 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
13283 __getpayloadf and define as weak alias.
13284 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
13285 __roundevenf and define as weak alias.
13286 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
13288 (setpayloadf): Define as weak alias.
13289 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
13291 (setpayloadsigf): Define as weak alias.
13292 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
13293 __totalorderf and define as weak alias.
13294 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
13295 Rename to __totalordermagf and define as weak alias.
13296 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
13298 (ufromfpf): Define as weak alias.
13299 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
13301 (ufromfpxf): Define as weak alias.
13302 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
13304 (fromfpl): Define as weak alias.
13305 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
13307 (fromfpxl): Define as weak alias.
13308 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
13309 to __getpayloadl and define as weak alias.
13310 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
13311 __roundevenl and define as weak alias.
13312 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
13314 (setpayloadl): Define as weak alias.
13315 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
13317 (setpayloadsigl): Define as weak alias.
13318 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
13319 to __totalorderl and define as weak alias.
13320 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
13321 Rename to __totalordermagl and define as weak alias.
13322 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
13324 (ufromfpl): Define as weak alias.
13325 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
13327 (ufromfpxl): Define as weak alias.
13328 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
13330 (fromfpl): Define as weak alias.
13331 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
13333 (fromfpxl): Define as weak alias.
13334 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
13335 Rename to __getpayloadl and define as weak alias.
13336 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
13337 to __roundevenl and define as weak alias. Call __roundeven
13338 instead of roundeven.
13339 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
13341 (setpayloadl): Define as weak alias.
13342 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
13344 (setpayloadsigl): Define as weak alias.
13345 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
13346 Rename to __totalorderl and define as weak alias.
13347 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
13348 Rename to __totalordermagl and define as weak alias.
13349 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
13351 (ufromfpl): Define as weak alias.
13352 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
13354 (ufromfpxl): Define as weak alias.
13355 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
13357 (fromfpl): Define as weak alias.
13358 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
13360 (fromfpxl): Define as weak alias.
13361 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
13362 __getpayloadl and define as weak alias.
13363 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
13364 __roundevenl and define as weak alias.
13365 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
13367 (setpayloadl): Define as weak alias.
13368 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
13370 (setpayloadsigl): Define as weak alias.
13371 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
13372 __totalorderl and define as weak alias.
13373 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
13374 Rename to __totalordermagl and define as weak alias.
13375 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
13377 (ufromfpl): Define as weak alias.
13378 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
13380 (ufromfpxl): Define as weak alias.
13382 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13384 * benchtests/bench-string.h (realloc_bufs): New function.
13385 (test_init): Call it.
13386 * benchtests/bench-memset-large.c (do_test): Likewise.
13387 * benchtests/bench-memset.c (do_test): Likewise.
13389 * benchtests/bench-memset-large.c: Print output in JSON
13391 * benchtests/bench-memset.c: Likewise.
13393 2017-09-14 Mike FABIAN <mfabian@redhat.com>
13396 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
13397 * iconvdata/Makefile: Add IBM858.
13398 * iconvdata/gconv-modules: Likewise.
13399 * iconvdata/tst-tables.sh: Likewise.
13400 * iconvdata/ibm858.c: New file.
13401 * localedata/charmaps/IBM858: Likewise.
13403 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
13406 * locales/niu_NZ (LC_TIME): copy "niu_NU".
13407 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
13409 2017-09-14 Mike FABIAN <mfabian@redhat.com>
13412 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
13413 and add tel_int_fmt.
13415 2017-09-14 Joseph Myers <joseph@codesourcery.com>
13417 * sysdeps/generic/libm-alias-float128.h: New file.
13418 * sysdeps/generic/math-type-macros-float128.h: Include
13419 <libm-alias-float128.h>.
13420 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
13422 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13424 * sysdeps/generic/libm-alias-ldouble.h: New file.
13425 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
13426 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
13427 * sysdeps/generic/math-type-macros-ldouble.h: Include
13428 <libm-alias-ldouble.h>.
13429 [!declare_mgen_alias] (declare_mgen_alias): Define to use
13430 libm_alias_ldouble.
13432 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
13434 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
13435 * math/w_exp_compat.c: ... here.
13436 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
13437 * math/w_expf_compat.c: ... here.
13438 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
13439 * math/w_expl_compat.c: ... here.
13440 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
13441 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
13442 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
13443 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
13445 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13447 * math/w_scalbln_template.c (strong_alias): Do not undefine and
13449 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
13451 (ldexpl): Only define as compat symbol for libc, not libm.
13452 (scalbnl): Define as compat symbol for libc here.
13453 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
13454 define for [IS_IN (libc)].
13455 (__ldexpl_2): Remove alias.
13456 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
13457 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
13458 name in long_double_symbol call.
13459 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
13460 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13461 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13462 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
13463 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
13465 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
13466 Define as compat symbol.
13468 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13470 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
13471 * sysdeps/unix/sysv/linux/alpha/Makefile
13472 [$(subdir) = csu] (sysdep_routines): Remove rule.
13474 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13476 * sysdeps/generic/libm-alias-double.h: New file.
13477 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
13478 * sysdeps/generic/math-type-macros-double.h: Include
13479 <libm-alias-double.h>.
13480 [declare_mgen_alias] (declare_mgen_alias): Define to use
13482 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
13483 (M_LIBM_NEED_COMPAT): Remove macro.
13484 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
13485 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
13486 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
13488 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13489 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13490 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13491 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13492 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13493 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13494 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13495 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13496 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13497 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13498 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13499 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13500 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13501 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13502 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13503 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13504 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13505 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13506 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13507 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13508 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13509 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13510 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13511 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13512 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13513 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13514 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13515 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
13516 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
13518 (declare_mgen_alias): New macro.
13519 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
13520 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
13521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
13522 (M_LIBM_NEED_COMPAT): Remove macro.
13523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
13524 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
13525 <first-versions.h>.
13526 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
13527 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
13529 2017-09-12 Joseph Myers <joseph@codesourcery.com>
13531 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
13532 (declare_mgen_alias_2): Remove.
13533 * sysdeps/generic/math-type-macros-double.h
13534 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
13536 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
13538 (ldexp): Define with declare_mgen_alias.
13539 (scalbn): Likewise.
13541 2017-09-12 Steve Ellcey <sellcey@cavium.com>
13543 * grp/initgroups.c: Include config.h.
13544 (DEFAULT_CONFIG): New macro.
13545 (internal_getgrouplist): Use DEFAULT_CONFIG.
13546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13547 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
13548 (DEFAULT_DEFCONFIG): New macro.
13549 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
13550 * nss/grp-lookup.c: Include config.h
13551 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
13552 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
13553 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
13554 * manual/nss.texi: Update default values section.
13556 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
13559 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
13561 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
13562 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13563 Handle MathVec_Prefer_No_AVX512.
13564 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
13565 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
13568 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
13570 * posix/sched_primax.c (__sched_get_priority_max): Add
13572 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
13573 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
13574 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
13575 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
13576 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
13577 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
13578 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
13579 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
13582 2017-09-11 Joseph Myers <joseph@codesourcery.com>
13584 * sysdeps/generic/libm-alias-float.h: New file.
13585 * sysdeps/generic/math-type-macros-float.h: Include
13586 <libm-alias-float.h>.
13587 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
13589 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
13592 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
13593 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
13594 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
13595 (HWCAP_IMPORTANT): Likewise.
13596 (HWCAP_X86_64): New enum.
13597 (HWCAP_X86_AVX512_1): Updated.
13598 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
13599 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
13600 (modules-names): Add x86_64/tst-x86_64mod-1.
13601 (LDFLAGS-tst-x86_64mod-1.so): New.
13602 ($(objpfx)tst-x86_64-1): Likewise.
13603 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
13604 (tst-x86_64-1-clean): Likewise.
13605 * sysdeps/x86_64/tst-x86_64-1.c: New file.
13606 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
13608 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13610 * po/sv.po: Update translations.
13611 * po/fr.po: Likewise.
13613 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13615 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
13617 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
13619 * elf/rtld-Rules: Fix $(error) use.
13621 2017-09-09 Mike FABIAN <mfabian@redhat.com>
13624 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
13625 * locale/iso-639.def: Change “Bengali” to “Bangla”.
13626 * localedata/locales/bn_BD: “Bengali” was still used in some
13627 comments. Change it to “Bangla”.
13629 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
13631 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
13633 2017-09-08 Steve Ellcey <sellcey@cavium.com>
13635 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
13636 thunderx2t99p1 to list of cpu names.
13637 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
13638 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
13640 2017-09-08 Steve Ellcey <sellcey@cavium.com>
13642 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
13643 Use strcmp instead of tunable_is_name.
13645 2017-09-08 Joseph Myers <joseph@codesourcery.com>
13647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13648 (F_GET_RW_HINT): New macro.
13649 [__USE_GNU] (F_SET_RW_HINT): Likewise.
13650 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
13651 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
13652 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
13653 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
13654 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
13655 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
13656 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
13657 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
13659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13660 (F_ADD_SEALS): New macro.
13661 [__USE_GNU] (F_GET_SEALS): Likewise.
13662 [__USE_GNU] (F_SEAL_SEAL): Likewise.
13663 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
13664 [__USE_GNU] (F_SEAL_GROW): Likewise.
13665 [__USE_GNU] (F_SEAL_WRITE): Likewise.
13667 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13669 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
13670 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
13671 * posix/glob_internal.h (__glob_pattern_type):
13672 * posix/glob.c (glob):
13673 * posix/glob_pattern_p.c (__glob_pattern_p):
13676 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
13677 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13678 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
13679 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
13680 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
13682 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
13683 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
13684 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
13685 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
13687 * sysdeps/wordsize-64/glob.c: Likewise.
13688 * sysdeps/wordsize-64/glob64.c: Likewise.
13689 * sysdeps/wordsize-64/globfree.c: Likewise.
13690 * sysdeps/wordsize-64/globfree64.c: Likewise.
13691 * sysdeps/unix/sysv/linux/glob.c: New file.
13692 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
13693 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
13694 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
13695 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
13696 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
13697 adds !GLOB_NO_OLD_VERSION as an extra condition.
13698 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
13699 using relative path instead of absolute one.
13700 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13701 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13702 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13703 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13704 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
13705 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
13708 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
13709 (glob): Use the same scratch buffer for both getlogin_r and
13710 getpwnam_r. Don’t require preallocation of the login name. This
13711 simplifies storage allocation, and corrects the handling of
13715 * posix/glob.c (glob): Port recent patches to platforms
13716 lacking getpwnam_r.
13717 (glob): Fix longstanding misuse of errno after getpwnam_r, which
13718 returns an error number rather than setting errno.
13720 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
13721 instead of GCC extension.
13722 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
13723 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
13724 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
13728 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
13729 * posix/bug-glob1.c: Remove file.
13730 * posix/tst-glob_symlinks.c: New file.
13731 * posix/glob.c (__lstat64): New macro.
13732 (is_dir): New function.
13733 (glob, glob_in_dir): Match symlinks even if they are dangling.
13734 (link_stat, link_exists_p): Remove. All uses removed.
13738 * posix/glob.c (struct readdir_result): Remove skip_entry member.
13739 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
13744 * posix/Makefile (routines): Add globfree, globfree64, and
13746 * posix/flexmember.h: New file.
13747 * posix/glob_internal.h: Likewise.
13748 * posix/glob_pattern_p.c: Likewise.
13749 * posix/globfree.c: Likewise.
13750 * posix/globfree64.c: Likewise.
13751 * sysdeps/gnu/globfree64.c: Likewise.
13752 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
13753 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
13754 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
13755 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
13757 * sysdeps/wordsize-64/globfree.c: Likewise.
13758 * sysdeps/wordsize-64/globfree64.c: Likewise.
13759 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
13760 [NDEBUG): Remove comments.
13761 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
13762 (dirent_type): New type. Use uint_fast8_t not
13763 uint8_t, as C99 does not require uint8_t.
13764 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
13765 (struct readdir_result): Use dirent_type. Do not define skip_entry
13766 unless it is needed; this saves a byte on platforms lacking d_ino.
13767 (readdir_result_type, readdir_result_skip_entry):
13768 New functions, replacing ...
13769 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
13770 these functions, which were removed. This makes the callers
13771 easier to read. All callers changed.
13772 (D_INO_TO_RESULT): Now empty if there is no d_ino.
13773 (size_add_wrapv, glob_use_alloca): New static functions.
13774 (glob, glob_in_dir): Check for size_t overflow in several places,
13775 and fix some size_t checks that were not quite right.
13776 Remove old code using SHELL since Bash no longer
13778 (glob, prefix_array): Separate MS code better.
13779 (glob_in_dir): Remove old Amiga and VMS code.
13780 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
13782 (glob_in_dir): Do not rely on undefined behavior in accessing
13783 struct members beyond their bounds. Use a flexible array member
13785 (link_stat): Rename from link_exists2_p and return -1/0 instead of
13786 0/1. Caller changed.
13787 (glob): Fix memory leaks.
13788 * posix/glob64 (globfree64): Move to separate file.
13789 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
13790 (globfree64): Remove hidden alias.
13791 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
13793 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
13795 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
13797 Move compat code to separate file.
13798 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
13801 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
13803 * resolv/tst-resolv-qtypes.c (domain): Changed to
13804 "const char domain[] =".
13806 2017-09-07 Joseph Myers <joseph@codesourcery.com>
13808 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
13811 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
13812 (TCP_MD5SIG_EXT): Likewise.
13813 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
13814 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
13815 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
13817 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
13819 2017-09-07 Mike FABIAN <mfabian@redhat.com>
13821 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
13823 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
13826 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
13828 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
13830 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
13831 before assuming that the file is empty. Avoid testing buffer content
13834 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13837 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
13839 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
13841 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
13843 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
13845 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
13847 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
13849 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
13852 2017-09-06 Florian Weimer <fweimer@redhat.com>
13854 * malloc/dynarray_emplace_enlarge.c
13855 (__libc_dynarray_emplace_enlarge): Add missing else.
13857 2017-09-06 Florian Weimer <fweimer@redhat.com>
13860 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
13861 case of failure to obtain the global conf object.
13863 2017-09-06 Florian Weimer <fweimer@redhat.com>
13866 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
13867 dynarray allocation failure.
13869 2017-09-06 Florian Weimer <fweimer@redhat.com>
13871 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
13872 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
13873 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
13875 (response): Call them. Add 'p', '6' flag processing.
13876 (test_reverse): New function.
13877 (test_get2_any): Call it.
13878 (test_no_inet6): Add 'p' test.
13879 (test_inet6): Likewise.
13881 2017-09-06 Florian Weimer <fweimer@redhat.com>
13883 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
13884 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
13886 (test_gai): Adjust query names. Add additional tests.
13887 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
13888 test_get2. Adjust query names. Add additional tests.
13889 (test_no_inet6): New function, extracted from threadfunc.
13890 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
13891 Add additional tests.
13893 2017-09-06 Mike FABIAN <mfabian@redhat.com>
13896 * localedata/unicode-gen/utf8_gen.py: Set the width for
13897 characters with Prepended_Concatenation_Mark property to 1
13898 * localedata/charmaps/UTF-8: Updated using the improved script.
13900 2017-09-06 Mike FABIAN <mfabian@redhat.com>
13903 * localedata/unicode-gen/utf8_gen.py: Improve the script to
13904 use the range notation for all ranges of neighbouring characters
13905 with the same width.
13907 2017-09-05 Joseph Myers <joseph@codesourcery.com>
13909 * sysdeps/generic/math-type-macros-double.h: Include
13910 <math-svid-compat.h>.
13911 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13912 * sysdeps/generic/math-type-macros-float.h: Include
13913 <math-svid-compat.h>.
13914 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13915 * sysdeps/generic/math-type-macros-ldouble.h: Include
13916 <math-svid-compat.h>.
13917 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13918 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
13920 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
13921 * math/w_acosf_compat.c: Likewise.
13922 * math/w_acosh_compat.c: Likewise.
13923 * math/w_acoshf_compat.c: Likewise.
13924 * math/w_acoshl_compat.c: Likewise.
13925 * math/w_acosl_compat.c: Likewise.
13926 * math/w_asin_compat.c: Likewise.
13927 * math/w_asinf_compat.c: Likewise.
13928 * math/w_asinl_compat.c: Likewise.
13929 * math/w_atan2_compat.c: Likewise.
13930 * math/w_atan2f_compat.c: Likewise.
13931 * math/w_atan2l_compat.c: Likewise.
13932 * math/w_atanh_compat.c: Likewise.
13933 * math/w_atanhf_compat.c: Likewise.
13934 * math/w_atanhl_compat.c: Likewise.
13935 * math/w_cosh_compat.c: Likewise.
13936 * math/w_coshf_compat.c: Likewise.
13937 * math/w_coshl_compat.c: Likewise.
13938 * math/w_exp10_compat.c: Likewise.
13939 * math/w_exp10f_compat.c: Likewise.
13940 * math/w_exp10l_compat.c: Likewise.
13941 * math/w_exp2_compat.c: Likewise.
13942 * math/w_exp2f_compat.c: Likewise.
13943 * math/w_exp2l_compat.c: Likewise.
13944 * math/w_fmod_compat.c: Likewise.
13945 * math/w_fmodf_compat.c: Likewise.
13946 * math/w_fmodl_compat.c: Likewise.
13947 * math/w_hypot_compat.c: Likewise.
13948 * math/w_hypotf_compat.c: Likewise.
13949 * math/w_hypotl_compat.c: Likewise.
13950 * math/w_j0_compat.c: Likewise.
13951 * math/w_j0f_compat.c: Likewise.
13952 * math/w_j0l_compat.c: Likewise.
13953 * math/w_j1_compat.c: Likewise.
13954 * math/w_j1f_compat.c: Likewise.
13955 * math/w_j1l_compat.c: Likewise.
13956 * math/w_jn_compat.c: Likewise.
13957 * math/w_jnf_compat.c: Likewise.
13958 * math/w_jnl_compat.c: Likewise.
13959 * math/w_lgamma_r_compat.c: Likewise.
13960 * math/w_lgammaf_r_compat.c: Likewise.
13961 * math/w_lgammal_r_compat.c: Likewise.
13962 * math/w_log10_compat.c: Likewise.
13963 * math/w_log10f_compat.c: Likewise.
13964 * math/w_log10l_compat.c: Likewise.
13965 * math/w_log2_compat.c: Likewise.
13966 * math/w_log2f_compat.c: Likewise.
13967 * math/w_log2l_compat.c: Likewise.
13968 * math/w_log_compat.c: Likewise.
13969 * math/w_logf_compat.c: Likewise.
13970 * math/w_logl_compat.c: Likewise.
13971 * math/w_pow_compat.c: Likewise.
13972 * math/w_powf_compat.c: Likewise.
13973 * math/w_powl_compat.c: Likewise.
13974 * math/w_remainder_compat.c: Likewise.
13975 * math/w_remainderf_compat.c: Likewise.
13976 * math/w_remainderl_compat.c: Likewise.
13977 * math/w_sinh_compat.c: Likewise.
13978 * math/w_sinhf_compat.c: Likewise.
13979 * math/w_sinhl_compat.c: Likewise.
13980 * math/w_sqrt_compat.c: Likewise.
13981 * math/w_sqrtf_compat.c: Likewise.
13982 * math/w_sqrtl_compat.c: Likewise.
13983 * math/w_tgamma_compat.c: Likewise.
13984 * math/w_tgammaf_compat.c: Likewise.
13985 * math/w_tgammal_compat.c: Likewise.
13986 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
13987 [LIBM_SVID_COMPAT].
13988 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
13989 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
13990 [LIBM_SVID_COMPAT].
13991 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
13992 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
13993 [LIBM_SVID_COMPAT].
13994 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
13995 * sysdeps/i386/fpu/w_sqrt.c: New file.
13996 * sysdeps/ia64/fpu/w_acos.c: Likewise.
13997 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
13998 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
13999 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
14000 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
14001 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
14002 * sysdeps/ia64/fpu/w_asin.c: Likewise.
14003 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
14004 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
14005 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
14006 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
14007 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
14008 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
14009 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
14010 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
14011 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
14012 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
14013 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
14014 * sysdeps/ia64/fpu/w_exp.c: Likewise.
14015 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
14016 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
14017 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
14018 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
14019 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
14020 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
14021 * sysdeps/ia64/fpu/w_expf.c: Likewise.
14022 * sysdeps/ia64/fpu/w_expl.c: Likewise.
14023 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
14024 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
14025 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
14026 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
14027 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
14028 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
14029 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
14030 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
14031 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
14032 * sysdeps/ia64/fpu/w_log.c: Likewise.
14033 * sysdeps/ia64/fpu/w_log10.c: Likewise.
14034 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
14035 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
14036 * sysdeps/ia64/fpu/w_log2.c: Likewise.
14037 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
14038 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
14039 * sysdeps/ia64/fpu/w_logf.c: Likewise.
14040 * sysdeps/ia64/fpu/w_logl.c: Likewise.
14041 * sysdeps/ia64/fpu/w_pow.c: Likewise.
14042 * sysdeps/ia64/fpu/w_powf.c: Likewise.
14043 * sysdeps/ia64/fpu/w_powl.c: Likewise.
14044 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
14045 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
14046 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
14047 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
14048 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
14049 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
14050 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
14051 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
14052 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
14053 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
14054 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
14055 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
14057 [LIBM_SVID_COMPAT].
14058 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
14059 * sysdeps/ieee754/k_standard.c: Likewise.
14060 * sysdeps/ieee754/k_standardf.c: Likewise.
14061 * sysdeps/ieee754/k_standardl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
14064 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
14065 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
14066 long_double_symbol call on [LIBM_SVID_COMPAT].
14067 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
14068 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
14069 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
14070 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
14071 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
14072 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
14073 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
14074 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
14075 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
14076 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
14077 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
14078 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
14079 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
14080 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
14081 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
14082 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
14083 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
14084 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
14085 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
14086 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
14087 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
14088 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
14090 2017-09-05 Steve Ellcey <sellcey@cavium.com>
14092 * include/shlib-compat.h (TEST_COMPAT): New Macro.
14093 * malloc/tst-mallocstate.c: Convert from test-skeleton
14094 to test-driver. Ifdef code using TEST_COMPAT macro.
14095 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
14096 * math/test-matherr.c: Likewise.
14098 2017-09-05 Joseph Myers <joseph@codesourcery.com>
14101 * debug/pcprofiledump.c (main): Use byte-swapped mask when
14102 comparing word with byte-swapped constant.
14104 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
14107 * locale/iso-639.def: add Miskito.
14108 * localedata/SUPPORTED: Add miq_NI/UTF-8.
14109 * localedata/locales/miq_NI: New file.
14111 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
14114 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
14115 (__mkdir): Likewise.
14116 * io/chmod.c (__chmod): Add libc_hidden_def.
14117 * io/mkdir.c (__mkdir): Likewise.
14118 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14119 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14120 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
14121 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
14123 2017-09-04 Joseph Myers <joseph@codesourcery.com>
14125 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14129 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
14130 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14132 2017-09-04 Florian Weimer <fweimer@redhat.com>
14134 * math/math.h: Issue warning if log is defined.
14136 2017-09-04 Joseph Myers <joseph@codesourcery.com>
14138 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14139 kernel version to 4.13.
14141 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14143 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
14144 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
14146 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
14147 just <bits/types.h>.
14148 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
14149 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
14150 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
14151 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
14152 * misc/preadv2.c: Include <errno.h>.
14153 * misc/preadv64v2.c: Include <errno.h>.
14154 * misc/pwritev2.c: Include <errno.h>.
14155 * misc/pwritev64v2.c: Include <errno.h>.
14156 * sysdeps/posix/preadv2.c: Include <errno.h>.
14157 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
14158 Fix <unistd.h> inclusion.
14159 * sysdeps/posix/pwritev2.c: Include <errno.h>.
14160 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
14161 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
14162 __strtoul_internal): New functions.
14163 * sysdeps/posix/pause.c: Include <sigsetops.h>.
14164 * sysdeps/posix/system.c: Include <sigsetops.h>.
14165 * sysdeps/mach/hurd/i386/Makefile
14166 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
14167 [$(subdir) = csu] (sysdep-only-routines): Likewise.
14168 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
14169 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
14170 __feraiseexcept_renamed to feraiseexcept instead of
14171 __GI_feraiseexcept.
14172 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
14173 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
14174 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
14175 RWF_NOWAIT): Define to 0 if undefined already.
14176 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
14178 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
14179 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
14181 2017-09-01 Joseph Myers <joseph@codesourcery.com>
14183 * manual/math.texi (pow10): Do not document.
14184 (pow10f): Likewise.
14185 (pow10l): Likewise.
14186 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
14187 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
14188 * math/libm-test-exp10.inc (pow10_test): Remove.
14189 (do_test): Do not call pow10.
14190 * math/w_exp10_compat.c (pow10): Make into compat symbol.
14191 [NO_LONG_DOUBLE] (pow10l): Likewise.
14192 * math/w_exp10f_compat.c (pow10f): Likewise.
14193 * math/w_exp10l_compat.c (pow10l): Likewise.
14194 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
14195 (pow10): Make into compat symbol.
14196 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
14197 (pow10f): Make into compat symbol.
14198 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
14199 (pow10l): Make into compat symbol.
14200 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
14202 (CFLAGS-nldbl-pow10.c): Remove variable..
14203 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
14204 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
14205 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
14206 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
14207 Undefine and redefine.
14208 (pow10l): Make into compat symbol.
14209 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
14210 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14211 * sysdeps/arm/libm-test-ulps: Likewise.
14212 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
14213 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14214 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14215 * sysdeps/microblaze/libm-test-ulps: Likewise.
14216 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14217 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14218 * sysdeps/nios2/libm-test-ulps: Likewise.
14219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14220 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14221 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14222 * sysdeps/sh/libm-test-ulps: Likewise.
14223 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14224 * sysdeps/tile/libm-test-ulps: Likewise.
14225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14227 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14229 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
14231 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14233 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
14234 "../ChangeLog.old/ChangeLog.8".
14235 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
14236 "../ChangeLog.old/ChangeLog.14".
14238 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14240 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
14243 2017-09-01 Joseph Myers <joseph@codesourcery.com>
14245 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
14247 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14249 * csu/version.c (banner): Remove "by Roland McGrath et al.".
14250 * nptl/Banner: Remove "by Ulrich Drepper et al.".
14252 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14254 * stdlib/tst-atexit-common.c (do_test): Test support for at least
14255 32 atexit handlers.
14257 2017-09-01 Zack Weinberg <zackw@panix.com>
14259 * math/math.h (HUGE_VAL): Improve commentary.
14261 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14262 Andreas Schwab <schwab@suse.de>
14265 * include/stdio.h (__gen_tempfd): New function.
14266 * stdio-common/Makefile (routines): Add gentempfd.
14267 * stdio-common/gentempfd.c: New file.
14268 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
14269 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
14270 unnamed file first.
14272 2017-09-01 Florian Weimer <fweimer@redhat.com>
14276 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
14277 result to determine success or failure, not the errno value.
14278 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
14279 (tst-nss-files-hosts-erange): Link with -ldl.
14280 * nss/tst-nss-files-hosts-erange.c: New file.
14281 * nss/tst-resolv-basic.c (response): Handle nodata.example.
14282 (do_test): Add NO_DATA tests.
14283 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
14284 (do_test): Call it.
14286 2017-09-01 Florian Weimer <fweimer@redhat.com>
14289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
14290 coming from gethostbyname2_r.
14292 2017-09-01 Florian Weimer <fweimer@redhat.com>
14294 * support/namespace.h (struct support_chroot_configuration): Add
14296 (struct support_chroot): Add path_hosts, path_host_conf.
14297 * support/support_chroot.c (write_file): New function.
14298 (support_chroot_create): Call it to process /etc/resolv.conf,
14299 /etc/hosts, /etc/host.conf.
14300 (support_chroot_free): Update.
14302 2017-09-01 Florian Weimer <fweimer@redhat.com>
14304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
14305 status indicates it is set.
14307 2017-09-01 Florian Weimer <fweimer@redhat.com>
14310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
14311 function lookup failures more reliable.
14313 2017-09-01 Florian Weimer <fweimer@redhat.com>
14315 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
14316 (getcanonname): Likewise.
14317 (gaih_inet): Likewise.
14319 2017-09-01 Florian Weimer <fweimer@redhat.com>
14321 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
14322 (getcanonname): Likewise.
14323 (gaih_inet): Likewise.
14325 2017-08-31 Steve Ellcey <sellcey@cavium.com>
14326 Richard Henderson <rth@twiddle.net>
14328 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
14329 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
14330 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
14331 (IREG_SIZE, OREG_SIZE): New macros.
14332 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
14333 (IREG_SIZE, OREG_SIZE): New macros.
14334 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
14335 (IREG_SIZE): New macro.
14336 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
14337 (IREG_SIZE): New macro.
14338 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
14340 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
14341 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
14342 (__CONCATX): Handle exceptions correctly on large values that may
14344 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
14345 Initialize if not already set.
14346 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
14348 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14350 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
14351 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
14353 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
14355 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
14357 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
14359 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
14361 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
14363 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
14365 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
14366 (NO_CANCELLATION): Likewise.
14367 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
14369 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
14371 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
14373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
14374 (NO_CANCELLATION): Likewise.
14375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
14376 (NO_CANCELLATION): Likewise.
14377 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
14379 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
14381 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
14383 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
14385 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
14387 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
14388 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
14390 2017-08-31 Steve Ellcey <sellcey@cavium.com>
14392 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
14395 2017-08-31 Florian Weimer <fweimer@redhat.com>
14397 * include/libc-symbols.h (internal_function): Remove.
14399 2017-08-31 Florian Weimer <fweimer@redhat.com>
14401 * stdlib/fmtmsg.c (internal_addseverity): Remove
14404 2017-08-31 Florian Weimer <fweimer@redhat.com>
14406 * stdio-common/printf_fp.c (group_number): Remove
14408 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
14410 2017-08-31 Florian Weimer <fweimer@redhat.com>
14412 * posix/fnmatch.c (internal_function): Remove definition.
14413 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
14414 * posix/regcomp.c (peek_token, init_word_char)
14415 (duplicate_node_closure, fetch_token, peek_token)
14416 (peek_token_bracket, build_range_exp, build_collating_symbol):
14418 * posix/regex_internal.c (re_string_construct_common)
14419 (create_ci_newstate, create_cd_newstate, re_string_allocate)
14420 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
14421 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
14422 (re_string_translate_buffer, re_string_reconstruct)
14423 (re_string_peek_byte_case, re_string_fetch_byte_case)
14424 (re_string_destruct, re_string_context_at, re_node_set_alloc)
14425 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
14426 (re_node_set_add_intersect, re_node_set_init_union)
14427 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
14428 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
14429 (re_dfa_add_node, calc_state_hash, re_acquire_state)
14430 (re_acquire_state_context): Likewise.
14431 * posix/regex_internal.h (internal_function): Remove definition.
14432 (re_string_realloc_buffers, build_wcs_buffer)
14433 (build_wcs_upper_buffer, build_upper_buffer)
14434 (re_string_translate_buffer, re_string_context_at)
14435 (re_string_char_size_at, re_string_wchar_at)
14436 (re_string_elem_size_at): Likewise.
14437 * posix/regexec.c (match_ctx_init, match_ctx_clean)
14438 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
14439 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
14440 (re_search_internal, re_search_2_stub, re_search_stub)
14441 (re_copy_regs, prune_impossible_nodes, check_matching)
14442 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
14443 (free_fail_stack_return, sift_states_iter_mb)
14444 (sift_states_backward, build_sifted_states)
14445 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
14446 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
14447 (check_subexp_limits, sift_states_bkref, merge_state_array)
14448 (find_recover_state, transit_state, merge_state_with_log)
14449 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
14450 (transit_state_mb, transit_state_bkref, get_subexp)
14451 (get_subexp_sub, find_subexp_node, check_arrival)
14452 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
14453 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
14454 (check_node_accept_bytes, find_collation_sequence_value)
14455 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
14456 (acquire_init_state_context, check_halt_node_context)
14457 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
14458 (sub_epsilon_src_nodes): Likewise.
14459 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
14460 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
14461 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
14462 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
14463 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
14464 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
14465 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
14466 * sysdeps/posix/ttyname.c (getttyname): Likewise.
14467 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14468 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
14469 (PREADV): Likewise.
14470 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
14471 (PREADV): Likewise.
14472 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
14473 (PWRITEV): Likewise.
14474 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
14475 (PWRITEV): Likewise.
14476 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
14477 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
14479 2017-08-31 Florian Weimer <fweimer@redhat.com>
14481 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
14482 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
14483 Remove internal_function.
14484 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14485 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
14486 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
14487 (__deallocate_stack, __libc_pthread_init)
14488 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
14489 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
14490 (__libc_disable_asynccancel, __librt_disable_asynccancel):
14492 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
14493 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
14494 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
14496 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
14497 (__pthread_mutex_unlock_usercnt): Likewise.
14499 2017-08-31 Florian Weimer <fweimer@redhat.com>
14501 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
14502 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
14503 (fts_safe_changedir): Remove internal_function.
14504 * io/ftw.c (internal_function): Remove definition.
14505 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
14507 2017-08-31 Florian Weimer <fweimer@redhat.com>
14509 * inet/deadline.c (__deadline_current_time)
14510 (__deadline_from_timeval, __deadline_to_ms): Remove
14512 * inet/getnameinfo.c (nrl_domainname): Likewise.
14513 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
14514 * inet/inet6_option.c (add_pad): Likewise.
14515 * inet/net-internal.h (__deadline_current_time)
14516 (__deadline_from_timeval, __deadline_to_ms): Likewise.
14517 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
14518 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
14519 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
14521 2017-08-31 Joseph Myers <joseph@codesourcery.com>
14523 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
14524 include <bits/nan.h>.
14525 * math/Makefile (headers): Remove bits/nan.h.
14526 * bits/nan.h: Remove.
14527 * sysdeps/ieee754/bits/nan.h: Likewise.
14528 * sysdeps/mips/bits/nan.h: Likewise.
14530 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
14531 not include <bits/inf.h>.
14532 * math/Makefile (headers): Remove bits/inf.h.
14533 * bits/inf.h: Remove.
14534 * sysdeps/ieee754/bits/inf.h: Likewise.
14536 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
14537 bits/huge_vall.h or bits/huge_val_flt128.h.
14538 (HUGE_VAL): Define directly here.
14539 [__USE_ISOC99] (HUGE_VALF): Likewise.
14540 [__USE_ISOC99] (HUGE_VALL): Likewise.
14541 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14542 (HUGE_VAL_F128): Likewise.
14543 * math/Makefile (headers): Remove bits/huge_val.h,
14544 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
14545 * bits/huge_val.h: Remove.
14546 * bits/huge_val_flt128.h: Likewise.
14547 * bits/huge_valf.h: Likewise.
14548 * bits/huge_vall.h: Likewise.
14549 * sysdeps/ia64/bits/huge_vall.h: Likewise.
14550 * sysdeps/ieee754/bits/huge_val.h: Likewise.
14551 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
14552 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
14553 * sysdeps/sh/bits/huge_val.h: Likewise.
14554 * sysdeps/sparc/bits/huge_vall.h: Likewise.
14555 * sysdeps/x86/bits/huge_vall.h: Likewise.
14557 2017-08-31 Florian Weimer <fweimer@redhat.com>
14559 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
14561 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
14563 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
14564 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14565 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
14566 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
14567 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14568 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14569 * elf/dl-libc.c (dlerror_run): Likewise.
14570 * elf/dl-load.c (add_name_to_object, decompose_rpath)
14571 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
14572 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
14573 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
14575 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
14576 (_dl_higher_prime_number, _dl_strtoul): Likewise.
14577 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
14578 * elf/dl-profile.c (_dl_start_profile): Likewise.
14579 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
14580 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
14582 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
14583 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
14584 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
14585 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
14586 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
14587 (_dl_allocate_tls_storage): Likewise.
14588 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
14589 (_dl_check_all_versions): Likewise.
14590 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14591 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
14592 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
14593 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14594 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
14595 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
14596 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
14597 internal_function from __dl_start.
14598 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
14599 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14600 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
14601 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
14602 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
14603 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
14604 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
14605 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
14606 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
14607 (_dl_next_ld_env_entry, _dl_important_hwcaps)
14608 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
14609 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
14610 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
14611 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
14612 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
14614 (struct rtld_global_ro): Remove internal_function from the
14615 _dl_lookup_symbol_x member.
14616 (_dl_symbol_value): Remove. No longer defined anywhere.
14617 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
14619 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14620 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14621 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
14622 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
14623 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
14624 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
14625 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
14626 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
14627 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
14628 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14629 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14630 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14632 2017-08-31 Florian Weimer <fweimer@redhat.com>
14634 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
14635 Remove internal_function.
14636 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
14638 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
14641 2017-08-31 Florian Weimer <fweimer@redhat.com>
14643 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
14644 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
14645 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
14647 2017-08-31 Florian Weimer <fweimer@redhat.com>
14649 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
14650 (__gai_enqueue_request): Remove internal_function.
14651 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
14652 (__gai_remove_request, __gai_notify, __gai_notify_only)
14653 (__gai_sigqueue): Likewise.
14654 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
14655 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14656 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
14657 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14660 2017-08-31 Florian Weimer <fweimer@redhat.com>
14662 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
14663 * include/dirent.h (__opendirat, __getdents, __getdents64)
14664 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
14665 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
14666 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14667 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
14669 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
14671 2017-08-31 Florian Weimer <fweimer@redhat.com>
14673 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
14675 (GETCWD_RETURN_TYPE): Likewise.
14677 2017-08-31 Florian Weimer <fweimer@redhat.com>
14679 * include/time.h (__tz_compute, __strptime_internal): Remove
14681 * time/strptime_l.c (__strptime_internal): Likewise.
14682 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
14684 2017-08-31 Florian Weimer <fweimer@redhat.com>
14686 * iconv/gconv.c (__gconv): Remove internal_function.
14687 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
14688 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
14689 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
14690 (__gconv_release_cache): Likewise.
14691 * iconv/gconv_close.c (__gconv_close): Likewise.
14692 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
14693 (read_conf_file, __gconv_get_path): Likewise.
14694 * iconv/gconv_db.c (derivation_lookup, add_derivation)
14695 (__gconv_release_step, gen_steps, increment_counter)
14696 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
14697 (__gconv_close_transform, free_modules_db): Likewise.
14698 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
14700 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
14701 (__gconv_find_transform, __gconv_lookup_cache)
14702 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
14703 (__gconv_close_transform, __gconv_release_cache)
14704 (__gconv_loaded_object, __gconv_release_shlib)
14705 (__gconv_compare_alias): Likewise.
14706 * iconv/gconv_open.c (__gconv_open): Likewise.
14707 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
14708 * iconv/iconvconfig.c (add_module): Likewise.
14709 * intl/dcigettext.c (plural_lookup, guess_category_value)
14710 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
14711 * intl/eval-plural.h (plural_eval): Likewise.
14712 * intl/finddomain.c (_nl_find_domain): Likewise.
14713 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
14714 (_nl_load_domain, _nl_find_msg): Likewise.
14715 (internal_function): Remove definition.
14716 * intl/loadinfo.h (internal_function): Likewise.
14717 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
14719 * intl/localealias.c (internal_function): Remove definition.
14720 (read_alias_file): Remove internal_function.
14721 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
14722 * intl/plural-exp.h (internal_function): Remove definition.
14723 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
14725 * intl/plural.c: Regenerate.
14726 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
14727 * locale/coll-lookup.c (__collidx_table_lookup)
14728 (__collseq_table_lookup): Likewise.
14729 * locale/coll-lookup.h (__collidx_table_lookup)
14730 (__collseq_table_lookup): Likewise.
14731 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
14732 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14733 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
14734 (_nl_unload_locale): Likewise.
14735 * locale/localeinfo.h (struct __locale_data): Remove
14736 internal_function from cleanup member.
14737 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
14738 (_nl_remove_locale, _nl_load_locale_from_archive)
14739 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
14740 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
14741 (_nl_cleanup_time): Remove internal_function.
14742 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
14743 (_nl_parse_alt_digit): Likewise.
14744 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
14745 (_nl_select_era_entry): Likewise.
14746 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
14747 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
14748 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
14749 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
14750 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
14752 2017-08-31 Florian Weimer <fweimer@redhat.com>
14754 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
14755 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
14756 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
14757 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
14759 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
14760 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
14761 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
14762 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14764 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
14766 2017-08-31 Florian Weimer <fweimer@redhat.com>
14768 * misc/getttyent.c (skip, value): Remove internal_function.
14769 * misc/syslog.c (openlog_internal): Likewise.
14770 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
14772 2017-08-31 Florian Weimer <fweimer@redhat.com>
14774 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
14775 (__nss_rewrite_field): Remove internal_function.
14776 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14777 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
14778 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14779 * nss/nsswitch.c (nss_parse_file, nss_getline)
14780 (nss_parse_service_list, nss_new_service): Likewise.
14781 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
14782 * nss/valid_field.c (__nss_valid_field): Likewise.
14783 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14785 2017-08-31 Florian Weimer <fweimer@redhat.com>
14787 * malloc/arena.c (__malloc_fork_lock_parent)
14788 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
14789 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
14790 internal_function from defintions.
14791 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
14792 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
14793 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
14794 internal_function from declarations.
14795 * malloc/malloc.c (internal_function): Do not define.
14796 (mem2mem_check): Remove internal_function from declaration.
14797 (munmap_chunk, mremap_chunk): Remove internal_function.
14798 * malloc/mtrace.c (tr_where): Likewise.
14800 2017-08-31 Florian Weimer <fweimer@redhat.com>
14802 * include/rpc/pmap_clnt.h (__get_socket): Remove
14804 * sunrpc/auth_des.c (synchronize): Likewise.
14805 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
14806 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
14807 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
14808 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
14809 (key_call): Likewise.
14810 * sunrpc/pm_getport.c (__get_socket): Likewise.
14811 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
14812 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
14813 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
14814 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
14815 (invalidate): Likewise.
14816 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
14817 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
14818 (set_input_fragment, get_input_bytes): Likewise.
14820 2017-08-31 Florian Weimer <fweimer@redhat.com>
14822 * malloc/malloc.c (_int_free): Remove locked variable and related
14825 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
14828 * Makerules (build-module-helper-objlist): Filter out
14829 $(elf-objpfx)sofini.os.
14830 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
14833 2017-08-31 Florian Weimer <fweimer@redhat.com>
14835 * libio/fcloseall.c: Assume weak_alias is defined.
14836 * libio/feof.c: Likewise.
14837 * libio/fileno.c: Likewise.
14838 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
14839 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
14841 (_IO_file_open): Call __open directly.
14842 (_IO_new_file_sync): Assume ESPIPE is defined.
14843 (_IO_file_seekoff_maybe_mmap): Call __read directly.
14844 (_IO_new_file_write): Call __write directly.
14845 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
14846 * libio/ftello64.c (__ftello64): Assume EIO is defined.
14847 * libio/genops.c: Assume _LIBC is defined.
14848 (save_for_backup): Remove internal_function.
14849 * libio/getc.c: Assume weak_alias is defined.
14850 * libio/getwc.c: Likewise.
14851 * libio/iofclose.c: Assume _LIBC is defined.
14852 * libio/iofdopen.c: Likewise.
14853 (_IO_fcntl): Remove macro definition.
14854 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
14855 Call __fcntl directly.
14856 * libio/iofflush.c: Assume weak_alias is defined.
14857 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
14859 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
14860 * libio/iofgets.c: Likewise.
14861 * libio/iofopen.c: Assume _LIBC is defined.
14862 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
14863 * libio/iofputs.c: Assume weak_alias is defined.
14864 * libio/iofread.c: Likewise.
14865 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
14866 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14867 * libio/ioftell.c: Assume weak_alias is defined.
14868 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
14869 * libio/iofwide.c: Assume _LIBC is defined.
14870 (_IO_fwide): Drop SHARED conditional because it is implied by
14872 * libio/iofwrite.c: Assume weak_alias is defined.
14873 * libio/iogetdelim.c: Likewise.
14874 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
14875 * libio/iogetwline.c (wmemcpy): Remove macro definition.
14876 (_IO_getwline): Call __wmemcpy directly.
14877 * libio/iopopen.c: Assume _LIBC is defined.
14878 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
14879 (_IO_close): Remove macro definitions.
14880 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
14882 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
14884 * libio/ioputs.c: Assume weak_alias is defined.
14885 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
14886 * libio/iosetbuffer.c: Assume weak_alias is defined.
14887 * libio/iosetvbuf.c: Likewise.
14888 * libio/ioungetc.c: Likewise.
14889 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
14890 libc_hidden_def, libc_hidden_weak, NULL are defined.
14891 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
14892 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
14894 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
14896 (_IO_old_file_init_internal): Drop SHARED conditional because it
14897 is implied by SHLIB_COMPAT.
14898 (_IO_old_file_fopen): Call __open directly.
14899 (_IO_old_file_sync): Assume ESPIPE is defined.
14900 (_IO_old_file_write): Call __write directly.
14901 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
14902 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
14903 Call __fcntl directly.
14904 * libio/oldiofgetpos.c: Assume weak_alias is defined.
14905 (_IO_old_fgetpos): Assume EIO is defined.
14906 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
14907 (_IO_old_fgetpos64): Assume EIO is defined.
14908 * libio/oldiofsetpos.c: Assume weak_alias is defined.
14909 (_IO_old_fsetpos): Assume EIO is defined.
14910 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
14911 (_IO_old_fsetpos64): Assume EIO is defined.
14912 * libio/oldiopopen.c: Assume _LIBC is defined.
14913 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
14914 (_IO_close): Remove macro definitions.
14915 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
14917 (_IO_old_proc_close): Call __close, __waitpid directly.
14918 * libio/put.c: Assume weak_alias is defined.
14919 * libio/stdfiles.c: Assume _LIBC is defined.
14920 * libio/stdio.c: Likewise.
14921 * libio/wfileops.c: Likewise.
14922 (_IO_wfile_sync): Assume ESPIPE is defined.
14923 * libio/wgenops.c: Assume _LIBC is defined.
14924 (save_for_wbackup): Remove internal_function.
14926 2017-08-31 Florian Weimer <fweimer@redhat.com>
14928 * malloc/malloc.c (top_check): Change return type to void. Remove
14930 * malloc/hooks.c (top_check): Likewise.
14931 (malloc_check, realloc_check, memalign_check): Adjust.
14933 2017-08-30 Joseph Myers <joseph@codesourcery.com>
14936 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
14937 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
14938 sigcontext and namespace requirements.
14939 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
14940 * sysdeps/m68k/sys/ucontext.h: Likewise.
14941 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
14942 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
14943 <bits/sigcontext.h>.
14944 (__ctx): Define earlier.
14945 (mcontext_t): Define structure contents rather than using struct
14947 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
14948 __glibc_reserved1 instead of __reserved.
14949 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
14950 <bits/sigcontext.h>.
14951 (__ctx): Define earlier.
14952 (mcontext_t): Define structure contents rather than using struct
14954 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
14955 mcontext_t instead of struct sigcontext.
14956 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
14957 <bits/sigcontext.h>.
14958 (__ctx): Define earlier.
14959 (mcontext_t): Define structure contents rather than using struct
14961 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
14962 <bits/sigcontext.h>.
14963 (__ctx): Define earlier.
14964 (mcontext_t): Define structure contents rather than using struct
14966 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
14967 mcontext_t instead of struct sigcontext.
14968 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
14969 mcontext_t instead of struct sigcontext.
14970 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
14971 <bits/sigcontext.h>.
14972 (__ctx): New macro.
14973 (struct __ia64_fpreg_mcontext): New type.
14974 (mcontext_t): Define structure contents rather than using struct
14976 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
14977 (uc_sigmask): Define using __ctx.
14978 (uc_stack): Likewise.
14979 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
14980 <bits/sigcontext.h>.
14981 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14982 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
14983 <bits/sigcontext.h>.
14984 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
14985 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
14986 <bits/sigcontext.h>.
14987 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
14988 <bits/sigcontext.h>.
14989 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
14990 <bits/sigcontext.h>.
14991 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
14992 <bits/sigcontext.h>.
14993 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
14994 <bits/sigcontext.h>.
14995 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
14996 <bits/sigcontext.h>.
14997 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
14998 <bits/sigcontext.h>.
14999 (__ctx): Define earlier.
15000 (mcontext_t): Define structure contents rather than using struct
15002 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
15003 <bits/sigcontext.h>. Include <bits/types.h>.
15004 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
15005 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
15006 (test-xfail-XPG42/ucontext.h/conform): Likewise.
15007 (test-xfail-UNIX98/signal.h/conform): Likewise.
15008 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15009 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15010 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15011 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15012 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15013 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15014 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15015 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15016 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15018 2017-08-30 Florian Weimer <fweimer@redhat.com>
15020 * malloc/dynarray_emplace_enlarge.c
15021 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
15022 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
15023 * malloc/tst-dynarray.c (test_long_overflow): New function.
15024 (do_test): Call it.
15026 2017-08-30 Florian Weimer <fweimer@redhat.com>
15028 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
15029 (set_arena_corrupt): Remove definitions.
15030 (mtrim): Do not check for corrupt arena.
15031 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
15034 2017-08-30 Florian Weimer <fweimer@redhat.com>
15037 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
15039 (ptmalloc_init): Do not set or use check_action.
15040 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
15041 call to malloc_printerr. Remove return statement.
15042 (free_check): Likewise. Remove arena unlock.
15043 (top_check): Update comment. Adjust call to malloc_printerr.
15044 Remove heap repair code.
15045 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
15046 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
15047 (sysmalloc): Adjust call to malloc_printerr.
15048 (munmap_chunk, __libc_realloc): Likewise. Remove return
15050 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
15051 Remove errout label and corresponding gotos.
15052 (_int_free): Likewise. Remove arena unlock.
15053 (do_set_mallopt_check): Do not set check_action.
15054 (malloc_printerr): Adjust parameter list. Do not mark arena as
15056 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
15058 * manual/probes.texi (Memory Allocation Probes): Remove
15059 memory_mallopt_check_action.
15061 2017-08-30 Steve Ellcey <sellcey@cavium.com>
15063 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
15064 Use pointer to uint64_t instead of long int for sp.
15066 2017-08-30 Florian Weimer <fweimer@redhat.com>
15069 * malloc/malloc.c (malloc_printerr): Always terminate the process,
15070 without printing a backtrace. Do not leak any information in the
15072 * manual/memory.texi (Heap Consistency Checking): Update.
15073 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
15075 2017-08-30 Florian Weimer <fweimer@redhat.com>
15077 Do not scale NPTL tests with available number of CPUs.
15078 * nptl/tst-cond16.c (count): Set to constant value of 8.
15079 * nptl/tst-cond18.c (count): Likewise.
15081 2017-08-29 Joseph Myers <joseph@codesourcery.com>
15084 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
15085 Define to take a second argument that is a macro that
15086 concatentates a suffix, not the suffix itself.
15087 (__CONCAT_d): New macro.
15088 (__CONCAT_f): Likewise.
15089 (__CONCAT_l): Likewise.
15091 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
15093 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
15096 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15097 Aurelien Jarno <aurelien@aurel32.net>
15098 Maciej W. Rozycki <macro@imgtec.com>
15101 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
15102 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
15103 `mips16-syscall6' and `mips16-syscall7'.
15104 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
15105 (CFLAGS-mips16-syscall7.c): Remove.
15106 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
15107 Remove `__mips16_syscall5', `__mips16_syscall6' and
15108 `__mips16_syscall7'.
15109 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
15110 (__mips16_syscall0): Rename `__mips16_syscall_return' to
15111 `__mips_syscall_return'.
15112 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
15113 (__mips16_syscall1): Likewise.
15114 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
15115 (__mips16_syscall2): Likewise.
15116 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
15117 (__mips16_syscall3): Likewise.
15118 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
15119 (__mips16_syscall4): Likewise.
15120 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
15122 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
15124 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
15126 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
15127 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
15128 `__mips16_syscall5'. Remove prototype.
15129 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
15130 `__mips16_syscall6'. Remove prototype.
15131 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
15132 `__mips16_syscall7'. Remove prototype.
15133 (__nomips16, __mips16_syscall_return): Move to...
15134 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
15135 (__nomips16, __mips_syscall_return): ... here.
15136 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
15137 `__mips16_syscall_return' to `__mips_syscall_return'.
15138 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
15139 `internal_syscall##nr'.
15140 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
15141 `internal_syscall##nr'.
15142 (FORCE_FRAME_POINTER): Remove.
15143 (__mips_syscall5): New prototype.
15144 (internal_syscall5): Rewrite to call `__mips_syscall5'.
15145 (__mips_syscall6): New prototype.
15146 (internal_syscall6): Rewrite to call `__mips_syscall6'.
15147 (__mips_syscall7): New prototype.
15148 (internal_syscall7): Rewrite to call `__mips_syscall7'.
15149 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
15150 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
15151 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
15152 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
15153 (sysdep_routines): Add libc-do-syscall.
15154 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
15155 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
15157 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15160 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
15161 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
15162 (advise_stack_range): New function.
15163 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
15164 stack non required to advise_stack_range at allocatestack.c
15166 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
15168 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
15170 2017-08-29 Florian Weimer <fweimer@redhat.com>
15173 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
15174 __end_fct. Mangle __end_fct after setting it to NULL.
15175 * iconv/Makefile (tests): Add tst-gconv-init-failure.
15176 (modules-names, modules-names-tests): Add
15177 tst-gconv-init-failure-mod.
15178 (gconv-modules): New target.
15179 (tst-gconv-init-failure-mod.so): Link against libsupport.
15180 (tst-gconv-init-failure): Depend on gconv-modules,
15181 tst-gconv-init-failure-mod.so.
15182 * iconv/tst-gconv-init-failure-mod.c: New file.
15183 * iconv/tst-gconv-init-failure.c: Likewise.
15184 * iconv/test-gconv-modules: Likewise.
15186 2017-08-29 Florian Weimer <fweimer@redhat.com>
15189 * iconv/gconv_db.c (free_derivation): Remove redundant
15191 (gen_steps): Unconditionally mangle __btowc_fct after
15193 (increment_counter): Likewise. Do not call init_fct for internal
15196 2017-08-29 Joseph Myers <joseph@codesourcery.com>
15199 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
15200 (_MSUF_): Remove macro.
15201 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
15203 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
15204 (__REDIRFROM_X): New macro.
15205 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
15207 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
15208 (__REDIRTO_X): Likewise.
15209 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
15211 (__MATH_REDIRCALL_2): Likewise.
15212 (__MATH_REDIRCALL_INTERNAL): Likewise.
15213 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
15214 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
15215 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
15216 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
15217 * math/test-finite-macros.c: New file.
15218 * math/Makefile (tests): Add test-finite-macros.
15219 (CFLAGS-test-finite-macros.c): New variable.
15221 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
15222 Jeff Law <law@redhat.com>
15225 Mangle NULL pointers in iconv/gconv.
15226 * iconv/gconv_cache.c (find_module): Demangle init_fct before
15227 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
15228 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
15229 is non-NULL before demangling the end_fct. Check for NULL
15230 end_fct after demangling.
15231 (__gconv_release_step): Demangle the end_fct before checking
15232 it for NULL. Remove assert on __shlibc_handle != NULL.
15233 (gen_steps): Don't check btowc_fct for NULL before mangling.
15234 Demangle init_fct before checking for NULL.
15235 (increment_counter): Likewise.
15236 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
15237 end_fct for NULL before mangling.
15238 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
15241 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
15244 * locale/iso-639.def: add Morisyen.
15246 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15249 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
15250 (iszero): New C++ implementation that does not use
15251 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
15252 signaling nans are enabled, since __builtin_types_compatible_p
15253 is a C-only feature.
15254 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
15255 defined, include ieee754_float128.h for access to the union and
15256 member ieee854_float128.ieee.
15257 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
15258 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
15259 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
15260 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
15261 options of test-math-zero on powerpc64le.
15263 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
15265 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
15266 Change double to float.
15268 2017-08-28 Joseph Myers <joseph@codesourcery.com>
15270 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
15272 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
15273 conditional code; define contents only for [LIBM_SVID_COMPAT].
15275 2017-08-28 Florian Weimer <fweimer@redhat.com>
15277 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
15278 (abi-lp64_be-options): Remove.
15279 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
15280 (abi-hard-options): Likewise.
15281 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
15282 (abi-o32_hard-options, abi-o32_soft_2008-options)
15283 (abi-o32_hard_2008-options, abi-n32_soft-options)
15284 (abi-n32_hard-options, abi-n32_soft_2008-options)
15285 (abi-n32_hard_2008-options, abi-n64_soft-options)
15286 (abi-n64_hard-options, abi-n64_soft_2008-options)
15287 (abi-n64_hard_2008-options): Likewise.
15288 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
15289 (abi-64-v1-options, abi-64-v2-options): Likewise.
15290 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
15291 (abi-64-options): Likewise.
15292 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
15293 (abi-64-options): Likewise.
15294 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
15295 (abi-64-options): Likewise.
15296 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
15297 (abi-64-options, abi-x32-options): Likewise.
15299 2017-08-28 Florian Weimer <fweimer@redhat.com>
15301 Store supported list of SYS_* system calls in the source tree.
15302 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
15303 (bits/syscall.h): Generate from list file.
15304 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
15305 [$(subdir) = misc] (tests): Add tst-syscall-list.
15306 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
15307 [$(subdir) = misc] (tst-syscall-list-macros.list)
15308 [$(subdir) = misc] (tst-syscall-list-nr.list)
15309 (tst-syscall-list-sys.list): Helper targets for new
15310 tst-syscall-list test.
15311 [$(subdir) = misc] (tst-syscall-list.out): Run test script
15312 tst-syscall-list.sh.
15313 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
15314 target. Do not include bits/syscall.d.
15315 [$(subdir) = misc] (generated): Do not update.
15316 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
15317 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
15318 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
15319 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
15321 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15323 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
15324 (tst-cxa_atexit, tst-on_exit): Likewise.
15325 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
15326 tst-cxa_atexit, and tst-on_exit.
15327 * stdlib/tst-atexit-common.c: New file.
15328 * stdlib/tst-atexit.c: New file.
15329 * stdlib/tst-at_quick_exit.c: New file.
15330 * stdlib/tst-cxa_atexit.c: New file.
15331 * stdlib/tst-on_exit.c: New file.
15333 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15335 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
15336 * mach/stack_chk_fail_local.c: New file.
15337 * hurd/stack_chk_fail_local.c: New file.
15338 * mach/Machrules ($(interface-library)-routines): Add
15339 stack_chk_fail_local.
15340 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
15341 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
15342 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
15343 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
15344 * hurd/Makefile (CFLAGS-hurdstartup.o,
15345 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
15347 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
15349 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15350 (index_cpu_*, index_arch_*): Removed.
15352 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
15354 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
15355 Use uint64_t instead of unsigned long.
15357 2017-08-25 Joseph Myers <joseph@codesourcery.com>
15359 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
15360 [__HAVE_DISTINCT_FLOAT128].
15362 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
15363 of <bits/math-finite.h>.
15364 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
15365 inclusion of <bits/math-finite.h>.
15366 * math/bits/math-finite.h (__REDIRTO_X): Do not define
15367 conditionally on [__MATH_DECLARING_LDOUBLE && defined
15368 __NO_LONG_DOUBLE_MATH].
15369 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
15370 (__MATH_REDIRCALL_2): Likewise.
15371 (__MATH_REDIRCALL_INTERNAL): Likewise.
15372 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
15373 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
15374 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
15376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
15378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
15380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
15388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
15389 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
15390 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
15391 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
15392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15393 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
15394 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
15395 w_sqrtf_compat-ppc32.
15397 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15399 * math/math.h [defined __cplusplus] (issignaling): In the long
15400 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
15401 is not defined. Call __issignaling, otherwise.
15403 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15405 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
15406 syscall definitions and replace __builtin_expect with __glibc_likely.
15407 * sysdeps/unix/syscall-template.S: Update comment about cancellable
15409 (SYSCALL_CANCELLABLE): Removedefinition
15410 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
15412 (PSEUDO_END): Likewise.
15413 [IS_IN (libpthread)] (CENABLE): Likewise.
15414 [IS_IN (libpthread)] (CDISABLE): Likewise.
15415 [IS_IN (libc)] (CENABLE): Likewise.
15416 [IS_IN (libc)] (CENABLE): Likewise.
15417 [IS_IN (librt)] (CDISABLE): Likewise.
15418 [IS_IN (librt)] (CDISABLE): Likewise.
15419 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15420 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
15422 (PSEUDO_END): Likewise.
15423 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
15424 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
15425 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
15426 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
15427 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
15428 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
15429 (CENABLE): Likewise.
15430 (CDISABLE): Likewise.
15431 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15432 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
15434 (PSEUDO_END): Likewise.
15435 [IS_IN (libpthread)] (CENABLE): Likewise.
15436 [IS_IN (libpthread)] (CDISABLE): Likewise.
15437 [IS_IN (libc)] (CENABLE): Likewise.
15438 [IS_IN (libc)] (CENABLE): Likewise.
15439 [IS_IN (librt)] (CDISABLE): Likewise.
15440 [IS_IN (librt)] (CDISABLE): Likewise.
15441 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15442 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
15444 (PSEUDO_END): Likewise.
15445 [IS_IN (libpthread)] (CENABLE): Likewise.
15446 [IS_IN (libpthread)] (CDISABLE): Likewise.
15447 [IS_IN (libc)] (CENABLE): Likewise.
15448 [IS_IN (libc)] (CENABLE): Likewise.
15449 [IS_IN (librt)] (CDISABLE): Likewise.
15450 [IS_IN (librt)] (CDISABLE): Likewise.
15451 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15452 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
15454 (PSEUDO_END): Likewise.
15455 [IS_IN (libpthread)] (CENABLE): Likewise.
15456 [IS_IN (libpthread)] (CDISABLE): Likewise.
15457 [IS_IN (libc)] (CENABLE): Likewise.
15458 [IS_IN (libc)] (CENABLE): Likewise.
15459 [IS_IN (librt)] (CDISABLE): Likewise.
15460 [IS_IN (librt)] (CDISABLE): Likewise.
15461 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15462 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
15464 (PSEUDO_END): Likewise.
15465 [IS_IN (libpthread)] (CENABLE): Likewise.
15466 [IS_IN (libpthread)] (CDISABLE): Likewise.
15467 [IS_IN (libc)] (CENABLE): Likewise.
15468 [IS_IN (libc)] (CENABLE): Likewise.
15469 [IS_IN (librt)] (CDISABLE): Likewise.
15470 [IS_IN (librt)] (CDISABLE): Likewise.
15471 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15472 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
15474 (PSEUDO_END): Likewise.
15475 [IS_IN (libpthread)] (CENABLE): Likewise.
15476 [IS_IN (libpthread)] (CDISABLE): Likewise.
15477 [IS_IN (libc)] (CENABLE): Likewise.
15478 [IS_IN (libc)] (CENABLE): Likewise.
15479 [IS_IN (librt)] (CDISABLE): Likewise.
15480 [IS_IN (librt)] (CDISABLE): Likewise.
15481 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15482 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
15484 (PSEUDO_END): Likewise.
15485 [IS_IN (libpthread)] (CENABLE): Likewise.
15486 [IS_IN (libpthread)] (CDISABLE): Likewise.
15487 [IS_IN (libc)] (CENABLE): Likewise.
15488 [IS_IN (libc)] (CENABLE): Likewise.
15489 [IS_IN (librt)] (CDISABLE): Likewise.
15490 [IS_IN (librt)] (CDISABLE): Likewise.
15491 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15492 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
15494 (PSEUDO_END): Likewise.
15495 [IS_IN (libpthread)] (CENABLE): Likewise.
15496 [IS_IN (libpthread)] (CDISABLE): Likewise.
15497 [IS_IN (libc)] (CENABLE): Likewise.
15498 [IS_IN (libc)] (CENABLE): Likewise.
15499 [IS_IN (librt)] (CDISABLE): Likewise.
15500 [IS_IN (librt)] (CDISABLE): Likewise.
15501 (SINGLE_THREAD_P): Likewise.
15502 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
15504 (PSEUDO_END): Likewise.
15505 [IS_IN (libpthread)] (CENABLE): Likewise.
15506 [IS_IN (libpthread)] (CDISABLE): Likewise.
15507 [IS_IN (libc)] (CENABLE): Likewise.
15508 [IS_IN (libc)] (CENABLE): Likewise.
15509 [IS_IN (librt)] (CDISABLE): Likewise.
15510 [IS_IN (librt)] (CDISABLE): Likewise.
15511 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15512 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
15514 (PSEUDO_END): Likewise.
15515 [IS_IN (libpthread)] (CENABLE): Likewise.
15516 [IS_IN (libpthread)] (CDISABLE): Likewise.
15517 [IS_IN (libc)] (CENABLE): Likewise.
15518 [IS_IN (libc)] (CENABLE): Likewise.
15519 [IS_IN (librt)] (CDISABLE): Likewise.
15520 [IS_IN (librt)] (CDISABLE): Likewise.
15521 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15522 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
15523 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15524 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
15527 (PSEUDO_END): Likewise.
15528 [IS_IN (libpthread)] (CENABLE): Likewise.
15529 [IS_IN (libpthread)] (CDISABLE): Likewise.
15530 [IS_IN (libc)] (CENABLE): Likewise.
15531 [IS_IN (libc)] (CENABLE): Likewise.
15532 [IS_IN (librt)] (CDISABLE): Likewise.
15533 [IS_IN (librt)] (CDISABLE): Likewise.
15534 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
15537 (PSEUDO_END): Likewise.
15538 [IS_IN (libpthread)] (CENABLE): Likewise.
15539 [IS_IN (libpthread)] (CDISABLE): Likewise.
15540 [IS_IN (libc)] (CENABLE): Likewise.
15541 [IS_IN (libc)] (CENABLE): Likewise.
15542 [IS_IN (librt)] (CDISABLE): Likewise.
15543 [IS_IN (librt)] (CDISABLE): Likewise.
15544 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15545 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
15547 (PSEUDO_END): Likewise.
15548 [IS_IN (libpthread)] (CENABLE): Likewise.
15549 [IS_IN (libpthread)] (CDISABLE): Likewise.
15550 [IS_IN (libc)] (CENABLE): Likewise.
15551 [IS_IN (libc)] (CENABLE): Likewise.
15552 [IS_IN (librt)] (CDISABLE): Likewise.
15553 [IS_IN (librt)] (CDISABLE): Likewise.
15554 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
15556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15557 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
15558 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
15560 (PSEUDO_END): Likewise.
15561 [IS_IN (libpthread)] (CENABLE): Likewise.
15562 [IS_IN (libpthread)] (CDISABLE): Likewise.
15563 [IS_IN (libc)] (CENABLE): Likewise.
15564 [IS_IN (libc)] (CENABLE): Likewise.
15565 [IS_IN (librt)] (CDISABLE): Likewise.
15566 [IS_IN (librt)] (CDISABLE): Likewise.
15567 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15568 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
15570 (PSEUDO_END): Likewise.
15571 [IS_IN (libpthread)] (CENABLE): Likewise.
15572 [IS_IN (libpthread)] (CDISABLE): Likewise.
15573 [IS_IN (libc)] (CENABLE): Likewise.
15574 [IS_IN (libc)] (CENABLE): Likewise.
15575 [IS_IN (librt)] (CDISABLE): Likewise.
15576 [IS_IN (librt)] (CDISABLE): Likewise.
15577 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15579 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15581 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
15583 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15585 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15587 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15590 * string/stratcliff.c (do_test): Declare size, nchars, inner,
15591 middle and outer with size_t instead of int. Repleace %d and
15592 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
15593 "MAX (outer, nchars - 64)" to support unsigned outer and
15594 nchars. Also exit loop when outer == 0.
15596 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15598 * include/fcntl.h (__fcntl_nocancel): Remove definition.
15599 * include/signal.h (__sigsuspend_nocancel): Likewise.
15600 * include/time.h (__nanosleep_nocancel): Likewise.
15601 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
15602 * login/utmp_file.c: Include non cancellable syscall header.
15603 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
15606 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15608 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
15609 .byte sequences with AVX512F instructions.
15610 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
15611 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15612 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
15615 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15618 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
15619 Steve Ellcey <sellcey@cavium.com>
15621 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
15622 Use PTR_REG macro in cmp instruction.
15624 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15626 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
15627 Change the return type of the ifunc resolver to match the return
15628 type of the target function.
15630 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
15633 (preadv64): Likewise.
15634 (pwrite64(: Likewise.
15635 (pwritev64): Likewise.
15637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15638 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
15639 (LOAD_ARGS_0): Likewise.
15640 (LOAD_ARGS_1): Likewise.
15641 (LOAD_ARGS_2): Likewise.
15642 (LOAD_ARGS_3): Likewise.
15643 (LOAD_ARGS_4): Likewise.
15644 (LOAD_ARGS_5): Likewise.
15645 (LOAD_ARGS_6): Likewise.
15646 (LOAD_REGS_0): Likewise.
15647 (LOAD_REGS_1): Likewise.
15648 (LOAD_REGS_2): Likewise.
15649 (LOAD_REGS_3): Likewise.
15650 (LOAD_REGS_4): Likewise.
15651 (LOAD_REGS_5): Likewise.
15652 (LOAD_REGS_6): Likewise.
15653 (ASM_ARGS_0): Likewise.
15654 (ASM_ARGS_1): Likewise.
15655 (ASM_ARGS_2): Likewise.
15656 (ASM_ARGS_3): Likewise.
15657 (ASM_ARGS_4): Likewise.
15658 (ASM_ARGS_5): Likewise.
15659 (ASM_ARGS_6): Likewise.
15660 (LOAD_ARGS_TYPES_1): Likewise.
15661 (LOAD_ARGS_TYPES_2): Likewise.
15662 (LOAD_ARGS_TYPES_3): Likewise.
15663 (LOAD_ARGS_TYPES_4): Likewise.
15664 (LOAD_ARGS_TYPES_5): Likewise.
15665 (LOAD_ARGS_TYPES_6): Likewise.
15666 (LOAD_REGS_TYPES_1): Likewise.
15667 (LOAD_REGS_TYPES_2): Likewise.
15668 (LOAD_REGS_TYPES_3): Likewise.
15669 (LOAD_REGS_TYPES_4): Likewise.
15670 (LOAD_REGS_TYPES_5): Likewise.
15671 (LOAD_REGS_TYPES_6): Likewise.
15672 (TYPEFY): New define.
15673 (ARGIFY): Likewise.
15674 (internal_syscall0): Likewise.
15675 (internal_syscall1): Likewise.
15676 (internal_syscall2): Likewise.
15677 (internal_syscall3): Likewise.
15678 (internal_syscall4): Likewise.
15679 (internal_syscall5): Likewise.
15680 (internal_syscall6): Likewise.
15681 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
15682 (INTERNAL_SYSCALL_NCS): Remove define.
15683 (internal_syscall1): Add define.
15685 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15687 * math/w_remainder_compat.c: Remove duplicate inclusion of
15688 math-svid-compat.h.
15689 * math/w_remainderf_compat.c: Likewise.
15690 * math/w_remainderl_compat.c: Likewise.
15692 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15696 2017-08-22 Joseph Myers <joseph@codesourcery.com>
15699 * math/tgmath.h (__floating_type): Simplify definitions.
15700 (__real_integer_type): New macro.
15701 (__complex_integer_type): Likewise.
15702 (__expr_is_real): Likewise.
15703 (__tgmath_real_type_sub): Update comment to describe handling of
15705 (__tgmath_complex_type_sub): New macro.
15706 (__tgmath_complex_type): Likewise.
15707 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15708 (__TGMATH_CF128): Use __expr_is_real.
15709 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
15711 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15712 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
15713 * math/gen-tgmath-tests.py (Type.create_type): Create complex
15716 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15718 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
15720 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
15722 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
15725 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
15726 nanosleep_not_cancel with __nanosleep_nocancel.
15727 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
15728 (__nanosleep_nocancel): New macro.
15729 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
15731 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
15733 (__nanosleep_nocancel): New prototype.
15735 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
15736 pause_not_cancel with __pause_nocancel.
15737 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
15738 (__pause_nocancel): New macro.
15739 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
15741 (__pause_nocancel): New prototype.
15742 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
15744 2017-08-22 Martin Sebor <msebor@redhat.com>
15746 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
15747 to return a pointer to the same type as the target function.
15749 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
15753 * include/printf.h (__printf_fphex): Add attribute_hidden.
15754 (__guess_grouping): New prototype.
15755 * stdio-common/printf_fp.c (__guess_grouping): Removed.
15756 * stdio-common/reg-printf.c (__register_printf_specifier): Add
15757 libc_hidden_proto and libc_hidden_def.
15758 * stdlib/strfmon_l.c (__guess_grouping): Removed.
15759 (__vstrfmon_l): Remove the third argument passed to
15762 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15764 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
15765 definition for issignaling that does not rely on __MATH_TG,
15766 since __MATH_TG uses __builtin_types_compatible_p, which is only
15767 available in C mode.
15768 (CFLAGS-test-math-issignaling.cc): New variable.
15769 * math/Makefile [CXX] (tests): Add test-math-issignaling.
15770 * math/test-math-issignaling.cc: New test for C++ implementation
15771 of type-generic issignaling.
15772 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
15773 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
15774 options of test-math-issignaling on powerpc64le.
15776 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
15778 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15780 (hidden_proto): Likewise.
15781 (hidden_tls_proto): Likewise.
15782 (__hidden_proto): Likewise.
15784 2017-08-22 Florian Weimer <fweimer@redhat.com>
15786 math: Statically link tests of internal functionality.
15787 * math/Makefile (tests): Remove atest-exp, atest-sincos,
15789 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
15790 (gmp-objs): Remove assignment.
15791 (atest-exp, atest-sincos, atest-exp2): Remove targets.
15793 2017-08-22 Joseph Myers <joseph@codesourcery.com>
15796 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
15798 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
15800 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
15803 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
15804 variable definitions above inclusion of ../Rules.
15806 2017-08-21 Joseph Myers <joseph@codesourcery.com>
15808 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
15809 case calling __builtin_unreachable.
15811 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15813 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
15814 __waitpid_nocancel.
15815 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
15816 (__waitpid_nocancel): New macro.
15817 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
15819 (__waitpid_nocancel): Replace macro with a function.
15820 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
15823 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
15825 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
15826 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
15828 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
15829 __writev_nocancel_nostatus.
15830 (write_call_graph): Likewise.
15831 (write_bb_counts): Likewise.
15832 * resolv/herror.c (herror): Likewise.
15833 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
15835 (__writev_nocancel_nostatus): New macro.
15836 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
15838 (__writev_nocancel_nostatus): New function.
15840 2017-08-21 Joseph Myers <joseph@codesourcery.com>
15843 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15845 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15847 (hidden_proto): Likewise.
15848 (hidden_tls_proto): Likewise.
15849 (__hidden_proto): Likewise.
15852 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
15853 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
15854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
15856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
15858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
15860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
15862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
15863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
15864 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
15865 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
15866 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15867 GLIBC_2.0 sqrtl symbol.
15869 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
15870 [__USE_MISC] (_LIB_VERSION): Likewise.
15871 [__USE_MISC] (struct exception): Likewise.
15872 [__USE_MISC] (matherr): Likewise.
15873 [__USE_MISC] (DOMAIN): Likewise.
15874 [__USE_MISC] (SING): Likewise.
15875 [__USE_MISC] (OVERFLOW): Likewise.
15876 [__USE_MISC] (UNDERFLOW): Likewise.
15877 [__USE_MISC] (TLOSS): Likewise.
15878 [__USE_MISC] (PLOSS): Likewise.
15879 [__USE_MISC] (HUGE): Likewise.
15880 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
15881 * math/math-svid-compat.h: New file.
15882 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
15884 * include/math.h [!_ISOMAC] (__matherr): Remove.
15885 * manual/arith.texi (FP Exceptions): Do not document matherr.
15886 * math/Makefile (tests): Change test-matherr to test-matherr-3.
15887 (tests-internal): New variable.
15888 (install-lib): Do not add libieee.a.
15889 (non-lib.a): Likewise.
15890 (extra-objs): Do not add libieee.a and ieee-math.o.
15891 (CPPFLAGS-s_lib_version.c): Remove variable.
15892 ($(objpfx)libieee.a): Remove rule.
15893 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
15894 * math/ieee-math.c: Remove.
15895 * math/libm-test-support.c (matherr): Remove.
15896 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
15897 and license notices. Include <math-svid-compat.h> and
15899 (matherr): Undefine as macro. Use compat_symbol_reference.
15900 (_LIB_VERSION): Likewise.
15901 * math/test-matherr-2.c: New file.
15902 * math/test-matherr-3.c: Likewise.
15903 * sysdeps/generic/math_private.h (__kernel_standard): Remove
15905 (__kernel_standard_f): Likewise.
15906 (__kernel_standard_l): Likewise.
15907 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
15908 <math_private.h>. Include <math-svid-compat.h>.
15909 (_LIB_VERSION): Undefine as macro.
15910 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
15911 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
15912 [LIBM_SVID_COMPAT], use compat_symbol.
15913 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
15914 <math_private.h>. Include <math-svid-compat.h>.
15915 (matherr): Undefine as macro.
15916 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
15918 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
15919 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
15920 compat_symbol_reference.
15921 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
15922 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
15923 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
15924 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
15925 (MATHERR_D): Remove declaration.
15926 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
15927 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
15928 [LIBM_BUILD] (pmatherrf): Likewise.
15929 [LIBM_BUILD] (pmatherr): Likewise.
15930 [LIBM_BUILD] (pmatherrl): Likewise.
15931 (DOMAIN): Likewise.
15933 (OVERFLOW): Likewise.
15934 (UNDERFLOW): Likewise.
15937 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
15938 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
15940 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
15941 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
15943 * math/lgamma-compat.h: Include <math-svid-compat.h>.
15944 * math/w_acos_compat.c: Likewise.
15945 * math/w_acosf_compat.c: Likewise.
15946 * math/w_acosh_compat.c: Likewise.
15947 * math/w_acoshf_compat.c: Likewise.
15948 * math/w_acoshl_compat.c: Likewise.
15949 * math/w_acosl_compat.c: Likewise.
15950 * math/w_asin_compat.c: Likewise.
15951 * math/w_asinf_compat.c: Likewise.
15952 * math/w_asinl_compat.c: Likewise.
15953 * math/w_atan2_compat.c: Likewise.
15954 * math/w_atan2f_compat.c: Likewise.
15955 * math/w_atan2l_compat.c: Likewise.
15956 * math/w_atanh_compat.c: Likewise.
15957 * math/w_atanhf_compat.c: Likewise.
15958 * math/w_atanhl_compat.c: Likewise.
15959 * math/w_cosh_compat.c: Likewise.
15960 * math/w_coshf_compat.c: Likewise.
15961 * math/w_coshl_compat.c: Likewise.
15962 * math/w_exp10_compat.c: Likewise.
15963 * math/w_exp10f_compat.c: Likewise.
15964 * math/w_exp10l_compat.c: Likewise.
15965 * math/w_exp2_compat.c: Likewise.
15966 * math/w_exp2f_compat.c: Likewise.
15967 * math/w_exp2l_compat.c: Likewise.
15968 * math/w_fmod_compat.c: Likewise.
15969 * math/w_fmodf_compat.c: Likewise.
15970 * math/w_fmodl_compat.c: Likewise.
15971 * math/w_hypot_compat.c: Likewise.
15972 * math/w_hypotf_compat.c: Likewise.
15973 * math/w_hypotl_compat.c: Likewise.
15974 * math/w_j0_compat.c: Likewise.
15975 * math/w_j0f_compat.c: Likewise.
15976 * math/w_j0l_compat.c: Likewise.
15977 * math/w_j1_compat.c: Likewise.
15978 * math/w_j1f_compat.c: Likewise.
15979 * math/w_j1l_compat.c: Likewise.
15980 * math/w_jn_compat.c: Likewise.
15981 * math/w_jnf_compat.c: Likewise.
15982 * math/w_jnl_compat.c: Likewise.
15983 * math/w_lgamma_main.c: Likewise.
15984 * math/w_lgamma_r_compat.c: Likewise.
15985 * math/w_lgammaf_main.c: Likewise.
15986 * math/w_lgammaf_r_compat.c: Likewise.
15987 * math/w_lgammal_main.c: Likewise.
15988 * math/w_lgammal_r_compat.c: Likewise.
15989 * math/w_log10_compat.c: Likewise.
15990 * math/w_log10f_compat.c: Likewise.
15991 * math/w_log10l_compat.c: Likewise.
15992 * math/w_log2_compat.c: Likewise.
15993 * math/w_log2f_compat.c: Likewise.
15994 * math/w_log2l_compat.c: Likewise.
15995 * math/w_log_compat.c: Likewise.
15996 * math/w_logf_compat.c: Likewise.
15997 * math/w_logl_compat.c: Likewise.
15998 * math/w_pow_compat.c: Likewise.
15999 * math/w_powf_compat.c: Likewise.
16000 * math/w_powl_compat.c: Likewise.
16001 * math/w_remainder_compat.c: Likewise.
16002 * math/w_remainderf_compat.c: Likewise.
16003 * math/w_remainderl_compat.c: Likewise.
16004 * math/w_scalb_compat.c: Likewise.
16005 * math/w_scalbf_compat.c: Likewise.
16006 * math/w_scalbl_compat.c: Likewise.
16007 * math/w_sinh_compat.c: Likewise.
16008 * math/w_sinhf_compat.c: Likewise.
16009 * math/w_sinhl_compat.c: Likewise.
16010 * math/w_sqrt_compat.c: Likewise.
16011 * math/w_sqrtf_compat.c: Likewise.
16012 * math/w_sqrtl_compat.c: Likewise.
16013 * math/w_tgamma_compat.c: Likewise.
16014 * math/w_tgammaf_compat.c: Likewise.
16015 * math/w_tgammal_compat.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
16017 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
16018 * sysdeps/ieee754/k_standard.c: Likewise.
16019 * sysdeps/ieee754/k_standardf.c: Likewise.
16020 * sysdeps/ieee754/k_standardl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
16023 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
16024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
16028 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
16029 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
16030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
16032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
16034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
16035 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
16036 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
16037 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
16039 2017-08-21 Florian Weimer <fweimer@redhat.com>
16042 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
16043 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
16044 Move before inclusion of ../Rules.
16046 2017-08-21 Florian Weimer <fweimer@redhat.com>
16049 * assert/assert.h (assert): Use static_cast (bool) for C++.
16050 Use the ternary operator in the warning branch for GNU C.
16051 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
16052 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
16053 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
16054 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
16055 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
16057 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16061 (__syscall_clock_gettime): Add attribute_hidden.
16062 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
16063 (__start_context): Likewise.
16065 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16067 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16069 (hidden_proto): Likewise.
16070 (hidden_tls_proto): Likewise.
16071 (__hidden_proto): Likewise.
16073 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16075 * include/libc-symbols.h (attribute_hidden): Enable hidden
16076 visibility in libc.a compiled with PIE.
16078 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16081 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
16082 Add attribute_hidden.
16084 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16087 * Makerules (all-nonlib): Add $(others-extras).
16088 * catgets/Makefile (others-extras): New.
16089 * elf/Makefile (others-extras): Likewise.
16090 * nss/Makefile (others-extras): Likewise.
16092 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16095 * csu/libc-start.c (__libc_multiple_libcs): Removed.
16096 * elf/dl-open.c: Include <libc-internal.h>.
16097 (__libc_multiple_libcs): Removed.
16098 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
16100 * include/libc-internal.h (__libc_multiple_libcs): New.
16101 * misc/sbrk.c: Include <libc-internal.h>.
16102 (__libc_multiple_libcs): Removed.
16104 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16107 * grp/initgroups.c (__nss_group_database): Removed.
16108 (__nss_initgroups_database): Likewise.
16109 * nscd/gai.c (__nss_hosts_database): Likewise.
16110 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
16111 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16112 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16113 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16114 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
16115 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
16117 * nss/nsswitch.c (__nss_database_custom): Define only if
16118 USE_NSCD is defined.
16119 (__nss_configure_lookup): Use __nss_database_custom only if
16120 USE_NSCD is defined.
16121 * nss/nsswitch.h (__nss_database_custom): Declare only if
16122 USE_NSCD is defined. Add attribute_hidden.
16123 (__nss_setent): Add attribute_hidden.
16124 (__nss_endent): Likewise.
16125 (__nss_getent_r): Likewise.
16126 (__nss_getent): Likewise.
16127 (DEFINE_DATABASE): Declare __nss_##arg##_database.
16129 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16132 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
16133 libc_hidden_proto and libc_hidden_def.
16135 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16138 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
16139 Add libc_hidden_proto.
16140 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
16141 Add libc_hidden_def.
16143 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16146 * gmon/Makefile (routines): Remove bb_init_func and
16148 (elide-routines.os): Removed.
16149 * gmon/bb_exit_func.c: Likewise.
16150 * gmon/bb_init_func.c: Likewise.
16151 * include/sys/gmon.h (__bb): Likewise.
16152 (__bb_init_func): Likewise.
16153 (__bb_exit_func): Likewise.
16154 * sysdeps/alpha/bb_init_func.S: Likewise.
16156 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16158 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
16159 * include/setjmp.h (____longjmp_chk): Here. Add
16162 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
16165 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
16167 (__strspn_sse2): Likewise.
16169 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16171 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
16172 (close_not_cancel_no_status): Likewise.
16173 (__close_nocancel): New macro.
16174 (__close_nocancel_nostatus): Likewise.
16175 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
16177 (close_not_cancel): Likewise.
16178 (close_not_cancel_no_status): Likewise.
16179 (__close_nocancel): New prototype.
16180 (__close_nocancel_nostatus): New function.
16181 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
16182 * catgets/open_catalog.c (__open_catalog): Replace
16183 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
16184 * gmon/gmon.c (write_gmon): Likewise.
16185 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16186 * intl/loadmsgcat.c (close): Likewise.
16187 * io/ftw.c (open_dir_stream): Likewise.
16188 (ftw_startup): Likewise.
16189 * libio/fileops.c (_IO_file_open): Likewise.
16190 (_IO_file_close_mmap): Likewise.
16191 (_IO_file_close): Likewise.
16192 * libio/iopopen.c (_IO_dup2): Likewise.
16193 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16194 * locale/loadlocale.c (_nl_load_locale): Likewise.
16195 * login/utmp_file.c (pututline_file): Likewise.
16196 (endutent_file): Likewise.
16197 * misc/daemon.c (daemon): Likewise.
16198 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16199 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16200 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
16201 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16203 * nscd/nscd_helper.c (open_socket): Likewise.
16204 (__nscd_open_socket): Likewise.
16205 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16206 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
16207 (__nscd_innetgr): Likewise.
16208 * nss/nss_db/db-open.c (internal_setent): Likewise.
16209 * resolv/res-close.c (__res_iclose): Likewise.
16210 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
16211 * sysdeps/posix/closedir.c (__closedir): Likewise.
16212 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
16213 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16214 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
16215 (opendir_tail): Likewise.
16216 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16217 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
16218 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16219 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16220 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16221 (gethostid): Likewise.
16222 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16223 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16226 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
16227 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16228 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16230 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
16231 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
16232 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16234 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
16235 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16237 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16239 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
16240 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16241 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16244 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
16245 (openat_not_cancel_3): Likewise.
16246 (openat64_not_cancel_3): Likewise).
16247 (openat_not_cancel_3): Likewise).
16248 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
16250 (openat_not_cancel_3): Likewise.
16251 (openat64_not_cancel): Likewise.
16252 (openat64_not_cancel_3): Likewise.
16253 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
16254 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
16255 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
16256 __open{64}_nocancel.
16257 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16258 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16259 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16261 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16264 * include/argz.h (__argz_create_sep): New function prototype.
16265 (__argz_append): Likewise.
16266 (__argz_add): Likewise.
16267 (__argz_add_sep): Likewise.
16268 (__argz_delete): Likewise.
16269 (__argz_insert): Likewise.
16270 (__argz_replace): Likewise.
16271 * string/argz.h (__argz_create_sep): Removed.
16272 (__argz_append): Likewise.
16273 (__argz_add): Likewise.
16274 (__argz_add_sep): Likewise.
16275 (__argz_delete): Likewise.
16276 (__argz_insert): Likewise.
16277 (__argz_replace): Likewise.
16279 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16281 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
16282 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
16283 (GNU_PROPERTY_STACK_SIZE): Likewie.
16284 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
16285 (GNU_PROPERTY_LOPROC): Likewise.
16286 (GNU_PROPERTY_HIPROC): Likewise.
16287 (GNU_PROPERTY_LOUSER): Likewise.
16288 (GNU_PROPERTY_HIUSER): Likewise.
16289 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
16290 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
16291 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
16292 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
16293 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
16294 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
16295 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
16296 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
16297 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
16298 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
16299 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
16300 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
16301 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
16302 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
16303 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
16304 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
16305 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
16306 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
16307 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
16308 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
16309 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
16310 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
16311 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
16313 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16315 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
16318 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16321 * math/math.h (isinf): Check if in C or C++ mode before using
16322 __builtin_types_compatible_p, since this is a C mode feature.
16324 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16326 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
16327 (__write_nocancel): New macro.
16328 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
16329 Rewrite as a function prototype.
16330 (write_not_cancel): Remove macro.
16331 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
16332 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
16333 (write_gmon): Likewise.
16334 * libio/fileops.c (_IO_new_file_write): Likewise.
16335 * login/utmp_file.c (pututline_file): Likewise.
16336 (updwtmp_file): Likewise.
16337 * stdio-common/psiginfo.c (psiginfo): Likewise.
16338 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16339 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16340 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16342 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16345 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
16346 (__read_nocancel): New macro.
16347 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16349 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
16351 (__read_nocancel): New prototype.
16352 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
16353 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
16354 with __read_nocancel.
16355 * intl/loadmsgcat.c (read): Likewise.
16356 * libio/fileops.c (_IO_file_read): Likewise.
16357 * locale/loadlocale.c (_nl_load_locale): Likewise.
16358 * login/utmp_file.c (getutent_r_file): Likewise.
16359 (internal_getut_r): Likewise.
16360 (getutline_r_file): Likewise.
16361 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
16362 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16363 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16364 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16366 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
16367 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16368 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16370 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16372 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16374 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16376 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16378 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16381 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
16382 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
16385 2017-08-17 DJ Delorie <dj@redhat.com>
16387 * bug17079.c: Update to new test harness.
16388 * test-digits-dots.c: Likewise.
16389 * test-netdb.c: Likewise.
16390 * tst-field.c: Likewise.
16391 * tst-nss-getpwent.c: Likewise.
16392 * tst-nss-static.c: Likewise.
16393 * tst-nss-test1.c: Likewise.
16394 * tst-nss-test2.c: Likewise.
16395 * tst-nss-test3.c: Likewise.
16396 * tst-nss-test4.c: Likewise.
16397 * tst-nss-test5.c: Likewise.
16399 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16401 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
16402 (open_not_cancel_2): Likewise.
16403 (open_nocancel): New macro.
16404 (open64_nocancel): Likewise.
16405 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
16406 (open_not_cancel_2): Likewise.
16407 (__open_nocancel): New prototype.
16408 (__open64_nocancel): Likewise.
16409 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16411 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
16412 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
16413 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
16414 with __open_nocancel.
16415 * csu/check_fds.c (check_one_fd): Likewise.
16416 * gmon/gmon.c (write_gmon): Likewise.
16417 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
16418 * intl/loadmsgcat.c (open): Likewise.
16419 * libio/fileops.c (_IO_file_open): Likewise.
16420 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16421 * locale/loadlocale.c (_nl_load_locale): Likewise.
16422 * login/utmp_file.c (setutent_file): Likewise.
16423 * misc/daemon.c (daemon): Likewise.
16424 * nss/nss_db/db-open.c (internal_setent): Likewise.
16425 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16426 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
16427 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
16428 (__opendir): Likewise.
16429 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16430 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
16431 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16432 (gethostid): Likewise.
16433 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16434 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16437 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
16438 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16439 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16441 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16443 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16445 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16447 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16449 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16451 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
16452 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16454 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
16456 * benchtests/bench-skeleton.c (main): Add support for
16457 latency benchmarking.
16458 * benchtests/scripts/bench.py: Add support for latency benchmarking.
16460 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
16462 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
16463 the startup object.
16465 2017-08-17 Florian Weimer <fweimer@redhat.com>
16467 * include/sys/socket.h (__opensock): Remove internal_function.
16468 * socket/opensock.c (__opensock): Likewise.
16469 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
16471 2017-08-16 Joseph Myers <joseph@codesourcery.com>
16474 * signal/bits/types/__sigval_t.h: New file.
16475 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
16476 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
16477 and define sigval_t using __sigval_t.
16478 * include/bits/types/__sigval_t.h: New file.
16479 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
16480 instead of <bits/types/__sigval_t.h>.
16481 (struct sigevent): Use __sigval_t instead of sigval_t.
16482 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
16483 instead of <bits/types/__sigval_t.h>.
16484 (siginfo_t): Use __sigval_t instead of sigval_t.
16485 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
16486 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
16487 (struct sigevent): Use __sigval_t instead of sigval_t.
16488 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
16489 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
16490 (siginfo_t): Use __sigval_t instead of sigval_t.
16491 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
16493 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16495 * NEWS: Remove "[Add new features here]" for 2.27.
16497 2017-08-16 Joseph Myers <joseph@codesourcery.com>
16499 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
16502 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16504 * NEWS: Mention x86-64 FMA optimization.
16506 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16509 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16511 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
16512 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
16513 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
16515 2017-08-16 Andreas Schwab <schwab@suse.de>
16519 * elf/ldd.bash.in: Never run file directly.
16521 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
16524 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
16525 (L(SP_INF_0)): Likewise.
16527 2017-08-15 Florian Weimer <fweimer@redhat.com>
16529 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
16532 2017-08-15 Florian Weimer <fweimer@redhat.com>
16534 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
16535 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
16536 BROKEN_THREAD_SIGNALS code.
16537 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
16538 request_list): Remove caller_pid member used for
16539 BROKEN_THREAD_SIGNALS.
16540 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
16541 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
16542 Remove BROKEN_THREAD_SIGNALS support.
16543 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16544 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
16546 2017-08-15 Florian Weimer <fweimer@redhat.com>
16548 * gmon/Makefile (tests): Add tst-gmon.
16549 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
16551 (tests-special): Add tst-gmon-prof.out.
16552 (tst-gmon.out): Depend on clean-tst-gmon-data.
16553 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
16554 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
16555 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
16557 * aclocal.m4 (GPROF): Set and substitute.
16558 * config.amke.in (GPROF): Set.
16559 * configure: Regenerate.
16561 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
16563 * elf/elf.h A (NT_PPC_TAR): New macro.
16564 (NT_PPC_PPR): Likewise.
16565 (NT_PPC_DSCR): Likewise.
16566 (NT_PPC_EBB): Likewise.
16567 (NT_PPC_PMU): Likewise.
16568 (NT_PPC_TM_CGPR): Likewise.
16569 (NT_PPC_TM_CFPR): Likewise.
16570 (NT_PPC_TM_CVMX): Likewise.
16571 (NT_PPC_TM_CVSX): Likewise.
16572 (NT_PPC_TM_SPR): Likewise.
16573 (NT_PPC_TM_CTAR): Likewise.
16574 (NT_PPC_TM_CPPR): Likewise.
16575 (NT_PPC_TM_CDSCR): Likewise.
16577 2017-08-15 Florian Weimer <fweimer@redhat.com>
16579 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
16580 regparm (2) instead of internal_function.
16581 (_MCOUNT_DECL): Adjust.
16583 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16585 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
16586 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16588 2017-08-14 Joseph Myers <joseph@codesourcery.com>
16590 * conform/data/sys/wait.h-data (si_value): Do not expect for
16593 2017-08-14 Florian Weimer <fweimer@redhat.com>
16596 NSS: Create stubs for accidentally exported lookup functions.
16597 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
16598 Remove declaration.
16599 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
16600 (ether_hostton): Call __nss_ethers_lookup2 instead.
16601 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
16602 (ether_ntohost): Call __nss_ethers_lookup2 instead.
16603 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
16604 (setup): Call __nss_netgroup_lookup2 instead.
16605 * nss/Makefile (routines): Add compat-lookup.
16606 * nss/Versions (GLIBC_2.27): Add symbol version.
16607 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
16608 (DB_COMPAT_FCT): Remove.
16609 * nss/compat-lookup.c: New file.
16610 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
16611 from databases.def.
16612 * nss/service-lookup.c (NO_COMPAT): Remove definition.
16613 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
16614 (netname2user): Call __nss_publickey_lookup2 instead.
16615 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
16616 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
16619 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16620 Sergei Trofimovich <slyfox@inbox.ru>
16623 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
16624 Rename to MMAP2_PAGE_UNIT.
16625 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
16626 __OFF_T_MATCHES_OFF64_T is not defined.
16627 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
16629 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
16630 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
16632 2017-08-14 Florian Weimer <fweimer@redhat.com>
16634 i386: Do not set internal_function.
16635 * config.h.in (USE_REGPARMS, internal_function): Remove.
16636 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
16637 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
16639 2017-08-14 Florian Weimer <fweimer@redhat.com>
16641 * elf/dl-init.c (_dl_init): Remove internal_function.
16642 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
16643 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
16645 2017-08-14 Florian Weimer <fweimer@redhat.com>
16647 * elf/rtld.c (_dl_start): Remove internal_function.
16648 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
16651 2017-08-14 Florian Weimer <fweimer@redhat.com>
16653 * elf/dl-fini.c (_dl_fini): Remove internal_function
16654 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
16656 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
16658 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
16659 (bit_cpu_SHSTK): Likewise.
16660 (index_cpu_IBT): Likewise.
16661 (index_cpu_SHSTK): Likewise.
16662 (reg_IBT): Likewise.
16663 (reg_SHSTK): Likewise.
16664 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16665 Handle index_cpu_IBT and index_cpu_SHSTK.
16667 2017-08-14 Mike FABIAN <mfabian@redhat.com>
16670 * po/fr.po: Fix spelling mistake.
16672 2017-08-13 Florian Weimer <fweimer@redhat.com>
16674 * elf/dl-addr.c (_dl_addr): Remove internal_function.
16675 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
16676 (_dl_catch_error, _dl_receive_error): Likewise.
16677 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
16678 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
16679 (_dl_deallocate_tls): Likewise.
16680 * include/dlfcn.h (_dl_addr): Likewise.
16681 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
16682 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
16683 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
16686 2017-08-13 Florian Weimer <fweimer@redhat.com>
16688 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
16689 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
16691 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
16693 2017-08-13 Florian Weimer <fweimer@redhat.com>
16695 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
16697 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
16698 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
16699 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
16700 internal_function from _dl_make_stack_executable_hook member.
16701 (_dl_make_stack_executable): Remove internal_function.
16702 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
16704 * sysdeps/unix/sysv/linux/dl-execstack.c
16705 (_dl_make_stack_executable): Likewise.
16707 2017-08-13 Florian Weimer <fweimer@redhat.com>
16709 * sysdeps/unix/sysv/linux/netlinkaccess.h
16710 (__netlink_assert_response): Remove internal_function.
16711 * sysdeps/unix/sysv/linux/netlink_assert_response.c
16712 (__netlink_assert_response): Likewise.
16714 2017-08-13 Florian Weimer <fweimer@redhat.com>
16716 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
16718 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
16720 2017-08-13 Florian Weimer <fweimer@redhat.com>
16722 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
16724 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
16725 * inet/netgroup.h (__internal_setnetgrent)
16726 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
16727 * inet/getnetgrent_r.c (__internal_setnetgrent)
16728 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
16729 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
16730 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
16731 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
16732 * nss/nsswitch.h (db_lookup_function): Likewise.
16734 2017-08-13 Florian Weimer <fweimer@redhat.com>
16736 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
16737 Remove internal_function.
16738 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
16739 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
16740 message argument on the stack.
16741 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
16744 2017-08-12 Mike FABIAN <mfabian@redhat.com>
16746 Adapt test case data to the changes in the thousands
16750 * localedata/tst-langinfo.sh: Adapt test case data.
16751 * stdlib/tst-strfmon_l.c: Likewise.
16752 * stdlib/tst-strtod4.c: Likewise.
16753 * stdlib/tst-strtod5i.c: Likewise.
16755 2017-08-11 Florian Weimer <fweimer@redhat.com>
16758 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
16759 Suppress pedantic warning resulting from statement expression.
16760 (__ASSERT_FUNCTION): Add missing __extension__.
16762 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16764 * benchtests/bench-memmove-large.c: Print output in JSON
16766 * benchtests/bench-memmove.c: Likewise.
16768 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
16769 * benchtests/bench-memchr.c (do_one_test): Likewise.
16770 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
16771 * benchtests/bench-memcpy.c (do_one_test): Likewise.
16772 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
16773 * benchtests/bench-memmove.c (do_one_test): Likewise.
16774 * benchtests/bench-memset-large.c (do_one_test): Likewise.
16775 * benchtests/bench-memset.c (do_one_test): Likewise.
16776 * benchtests/bench-string.h (test_init): Remove memsets.
16778 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
16781 (Computing the Width of an Integer Data Type): Rename section to
16782 "Width of an Integer Type". Remove inaccurate statement regarding
16783 lack of C language facilities for determining width of integer
16784 types, and reorder content to improve flow and context of
16787 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
16789 * lang.texi (va_copy): Change standard from ISO to C99.
16790 (__va_copy): Add standard and header annotation.
16791 Update description for clarity of origins and current use.
16793 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16796 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
16797 xssqrtqp requires operands to be in Vector Registers
16798 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
16799 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
16800 (__ieee754_sqrtf128): Likewise.
16802 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
16804 * sysdeps/aarch64/memcmp.S (memcmp):
16805 Rewrite of optimized memcmp.
16807 2017-08-10 Florian Weimer <fweimer@redhat.com>
16809 Introduce ld.so exceptions.
16810 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
16811 (_dl_exception_create, _dl_exception_create_format)
16812 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
16813 (_dl_catch_exception): Declare.
16814 (_dl_catch_error): Update comment.
16815 * elf/dl-error-skeleton.c (struct catch): Replace objname,
16816 errstring, malloced members with exception member.
16817 (_dl_out_of_memory): Remove.
16818 (fatal_error): New function, extracted from _dl_signal_error.
16819 (_dl_signal_exception, _dl_signal_cexception): New functions.
16820 (_dl_signal_error): Call _dl_exception_create to allocate an
16822 (_dl_catch_exception): New function, based on _dl_catch_error.
16823 (_dl_catch_error): Implement using _dl_catch_exception.
16824 * elf/dl-exception.c: New file.
16825 * elf/Makefile (dl-routines): Add dl-exception.
16826 (elide-routines.os): Likewise.
16827 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
16828 _dl_exception_create_format, _dl_exception_free.
16829 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
16830 _dl_signal_exception.
16831 * elf/dl-lookup.c (make_string): Remove.
16832 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
16833 _dl_signal_cexception, _dl_exception_free.
16834 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
16835 _dl_signal_exception.
16836 * elf/dl-sym.c (do_sym): Likewise.
16837 * elf/dl-version.c (make_string): Remove.
16838 (match_symbol): Use _dl_exception_create_format,
16839 _dl_signal_cexception, _dl_exception_free.
16840 (_dl_check_map_versions): Likewise.
16841 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
16842 _dl_catch_exception.
16843 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
16844 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
16845 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
16846 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
16847 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
16848 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
16849 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
16850 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
16852 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
16855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
16859 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
16860 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
16861 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
16863 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
16865 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
16867 2017-08-10 Florian Weimer <fweimer@redhat.com>
16869 * inet/net-internal.h (__inet6_scopeid_pton): Remove
16870 attribute_hidden, internal_function.
16871 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
16874 2017-08-10 Florian Weimer <fweimer@redhat.com>
16876 * malloc/malloc.c (get_max_fast): Reimplement as an inline
16877 function which calls __builtin_unreachable.
16879 2017-08-10 Mike FABIAN <mfabian@redhat.com>
16881 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
16882 Indian monetary formatting
16883 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
16886 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
16888 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
16889 Fix typo in comment.
16892 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
16893 PTRACE_SEIZE_DEVEL): Remove.
16894 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16895 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16896 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16900 2017-08-09 Joseph Myers <joseph@codesourcery.com>
16902 * posix/bits/types.h (__qaddr_t): Remove.
16905 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
16906 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16908 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
16909 (ucontext_t): Use __ctx with uc_flags.
16910 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
16911 (__ctxt): Likewise.
16912 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16914 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
16915 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16917 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
16918 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16920 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
16922 (ucontext_t): Use __ctx with uc_flags.
16923 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
16924 (ucontext_t): Use __ctx with uc_flags.
16925 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
16926 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
16927 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
16928 (ucontext_t): Use __ctx with uc_flags.
16929 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
16930 undefine further down.
16931 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16933 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
16934 undefine further down.
16935 (ucontext_t): Use __ctx with uc_flags.
16936 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
16937 undefine further down.
16938 (ucontext_t): Use __ctx with uc_flags.
16939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
16940 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
16941 Rename uc_pad to __glibc_reserved1.
16942 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
16943 undefine further down.
16944 (ucontext_t): Use __ctx with uc_flags.
16945 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
16947 (ucontext_t): Use __ctx with uc_flags.
16948 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
16949 __ctx with uc_flags.
16950 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
16951 (ucontext_t): Use __ctx with uc_flags.
16952 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
16953 __ctx with uc_flags.
16955 2017-08-09 Florian Weimer <fweimer@redhat.com>
16958 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
16959 before early return.
16961 2017-08-09 Andreas Schwab <schwab@suse.de>
16964 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
16968 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
16969 tst-compat-forwarder.
16970 (modules-names): Add tst-compat-forwarder-mod.
16971 ($(objpfx)tst-compat-forwarder): Depend on
16972 $(objpfx)tst-compat-forwarder-mod.so.
16973 * nptl/tst-compat-forwarder.c: New file.
16974 * nptl/tst-compat-forwarder-mod.c: New file.
16976 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
16978 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
16981 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
16982 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
16984 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16986 (__libc_ifunc_impl_list): Add __memcpy_falkor.
16987 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
16988 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
16989 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
16991 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
16994 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16997 * manual/setjmp.texi (getcontex): Document uc_stack value
16998 compatibility differences.
17000 2017-08-08 Joseph Myers <joseph@codesourcery.com>
17002 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
17003 (old_malloc_hook): Likewise.
17004 (old_memalign_hook): Likewise.
17005 (old_realloc_hook): Likewise.
17006 (struct hdr): Likewise.
17008 (freehook): Likewise.
17009 (mallochook): Likewise.
17010 (memalignhook): Likewise.
17011 (reallochook): Likewise.
17012 (mprobe): Likewise.
17013 * malloc/mtrace.c (mallwatch): Likewise.
17014 (tr_old_free_hook): Likewise.
17015 (tr_old_malloc_hook): Likewise.
17016 (tr_old_realloc_hook): Likewise.
17017 (tr_old_memalign_hook): Likewise.
17018 (tr_where): Likewise.
17019 (lock_and_info): Likewise.
17020 (tr_freehook): Likewise.
17021 (tr_mallochook): Likewise.
17022 (tr_reallochook): Likewise.
17023 (tr_memalignhook): Likewise.
17024 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
17025 * misc/mmap.c (__mmap): Likewise.
17026 * misc/mmap64.c (__mmap64): Likewise.
17027 * misc/mprotect.c (__mprotect): Likewise.
17028 * misc/msync.c (msync): Likewise.
17029 * misc/munmap.c (__munmap): Likewise.
17030 * posix/posix_madvise.c (posix_madvise): Likewise.
17031 * socket/send.c (__send): Likewise.
17032 * socket/sendto.c (__sendto): Likewise.
17033 * socket/setsockopt.c (__setsockopt): Likewise.
17034 * string/memcmp.c (__ptr_t): Remove macro.
17035 (MEMCMP): Use void * instead of ptr_t.
17036 * string/memrchr.c (__ptr_t): Remove macro.
17037 (__memrchr): Use void * instead of ptr_t.
17038 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
17039 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
17040 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
17041 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
17042 * sysdeps/mach/msync.c (msync): Likewise.
17043 * sysdeps/mach/munmap.c (__munmap): Likewise.
17044 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
17046 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17047 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
17048 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
17049 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
17050 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17051 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17052 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
17053 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
17055 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17056 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
17057 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
17058 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
17059 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
17060 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
17061 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
17062 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
17063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
17065 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
17066 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
17067 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
17068 (MEMCMP): Use void * instead of ptr_t.
17069 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
17070 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
17072 2017-08-08 Florian Weimer <fweimer@redhat.com>
17074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
17077 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
17080 * csu/libc-tls.c: Include <startup.h> first.
17081 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
17082 * elf/dl-tunables.c: Include <startup.h> first.
17083 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
17084 * sysdeps/generic/startup.h: New file.
17085 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
17086 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
17087 (I386_USE_SYSENTER): New. Defined to 0.
17089 2017-08-08 Andreas Schwab <schwab@suse.de>
17092 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
17093 * nptl/pt-system.c (system): Likewise.
17095 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17098 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
17100 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17101 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17102 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
17103 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17104 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17105 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17106 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
17108 2017-08-07 Joseph Myers <joseph@codesourcery.com>
17111 * bits/sigaction.h (struct sigaction): Define sa_handler and
17112 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
17113 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17114 [__USE_XOPEN_EXTENDED].
17115 (SA_RESTART): Likewise.
17116 (SA_NODEFER): Likewise.
17117 (SA_RESETHAND): Likewise.
17118 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
17119 (struct sigaction): Define sa_handler and sa_sigaction using union
17120 also for [__USE_XOPEN_EXTENDED].
17121 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17122 [__USE_XOPEN_EXTENDED].
17123 (SA_RESTART): Likewise.
17124 (SA_NODEFER): Likewise.
17125 (SA_RESETHAND): Likewise.
17126 * sysdeps/unix/sysv/linux/bits/sigaction.h
17127 (struct sigaction): Define sa_handler and sa_sigaction using union
17128 also for [__USE_XOPEN_EXTENDED].
17129 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17130 [__USE_XOPEN_EXTENDED].
17131 (SA_RESTART): Likewise.
17132 (SA_NODEFER): Likewise.
17133 (SA_RESETHAND): Likewise.
17134 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
17135 (struct sigaction): Define sa_handler and sa_sigaction using union
17136 also for [__USE_XOPEN_EXTENDED].
17137 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17138 [__USE_XOPEN_EXTENDED].
17139 (SA_RESTART): Likewise.
17140 (SA_NODEFER): Likewise.
17141 (SA_RESETHAND): Likewise.
17142 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
17143 (struct sigaction): Define sa_handler and sa_sigaction using union
17144 also for [__USE_XOPEN_EXTENDED].
17145 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17146 [__USE_XOPEN_EXTENDED].
17147 (SA_RESTART): Likewise.
17148 (SA_NODEFER): Likewise.
17149 (SA_RESETHAND): Likewise.
17150 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17151 (struct sigaction): Define sa_handler and sa_sigaction using union
17152 also for [__USE_XOPEN_EXTENDED].
17153 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17154 [__USE_XOPEN_EXTENDED].
17155 (SA_RESTART): Likewise.
17156 (SA_NODEFER): Likewise.
17157 (SA_RESETHAND): Likewise.
17158 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17159 (struct sigaction): Define sa_handler and sa_sigaction using union
17160 also for [__USE_XOPEN_EXTENDED].
17161 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17162 [__USE_XOPEN_EXTENDED].
17163 (SA_RESTART): Likewise.
17164 (SA_NODEFER): Likewise.
17165 (SA_RESETHAND): Likewise.
17166 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17167 (struct sigaction): Define sa_handler and sa_sigaction using union
17168 also for [__USE_XOPEN_EXTENDED].
17169 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17170 [__USE_XOPEN_EXTENDED].
17171 (SA_RESTART): Likewise.
17172 (SA_NODEFER): Likewise. Define directly rather than as alias.
17173 (SA_RESETHAND): Likewise.
17174 (SA_INTERRUPT): Define only for [__USE_MISC].
17175 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
17176 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
17178 (SA_STACK): Define only for [__USE_MISC].
17179 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
17180 (struct sigaction): Define sa_handler and sa_sigaction using union
17181 also for [__USE_XOPEN_EXTENDED].
17182 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17183 [__USE_XOPEN_EXTENDED].
17184 (SA_RESTART): Likewise.
17185 (SA_NODEFER): Likewise.
17186 (SA_RESETHAND): Likewise.
17187 (SA_NOPTRACE): Define only for [__USE_MISC].
17189 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
17190 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
17191 (struct catalog_info): Likewise.
17192 * inet/htontest.c (lo): Likewise.
17194 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17195 * inet/inet_net.c (inet_network): Likewise.
17196 * inet/inet_netof.c (inet_netof): Likewise.
17197 * inet/rcmd.c (__ivaliduser): Likewise.
17198 (iruserok): Likewise.
17199 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
17200 * locale/programs/locale-spec.c (locale_special): Likewise.
17201 * nis/nis_findserv.c (struct findserv_req): Likewise.
17202 (__nis_findfastest_with_timeout): Likewise.
17203 * nss/test-netdb.c (test_network): Likewise.
17204 * resolv/inet_neta.c (inet_neta): Likewise.
17205 * resolv/ns_date.c (ns_datetosecs): Likewise.
17206 (SECS_PER_DAY): Likewise.
17207 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
17209 * resolv/res_comp.c (__putlong): Likewise.
17210 (__putshort): Likewise.
17211 (_getlong): Likewise.
17212 (_getshort): Likewise.
17213 * resolv/res_debug.c (p_time): Likewise.
17214 (precsize_ntoa): Likewise.
17215 (precsize_aton): Likewise.
17216 (latlon2ul): Likewise.
17217 (loc_aton): Likewise.
17218 (loc_ntoa): Likewise.
17219 * resolv/res_hconf.c (struct netaddr): Likewise.
17220 (_res_hconf_reorder_addrs): Likewise.
17221 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17222 (clnttcp_control): Likewise.
17223 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17224 (clntudp_control): Likewise.
17225 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17226 (clntunix_control): Likewise.
17227 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17228 * sunrpc/rpc/auth.h (union des_block): Likewise.
17229 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
17230 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
17231 (xdrrec_create): Likewise.
17232 (xdrrec_endofrecord): Likewise.
17233 (flush_out): Likewise.
17234 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
17235 (xdrstdio_putlong): Likewise.
17236 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
17239 * misc/sys/cdefs.h (__long_double_t): Remove.
17240 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
17241 instead of __long_double_t,
17242 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
17244 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17246 * benchtests/scripts/compare_strings.py: Avoid display error when
17247 running on a text terminal.
17249 * benchtests/scripts/compare_strings.py (main): Add an
17250 optional -base option.
17251 (process_results): New argument base_func.
17253 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
17255 * benchtests/bench-memcpy-large.c (test_name): Likewise.
17256 * benchtests/bench-memcpy-random.c (test_name): Likewise.
17258 2017-08-07 Andreas Schwab <schwab@suse.de>
17260 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
17261 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17262 * intl/Makefile ($(objpfx)tst-gettext.out)
17263 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
17264 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
17265 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17266 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17267 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
17268 * posix/Makefile ($(objpfx)globtest.out)
17269 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
17270 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
17271 ($(objpfx)tst-printf.out): Likewise.
17272 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
17273 ($(objpfx)tst-setcontext3.out): Likewise.
17275 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
17277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17278 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
17279 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
17280 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
17281 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
17283 (CFLAGS-doasin-fma.c): New.
17284 (CFLAGS-dosincos-fma.c): Likewise.
17285 (CFLAGS-e_asin-fma.c): Likewise.
17286 (CFLAGS-e_atan2-fma.c): Likewise.
17287 (CFLAGS-e_exp-fma.c): Likewise.
17288 (CFLAGS-e_log-fma.c): Likewise.
17289 (CFLAGS-e_pow-fma.c): Likewise.
17290 (CFLAGS-halfulp-fma.c): Likewise.
17291 (CFLAGS-mpa-fma.c): Likewise.
17292 (CFLAGS-mpatan-fma.c): Likewise.
17293 (CFLAGS-mpatan2-fma.c): Likewise.
17294 (CFLAGS-mpexp-fma.c): Likewise.
17295 (CFLAGS-mplog-fma.c): Likewise.
17296 (CFLAGS-mpsqrt-fma.c): Likewise.
17297 (CFLAGS-mptan-fma.c): Likewise.
17298 (CFLAGS-s_atan-fma.c): Likewise.
17299 (CFLAGS-sincos32-fma.c): Likewise.
17300 (CFLAGS-slowexp-fma.c): Likewise.
17301 (CFLAGS-slowpow-fma.c): Likewise.
17302 (CFLAGS-s_sin-fma.c): Likewise.
17303 (CFLAGS-s_tan-fma.c): Likewise.
17304 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
17305 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
17306 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
17307 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
17308 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
17309 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17310 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
17311 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
17312 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
17313 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
17314 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
17315 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
17316 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
17317 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17318 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17319 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
17320 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
17321 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
17322 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
17323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
17324 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
17325 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17326 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17327 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
17328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17330 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17331 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17336 2017-08-04 Joseph Myers <joseph@codesourcery.com>
17338 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
17339 (min_of_type_f): New macro.
17340 (min_of_type_): Likewise.
17341 (min_of_type_l): Likewise.
17342 (min_of_type_f128): Likewise.
17343 (min_of_type): Define using __MATH_TG and taking an expression
17345 (math_check_force_underflow): Pass expression instead of type to
17347 (math_check_force_underflow_nonneg): Likewise.
17349 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17351 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
17352 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
17353 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
17355 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17358 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
17359 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
17360 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
17361 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
17362 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
17363 memcpy_chk-nonshared, mempcpy_chk-nonshared,
17364 memmove_chk-nonshared and memset_chk-nonshared
17365 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
17366 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
17367 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
17368 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
17369 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
17370 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
17371 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
17372 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
17373 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
17374 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
17375 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
17376 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
17377 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
17378 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
17379 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
17380 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
17381 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
17382 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
17383 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
17384 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
17385 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
17386 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
17387 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
17388 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
17389 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
17390 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
17391 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
17392 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
17393 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
17394 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
17395 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
17396 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
17397 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
17398 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
17399 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
17400 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
17401 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
17402 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
17403 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
17404 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
17405 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
17406 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
17407 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
17408 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
17409 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
17410 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
17411 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
17412 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
17413 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
17414 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
17415 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
17416 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
17417 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
17418 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
17419 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
17420 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
17421 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
17422 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
17423 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
17424 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
17425 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
17426 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
17427 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
17428 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
17429 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
17430 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
17431 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
17432 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
17433 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
17434 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
17435 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
17436 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17437 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17438 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17439 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17440 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17441 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17442 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17443 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17444 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17445 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17446 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17447 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17448 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17449 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17450 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17451 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17453 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17455 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17456 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17457 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17459 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17460 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17461 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17462 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17463 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17464 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17465 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17466 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17467 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17468 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17469 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17470 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17471 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17472 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17474 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17476 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
17477 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
17478 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
17479 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
17480 svml_d_log2_core-sse2, svml_d_log4_core-sse,
17481 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
17482 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
17483 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
17484 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
17485 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
17486 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
17487 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
17488 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
17489 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
17490 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
17491 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
17492 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
17493 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
17494 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
17495 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
17496 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
17497 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
17498 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
17499 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
17500 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
17501 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
17502 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
17503 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
17504 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
17505 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
17506 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
17507 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
17508 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
17509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
17510 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
17511 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
17512 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
17513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
17514 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
17515 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
17516 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
17517 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
17518 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
17519 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
17520 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
17521 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
17522 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
17523 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
17524 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
17525 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
17526 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
17527 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
17528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
17529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
17530 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
17531 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
17532 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
17533 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
17534 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
17536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
17537 Don't include <sysdep.h> nor <init-arch.h>.
17538 (_ZGVbN2v_cos): Removed.
17539 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
17541 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
17542 Don't include <sysdep.h> nor <init-arch.h>.
17543 (_ZGVdN4v_cos): Removed.
17544 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
17546 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
17547 Don't include <sysdep.h> nor <init-arch.h>.
17548 (_ZGVeN8v_cos): Removed.
17549 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
17551 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
17552 Don't include <sysdep.h> nor <init-arch.h>.
17553 (_ZGVbN2v_exp): Removed.
17554 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
17556 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
17557 Don't include <sysdep.h> nor <init-arch.h>.
17558 (_ZGVdN4v_exp): Removed.
17559 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
17561 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
17562 Don't include <sysdep.h> nor <init-arch.h>.
17563 (_ZGVeN8v_exp): Removed.
17564 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
17566 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
17567 Don't include <sysdep.h> nor <init-arch.h>.
17568 (_ZGVbN2v_log): Removed.
17569 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
17571 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
17572 Don't include <sysdep.h> nor <init-arch.h>.
17573 (_ZGVdN4v_log): Removed.
17574 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
17576 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
17577 Don't include <sysdep.h> nor <init-arch.h>.
17578 (_ZGVeN8v_log): Removed.
17579 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
17581 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
17582 Don't include <sysdep.h> nor <init-arch.h>.
17583 (_ZGVbN2vv_pow): Removed.
17584 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
17586 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
17587 Don't include <sysdep.h> nor <init-arch.h>.
17588 (_ZGVdN4vv_pow): Removed.
17589 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
17591 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
17592 Don't include <sysdep.h> nor <init-arch.h>.
17593 (_ZGVeN8vv_pow): Removed.
17594 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
17596 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
17597 Don't include <sysdep.h> nor <init-arch.h>.
17598 (_ZGVbN2v_sin): Removed.
17599 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
17601 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
17602 Don't include <sysdep.h> nor <init-arch.h>.
17603 (_ZGVbN4v_sin): Removed.
17604 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
17606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
17607 Don't include <sysdep.h> nor <init-arch.h>.
17608 (_ZGVbN8v_sin): Removed.
17609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
17611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
17612 Don't include <sysdep.h> nor <init-arch.h>.
17613 (_ZGVbN2vvv_sincos): Removed.
17614 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
17616 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
17617 Don't include <sysdep.h> nor <init-arch.h>.
17618 (_ZGVdN4vvv_sincos): Removed.
17619 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
17621 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
17622 Don't include <sysdep.h> nor <init-arch.h>.
17623 (_ZGVeN8vvv_sincos): Removed.
17624 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
17626 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
17627 Don't include <sysdep.h> nor <init-arch.h>.
17628 (_ZGVeN16v_cosf): Removed.
17629 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
17631 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
17632 Don't include <sysdep.h> nor <init-arch.h>.
17633 (_ZGVbN4v_cosf): Removed.
17634 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
17636 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
17637 Don't include <sysdep.h> nor <init-arch.h>.
17638 (_ZGVdN8v_cosf): Removed.
17639 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
17641 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
17642 Don't include <sysdep.h> nor <init-arch.h>.
17643 (_ZGVeN16v_expf): Removed.
17644 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
17646 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
17647 Don't include <sysdep.h> nor <init-arch.h>.
17648 (_ZGVbN4v_expf): Removed.
17649 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
17651 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
17652 Don't include <sysdep.h> nor <init-arch.h>.
17653 (_ZGVdN8v_expf): Removed.
17654 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
17656 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
17657 Don't include <sysdep.h> nor <init-arch.h>.
17658 (_ZGVeN16v_logf): Removed.
17659 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
17661 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
17662 Don't include <sysdep.h> nor <init-arch.h>.
17663 (_ZGVbN4v_logf): Removed.
17664 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
17666 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
17667 Don't include <sysdep.h> nor <init-arch.h>.
17668 (_ZGVdN8v_logf): Removed.
17669 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
17671 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
17672 Don't include <sysdep.h> nor <init-arch.h>.
17673 (_ZGVeN16vv_powf): Removed.
17674 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
17676 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
17677 Don't include <sysdep.h> nor <init-arch.h>.
17678 (_ZGVbN4vv_powf): Removed.
17679 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
17681 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
17682 Don't include <sysdep.h> nor <init-arch.h>.
17683 (_ZGVdN8vv_powf): Removed.
17684 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
17686 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
17687 Don't include <sysdep.h> nor <init-arch.h>.
17688 (_ZGVeN16vvv_sincosf): Removed.
17689 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
17691 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
17692 Don't include <sysdep.h> nor <init-arch.h>.
17693 (_ZGVbN4vvv_sincosf): Removed.
17694 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
17696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
17697 Don't include <sysdep.h> nor <init-arch.h>.
17698 (_ZGVdN8vvv_sincosf): Removed.
17699 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
17701 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
17702 Don't include <sysdep.h> nor <init-arch.h>.
17703 (_ZGVeN16v_sinf): Removed.
17704 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
17706 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
17707 Don't include <sysdep.h> nor <init-arch.h>.
17708 (_ZGVbN4v_sinf): Removed.
17709 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
17711 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
17712 Don't include <sysdep.h> nor <init-arch.h>.
17713 (_ZGVdN8v_sinf): Removed.
17715 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17717 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17718 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
17719 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
17720 s_rint-sse4_1 and s_rintf-sse4_1.
17721 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
17722 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
17723 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
17724 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
17725 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
17726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
17727 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
17728 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
17729 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
17730 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
17731 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
17732 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17734 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
17735 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
17736 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17737 (__ceilf): Removed.
17738 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
17739 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
17740 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17741 (__floor): Removed.
17742 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
17743 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
17744 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17745 (__floorf): Removed.
17746 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
17747 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
17748 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17749 (__nearbyint): Removed.
17750 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
17751 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
17752 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17753 (__nearbyintf): Removed.
17754 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
17755 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
17756 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
17759 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
17760 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17761 (__rintf): Removed.
17763 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17765 * sysdeps/i386/start.S (_start): Check Check PIC instead of
17766 SHARED. Avoid dynamic relocation against main in static PIE.
17768 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17771 * elf/Makefile (CFLAGS-tst-prelink.c): New.
17772 (LDFLAGS-tst-prelink): Likewise.
17774 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17776 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
17777 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
17778 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
17779 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
17780 (INTERNAL_SYSCALL_NCS): Likewise.
17781 (LOADARGS_1): Likewise.
17782 (LOADARGS_5): Likewise.
17783 (RESTOREARGS_1): Likewise.
17784 (RESTOREARGS_5): Likewise.
17786 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17788 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
17789 (MEMPCPY_SYMBOL): Likewise.
17790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17791 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
17792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
17794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17795 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17797 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
17798 (__hidden_ver1): Don't use in libc.a.
17799 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17800 (__mempcpy): Don't create a weak alias in libc.a.
17801 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
17803 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
17804 (__hidden_ver1): Don't use in libc.a.
17806 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17808 * config.make.in (have-insert): New.
17809 * configure.ac (libc_cv_insert): New. Set to yes if linker
17810 supports INSERT in linker script.
17811 (AC_SUBST(libc_cv_insert): New.
17812 * configure: Regenerated.
17813 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
17814 if $(have-insert) == yes.
17816 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17818 * elf/Makefile (tests): Add vismain only if
17819 $(have-protected-data) == yes.
17820 (tests-pie): Likewise.
17822 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17825 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17826 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
17828 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17831 * sysdeps/i386/i586/memset.S
17832 (__memset_zero_constant_len_parameter): Removed.
17833 * sysdeps/i386/i686/memset.S
17834 (__memset_zero_constant_len_parameter): Likewise.
17835 * sysdeps/i386/i686/multiarch/memset_chk.S
17836 (__memset_zero_constant_len_parameter): Likewise.
17837 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
17840 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
17842 * stdlib/getentropy.c (getentropy): Change return type to int.
17844 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
17846 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17848 2017-08-03 Joseph Myers <joseph@codesourcery.com>
17850 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
17852 * math/s_nexttowardf.c (__nexttowardf): Likewise.
17853 * sysdeps/generic/math_private.h (ieee_double_shape_type):
17855 (ieee_float_shape_type): Likewise.
17856 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
17857 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
17858 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17859 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17860 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17861 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
17862 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
17863 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17864 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17866 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17867 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17868 (__ieee754_yn): Likewise.
17869 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17870 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17871 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
17873 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17874 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
17875 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
17876 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
17877 (__erfc): Likewise.
17878 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17879 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
17880 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
17881 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
17882 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
17883 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
17885 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17886 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
17887 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17888 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
17889 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17890 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
17891 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
17892 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
17893 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
17894 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17895 (__issignaling): Likewise.
17896 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
17897 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
17898 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17900 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17901 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
17902 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
17905 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
17907 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
17908 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
17909 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
17910 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17911 (__erfcf): Likewise.
17912 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17913 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17914 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
17915 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
17917 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
17918 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
17920 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17921 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
17922 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17923 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
17924 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
17925 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17926 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
17927 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
17929 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
17931 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17933 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
17934 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17936 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17938 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17939 (__ieee754_ynl): Likewise.
17940 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17941 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
17943 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
17945 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17946 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
17947 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17949 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17950 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
17951 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
17952 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
17953 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
17954 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17955 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
17956 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
17958 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17959 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
17960 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
17962 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
17963 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
17964 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17965 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17966 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
17967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17969 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17971 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17973 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17975 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
17976 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17977 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17978 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
17979 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17980 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
17981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
17983 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17985 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17986 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17989 (__ieee754_remainderl): Likewise.
17990 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17991 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17992 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17993 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17995 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17998 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17999 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
18000 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18001 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18002 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18003 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18005 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18006 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18007 (__ieee754_y0l): Likewise.
18010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18011 (__ieee754_y1l): Likewise.
18014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18015 (__ieee754_ynl): Likewise.
18016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
18017 (__ieee754_lgammal_r): Likewise.
18018 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
18020 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18021 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
18022 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18023 (__erfcl): Likewise.
18024 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18025 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
18027 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
18028 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
18029 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18030 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
18031 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
18032 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18033 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18035 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
18036 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18037 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
18038 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
18039 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18041 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
18042 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
18044 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
18045 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
18046 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
18047 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18048 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
18050 2017-08-03 Florian Weimer <fweimer@redhat.com>
18053 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
18054 on memory allocation failure.
18056 2017-08-03 Alan Modra <amodra@gmail.com>
18058 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
18059 tst-tlsopt-powerpc.c with function name change and no test harness.
18060 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
18061 Call tls_get_addr_opt_test.
18062 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
18063 (modules-names): Add mod-tlsopt-powerpc.
18064 (mod-tlsopt-powerpc.so-no-z-defs): Define.
18065 (tst-tlsopt-powerpc): Depend on .so.
18066 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
18067 define. Expand use in TLS_GD and TLS_LD.
18069 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18071 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
18073 * sysdeps/posix/shm_open.c: Include <pthread.h>.
18075 2017-08-02 Joseph Myers <joseph@codesourcery.com>
18078 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
18079 comparing size with that of double.
18080 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18081 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18082 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
18083 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18084 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18085 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
18086 unsigned __int128 types.
18088 2017-08-02 Steve Ellcey <sellcey@cavium.com>
18090 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
18091 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
18092 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
18093 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
18094 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
18096 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18098 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
18100 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18102 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
18104 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18112 2017-08-02 Joseph Myers <joseph@codesourcery.com>
18115 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
18116 bit-field expressions passed to sizeof or typeof.
18117 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
18118 (__TGMATH_F128): Likewise.
18119 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
18120 (__TGMATH_CF128): Likewise.
18121 (__TGMATH_UNARY_REAL_ONLY): Likewise.
18122 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
18123 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
18124 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
18125 (__TGMATH_BINARY_REAL_ONLY): Likewise.
18126 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18127 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18128 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
18129 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18130 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
18131 (__TGMATH_UNARY_REAL_IMAG): Likewise.
18132 (__TGMATH_UNARY_IMAG): Likewise.
18133 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
18134 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18135 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
18137 (define_vars_for_type): Handle bit_field type specially.
18138 (Tests.__init__): Declare structure with bit-field element.
18140 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18143 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
18144 (MEMCPY_CHK): Define only if SHARED is defined.
18145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
18147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
18150 See ChangeLog.18 for earlier changes.