1 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
4 order of ȥ in the new iso14651_t1_common file.
5 * localedata/pl_PL.UTF-8.in: Likewise.
7 2018-02-27 Mike FABIAN <mfabian@redhat.com>
9 * localedata/locales/iso14651_t1_common: Add sections for various
10 scripts to the iso14651_t1_common file.
12 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14 * localedata/locales/iso14651_t1_common: Use the code point of a
15 character in the fourth collation level instead of IGNORE for all
16 entries which have IGNORE on all 4 levels.
18 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20 * localedata/locales/iso14651_t1_common: Add some convenient collation
21 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
22 rules similar to those in CLDR.
24 2018-02-27 Mike FABIAN <mfabian@redhat.com>
26 * localedata/locales/iso14651_t1_common: The new version of this
27 file downloaded from ISO contained several syntax errors which
28 are fixed by this patch.
30 2018-02-27 Mike FABIAN <mfabian@redhat.com>
32 * localedata/locales/iso14651_t1_common: replace all <U.....>
33 with <U000.....> because glibc understands only 4 digit or 8 digit
35 2018-02-27 Mike FABIAN <mfabian@redhat.com>
37 * localedata/locales/iso14651_t1_common: Necessary changes
38 to make the file downloaded from ISO usable by glibc.
40 2018-02-27 Mike FABIAN <mfabian@redhat.com>
43 * localedata/locales/iso14651_t1_common: Update file to
44 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
46 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
48 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
50 (thread_attr_compare): Move function to...
51 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
52 * sysdeps/nptl/timer_routines.h: ... new header.
53 * sysdeps/mach/hurd/gai_misc.h: New file.
55 2018-02-26 Joseph Myers <joseph@codesourcery.com>
57 * string/strcoll_l.c: Include <libc-diag.h>.
58 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
59 declarations of seq1 and seq2.
62 * stdlib/atoi.c (atoi): Use libc_hidden_def.
63 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
65 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
69 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
70 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
71 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
72 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
73 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
74 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
76 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
79 macros used in __ptrace_request.
81 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
84 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
86 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
87 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
88 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
91 2018-02-23 Joseph Myers <joseph@codesourcery.com>
94 * ctype/ctype.c (tolower): Use libc_hidden_def.
96 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
97 [!_ISOMAC] (toupper): Likewise.
99 2018-02-23 Mike FABIAN <mfabian@redhat.com>
101 * localedata/Makefile: Remove --quiet argument when
104 2018-02-23 Mike FABIAN <mfabian@redhat.com>
107 * localedata/locales/pt_BR (LC_TIME): use / instead of -
109 * localedata/locales/pt_PT (LC_TIME): likewise
111 2018-02-23 Mike FABIAN <mfabian@redhat.com>
114 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
115 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
116 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
118 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
122 * nptl/Makefile (routines): Remove unregister-atfork.
123 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
124 (fork_handler_alloc): Remove function.
125 (fork_handlers, fork_handler_init): New variables.
126 (__fork_lock): Rename to atfork_lock.
127 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
128 to use a dynamic array to add/remove atfork handlers.
129 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
130 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
132 (fork_handler): Remove next, refcntr, and need_signal member.
133 (__run_fork_handler_type): New enum.
134 (__run_fork_handlers): New prototype.
135 * nptl/register-atfork.c: Remove file.
136 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
138 * sysdeps/nptl/nptl-signals.h: Move to ...
139 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
141 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
142 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
143 unnecessary check for SIGTIMER.
144 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
145 remove unnecessary removal of SIGTIMER.
146 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
147 include-signals.h rename.
148 * nptl/pthreadP.h: Likewise.
149 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
150 __is_internal_signal instead of __nptl_is_internal_signal.
152 2018-02-22 Andrew Waterman <andrew@sifive.com>
155 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
156 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
157 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
158 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
160 2018-02-22 DJ Delorie <dj@delorie.com>
162 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
164 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
166 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
167 do_misaligned, not misaligned8.
169 2018-02-22 Steve Ellcey <sellcey@cavium.com>
171 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
172 Add memcpy_thunderx2.
173 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
175 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
176 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
177 and IS_THUNDERX2PA checks.
178 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
179 Use macro to set name appropriately.
180 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
181 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
182 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
184 (IS_THUNDERX2): New macro.
186 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
188 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
190 2018-02-21 Zack Weinberg <zackw@panix.com>
192 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
193 Define here, unconditionally.
194 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
195 * libio/libioP.h: Remove #if 0 blocks.
196 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
197 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
198 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
200 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
201 Assume weak_alias is always defined.
203 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
204 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
205 Remove #if 0 and #ifdef TODO blocks.
206 Assume text_set_element is always defined.
208 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
209 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
210 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
212 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
213 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
214 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
215 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
216 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
217 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
218 Reformat bit flags for _flags field to make occupancy clearer.
220 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
221 Keep definitions consistent with those in libio/libio.h.
223 * libio/libio.h (_IO_file_flags): Remove macro.
224 All uses changed to _flags.
226 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
227 (__HAVE_COLUMN, _IO_BE): Don't define.
228 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
229 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
230 * libio/libioP.h (EOF): Don't define.
231 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
232 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
233 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
234 testing _IO_UNIFIED_JUMPTABLES.
236 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
237 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
238 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
239 (_IO_size_t): Delete; all uses changed to size_t.
240 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
241 (_IO_off_t): Delete; all uses changed to off_t.
242 (_IO_off64_t): Delete; all uses changed to off64_t.
243 (_IO_pid_t): Delete; all uses changed to pid_t.
244 (_IO_uid_t): Delete; all uses changed to uid_t.
245 (_IO_wint_t): Delete; all uses changed to wint_t.
246 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
247 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
248 (_IO_cookie_io_functions_t): Delete; all uses changed to
249 cookie_io_functions_t.
250 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
251 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
252 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
253 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
255 * libio/iofopncook.c: Remove unnecessary forward declarations.
256 * libio/iolibio.h: Correct outdated commentary.
257 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
258 * stdio-common/fxprintf.c (__fxprintf_nocancel):
259 Remove unnecessary casts.
260 * stdio-common/getline.c: Use _IO_getdelim directly.
261 Don't redefine ssize_t.
262 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
263 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
264 Remove outdated comments.
265 * stdio-common/vfscanf.c: Don't redefine va_list.
267 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
268 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
269 Remove preprocessor conditionals on _LIBC and __USE_GNU,
270 which are always true, and __cplusplus, which is always false.
272 2018-02-21 Joseph Myers <joseph@codesourcery.com>
276 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
277 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
278 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
279 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
281 [!_ISOMAC] (putc_unlocked): Likewise.
282 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
283 define inline if [__USE_EXTERN_INLINES].
284 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
289 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
290 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
291 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
292 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
293 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
295 * time/tzfile.c (__tzfile_read): Likewise.
297 2018-02-21 Mike FABIAN <mfabian@redhat.com>
300 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
302 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
304 * io/fcntl.h: Fix a typo in a comment.
306 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
309 * include/features.h: Add _ISOC11_SOURCE to test for whether to
310 define _DEFAULT_SOURCE.
311 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
313 2018-02-21 Florian Weimer <fweimer@redhat.com>
316 * elf/cache.c (save_cache): Call fsync on temporary file before
318 (save_aux_cache): Call fdatasync on temporary file before renaming
321 2018-02-21 Florian Weimer <fweimer@redhat.com>
324 * include/caller.h: Remove file.
325 * elf/dl-caller.c: Likewise.
326 * elf/Makefile (dl-routines): Remove dl-caller.
327 (shared-only-routines): Do not add dl-caller.
328 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
330 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
332 (dl_open_worker): Do not call __check_caller.
333 (_dl_open): Do not set caller_dl_open member.
334 * elf/rtld.c (_rtld_global_ro): Do not initialize
335 _dl_check_caller member.
336 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
337 _dl_check_caller member.
338 (_dl_check_caller): Remove declaration.
339 * sysdeps/unix/sysv/linux/dl-execstack.c
340 (_dl_make_stack_executable): Do not call __check_caller.
342 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
344 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
345 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
347 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
349 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
352 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
355 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
356 of 199606L, 200112L, and 200809L.
357 (_XOPEN_SOURCE): Document special values of 600 and 700.
358 (_ISOC11_SOURCE): Document macro.
359 (_ATFILE_SOURCE): Likewise.
360 (_FORTIFY_SOURCE): Likewise.
362 2018-02-19 Joseph Myers <joseph@codesourcery.com>
366 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
367 and define as weak alias of __ferror_unlocked. Use
369 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
371 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
372 function if [__USE_EXTERN_INLINES].
373 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
376 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
379 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
381 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
384 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
385 the GLIBC_2.1 version.
387 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
390 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
391 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
392 intl/tst-gettext-de.po from po/de.po by removing the
393 POT-Creation-Date line.
394 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
396 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
399 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
401 * mach/Makefile (headers): Add mach/param.h.
402 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
403 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
404 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
405 (__ptsname_r): Move implementation to...
406 (__ptsname_internal): ... new function. Add filling the STP
409 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
411 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
414 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
416 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
419 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
421 * nptl/Makefile (tst-mutex8-ENV): Delete.
422 * nptl/tst-mutex8.c (check_type):
423 Add runtime check if mutex will be elided.
425 2018-02-15 Joseph Myers <joseph@codesourcery.com>
429 * manual/install.texi (Configuring and compiling): Describe
430 passing CC and CFLAGS on configure command line, not as
431 environment variables. Use @code markup on those variables.
432 Specify what options go in CC and what go in CFLAGS. Note the
433 requirement to compile with optimization.
434 * INSTALL: Regenerated.
437 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
438 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
439 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
440 __sigprocmask instead of sigprocmask.
441 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
443 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
444 __sigsetjmp and sigprocmask.
447 * include/argz.h (argz_next): Use libc_hidden_proto.
448 (__argz_next): Likewise.
449 * string-argz-next.c (__argz_next): Use libc_hidden_def.
450 (argz_next): Use libc_hidden_weak.
453 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
455 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
459 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
461 * libio/iofputs.c (fputs): Use libc_hidden_weak.
465 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
466 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
467 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
468 (__feof_unlocked): New declaration, and inline function if
469 [__USE_EXTERN_INLINES].
470 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
471 instead of feof_unlocked.
472 * intl/localealias.c [_LIBC] (FEOF): Likewise.
473 * nss/nsswitch.c (nss_parse_file): Likewise.
474 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
476 * time/getdate.c (__getdate_r): Likewise.
477 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
478 Define as macro to call __feof_unlocked.
480 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
482 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
484 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
486 * math/Makefile: Remove mpexp.c and mplog.c
487 * sysdeps/i386/fpu/mpexp.c: Delete file.
488 * sysdeps/i386/fpu/mplog.c: Likewise.
489 * sysdeps/ia64/fpu/mpexp.c: Likewise.
490 * sysdeps/ia64/fpu/mplog.c: Likewise.
491 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
492 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
493 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
494 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
495 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
496 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
497 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
498 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
499 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
500 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
501 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
502 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
503 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
504 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
505 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
506 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
508 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
510 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
512 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
514 * sysdeps/sh/libm-test-ulps: Update.
516 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
518 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
521 2018-02-12 Zack Weinberg <zackw@panix.com>
524 * posix/sys/types.h: Don't include sys/sysmacros.h.
525 * misc/sys/sysmacros.h: Remove the conditional deprecation
526 warnings for the macros defined by this header.
528 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
530 * manual/probes.texi: Remove slowexp probes.
531 * math/Makefile: Remove slowexp.
532 * sysdeps/generic/math_private.h (__slowexp): Remove.
533 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
534 document error bounds.
535 * sysdeps/i386/fpu/slowexp.c: Remove.
536 * sysdeps/ia64/fpu/slowexp.c: Remove.
537 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
538 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
539 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
540 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
541 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
542 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
544 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
545 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
546 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
547 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
549 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
552 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
553 * benchtests/pow-inputs: Update comment for slow path cases.
554 * manual/probes.texi (slowpow_p10): Delete removed probe.
555 (slowpow_p10): Likewise.
556 * math/Makefile: Remove halfulp.c and slowpow.c.
557 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
558 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
561 * sysdeps/i386/fpu/halfulp.c: Delete file.
562 * sysdeps/i386/fpu/slowpow.c: Likewise.
563 * sysdeps/ia64/fpu/halfulp.c: Likewise.
564 * sysdeps/ia64/fpu/slowpow.c: Likewise.
565 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
566 improve comments and add error analysis.
567 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
568 (power1): Remove function:
569 (log1): Remove error argument, add error analysis.
570 (my_log2): Remove function.
571 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
572 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
573 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
574 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
575 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
577 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
578 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
579 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
580 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
581 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
582 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
583 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
584 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
586 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
588 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
589 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
591 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
594 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
595 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
596 and PTRACE_SETHBPREGS.
598 2018-02-10 Zack Weinberg <zackw@panix.com>
601 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
603 * malloc/tst-malloc-stats-cancellation.c: New test case.
604 * malloc/Makefile: Add new test case.
606 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
608 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
610 2018-02-10 Joseph Myers <joseph@codesourcery.com>
612 * math/Makefile (libm-narrow-fns): Add add.
613 (libm-test-funcs-narrow): Likewise.
614 * math/Versions (GLIBC_2.28): Add narrowing add functions.
615 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
616 * math/gen-auto-libm-tests.c (test_functions): Add add.
617 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
618 (NARROW_ADD_ROUND_TO_ODD): Likewise.
619 (NARROW_ADD_TRIVIAL): Likewise.
620 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
623 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
625 (CFLAGS-nldbl-dadd.c): New variable.
626 (CFLAGS-nldbl-fadd.c): Likewise.
627 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
629 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
631 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
632 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
633 * math/auto-libm-test-in: Add tests of add.
634 * math/auto-libm-test-out-narrow-add: New generated file.
635 * math/libm-test-narrow-add.inc: New file.
636 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
637 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
638 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
639 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
640 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
641 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
642 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
643 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
644 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
645 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
646 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
647 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
648 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
649 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
650 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
651 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
652 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
653 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
655 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
656 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
657 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
658 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
659 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
660 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
661 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
662 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
663 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
664 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
665 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
666 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
667 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
672 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
673 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
674 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
675 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
676 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
677 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
678 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
679 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
680 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
681 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
683 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
684 (f128-pairs): New variable.
685 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
686 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
688 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
689 Also make tests add $(f128-loader-link) to gnulib-tests.
691 2018-02-09 DJ Delorie <dj@redhat.com>
694 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
695 64-bit ELF type for 64-bit ELF objects.
697 2018-02-09 Joseph Myers <joseph@codesourcery.com>
699 * math/libm-test-driver.c (snan_tests_arg): New variable.
700 * math/libm-test-support.h (snan_tests_arg): New declaration.
701 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
703 * math/Makefile (test-type-pairs): New variable.
704 (test-type-pairs-f64xf128-yes): Likewise.
705 (tests): Add test-narrow-macros.
706 (libm-test-funcs-narrow): New variable.
707 (libm-test-c-narrow): Likewise.
708 (generated): Add $(libm-test-c-narrow).
709 (libm-tests-base-narrow): New variable.
710 (libm-tests-narrow): Likewise.
711 (libm-tests): Add $(libm-tests-narrow).
712 (libm-tests-for-type): Handle $(libm-tests-narrow).
713 (libm-test-c-narrow-obj): New variable.
714 ($(libm-test-c-narrow-obj)): New rule.
715 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
716 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
717 $(o-iterator) to set dependencies and CFLAGS.
718 * math/gen-auto-libm-tests.c: Document use for narrowing
720 (output_for_one_input_case): Take argument NARROW.
721 (generate_output): Likewise. Update call to
722 output_for_one_input_case.
723 (main): Take --narrow option. Update call to generate_output.
724 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
725 (apply_lit): Update call to _apply_lit.
726 (apply_arglit): New function.
727 (parse_args): Handle "a" arguments.
728 (parse_auto_input): Handle format names using ":".
729 * math/README.libm-test: Document "a" parameter type.
730 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
731 (ARG_TYPE_TRUE_MIN): Likewise.
732 (ARG_TYPE_MAX): Likwise.
733 (ARG_MIN_EXP): Likewise.
734 (ARG_MAX_EXP): Likewise.
735 (ARG_MANT_DIG): Likewise.
736 (TEST_COND_arg_ibm128): Likewise.
737 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
738 (TEST_COND_arg_fmt): New macro.
739 (init_max_error): Update prototype.
740 * math/libm-test-support.c (test_ibm128): New variable.
741 (init_max_error): Take argument testing_ibm128 and set test_ibm128
742 instead of using [TEST_COND_ibm128] conditional.
743 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
744 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
745 [TEST_NARROW] (TEST_MSG): New definition.
746 (arg_plus_zero): New macro.
747 (arg_minus_zero): Likewise.
748 (arg_plus_infty): Likewise.
749 (arg_minus_infty): Likewise.
750 (arg_qnan_value_pl): Likewise.
751 (arg_qnan_value): Likewise.
752 (arg_snan_value_pl): Likewise.
753 (arg_snan_value): Likewise.
754 (arg_max_value): Likewise.
755 (arg_min_value): Likewise.
756 (arg_min_subnorm_value): Likewise.
757 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
758 (RUN_TEST_LOOP_aa_f): New macro.
759 (TEST_SUFF): New macro.
760 (TEST_SUFF_STR): Likewise.
761 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
762 (TEST_COND_any_ibm128): New macro.
763 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
764 this_func. Update call to init_max_error.
765 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
766 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
767 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
768 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
769 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
770 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
771 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
772 * math/test-math-scalar.h (TEST_NARROW): Likewise.
773 * math/test-math-vector.h (TEST_NARROW): Likewise.
774 * math/test-arg-double.h: New file.
775 * math/test-arg-float128.h: Likewise.
776 * math/test-arg-float32x.h: Likewise.
777 * math/test-arg-float64.h: Likewise.
778 * math/test-arg-float64x.h: Likewise.
779 * math/test-arg-ldouble.h: Likewise.
780 * math/test-math-narrow.h: Likewise.
781 * math/test-narrow-macros.c: Likewise.
782 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
783 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
784 test-narrow-macros-ldbl-64.
785 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
787 * math/bits/mathcalls-narrow.h: New file.
788 * include/bits/mathcalls-narrow.h: Likewise.
789 * math/math-narrow.h: Likewise.
790 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
791 (__MATHCALL_NARROW_ARGS_2): Likewise.
792 (__MATHCALL_NARROW_ARGS_3): Likewise.
793 (__MATHCALL_NARROW_NORMAL): Likewise.
794 (__MATHCALL_NARROW_REDIR): Likewise.
795 (__MATHCALL_NARROW): Likewise.
796 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
797 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
799 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
800 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
801 (libm-narrow-fns): New variable.
802 (libm-narrow-types-basic): Likewise.
803 (libm-narrow-types-ldouble-yes): Likewise.
804 (libm-narrow-types-float128-yes): Likewise.
805 (libm-narrow-types-float128-alias-yes): Likewise.
806 (libm-narrow-types): Likewise.
807 (libm-routines): Add narrowing functions.
808 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
809 (libc_feholdexcept_setroundf128): New macro.
810 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
811 * sysdeps/ieee754/float128/float128_private.h: Include
812 <math/math-narrow.h>.
813 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
814 Undefine and redefine.
815 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
816 (libm_alias_float_ldouble): Undefine and redefine.
817 (libm_alias_double_ldouble): Likewise.
819 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
821 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
823 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
826 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
828 * manual/creature.texi: Convert references to gcc.info to gcc.
829 * manual/stdio.texi: Likewise.
830 * manual/string.texi: Likewise.
832 2018-02-07 Joseph Myers <joseph@codesourcery.com>
835 * posix/bits/types.h (__int_least8_t): New typedef.
836 (__uint_least8_t): Likewise.
837 (__int_least16_t): Likewise.
838 (__uint_least16_t): Likewise.
839 (__int_least32_t): Likewise.
840 (__uint_least32_t): Likewise.
841 (__int_least64_t): Likewise.
842 (__uint_least64_t): Likewise.
843 * sysdeps/generic/stdint.h (int_least8_t): Define using
845 (int_least16_t): Define using __int_least16_t.
846 (int_least32_t): Define using __int_least32_t.
847 (int_least64_t): Define using __int_least64_t.
848 (uint_least8_t): Define using __uint_least8_t.
849 (uint_least16_t): Define using __uint_least16_t.
850 (uint_least32_t): Define using __uint_least32_t.
851 (uint_least64_t): Define using __uint_least64_t.
852 * wcsmbs/uchar.h: Include <bits/types.h>.
853 (char16_t): Define using __uint_least16_t conditional only on
855 (char32_t): Define using __uint_least32_t conditional only on
857 * wcsmbs/test-char-types.c: New file.
858 * wcsmbs/Makefile (tests): Add test-char-types.
860 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
863 2018-02-07 Zack Weinberg <zackw@panix.com>
865 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
866 Delete all contents except for definitions of _G_HAVE_MMAP and
867 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
868 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
869 sysdeps/unix/sysv/linux/_G_config.h. Make same content
872 * libio/libio.h: Don't include bits/_G_config.h here.
873 Include stddef.h with __need_wchar_t defined. Include
874 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
875 Define _IO_iconv_t here, directly.
876 Don't define _IO_HAVE_ST_BLKSIZE.
877 * libio/libioP.h: Include _G_config.h here. Move include of
878 shlib-compat.h up with rest of includes. Simplify conditionals
879 controlling definition of _IO_JUMPS_OFFSET.
881 * csu/init.c: Remove always-true #if around entire file.
882 Don't include stdio.h. Set _IO_stdin_used to hardwired
883 constant 0x20001, and update commentary.
884 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
885 Replace all uses of _G_va_list with __gnuc_va_list.
886 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
887 instead of #if _IO_HAVE_ST_BLKSIZE.
888 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
889 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
892 * libio/bits/libio.h: Move back to libio/libio.h and adjust
893 multiple-include guard to match.
894 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
896 Remove preprocessor conditionals that are always true and/or
897 redundant to other preprocessor conditionals in the same nest.
898 Include shlib-compat.h unconditionally.
899 Error out if _LIBC is not defined, or if _ISOMAC is defined,
900 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
901 defined after including stdio.h.
902 Use __BEGIN_DECLS/__END_DECLS.
904 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
905 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
906 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
908 2018-02-07 Zack Weinberg <zackw@panix.com>
910 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
911 New single-type headers split from _G_config.h.
912 * libio/bits/types/cookie_io_functions_t.h
913 * libio/bits/types/struct_FILE.h
914 New single-type headers split from libio.h.
916 * libio/Makefile: Install the above new headers. Don't install
917 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
919 * libio/_G_config.h, libio/libio.h: Delete file.
921 * libio/bits/libio.h: Remove improper-inclusion guard.
922 Include stdio.h and don't repeat anything that it does.
923 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
924 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
925 __io_read_fn as cookie_read_function_t,
926 __io_write_fn as cookie_write_function_t,
927 __io_seek_fn as cookie_seek_function_t,
928 __io_close_fn as cookie_close_function_t,
929 and _IO_cookie_io_functions_t as cookie_io_functions_t.
930 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
931 here, in the "compatibility defines" section. Remove an #if 0
932 block. Use the "body" macros from bits/types/struct_FILE.h to
933 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
934 and _IO_ferror_unlocked.
935 Move prototypes of __uflow and __overflow...
937 * libio/stdio.h: ...here. Don't include bits/libio.h.
938 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
939 directly from stdarg.h. Include bits/types/__fpos_t.h,
940 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
941 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
942 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
943 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
944 cookie_io_functions_t, not _IO_cookie_io_functions_t;
945 __ssize_t, not _IO_ssize_t. Unconditionally define
946 BUFSIZ as 8192 and EOF as (-1).
948 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
949 macros from bits/types/struct_FILE.h instead of _IO_* macros
950 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
951 instead of _IO_ssize_t.
952 * libio/bits/stdio2.h: Similarly.
954 * libio/iolibio.h: Add multiple-include guard.
955 Include bits/libio.h after stdio.h.
956 * libio/libioP.h: Add multiple-include guard.
957 Include stdio.h and bits/libio.h before iolibio.h.
959 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
960 * include/bits/types/cookie_io_functions_t.h
961 * include/bits/types/struct_FILE.h: New wrappers.
963 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
964 Get definitions of _G_fpos_t and _G_fpos64_t from
965 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
966 respectively. Remove improper-inclusion guards.
968 * conform/data/stdio.h-data: Update expectations of va_list.
969 * scripts/check-installed-headers.sh: Remove special case for
970 libio.h and _G_config.h.
972 2018-02-07 Joseph Myers <joseph@codesourcery.com>
976 * include/sys/sysmacros.h [!_ISOMAC]
977 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
978 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
979 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
980 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
982 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
983 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
985 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
986 Undefine and redefine to add use __gnu_dev_ prefix.
987 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
989 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
990 and define as hidden inline function.
991 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
993 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
995 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
996 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
997 (gnu_dev_minor): Likewise.
998 (gnu_dev_makedev): Likewise.
999 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
1001 * posix/wordexp.c (exec_comm_child): Likewise.
1002 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
1003 instead of minor and __gnu_dev_major instead of major.
1004 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
1005 __gnu_dev_major instead of major.
1006 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
1007 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
1008 instead of gnu_dev_minor.
1009 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
1010 (SLAVE_P): Likewise.
1011 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
1012 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
1016 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
1018 * locale/weightwc.h (findidx): Likewise.
1020 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
1022 * manual/probes.texi (slowlog): Delete documentation of removed probe.
1023 (slowlog_inexact): Likewise
1024 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
1025 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
1027 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
1030 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
1031 missing second underscore to parameter name.
1033 2018-02-06 Joseph Myers <joseph@codesourcery.com>
1039 * bits/byteswap.h: Update file comment. Do not include
1040 <bits/byteswap-16.h>.
1041 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
1043 (__bswap_16): Define as inline function.
1044 (__bswap_constant_32): Reformat definition.
1045 (__bswap_32): Always define as inline function, not macro, using
1046 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
1047 otherwise __bswap_constant_32.
1048 (__bswap_constant_64): Reformat definition. Do not use
1050 (__bswap_64): Always define as inline function, not macro. Use
1051 __extension__ on function definition. Use __builtin_bswap64 if
1052 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
1053 * string/test-endian-file-scope.c: New file.
1054 * string/test-endian-sign-conversion.c: Likewise.
1055 * string/Makefile (headers): Remove bits/byteswap-16.h.
1056 (tests): Add test-endian-file-scope and
1057 test-endian-sign-conversion.
1058 (CFLAGS-test-endian-sign-conversion.c): New variable.
1059 * bits/byteswap-16.h: Remove file.
1060 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
1061 * sysdeps/ia64/bits/byteswap.h: Likewise.
1062 * sysdeps/m68k/bits/byteswap.h: Likewise.
1063 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1064 * sysdeps/s390/bits/byteswap.h: Likewise.
1065 * sysdeps/tile/bits/byteswap.h: Likewise.
1066 * sysdeps/x86/bits/byteswap-16.h: Likewise.
1067 * sysdeps/x86/bits/byteswap.h: Likewise.
1070 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
1071 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
1072 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
1073 199901L] (__restrict): Define to restrict.
1076 * string/testcopy.c: Include <support/support.h>. Do not include
1077 <malloc.h>. Use <support/test-driver.c>.
1078 (main): Rename to do_test. Make static. Use xmalloc instead of
1082 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
1083 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
1084 (SSIZE_MAX): Define to INT_MAX.
1085 * posix/test-ssize-max.c: New file.
1086 * posix/Makefile (tests): Add test-ssize-max.
1089 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1090 <support/support.h>. Do not include <malloc.h>.
1091 (query_auxv): Use xmalloc instead of malloc.
1094 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
1095 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
1098 2018-02-06 Florian Weimer <fweimer@redhat.com>
1101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1102 Use scratch_buffer instead of extend_alloca.
1104 2018-02-06 Zack Weinberg <zackw@panix.com>
1106 * libio/stdio.h: Don't define getc or putc as macros.
1107 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
1108 not _IO_getc and _IO_putc.
1110 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
1111 * stdio-common/tstgetln.c: Don't redefine ssize_t.
1113 2018-02-06 Joseph Myers <joseph@codesourcery.com>
1115 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
1116 (TCP_FASTOPEN_NO_COOKIE): Likewise.
1118 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
1121 * elf/elf.h (NT_PRFPREG): New macro.
1122 (NT_S390_VXRS_LOW): Likewise.
1123 (NT_S390_VXRS_HIGH): Likewise.
1124 (NT_S390_GS_CB): Likewise.
1125 (NT_S390_GS_BC): Likewise.
1126 (NT_S390_RI_CB): Likewise.
1128 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
1129 (MAP_SYNC): New macro.
1130 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
1132 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
1133 (MAP_SYNC): Likewise.
1134 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
1135 (MAP_SYNC): Likewise.
1136 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
1137 (MAP_SYNC): Likewise.
1138 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
1139 (MAP_SYNC): Likewise.
1140 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
1141 (MAP_SYNC): Likewise.
1142 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
1143 (MAP_SYNC): Likewise.
1144 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
1146 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
1149 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
1150 (MAP_SHARED_VALIDATE): New macro.
1151 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1152 (MAP_SHARED_VALIDATE): Likewise.
1154 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1156 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
1157 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
1158 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1160 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1162 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
1163 (DT_NUM): Updated to 35.
1165 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1168 __builtin_expect with __glibc_likely and __glibc_unlikely.
1169 (elf_machine_rela): Likewise.
1170 (elf_machine_lazy_rel): Likewise.
1172 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
1175 __builtin_expect with __glibc_likely and __glibc_unlikely.
1176 (elf_machine_lazy_rel): Likewise.
1178 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1181 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
1183 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
1185 2018-02-05 Andreas Schwab <schwab@suse.de>
1188 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
1191 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1193 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
1194 not check against PTHREAD_STACK_MIN.
1196 2018-02-02 Sean McKean <smckean83@gmail.com>
1199 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
1201 2018-02-02 Florian Weimer <fweimer@redhat.com>
1204 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
1205 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
1206 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
1207 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
1208 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
1209 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
1210 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
1211 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
1212 * manual/llio.texi (Scatter-Gather): Mention offset -1.
1213 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
1214 * misc/tst-preadvwritev2.c (do_test): Call it.
1215 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1217 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
1219 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
1221 * benchtests/bench-memcmp.c: Print json instead of plain text.
1223 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
1226 2018-02-01 Joseph Myers <joseph@codesourcery.com>
1228 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1230 (s390_sthyi): New syscall.
1232 * sysdeps/generic/ldbl-classify-compat.h: New file.
1233 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
1234 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
1235 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
1236 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
1237 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
1238 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
1239 * sysdeps/ieee754/dbl-64/s_finite.c: Include
1240 <ldbl-classify-compat.h>.
1241 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1242 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
1243 <ldbl-classify-compat.h>.
1244 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1245 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
1246 <ldbl-classify-compat.h>.
1247 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1248 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
1249 <ldbl-classify-compat.h>.
1250 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
1252 <ldbl-classify-compat.h>.
1253 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
1255 <ldbl-classify-compat.h>.
1256 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1257 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
1258 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1259 * sysdeps/m68k/coldfire/math_private.h: Remove file.
1260 * sysdeps/microblaze/math_private.h: Likewise.
1261 * sysdeps/nios2/math_private.h: Likewise.
1262 * sysdeps/sh/math_private.h: Likewise.
1264 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
1265 * sysdeps/m68k/coldfire/math_private.h: ... here.
1266 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
1267 * sysdeps/tile/math_private.h: Likewise.
1268 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
1270 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
1273 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
1275 (libc_fetestexcept): Likewise.
1276 (libc_feupdateenv_test): Likewise.
1277 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
1278 (libc_fetestexcept): Likewise.
1279 (libc_feupdateenv_test): Likewise.
1280 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
1281 (libc_fetestexcept): Likewise.
1282 (libc_feupdateenv_test): Likewise.
1283 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
1284 (libc_fetestexcept): Likewise.
1285 (libc_feupdateenv_test): Likewise.
1287 * sysdeps/generic/math_private.h
1288 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
1289 New inline function.
1290 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
1293 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
1294 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
1295 * sysdeps/generic/math_private.h
1296 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
1298 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
1300 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
1302 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
1304 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
1306 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
1308 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
1309 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
1310 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
1311 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
1312 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
1313 (__fegetenv): Likewise.
1314 (fesetenv): Likewise.
1315 (__fesetenv): Likewise.
1316 (feupdateenv): Likewise.
1317 (__feupdateenv): Likewise.
1318 (fegetround): Likewise.
1319 (__fegetround): Likewise.
1320 (fesetround): Likewise.
1321 (__fesetround): Likewise.
1323 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
1324 (feraiseexcept): New macro.
1325 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
1326 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
1328 (__feraiseexcept): Likewise.
1329 (feclearexcept): Likewise.
1330 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
1331 (__feraiseexcept): Likewise.
1332 (feclearexcept): Likewise.
1333 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
1334 (__feraiseexcept): Likewise.
1335 (feclearexcept): Likewise.
1336 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
1337 (__feraiseexcept): Likewise.
1338 (feclearexcept): Likewise.
1339 (fetestexcept): Likewise.
1341 * sysdeps/m68k/coldfire/math-tests.h: New file.
1343 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
1344 * sysdeps/m68k/bits/fenv.h: ... here.
1345 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
1347 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
1349 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
1351 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
1353 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
1355 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
1357 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
1358 (__FE_UNDEFINED): New enum constant.
1359 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
1361 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
1363 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
1365 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
1366 to match generic bits/fenv.h.
1367 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
1370 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
1372 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
1373 * soft-fp/half.h (union _FP_UNION_H): Likewise.
1374 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
1375 * soft-fp/single.h (union _FP_UNION_S): Likewise.
1377 2018-02-01 Carlos O'Donell <carlos@redhat.com>
1378 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
1379 Joseph Myers <joseph@codesourcery.com>
1382 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
1383 (__log1p): Disable -Wmaybe-uninitialized for -Os around
1384 computation using c.
1385 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
1386 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
1387 computation using c.
1389 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
1391 * version.h (RELEASE): Set to "development".
1392 (VERSION): Set to "2.27.9000".
1393 * NEWS (2.28): New section.
1395 * version.h (RELEASE): Set to "stable".
1396 (VERSION): Set to "2.27".
1397 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
1399 * NEWS: Add the list of bugs fixed in 2.27.
1401 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1403 * stdlib/test-atexit-race-common.c (do_test): Check stack size
1404 against PTHREAD_STACK_MIN.
1406 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
1408 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
1410 (Rafal Luzynski, Andreas Schwab): Update.
1412 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
1415 * NEWS: List the languages which actually use the alternative
1416 months feature in this release. Also explain that "alt_mon" and
1417 "ab_alt_mon" are optional.
1419 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
1422 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
1424 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
1426 * manual/install.texi (Tools for Compilation): Update the newest
1427 versions of gcc, binutils, texinfo, gawk, bison, and sed.
1428 * INSTALL: Regenerated.
1430 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1432 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
1433 instead of __builtin_expect.
1435 2018-01-30 Florian Weimer <fweimer@redhat.com>
1437 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
1439 * nss/tst-nss-getpwent.c (do_test): Likewise.
1441 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
1444 * localedata/locales/hr_HR (mon): Rename to...
1446 (mon): Import from CLDR (genitive case).
1447 (d_t_fmt): Update the comment.
1449 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
1451 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
1452 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
1453 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
1455 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1457 * mach/Versions: Fix version when __mach_host_self_ was added.
1458 * hurd/Versions: Fix version when _hurd_exec_paths was added.
1459 * sysdeps/mach/hurd/i386/ld.abilist: New file.
1460 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
1461 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
1462 * sysdeps/mach/hurd/i386/libc.abilist: New file.
1463 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
1464 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
1465 * sysdeps/mach/hurd/i386/libm.abilist: New file.
1466 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
1467 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
1468 * sysdeps/mach/hurd/i386/librt.abilist: New file.
1469 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
1470 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
1471 || to respect codestyle.
1472 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
1473 (do_test_bz20181): Rename accordingly.
1474 * malloc/malloc.c: Include <assert.h>.
1475 (assert): Do not define.
1476 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
1477 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
1478 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1479 * sysdeps/mach/hurd/hp-timing.h: New file.
1480 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
1482 2018-01-29 Darius Rad <darius@bluespec.com>
1484 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
1486 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
1488 * sysdeps/init_array/crti.S (.section .init_array): Add
1489 PREINIT_FUNCTION when defined.
1490 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
1491 * config.h.in: Regenerate.
1492 * manual/platform.texi: Add RISC-V documenation for
1493 __riscv_flush_icache.
1494 * sysdeps/riscv/__longjmp.S: New file.
1495 * sysdeps/riscv/backtrace.c: Likewise.
1496 * sysdeps/riscv/bits/endian.h: Likewise.
1497 * sysdeps/riscv/bits/setjmp.h: Likewise.
1498 * sysdeps/riscv/bits/wordsize.h: Likewise.
1499 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
1500 * sysdeps/riscv/bsd-setjmp.c: Likewise.
1501 * sysdeps/riscv/dl-trampoline.S: Likewise.
1502 * sysdeps/riscv/gccframe.h: Likewise.
1503 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
1504 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
1505 * sysdeps/riscv/machine-gmon.h: Likewise.
1506 * sysdeps/riscv/memusage.h: Likewise.
1507 * sysdeps/riscv/setjmp.S: Likewise.
1508 * sysdeps/riscv/sys/asm.h: Likewise.
1509 * sysdeps/riscv/tls-macros.h: Likewise.
1510 * sysdeps/riscv/dl-tls.h: New file.
1511 * sysdeps/riscv/libc-tls.c: Likewise.
1512 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
1513 * sysdeps/riscv/nptl/tls.h: Likewise.
1514 * sysdeps/riscv/stackinfo.h: Likewise.
1515 * sysdeps/riscv/bits/fenv.h: New file.
1516 * sysdeps/riscv/e_sqrtl.c: Likewise.
1517 * sysdeps/riscv/fpu_control.h: Likewise.
1518 * sysdeps/riscv/math-tests.h: Likewise.
1519 * sysdeps/riscv/nofpu/Implies: Likewise.
1520 * sysdeps/riscv/sfp-machine.h: Likewise.
1521 * sysdeps/riscv/tininess.h: Likewise.
1522 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
1523 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
1524 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
1525 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
1526 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
1527 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
1528 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
1529 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
1530 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
1531 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
1532 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
1533 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
1534 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
1535 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
1536 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
1537 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
1538 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
1539 * sysdeps/riscv/rvd/s_finite.c: Likewise.
1540 * sysdeps/riscv/rvd/s_fma.c: Likewise.
1541 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
1542 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
1543 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
1544 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
1545 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
1546 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
1547 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
1548 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
1549 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
1550 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
1551 * sysdeps/riscv/rvf/fegetround.c: Likewise.
1552 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
1553 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
1554 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
1555 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
1556 * sysdeps/riscv/rvf/fesetround.c: Likewise.
1557 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
1558 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
1559 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
1560 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
1561 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
1562 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
1563 * sysdeps/riscv/rvf/math_private.h: Likewise.
1564 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
1565 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
1566 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
1567 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
1568 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
1569 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
1570 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
1571 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
1572 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
1573 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
1574 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
1575 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
1576 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
1577 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
1578 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
1579 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
1580 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
1581 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
1582 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
1583 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
1584 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
1585 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
1586 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
1587 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1588 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1589 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
1590 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
1591 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
1592 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
1593 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
1594 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
1595 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
1596 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
1597 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
1598 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
1599 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
1600 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
1601 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
1602 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1603 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
1604 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
1605 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
1606 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
1607 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1608 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
1609 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
1610 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
1611 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
1612 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
1613 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
1614 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
1615 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
1616 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
1617 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
1618 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
1619 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
1620 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
1621 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
1622 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
1623 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
1624 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
1625 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
1626 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1627 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
1628 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1629 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
1630 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
1631 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
1632 * sysdeps/riscv/Implies: New file.
1633 * sysdeps/riscv/Makefile: Likewise.
1634 * sysdeps/riscv/configure: Likewise.
1635 * sysdeps/riscv/configure.ac: Likewise.
1636 * sysdeps/riscv/nptl/Makefile: Likewise.
1637 * sysdeps/riscv/preconfigure: Likewise.
1638 * sysdeps/riscv/rv64/Implies-after: Likewise.
1639 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
1640 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
1641 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
1642 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
1643 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
1644 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
1645 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
1646 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
1647 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
1648 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
1649 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
1650 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
1653 2018-01-29 Florian Weimer <fweimer@redhat.com>
1656 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
1657 libnsl_hidden_proto.
1658 * include/rpcsvc/yp.h (yp_xdrall): Declare with
1659 libnsl_hidden_proto.
1660 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
1661 * nis/Makefile (libnsl-routines): Add nss-default only for
1663 * nis/nis_defaults.c (__nis_default_ttl): Add
1664 libnsl_hidden_nolink_def.
1665 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
1667 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
1668 * nis/ypclnt.c (yp_maplist): Likewise.
1670 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
1672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1673 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
1675 2018-01-29 Joseph Myers <joseph@codesourcery.com>
1677 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
1678 clean -dxfq for git updates when replacing sources.
1680 * scripts/build-many-glibcs.py (Config.build_gcc): Use
1681 --disable-libcilkrts unconditionally, not just for the final GCC
1684 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1687 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1690 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
1693 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1696 * localedata/locales/be_BY (mon): Rename to...
1697 (alt_mon): This, then synchronize with CLDR (nominative case).
1698 (abmon): Rename to...
1699 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
1700 (mon): Import from CLDR (genitive case).
1702 * localedata/locales/be_BY@latin (mon): Rename to...
1704 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
1706 * localedata/locales/be_BY@latin (lang_name): Reworded to
1707 "biełaruskaja mova".
1709 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1712 * localedata/locales/el_CY (mon): Renamed to...
1714 (mon): Import from CLDR (genitive case).
1715 * localedata/locales/el_GR: Likewise.
1717 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1720 * localedata/locales/ru_RU (mon): Rename to...
1722 (abmon): Rename to...
1724 (mon): Import from CLDR (genitive case).
1725 (abmon): Copy from the old content except the 5th month which is
1726 now in the genitive case, even when abbreviated.
1727 * localedata/locales/ru_UA: Likewise.
1728 * time/tst-strptime.c (day_tests): Add an actual example of
1729 a difference between %b and %Ob in Russian.
1731 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1733 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
1734 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
1736 * resolv/res-close.c: Include <stdlib.h>.
1737 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
1738 <sys/wait.h>, <time.h>, <sys/uio.h>.
1739 (NOT_CANCEL_H): Add inclusion guard.
1740 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
1741 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
1742 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
1744 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
1745 vm_address_t * to ElfW(Addr) * for dl_main parameter.
1746 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
1748 * sysdeps/pthread/timer_create.c (timer_create): Do not use
1749 timer_ptr2id to cast struct timer_node * to void *.
1750 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
1751 --disable-libcilkrts to gcc configure.
1752 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
1753 and make them the default for now.
1754 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
1755 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
1756 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
1757 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
1758 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
1760 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
1761 __task_terminate would ever return successfully.
1762 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
1764 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
1765 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
1766 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
1767 critical section to make code simpler and avoid warning.
1768 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
1769 critical section to make code simpler and avoid warning.
1770 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
1771 const char * instead of char *.
1772 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
1773 __hurd_file_name_split, hurd_file_name_split,
1774 __hurd_directory_name_split, hurd_directory_name_split,
1775 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
1776 hurd_file_name_path_lookup): Make lookup function parameter take a
1777 const char *name instead of char *name.
1778 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
1779 __hurd_directory_name_split): Likewise.
1780 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1781 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
1782 * sysdeps/mach/hurd/check_native.c: New file.
1783 * sysdeps/mach/hurd/check_pf.c: New file.
1784 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
1785 (__freeifaddrs): Define macro to freeifaddrs.
1786 * sysdeps/mach/hurd/libhurduser.abilist: New file.
1787 * sysdeps/mach/libmachuser.abilist: New file.
1788 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
1789 (do_test_bz20181): Rename accordingly.
1790 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
1791 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
1793 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
1794 version only if __USE_EXTERN_INLINES is defined.
1795 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
1796 __hurd_sockfail): Likewise.
1797 (_hurd_fd_get): Always declare functions, and provide inline versions
1798 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
1799 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
1800 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
1801 _hurd_port_set): Always declare functions, and provide inline versions
1802 only if __USE_EXTERN_INLINES and _LIBC are defined and
1804 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
1805 _hurd_critical_section_unlock): Likewise.
1806 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
1807 * __hurd_threadvar_location): Likewise.
1808 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
1809 _hurd_userlink_clear): Likewise.
1810 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
1811 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
1812 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
1813 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
1814 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
1815 __spin_lock_locked): Likewise.
1816 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
1817 __spin_lock_locked): Likewise.
1818 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
1819 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
1820 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
1821 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
1822 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
1823 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
1824 _POSIX_NO_TRUNC): Define to 0.
1825 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
1826 check size against PTHREAD_STACK_MIN.
1827 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
1828 IS_IN(libpthread)]: Include <sigsetops.h>.
1829 * mach/Makefile (user-interfaces): Add mach/gnumach.
1830 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
1831 * sysdeps/mach/configure (mach_interface_list): Regenerate.
1832 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
1833 instead of invalid -1.
1834 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
1835 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
1836 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
1839 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
1841 * hurd/fcntl-internal.h: New file.
1843 2018-01-27 James Clarke <jrtc27@jrtc27.com>
1845 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1847 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1849 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
1852 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
1853 Build only shared objects.
1855 2018-01-26 Carlos O'Donell <carlos@redhat.com>
1857 * README: Update for hppa.
1859 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1861 * sysdeps/sparc/fpu/libm-test-ulps: Update
1862 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1864 2018-01-26 Carlos O'Donell <carlos@redhat.com>
1868 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1871 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1872 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
1873 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1874 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
1877 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1880 * bits/types/__cancel_jmp_buf_tag.h: New file.
1881 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
1882 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
1883 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
1884 * nptl/Makefile (headers): Add
1885 bits/types/__cancel_jmp_buf_tag.h.
1886 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
1887 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
1888 * sysdeps/nptl/pthread.h: Include
1889 <bits/types/__cancel_jmp_buf_tag.h>.
1890 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
1892 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
1894 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
1897 * localedata/locales/uk_UA (mon): Renamed to...
1899 (alt_digits): "0" removed and then renamed to...
1901 (date_fmt): Definition changed not to use the alternative
1904 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
1906 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
1907 FLAG_RISCV_FLOAT_ABI_DOUBLE.
1908 * elf/elf.h (EF_RISCV_RVC): New define.
1909 (EF_RISCV_FLOAT_ABI): Likewise.
1910 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
1911 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
1912 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
1913 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
1914 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
1916 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
1918 2018-01-25 Andreas Schwab <schwab@suse.de>
1920 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
1922 * sysdeps/gnu/configure: Regenerate.
1923 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1924 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1926 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1927 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1928 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
1929 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1932 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1934 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
1935 URL, and run autoconf, make it the default for now.
1937 2018-01-24 Joseph Myers <joseph@codesourcery.com>
1939 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1940 soft-float ColdFire configuration.
1942 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
1943 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
1944 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
1946 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
1949 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
1951 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
1953 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
1956 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
1957 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
1958 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
1961 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1964 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
1965 Rename to __reserved and add comment.
1966 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
1967 Rename to __reserved.
1969 2018-01-24 Joseph Myers <joseph@codesourcery.com>
1971 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1972 i686-gnu configurations.
1973 (Context.run_builds): Include mig, gnumach and hurd in components
1975 (Context.checkout): Add mig, gnumach and hurd to components.
1976 (Context.checkout_tar): Add URL mappings for mig, gnumach and
1978 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
1979 (Config.build): Install gnumach headers, build mig and install
1980 hurd headers for 'gnu' OS.
1981 (Config.install_gnumach_headers): New function.
1982 (Config.install_hurd_headers): Likewise.
1983 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
1984 when building for 'gnu' OS.
1986 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
1988 * manual/tunables.texi (Hardware Capability Tunables): Fix
1991 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
1993 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
1994 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
1995 (ALTMON_11, ALTMON_12): Improve documentation.
1996 * manual/time.texi (strftime): Likewise.
1998 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2001 * localedata/locales/pl_PL: Alternative month names added,
2002 primary month names are genitive now.
2003 * time/tst-strptime.c (day_tests): Actually use a genitive case
2004 of a month name in Polish language.
2006 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2009 * manual/locale.texi: Document ALTMON_1..12 constants for
2010 nl_langinfo. Specify when to use ALTMON instead of MON.
2011 * manual/time.texi (strftime, strptime): Document GNU extension
2012 permitting O modifier with %B and %b. Specify when to use
2015 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2018 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
2019 names, define them as the same as abbreviated month names explicitly.
2020 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
2021 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
2022 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
2023 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
2024 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
2025 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
2026 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
2027 _NL_WABALTMON_12): New enum constants.
2028 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
2029 wab_alt_mon, and ab_alt_mon_defined members.
2030 (time_output): Output ab_alt_mon and wab_alt_mon members.
2031 (time_read): Read them, initialize them as copies of abmon and wabmon
2032 respectively if they are missing, initialize ab_alt_mon_defined.
2033 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
2034 * locale/programs/locfile-kw.h: Regenerate.
2035 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
2036 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
2038 * time/strftime_l.c (a_altmonth, aam_len): New macros.
2039 [!COMPILE_WIDE] (ABALTMON_1): New macro.
2040 (__strftime_internal): Handle %Ob and %Oh formats.
2041 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
2042 (__strptime_internal): Handle %Ob and %Oh formats.
2043 * time/tst-strptime.c (day_tests): Add more tests to parse different
2044 forms of month names including the new %Ob format specifier.
2046 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2049 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
2050 define them as the same as primary full month names explicitly.
2051 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
2052 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
2053 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
2054 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
2055 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
2056 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
2057 _NL_WALTMON_12): New enum constants.
2058 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
2059 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
2061 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
2062 walt_mon, and alt_mon_defined members.
2063 (time_output): Output alt_mon and walt_mon members.
2064 (time_read): Read them, initialize them as copies of mon and wmon
2065 respectively if they are missing, initialize alt_mon_defined.
2066 * locale/programs/locfile-kw.gperf (alt_mon): Define.
2067 * locale/programs/locfile-kw.h: Regenerate.
2068 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
2069 * localedata/tst-langinfo.c (map): Add tests for the new constants
2070 ALTMON_1 .. ALTMON_12.
2071 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
2073 * time/strftime_l.c (f_altmonth): New macro.
2074 (__strftime_internal): Handle %OB format.
2075 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
2076 (__strptime_internal): Handle %OB format.
2077 * time/tst-strptime.c (day_tests): Add tests to parse different forms
2078 of month names including the new %OB format specifier.
2080 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2083 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
2084 from ABORT_TRANSACTION.
2085 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
2086 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
2087 ABORT_TRANSACTION_IMPL): Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
2089 Linux code, but remove the code that aborts transactions.
2091 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2093 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
2095 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2097 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
2098 in date: "2004-14-09" should be "2004-09-14".
2099 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
2100 "2003-15-09" should be "2003-09-15".
2102 2018-01-18 Arjun Shankar <arjun@redhat.com>
2108 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
2110 (_int_memalign): check for integer overflow before calling
2112 * malloc/tst-malloc-too-large.c: New test.
2113 * malloc/Makefile: Add tst-malloc-too-large.
2115 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
2117 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
2118 in date: "2017-24-07" should be "2017-07-24".
2119 * localedata/locales/mai_IN: Likewise.
2120 * localedata/locales/mai_NP: Likewise.
2122 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
2124 * po/ru.po: Update translations.
2126 2018-01-17 Joseph Myers <joseph@codesourcery.com>
2129 * sysdeps/hppa/backtrace.c: New file.
2131 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
2134 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
2135 align La_x86_64_retval to VEC_SIZE.
2137 2018-01-16 Joseph Myers <joseph@codesourcery.com>
2139 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
2140 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
2142 2018-01-16 Florian Weimer <fweimer@redhat.com>
2144 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
2145 Move tst-thread-exit-clobber ...
2146 [$(CXX)] (tests-unsupported): ... to here.
2148 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
2150 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
2151 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
2152 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2153 (_dl_aarch64_cap_flags): Update.
2154 (_DL_HWCAP_COUNT): Update.
2156 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
2158 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2159 (_DL_HWCAP_LAST): Remove.
2160 (_DL_HWCAP_COUNT): Move to ...
2161 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2162 (_DL_HWCAP_COUNT): ... here.
2164 2018-01-16 Florian Weimer <fweimer@redhat.com>
2166 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
2167 mode with GNU extensions.
2169 2018-01-15 Alan Hayward <alan.hayward@arm.com>
2171 * elf/elf.h (NT_ARM_SVE): Define.
2173 2018-01-15 Florian Weimer <fweimer@redhat.com>
2176 * nptl/tst-minstack-throw.cc: New file.
2177 * nptl/Makefile (tests): Add tst-minstack-throw.
2178 (LDLIBS-tst-minstack-throw): Link with libstdc++.
2179 [!CXX] (tests-unsupported): Add tst-minstack-throw.
2181 2018-01-15 Joseph Myers <joseph@codesourcery.com>
2183 * scripts/build-many-glibcs.py (Context.checkout): Default
2184 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
2187 2018-01-13 Carlos O'Donell <carlos@redhat.com>
2190 * elf/elf.h (DF_1_STUB): Define.
2193 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
2197 Do not add 0.5 to integer or out-of-range arguments.
2199 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
2201 * po/bg.po: Update translations.
2202 * po/cs.po: Likewise.
2203 * po/de.po: Likewise.
2204 * po/ko.po: Likewise.
2205 * po/pl.po: Likewise.
2206 * po/sv.po: Likewise.
2207 * po/uk.po: Likewise.
2208 * po/vi.po: Likewise.
2210 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2212 * aarch64/start.S (_start): Use __wrap_main.
2213 (__wrap_main): New local symbol.
2215 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
2219 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
2220 generic_getcwd if the path returned by getcwd syscall is not absolute.
2221 * io/tst-getcwd-abspath.c: New test.
2222 * io/Makefile (tests): Add tst-getcwd-abspath.
2224 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
2226 * malloc/malloc.c (malloc_consolidate): Add size check.
2228 2018-01-12 Florian Weimer <fweimer@redhat.com>
2230 * support/write_message.c (write_message): Preserve errno.
2231 * support/check.c (print_failure): Likewise.
2232 * support/support_test_verify_impl.c (support_test_verify_impl):
2234 * support/support_test_compare_failure.c
2235 (support_test_compare_failure): Likewise.
2237 2018-01-12 Florian Weimer <fweimer@redhat.com>
2240 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
2241 Prevent installation of libnsl.so.
2242 (libnsl-inhibit-o): Do not build (or install) static libraries.
2244 2018-01-12 Egmont Koblinger <egmont@gmail.com>
2247 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
2248 before the day number which may produce a double space.
2249 (date_fmt): Likewise.
2251 2018-01-12 Joseph Myers <joseph@codesourcery.com>
2253 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
2254 instead of fegetenv.
2256 2018-01-11 Joseph Myers <joseph@codesourcery.com>
2259 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
2260 comment to say exceptions are discarded.
2261 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
2263 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
2266 2018-01-11 Florian Weimer <fweimer@redhat.com>
2268 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
2271 2018-01-11 Florian Weimer <fweimer@redhat.com>
2274 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
2275 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
2277 2018-01-10 Joseph Myers <joseph@codesourcery.com>
2280 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
2281 negative arguments in test for NaN or infinity argument.
2283 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
2285 * po/libc.pot: Regenerate.
2287 2018-01-10 Florian Weimer <fweimer@redhat.com>
2290 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
2291 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
2293 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2295 * hurd/hurd/fd.h: Include <fcntl.h>
2296 (__hurd_at_flags): New function.
2297 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
2298 with call to __hurd_at_flags.
2299 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
2300 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
2302 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
2303 (__access_noerrno): Use __faccessat_common instead of access_common.
2304 (__access): Likewise.
2305 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
2306 with a call to __faccessat.
2307 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
2308 (__faccessat_common): ... this. Move implementation of __access into it when
2309 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
2310 reauthenticate_cwdir_at helper to implement AT mechanism.
2311 (__faccessat_noerrno): New function, just calls __faccessat_common.
2312 (__faccessat): New function, just calls __faccessat_common.
2313 (faccessat): Define weak alias.
2315 2018-01-10 Joseph Myers <joseph@codesourcery.com>
2318 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2319 (CFLAGS-s_fmaxmagl.c): New variable.
2320 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
2324 long int for arguments of possibly overflowing addition or
2326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2328 2018-01-09 Joseph Myers <joseph@codesourcery.com>
2331 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2332 (CFLAGS-e_remainderl.c): New variable.
2335 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
2337 (CFLAGS-s_cacoshl.c): Likewise.
2338 (CFLAGS-s_casinhl.c): Likewise.
2339 (CFLAGS-s_catanl.c): Likewise.
2340 (CFLAGS-s_catanhl.c): Likewise.
2341 (CFLAGS-s_cexpl.c): Likewise.
2342 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
2343 (CFLAGS-s_csinhl.c): Likewise.
2344 (CFLAGS-s_clogl.c): Likewise.
2345 (CFLAGS-s_clog10l.c): Likewise.
2346 (CFLAGS-s_csinl.c): Likewise.
2347 (CFLAGS-s_csqrtl.c): Likewise.
2349 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
2350 2017-01-09 Svante Signell <svante.signell@gmail.com>
2352 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
2353 (_hurd_exec_paths): New function.
2354 * hurd/hurd.h (_hurd_exec): Deprecate function.
2355 (_hurd_exec_paths): Declare function.
2356 * hurd/Versions: Export _hurd_exec_paths.
2357 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
2358 (__execve): Use __getcwd to build absolute path, and use
2359 _hurd_exec_paths instead of _hurd_exec.
2360 * sysdeps/mach/hurd/spawni.c: Likewise.
2361 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
2364 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
2366 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
2367 test instead of failing in case of ENOENT returned by posix_openpt.
2369 2018-01-08 Florian Weimer <fweimer@redhat.com>
2371 resolv: Support binary labels in test framework.
2372 * support/resolv_test.c (struct to_be_freed): Remove.
2373 (struct compressed_name): New.
2374 (allocate_compressed_name, ascii_tolower)
2375 (compare_compressed_name): New functions.
2376 (struct resolv_response_builder): Update type of
2377 compression_offsets for use with tsearch. Rempve to_be_freed.
2378 (response_push_pointer_to_free): Remove function.
2379 (resolv_response_add_name): Rewrite using struct compressed_name
2380 and tsearch instead of hsearch_r.
2381 (response_builder_allocate): Remove initialization of
2382 compression_offsets.
2383 (response_builder_free): Update for removal of to_be_freed. Use
2384 tdestroy instead of hdestroy_r.
2385 * resolv/Makefile (tests): Add tst-resolv-binary.
2386 (tst-resolv-binary): Link with -lresolv -lpthread.
2388 2018-01-08 Florian Weimer <fweimer@redhat.com>
2390 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
2391 time. Pass positive flag instead of negative flag to
2392 support_test_compare_failure.
2393 (support_test_compare_failure): Change negative parameter to
2395 * support/support_test_compare_failure.c (report)
2396 (support_test_compare_failure): Likewise.
2397 * support/tst-test_compare.c (return_ssize_t, return_int): New.
2398 (do_test): Check int/size_t, ssize_t/size_t comparisons.
2400 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
2403 * nptl/descr.h (stackblock, stackblock_size): Update comments.
2404 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
2405 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
2407 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2409 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
2411 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2412 Add s_sincosf-sse2 and s_sincosf-fma.
2413 (CFLAGS-s_sincosf-fma.c): New.
2414 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
2415 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2416 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
2417 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
2418 __sincosf is defined.
2420 2018-01-08 Florian Weimer <fweimer@redhat.com>
2422 * nptl/tst-thread-exit-clobber.cc: New file.
2423 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
2425 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
2426 (tests): Add tst-thread-exit-clobber.
2427 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
2429 2018-01-08 Florian Weimer <fweimer@redhat.com>
2431 * support/check.h (support_static_assert): Define.
2432 (TEST_COMPARE): Use it.
2434 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
2436 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
2437 [!__RLIM_T_MATCHES_RLIM64_T]
2438 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
2439 __getrlimit64. Add libc_hidden_weak.
2441 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
2443 * elf/elf.h (R_RISCV_NONE): New define.
2444 (R_RISCV_32): Likewise.
2445 (R_RISCV_64): Likewise.
2446 (R_RISCV_RELATIVE): Likewise.
2447 (R_RISCV_COPY): Likewise.
2448 (R_RISCV_JUMP_SLOT): Likewise.
2449 (R_RISCV_TLS_DTPMOD32): Likewise.
2450 (R_RISCV_TLS_DTPMOD64): Likewise.
2451 (R_RISCV_TLS_DTPREL32): Likewise.
2452 (R_RISCV_TLS_DTPREL64): Likewise.
2453 (R_RISCV_TLS_TPREL32): Likewise.
2454 (R_RISCV_TLS_TPREL64): Likewise.
2455 * Makerules (make-link-multidir): Make directories before linking into
2457 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
2459 (VDSO_HASH_LINUX_4_15): Likewise.
2460 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
2461 in subdirectories of lib.
2462 * nptl/Makefile (/librt.so): Always depend on
2463 "$(shared-thread-library)".
2465 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2467 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
2468 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
2469 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
2471 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
2472 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
2474 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
2475 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
2476 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
2477 * sysdeps/gnu/glob-lstat-compat.c: New file.
2478 * sysdeps/gnu/glob64-lstat-compat.c: New file.
2479 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
2481 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2483 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
2484 Reserve 16 chars to reloc_addr before calling _itoa_word.
2486 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2489 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
2490 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
2492 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
2493 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
2495 * resource/tst-getrlimit.c: Add copyright header.
2497 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2498 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2500 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
2501 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
2502 Define __GI_getrlimit64 as weak alias of __getrlimit64.
2503 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
2505 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
2506 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
2507 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
2508 RLIM64_INFINITY): Fix values to match the kernel ones.
2509 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
2510 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
2511 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
2512 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
2513 getrlimit64@@GLIBC_2_27.
2514 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
2516 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
2517 getrlimit, setrlimit, getrlimit64 and setrlimit64.
2518 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
2519 setrlimit, getrlimit64 and setrlimit64.
2521 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2524 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
2525 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
2527 2018-01-04 Joseph Myers <joseph@codesourcery.com>
2529 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
2530 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
2531 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
2533 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2537 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
2538 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
2542 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
2543 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
2544 * sysdeps/alpha/fpu/s_floor.c: Likewise.
2545 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
2547 2018-01-04 Florian Weimer <fweimer@redhat.com>
2550 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2551 Align the stack before calling exit.
2552 * stdlib/tst-makecontext-align.c: New file.
2553 * stdlib/Makefile (tests): Add tst-makecontext-align.
2555 2018-01-04 Florian Weimer <fweimer@redhat.com>
2557 Add support for calling dlvsym from libc.so.
2558 * include/dlfcn.h (__libc_dlvsym): Declare.
2559 * elf/Makefile (tests-static-internal): Add
2560 tst-libc_dlvsym-static.
2561 (tests-internal): Add tst-libc_dlvsym.
2562 (modules-names): Add tst-libc_dlvsym-dso.
2563 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
2564 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
2565 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
2566 object tst-libc_dlvsym-dso.so needs to be built before running
2568 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
2569 * elf/Versions: Export __libc_dlvsym.
2570 * elf/dl-libc.c (struct do_dlvsym_args): New.
2571 (do_dlvsym, __libc_dlvsym): New functions.
2572 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
2573 (_dl_open_hook2): New variable.
2574 (__libc_register_dl_open_hook): Set it.
2575 * elf/tst-libc_dlvsym-dso.c: New file.
2576 * elf/tst-libc_dlvsym-static.c: Likewise.
2577 * elf/tst-libc_dlvsym.c: Likewise.
2578 * elf/tst-libc_dlvsym.h: Likewise.
2580 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2582 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
2583 include <sys/mount.h>.
2585 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
2587 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
2588 Add __NO_MATH_ERRNO__ check.
2590 2018-01-02 Joseph Myers <joseph@codesourcery.com>
2592 * sysdeps/mips/mips32/libm-test-ulps: Update.
2593 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2595 2018-01-02 Florian Weimer <fweimer@redhat.com>
2597 * misc/tst-pselect.c: Add copyright header.
2599 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
2601 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
2603 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
2605 (settrlimit): Rename into setrlimit.
2606 (__sttrlimit): Rename into __setrlimit.
2608 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
2609 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
2610 never defined in that case.
2612 2018-01-02 Joseph Myers <joseph@codesourcery.com>
2614 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2616 * sysdeps/arm/libm-test-ulps: Update.
2618 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
2619 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
2621 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2623 * NEWS: Add cosf and sincosf to list of optimized functions.
2625 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
2628 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
2629 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
2630 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
2631 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
2633 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
2636 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
2638 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
2639 making a copy of it.
2641 2018-01-01 Joseph Myers <joseph@codesourcery.com>
2643 * manual/texinfo.tex: Update to version 2017-12-26.21 with
2644 trailing whitespace removed.
2645 * scripts/config.guess: Update to version 2018-01-01.
2646 * scripts/config.sub: Update to version 2018-01-01.
2647 * scripts/move-if-change: Update from gnulib.
2649 * NEWS: Update copyright dates.
2650 * catgets/gencat.c (print_version): Likewise.
2651 * csu/version.c (banner): Likewise.
2652 * debug/catchsegv.sh: Likewise.
2653 * debug/pcprofiledump.c (print_version): Likewise.
2654 * debug/xtrace.sh (do_version): Likewise.
2655 * elf/ldconfig.c (print_version): Likewise.
2656 * elf/ldd.bash.in: Likewise.
2657 * elf/pldd.c (print_version): Likewise.
2658 * elf/sotruss.sh: Likewise.
2659 * elf/sprof.c (print_version): Likewise.
2660 * iconv/iconv_prog.c (print_version): Likewise.
2661 * iconv/iconvconfig.c (print_version): Likewise.
2662 * locale/programs/locale.c (print_version): Likewise.
2663 * locale/programs/localedef.c (print_version): Likewise.
2664 * login/programs/pt_chown.c (print_version): Likewise.
2665 * malloc/memusage.sh (do_version): Likewise.
2666 * malloc/memusagestat.c (print_version): Likewise.
2667 * malloc/mtrace.pl: Likewise.
2668 * manual/libc.texinfo: Likewise.
2669 * nptl/version.c (banner): Likewise.
2670 * nscd/nscd.c (print_version): Likewise.
2671 * nss/getent.c (print_version): Likewise.
2672 * nss/makedb.c (print_version): Likewise.
2673 * posix/getconf.c (main): Likewise.
2674 * scripts/test-installation.pl: Likewise.
2675 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2677 * All files with FSF copyright notices: Update copyright dates
2678 using scripts/update-copyrights.
2679 * locale/programs/charmap-kw.h: Regenerated.
2680 * locale/programs/locfile-kw.h: Likewise.
2682 2017-12-31 Zack Weinberg <zackw@panix.com>
2684 * libio/bits/libio-ldbl.h: Correct check for improper
2685 inclusion. Add own multiple include guard.
2687 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
2688 Dmitry V. Levin <ldv@altlinux.org>
2692 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
2693 string token expansion. Check for NULL pointer or empty string possibly
2694 returned by expand_dynamic_string_token.
2695 (decompose_rpath): Check for empty path after dynamic string
2698 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
2701 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
2703 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
2704 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
2705 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
2707 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
2708 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2712 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2714 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
2715 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
2716 __ptrace_peeksiginfo_flags, ptrace): Move to ...
2717 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
2718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2719 bits/ptrace-shared.h.
2720 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
2721 <bits/ptrace-shared.h>.
2722 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
2723 __ptrace_peeksiginfo_flags, ptrace): Remove.
2724 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2727 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2728 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2730 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
2733 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
2734 end of the loop. Improve comments.
2736 2017-12-29 Zack Weinberg <zackw@panix.com>
2739 * manual/errno.texi (Checking for Errors): Explicitly say that errno
2740 might be set on success.
2742 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
2745 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
2746 is unchanged on success.
2748 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
2750 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
2752 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
2753 expand_dynamic_string_token): Likewise.
2754 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
2757 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
2760 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
2761 is set and name contains ':', and all code depending on these checks.
2763 2017-12-24 Zack Weinberg <zackw@panix.com>
2765 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
2766 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
2768 * libio/libio.h: Rename the original version of this file to
2769 libio/bits/libio.h. Error out if not included by stdio.h or the
2771 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
2772 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
2773 if not included by bits/libio.h or the stub _G_config.h.
2774 * sysdeps/unix/sysv/linux/_G_config.h: Move to
2775 sysdeps/unix/sysv/linux/bits. Error out if not included by
2776 bits/libio.h or the stub _G_config.h.
2777 * libio/stdio.h: Include bits/libio.h, not libio.h.
2778 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
2779 well as libio.h and _G_config.h.
2781 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
2782 * libio/strfile.h, stdio-common/vfscanf.c
2783 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
2784 Include stdio.h, not _G_config.h nor libio.h.
2785 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
2786 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
2788 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
2790 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
2793 * stdlib/getrandom.c (getrandom): Fix comment.
2794 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
2796 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
2799 * manual/arith.texi (strtoul): Fix a typo.
2802 * manual/arith.texi (finite): Fix the description of the return
2805 2017-12-22 Eric Blake <ebb9@byu.net>
2807 Avoid gcc warnings on cygwin
2808 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
2809 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
2810 Avoid unused variable.
2812 2017-12-22 Florian Weimer <fweimer@redhat.com>
2814 * io/Makefile (routines): Add copy_file_range.
2815 (tests): Add tst-copy_file_range.
2816 (tests-static, tests-internal): Add tst-copy_file_range-compat.
2817 * io/Versions (GLIBC_2.27): Export copy_file_range.
2818 * io/copy_file_range-compat.c: New file.
2819 * io/copy_file_range.c: Likewise.
2820 * io/tst-copy_file_range-compat.c: Likewise.
2821 * io/tst-copy_file_range.c: Likewise.
2822 * manual/llio.texi (Copying File Data): New section.
2823 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
2824 * support/Makefile (libsupport-routines): Add support-xfstat,
2826 * support/support-xfstat.c: New file.
2827 * support/xftruncate.c: Likewise.
2828 * support/xlseek.c: Likewise.
2829 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
2830 * sysdeps/unix/sysv/linux/**.abilist: Update.
2831 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
2833 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2835 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2836 disable-multi-arch variant to aarch64-linux-gnu.
2838 2017-12-20 Joseph Myers <joseph@codesourcery.com>
2840 * manual/texinfo.tex: Update to version 2017-12-18.20 with
2841 trailing whitespace removed.
2842 * scripts/config.guess: Update to version 2017-12-17.
2843 * scripts/config.sub: Update to version 2017-11-23.
2844 * scripts/install-sh: Update to version 2017-09-23.17.
2845 * scripts/move-if-change: Update to version 2017-09-13 06:45.
2847 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2849 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
2850 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
2851 * sysdeps/tile/_mcount.S (__mcount): Likewise.
2852 * sysdeps/tile/crti.S (_init, _fini): Likewise.
2853 * sysdeps/tile/crtn.S: Likewise.
2854 * sysdeps/tile/dl-start.S (_start): Likewise.
2855 * sysdeps/tile/dl-trampoline.S: Likewise.
2856 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2857 * sysdeps/tile/start.S (_start): Likewise.
2858 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
2859 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
2860 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
2861 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
2862 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
2863 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
2864 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
2866 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
2868 * sysdeps/tile/preconfigure: Remove tilegx folder.
2869 * sysdeps/tile/tilegx/Implies: Move definitions to ...
2870 * sysdeps/tile/Implies: ... here.
2871 * sysdeps/tile/tilegx/Makefile: Move rules to ...
2872 * sysdeps/tile/Makefile: ... here.
2873 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
2874 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
2875 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
2876 * sysdeps/tile/bits/wordsize.h: ... here.
2877 * sysdeps/tile/tilegx/*: Move to ...
2878 * sysdeps/tile/*: ... here.
2879 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
2880 * sysdeps/tile/tilegx32/Implies: ... here.
2881 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
2882 * sysdeps/tile/tilegx64/Implies: ... here.
2883 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
2885 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2886 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
2887 * sysdeps/unix/sysv/linux/tile/*: ... here.
2888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
2889 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
2890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
2891 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
2893 * README: Remove tilepro-*-linux-gnu from supported architecture.
2894 * scripts/build-many-glibcs.py: Likewise.
2895 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
2896 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
2897 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
2898 elf_machine_matches_host, elf_machine_dynamic,
2899 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
2900 howto, elf_machine_rela): Likewise.
2901 * sysdeps/tile/dl-start.S (_start): Likewise.
2902 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
2903 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
2904 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
2905 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
2906 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
2907 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2909 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
2910 * sysdeps/tile/preconfigure: Likewise.
2911 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
2912 POINTER_CHK_GUARD): Likewise.
2913 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
2914 * sysdeps/tile/start.S (_start): Likewise.
2915 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
2917 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
2918 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
2920 * sysdeps/unix/sysv/linux/tile/bits/environments.h
2921 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
2922 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
2924 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
2925 * sysdeps/tile/tilepro/Implies: Remove file.
2926 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2927 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
2928 * sysdeps/tile/tilepro/memchr.c: Likewise.
2929 * sysdeps/tile/tilepro/memcpy.S: Likewise.
2930 * sysdeps/tile/tilepro/memset.c: Likewise.
2931 * sysdeps/tile/tilepro/memusage.h: Likewise.
2932 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
2933 * sysdeps/tile/tilepro/strchr.c: Likewise.
2934 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
2935 * sysdeps/tile/tilepro/strlen.c: Likewise.
2936 * sysdeps/tile/tilepro/strrchr.c: Likewise.
2937 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
2938 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
2939 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
2940 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2941 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
2942 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2944 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
2952 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
2953 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
2954 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
2955 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
2956 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
2957 tilepro mention in comment.
2959 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
2960 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
2961 * nptl/pthread_join_common.c: New file: common function used on
2962 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
2963 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
2964 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
2965 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2966 (cleanup): Move definition to pthread_join_common.c.
2967 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
2968 Remove superflous checks.
2969 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
2972 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2974 * sysdeps/aarch64/libm-test-ulps: Update.
2976 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2978 * sysdeps/aarch64/memset.S (MEMSET): Define.
2980 2017-12-20 Florian Weimer <fweimer@redhat.com>
2983 nptl: Provide full implementation of pthread_self in libc.so.
2984 * nptl/Makefile (routines): Add pthread_self.
2985 (libpthread-routines): Replace pthread_self with
2986 compat-pthread_self.
2987 * nptl/forward.c (pthread_self): Remove.
2988 * nptl/nptl-init.c (pthread_functions): Do not initialize
2990 * nptl/pthread_self.c (pthread_self): Remove weak alias.
2991 * nptl/compat-pthread_self.c: New file.
2992 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
2993 Remove ptr_pthread_self.
2995 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
2997 * posix/regcomp.c: Fix spelling in comments.
2998 * posix/regex.h: Likewise.
2999 * posix/regex_internal.c: Likewise.
3000 * posix/regexec.c: Likewise.
3002 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3005 * math/Makefile [C++] (tests): Add test for iseqsig.
3006 * math/math.h [C++] (iseqsig): New implementation, which does
3007 not rely on __MATH_TG/__builtin_types_compatible_p.
3008 * math/test-math-iseqsig.cc: New file.
3009 * sysdeps/powerpc/powerpc64le/Makefile
3010 (CFLAGS-test-math-iseqsig.cc): New variable.
3012 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
3014 * elf/dl-load.c (is_trusted_path): Remove.
3015 (fillin_rpath): Remove check_trusted argument and its use,
3016 all callers changed.
3018 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3021 * Makeconfig (link-pie-before-libc): Replace -pie with
3022 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
3023 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
3024 (tst-dlopen-aout-no-pie): New.
3025 (LDFLAGS-tst-prelink): Removed.
3026 (tst-prelink-no-pie): New.
3027 (LDFLAGS-tst-main1): Removed.
3028 (tst-main1-no-pie): New.
3029 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
3030 (tst-gmon-no-pie): New.
3032 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3034 * manual/install.texi: Document that --enable-static-pie
3036 * INSTALL: Regenerated.
3038 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
3041 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
3044 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3048 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3052 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3054 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
3055 <errno.h>. Include "eexp.tbl".
3056 (half): New constant.
3058 (__ieee754_exp): Rewrite.
3059 (__slowexp): Remove prototype.
3060 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
3061 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
3062 * sysdeps/i386/fpu/slowexp.c: Likewise.
3063 * sysdeps/ia64/fpu/slowexp.c: Likewise.
3064 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
3065 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
3066 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3067 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3068 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
3069 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
3071 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
3072 (CPPFLAGS-slowexp.c): Remove variable.
3073 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3074 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
3075 (CFLAGS-slowexp-fma.c): Remove variable.
3076 (CFLAGS-slowexp-fma4.c): Likewise.
3077 (CFLAGS-slowexp-avx.c): Likewise.
3078 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
3080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
3081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
3082 * math/Makefile (type-double-routines): Remove slowexp.
3083 * manual/probes.texi (slowexp_p6): Remove.
3084 (slowexp_p32): Likewise.
3086 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3088 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
3091 * lib/glob.c (glob): Do not pass NULL to mempcpy.
3093 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3097 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3099 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
3100 <errno.h>. Include "eexp.tbl".
3101 (half): New constant.
3103 (__ieee754_exp): Rewrite.
3104 (__slowexp): Remove prototype.
3105 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
3106 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
3107 * sysdeps/i386/fpu/slowexp.c: Likewise.
3108 * sysdeps/ia64/fpu/slowexp.c: Likewise.
3109 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
3110 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
3111 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3112 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3113 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
3114 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
3116 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
3117 (CPPFLAGS-slowexp.c): Remove variable.
3118 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3119 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
3120 (CFLAGS-slowexp-fma.c): Remove variable.
3121 (CFLAGS-slowexp-fma4.c): Likewise.
3122 (CFLAGS-slowexp-avx.c): Likewise.
3123 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
3125 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
3126 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
3127 * math/Makefile (type-double-routines): Remove slowexp.
3128 * manual/probes.texi (slowexp_p6): Remove.
3129 (slowexp_p32): Likewise.
3131 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3132 James Clarke <jrtc27@jrtc27.com>
3135 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
3138 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3141 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
3144 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3147 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3148 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
3149 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3150 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
3153 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3156 * bits/types/__cancel_jmp_buf_tag.h: New file.
3157 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
3158 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
3159 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
3160 * nptl/Makefile (headers): Add
3161 bits/types/__cancel_jmp_buf_tag.h.
3162 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
3163 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
3164 * sysdeps/nptl/pthread.h: Include
3165 <bits/types/__cancel_jmp_buf_tag.h>.
3166 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
3168 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
3170 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
3172 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3173 --enable-static-pie variants to x86_64, x32 and i686.
3175 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3178 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
3179 argument for attrubutes. All callers changed.
3180 (__inline_mathop1): Likewise. All callers changed.
3181 (__inline_mathop): Likewise. All callers changed.
3182 [__USE_MISC] (scalbn): Use __inline_forward instead of
3184 [__USE_ISOC99] (scalbln): Likewise.
3185 [__USE_ISOC99] (nearbyint): Likewise.
3186 [__USE_ISOC99] (lrint): Likewise.
3187 [__USE_MISC] (scalbnf): Likewise.
3188 [__USE_ISOC99] (scalblnf): Likewise.
3189 [__USE_ISOC99] (nearbyintf): Likewise.
3190 [__USE_ISOC99] (lrintf): Likewise.
3191 [__USE_MISC] (scalbnl): Likewise.
3192 [__USE_ISOC99] (scalblnl): Likewise.
3193 [__USE_ISOC99] (nearbyintl): Likewise.
3194 [__USE_ISOC99] (lrintl): Likewise.
3195 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
3196 __inline_mathop and __m81_defun changed.
3198 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
3199 CPU or FPU for ARM hard-float configurations.
3201 2017-12-18 Joseph Myers <joseph@codesourcery.com>
3203 * nptl/tst-attr3.c: Include <libc-diag.h>.
3204 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
3206 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
3208 * string/tester.c (test_strncat): Also disable -Warray-bounds
3209 warnings for two tests.
3211 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
3214 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
3215 $(cc-pie-default) == yes.
3216 * config.make.in (cc-pie-default): New.
3217 * configure.ac (libc_cv_pie_default): Renamed to ...
3218 (libc_cv_cc_pie_default): This.
3219 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
3220 * configure: Regenerated.
3222 2017-12-18 Florian Weimer <fweimer@redhat.com>
3225 ld.so: Harden dl-libc/libdl hooks.
3226 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
3227 (rtld_active): New function.
3228 * dlfcn/dladdr.c (__dladdr): Call it.
3229 * dlfcn/dladdr1.c (__dladdr1): Likewise.
3230 * dlfcn/dlclose.c (__dlcose): Likewise.
3231 * dlfcn/dlerror.c (__dlerror): Likewise.
3232 * dlfcn/dlinfo.c (__dlinfo): Likewise.
3233 * dlfcn/dlmopen.c (__dlmopen): Likewise.
3234 * dlfcn/dlopen.c (__dlopen): Likewise.
3235 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3236 * dlfcn/dlsym.c (__dlsym): Likewise.
3237 * dlfcn/dlvsym.c (__dlvsym): Likewise.
3238 * libio/vtables.c (_IO_vtable_check): Likewise.
3239 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
3240 (__libc_dlclose): Likewise.
3241 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
3244 2017-12-18 Joseph Myers <joseph@codesourcery.com>
3247 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
3248 buffers for readlink input and output.
3250 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
3253 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
3254 inhibit_stack_protector.
3257 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
3258 inhibit_stack_protector.
3260 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
3263 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
3264 code and invocation.
3266 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3268 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
3270 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
3273 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
3275 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3277 * sysdeps/s390/fpu/libm-test-ulps: Update.
3279 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3283 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3285 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
3286 constants to s_sincosf.h file.
3287 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3288 * sysdeps/ieee754/flt-32/s_sincosf.c: New
3290 * sysdeps/ieee754/flt-32/s_sincosf.h:
3293 2017-12-12 Carlos O'Donell <carlos@redhat.com>
3296 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
3299 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
3302 * INSTALL: Regenerated.
3303 * Makeconfig (real-static-start-installed-name): New.
3304 (pic-default): Updated for --enable-static-pie.
3305 (pie-default): New for --enable-static-pie.
3306 (default-pie-ldflag): Likewise.
3307 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
3308 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
3309 Replace $(static-start-installed-name) with
3310 $(real-static-start-installed-name).
3311 (+prectorT): Updated for --enable-static-pie.
3312 (+postctorT): Likewise.
3313 (CFLAGS-.o): Add $(pie-default).
3314 (CFLAGS-.op): Likewise.
3315 * NEWS: Mention --enable-static-pie.
3316 * config.h.in (ENABLE_STATIC_PIE): New.
3317 * configure.ac (--enable-static-pie): New configure option.
3318 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
3319 (have-static-pie): Likewise.
3320 Enable static PIE if linker supports --no-dynamic-linker.
3321 (ENABLE_STATIC_PIE): New AC_DEFINE.
3322 (enable-static-pie): New LIBC_CONFIG_VAR.
3323 * configure: Regenerated.
3324 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
3325 gr$(start-installed-name) for --enable-static-pie.
3326 (extra-objs): Likewise.
3327 (install-lib): Likewise.
3328 (extra-objs): Add static-reloc.o and static-reloc.os
3329 ($(objpfx)$(start-installed-name)): Also depend on
3330 $(objpfx)static-reloc.o.
3331 ($(objpfx)r$(start-installed-name)): New.
3332 ($(objpfx)g$(start-installed-name)): Also depend on
3333 $(objpfx)static-reloc.os.
3334 ($(objpfx)gr$(start-installed-name)): New.
3335 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
3337 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
3339 * csu/static-reloc.c: New file.
3340 * elf/Makefile (routines): Add dl-reloc-static-pie.
3341 (elide-routines.os): Likewise.
3342 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
3343 (tst-tls1-static-non-pie-no-pie): New.
3344 * elf/dl-reloc-static-pie.c: New file.
3345 * elf/dl-support.c (_dl_get_dl_main_map): New function.
3346 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
3347 STATIC_PIE_BOOTSTRAP.
3348 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3349 * gmon/Makefile (tests): Add tst-gmon-static-pie.
3350 (tests-static): Likewise.
3351 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
3352 (tst-gmon-static-no-pie): New.
3353 (CFLAGS-tst-gmon-static-pie.c): Likewise.
3354 (CRT-tst-gmon-static-pie): Likewise.
3355 (tst-gmon-static-pie-ENV): Likewise.
3356 (tests-special): Likewise.
3357 ($(objpfx)tst-gmon-static-pie.out): Likewise.
3358 (clean-tst-gmon-static-pie-data): Likewise.
3359 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
3360 * gmon/tst-gmon-static-pie.c: New file.
3361 * manual/install.texi: Document --enable-static-pie.
3362 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
3363 (_dl_get_dl_main_map): Likewise.
3364 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
3365 * sysdeps/x86_64/configure.ac: Likewise.
3366 * sysdeps/i386/configure: Regenerated.
3367 * sysdeps/x86_64/configure: Likewise.
3368 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
3369 (ASFLAGS-.op): Likewise.
3371 2017-12-15 Joseph Myers <joseph@codesourcery.com>
3373 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
3374 * posix/tst-mmap-offset.c (fname): Use /tmp.
3375 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
3377 2017-12-15 Steve Ellcey <sellcey@cavium.com>
3379 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
3381 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
3383 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
3386 2017-12-15 Joseph Myers <joseph@codesourcery.com>
3388 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
3389 --with-float=hard for arm-linux-gnueabihf configurations.
3392 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
3393 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
3394 ($(mo-installed)): Use $(objpfx)%.mo.
3395 (realclean): Remove rule.
3397 * po/Makefile (linguas): Remove rule and dependencies.
3398 (linguas.mo): Likewise.
3399 (.PHONY): Do not depend on linguas and linguas.mo.
3400 (podir): Remove variable.
3401 (pofiles): Likewise.
3402 [$(pofiles)] (%.po): Remove rule.
3404 * sysdeps/sparc/sparc32/Makefile
3405 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
3406 start-of-line whitespace in argument of echo.
3407 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
3408 with whitespace. Generate __wrap_.udiv alias.
3409 * sysdeps/sparc/sparc32/rem.S: Regenerated.
3410 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3411 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3412 * sysdeps/sparc/sparc32/urem.S: Likewise.
3414 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3416 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
3419 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3421 * benchtests/bench-strcmp.c: Print output in JSON format.
3423 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
3425 2017-12-14 Florian Weimer <fweimer@redhat.com>
3429 * elf/dl-load.c (_dl_init_paths): Compute number of components in
3430 the expanded path string.
3432 2017-12-14 Florian Weimer <fweimer@redhat.com>
3436 * elf/dl-load.c (system_dirs): Update comment.
3437 (nsystem_dirs_len): Use array_length.
3438 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
3440 2017-12-14 Florian Weimer <fweimer@redhat.com>
3442 Simplify compiling most of support/ outside of glibc.
3443 * support/check_addrinfo.c: Include <string.h>.
3444 * support/check_dns_packet.c: Likewise.
3445 * support/check_hostent.c: Likewise.
3446 * support/support_can_chroot.c: Include <support/xunistd.h>.
3447 * support/support_format_addrinfo.c: Include <stdlib.h>
3448 * support/support_format_dns_packet.c: Include <stdbool.h>.
3449 * support/support_format_hostent.c: Include <stdlib.h>.
3450 * support/support_format_netent.c: Likewise.
3451 * support/support_write_string.c: Include <support/xunistd.h>.
3452 * support/xdlfcn.c: Include <stddef.h>.
3454 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
3456 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
3458 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3459 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3461 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3462 (sysdeps_routines): Add memset-niagara7.
3463 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
3465 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
3467 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
3468 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
3469 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
3470 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
3471 Add niagara7 option.
3472 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
3475 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3476 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
3477 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
3479 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
3481 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
3482 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
3483 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
3484 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
3485 and __memmove_niagara7.
3486 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
3487 Add niagara7 option.
3488 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
3489 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
3490 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
3491 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
3492 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
3494 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3496 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
3497 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
3498 * sysdeps/sparc/sparc64/memmove.S: Likewise.
3499 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
3501 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
3502 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
3503 _dl_sparc_cap_flags array.
3504 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
3506 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
3508 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
3509 time whenever possible.
3511 2017-12-12 Carlos O'Donell <carlos@redhat.com>
3513 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
3514 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
3516 2017-12-12 Joseph Myers <joseph@codesourcery.com>
3518 * soft-fp/fmadf4.c: Move to ....
3519 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
3520 * soft-fp/fmasf4.c: Move to ....
3521 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
3522 * soft-fp/fmatf4.c: Move to ....
3523 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
3524 * sysdeps/ieee754/soft-fp/Makefile: New file.
3525 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
3526 * sysdeps/arm/preconfigure: Regenerated.
3527 * sysdeps/arm/nofpu/Implies: New file.
3528 * sysdeps/arm/s_fma.c: Remove file.
3529 * sysdeps/arm/s_fmaf.c: Likewise.
3530 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
3531 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
3532 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3533 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
3534 * sysdeps/microblaze/s_fma.c: Remove file.
3535 * sysdeps/microblaze/s_fmaf.c: Likewise.
3536 * sysdeps/mips/mips32/nofpu/Implies: New file.
3537 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
3538 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
3539 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
3540 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
3541 * sysdeps/mips/ieee754/s_fma.c: Remove file.
3542 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
3543 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
3545 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
3546 * sysdeps/nios2/s_fma.c: Remove file.
3547 * sysdeps/nios2/s_fmaf.c: Likewise.
3548 * sysdeps/sh/nofpu/Implies: New file.
3549 * sysdeps/sh/s_fma.c: Remove file.
3550 * sysdeps/sh/s_fmaf.c: Likewise.
3551 * sysdeps/tile/Implies: Add ieee754/soft-fp.
3552 * sysdeps/tile/s_fma.c: Remove file.
3553 * sysdeps/tile/s_fmaf.c: Likewise.
3555 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
3557 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3558 Add s_cosf-sse2 and s_cosf-fma.
3559 (CFLAGS-s_cosf-fma.c): New.
3560 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
3561 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
3562 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
3564 2017-12-12 Steve Ellcey <sellcey@cavium.com>
3566 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
3568 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3570 * libio/Makefile (tests): Add tst-bz22415.
3571 (tst-bz22415-ENV): New rule.
3572 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
3573 (tests-special): Add tst-bz22415-mem.out.
3574 ($(objpfx)tst-bz22415-mem.out): New rule.
3575 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
3576 in case of a successful seek operation.
3577 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3578 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
3580 * libio/tst-bz22415.c: New test.
3582 * sysdeps/ia64/fpu/libm-test-ulps: Update.
3584 2017-12-12 James Clarke <jrtc27@jrtc27.com>
3586 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
3587 __IPC_64 to 0 to avoid IPC_64 being set.
3589 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3592 * math/bits/mathcalls.h (nextafter): Remove const.
3593 (nexttoward): Likewise.
3595 2017-12-12 Joseph Myers <joseph@codesourcery.com>
3597 * configure.ac (--with-fp): Remove configure option.
3598 (with_fp_cond): New variable.
3599 (libc_cv_with_fp): New configure test. Use this variable instead
3601 * configure: Regenerated.
3602 * config.make.in (with-fp): Use @libc_cv_with_fp@.
3603 * manual/install.texi (Configuring and compiling): Remove
3605 * INSTALL: Regenerated.
3606 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
3607 * sysdeps/mips/preconfigure (with_fp_cond): Define.
3608 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
3609 * sysdeps/sh/preconfigure (with_fp_cond): Define.
3610 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
3611 use --without-fp to configure glibc.
3613 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
3615 * manual/locale.texi (nl_langinfo): Fix a typo.
3617 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
3620 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
3622 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
3624 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
3625 (CFLAGS-argp-parse.c): Likewise.
3626 (CFLAGS-argp-fmtstream.c): Likewise.
3627 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
3628 (CPPFLAGS-sha512-crypt.c): Likewise.
3629 (CPPFLAGS-md5-crypt.c): Likewise.
3630 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
3631 (CFLAGS-stack_chk_fail_local.c): Likewise.
3632 (CFLAGS-backtrace.c): Likewise.
3633 (CFLAGS-sprintf_chk.c): Likewise.
3634 (CFLAGS-snprintf_chk.c): Likewise.
3635 (CFLAGS-vsprintf_chk.c): Likewise.
3636 (CFLAGS-vsnprintf_chk.c): Likewise.
3637 (CFLAGS-asprintf_chk.c): Likewise.
3638 (CFLAGS-vasprintf_chk.c): Likewise.
3639 (CFLAGS-obprintf_chk.c): Likewise.
3640 (CFLAGS-dprintf_chk.c): Likewise.
3641 (CFLAGS-vdprintf_chk.c): Likewise.
3642 (CFLAGS-printf_chk.c): Likewise.
3643 (CFLAGS-fprintf_chk.c): Likewise.
3644 (CFLAGS-vprintf_chk.c): Likewise.
3645 (CFLAGS-vfprintf_chk.c): Likewise.
3646 (CFLAGS-gets_chk.c): Likewise.
3647 (CFLAGS-fgets_chk.c): Likewise.
3648 (CFLAGS-fgets_u_chk.c): Likewise.
3649 (CFLAGS-fread_chk.c): Likewise.
3650 (CFLAGS-fread_u_chk.c): Likewise.
3651 (CFLAGS-swprintf_chk.c): Likewise.
3652 (CFLAGS-vswprintf_chk.c): Likewise.
3653 (CFLAGS-wprintf_chk.c): Likewise.
3654 (CFLAGS-fwprintf_chk.c): Likewise.
3655 (CFLAGS-vwprintf_chk.c): Likewise.
3656 (CFLAGS-vfwprintf_chk.c): Likewise.
3657 (CFLAGS-fgetws_chk.c): Likewise.
3658 (CFLAGS-fgetws_u_chk.c): Likewise.
3659 (CFLAGS-read_chk.c): Likewise.
3660 (CFLAGS-pread_chk.c): Likewise.
3661 (CFLAGS-pread64_chk.c): Likewise.
3662 (CFLAGS-recv_chk.c): Likewise.
3663 (CFLAGS-recvfrom_chk.c): Likewise.
3664 (CFLAGS-tst-longjmp_chk.c): Likewise.
3665 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
3666 (CFLAGS-tst-longjmp_chk2.c): Likewise.
3667 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
3668 (CFLAGS-tst-longjmp_chk3.c): Likewise.
3669 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3670 (CFLAGS-tst-chk1.c): Likewise.
3671 (CFLAGS-tst-chk2.c): Likewise.
3672 (CFLAGS-tst-chk3.c): Likewise.
3673 (CFLAGS-tst-chk4.cc): Likewise.
3674 (CFLAGS-tst-chk5.cc): Likewise.
3675 (CFLAGS-tst-chk6.cc): Likewise.
3676 (CFLAGS-tst-lfschk1.c): Likewise.
3677 (CFLAGS-tst-lfschk2.c): Likewise.
3678 (CFLAGS-tst-lfschk3.c): Likewise.
3679 (CFLAGS-tst-lfschk4.cc): Likewise.
3680 (CFLAGS-tst-lfschk5.cc): Likewise.
3681 (CFLAGS-tst-lfschk6.cc): Likewise.
3682 (CFLAGS-tst-ssp-1.c): Likewise.
3683 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
3684 (CFLAGS-scandir64.c): Likewise.
3685 (CFLAGS-scandir-tail.c): Likewise.
3686 (CFLAGS-scandir64-tail.c): Likewise.
3687 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
3688 (CFLAGS-dl-tunables.c): Likewise.
3689 (CFLAGS-dl-runtime.c): Likewise.
3690 (CFLAGS-dl-lookup.c): Likewise.
3691 (CFLAGS-dl-iterate-phdr.c): Likewise.
3692 (CFLAGS-vismain.c): Likewise.
3693 (CFLAGS-tst-linkall-static.c): Likewise.
3694 (CFLAGS-tst-linkall-static.c): Likewise.
3695 (CPPFLAGS-dl-load.c): Likewise.
3696 (CFLAGS-ldconfig.c): Likewise.
3697 (CFLAGS-dl-cache.c): Likewise.
3698 (CFLAGS-cache.c): Likewise.
3699 (CFLAGS-rtld.c): Likewise.
3700 (CFLAGS-multiload.c): Likewise.
3701 (CFLAGS-filtmod1.c): Likewise.
3702 (CFLAGS-tst-align.c): Likewise.
3703 (CFLAGS-tst-align2.c): Likewise.
3704 (CFLAGS-tst-alignmod.c): Likewise.
3705 (CFLAGS-tst-alignmod2.c): Likewise.
3706 (CPPFLAGS-tst-execstack.c): Likewise.
3707 (CFLAGS-tst-ptrguard1-static.c): Likewise.
3708 (CFLAGS-tst-latepthreadmod.c): Likewise.
3709 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
3710 (CFLAGS-getgrnam_r.c): Likewise.
3711 (CFLAGS-getgrent_r.c): Likewise.
3712 (CFLAGS-getgrent.c): Likewise.
3713 (CFLAGS-fgetgrent.c): Likewise.
3714 (CFLAGS-fgetgrent_r.c): Likewise.
3715 (CFLAGS-putgrent.c): Likewise.
3716 (CFLAGS-initgroups.c): Likewise.
3717 (CFLAGS-getgrgid.c): Likewise.
3718 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
3719 (CFLAGS-getsgent.c): Likewise.
3720 (CFLAGS-fgetsgent.c): Likewise.
3721 (CFLAGS-fgetsgent_r.c): Likewise.
3722 (CFLAGS-putsgent.c): Likewise.
3723 (CFLAGS-getsgnam.c): Likewise.
3724 (CFLAGS-getsgnam_r.c): Likewise.
3725 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
3726 (CFLAGS-iconv_charmap.c): Likewise.
3727 (CFLAGS-dummy-repertoire.c): Likewise.
3728 (CFLAGS-charmap.c): Likewise.
3729 (CFLAGS-linereader.c): Likewise.
3730 (CFLAGS-simple-hash.c): Likewise.
3731 (CFLAGS-gconv_conf.c): Likewise.
3732 (CFLAGS-iconvconfig.c): Likewise.
3733 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3734 (CFLAGS-gethstbyad.c): Likewise.
3735 (CFLAGS-gethstbynm_r.c): Likewise.
3736 (CFLAGS-gethstbynm.c): Likewise.
3737 (CFLAGS-gethstbynm2_r.c): Likewise.
3738 (CFLAGS-gethstbynm2.c): Likewise.
3739 (CFLAGS-gethstent_r.c): Likewise.
3740 (CFLAGS-gethstent.c): Likewise.
3741 (CFLAGS-rcmd.c): Likewise.
3742 (CFLAGS-getnetbynm_r.c): Likewise.
3743 (CFLAGS-getnetbynm.c): Likewise.
3744 (CFLAGS-getnetbyad_r.c): Likewise.
3745 (CFLAGS-getnetbyad.c): Likewise.
3746 (CFLAGS-getnetent_r.c): Likewise.
3747 (CFLAGS-getnetent.c): Likewise.
3748 (CFLAGS-getaliasent_r.c): Likewise.
3749 (CFLAGS-getaliasent.c): Likewise.
3750 (CFLAGS-getrpcent_r.c): Likewise.
3751 (CFLAGS-getrpcent.c): Likewise.
3752 (CFLAGS-getservent_r.c): Likewise.
3753 (CFLAGS-getservent.c): Likewise.
3754 (CFLAGS-getprtent_r.c): Likewise.
3755 (CFLAGS-getprtent.c): Likewise.
3756 (CFLAGS-either_ntoh.c): Likewise.
3757 (CFLAGS-either_hton.c): Likewise.
3758 (CFLAGS-getnetgrent.c): Likewise.
3759 (CFLAGS-getnetgrent_r.c): Likewise.
3760 (CFLAGS-tst-checks-posix.c): Likewise.
3761 (CFLAGS-tst-sockaddr.c): Likewise.
3762 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
3763 (CFLAGS-tst-translit.c): Likewise.
3764 (CFLAGS-tst-gettext2.c): Likewise.
3765 (CFLAGS-tst-codeset.c): Likewise.
3766 (CFLAGS-tst-gettext3.c): Likewise.
3767 (CFLAGS-tst-gettext4.c): Likewise.
3768 (CFLAGS-tst-gettext5.c): Likewise.
3769 (CFLAGS-tst-gettext6.c): Likewise.
3770 * io/Makefile (CFLAGS-open.c): Likewise.
3771 (CFLAGS-open64.c): Likewise.
3772 (CFLAGS-creat.c): Likewise.
3773 (CFLAGS-creat64.c): Likewise.
3774 (CFLAGS-fcntl.c): Likewise.
3775 (CFLAGS-poll.c): Likewise.
3776 (CFLAGS-ppoll.c): Likewise.
3777 (CFLAGS-lockf.c): Likewise.
3778 (CFLAGS-statfs.c): Likewise.
3779 (CFLAGS-fstatfs.c): Likewise.
3780 (CFLAGS-statvfs.c): Likewise.
3781 (CFLAGS-fstatvfs.c): Likewise.
3782 (CFLAGS-fts.c): Likewise.
3783 (CFLAGS-fts64.c): Likewise.
3784 (CFLAGS-ftw.c): Likewise.
3785 (CFLAGS-ftw64.c): Likewise.
3786 (CFLAGS-lockf.c): Likewise.
3787 (CFLAGS-posix_fallocate.c): Likewise.
3788 (CFLAGS-posix_fallocate64.c): Likewise.
3789 (CFLAGS-fallocate.c): Likewise.
3790 (CFLAGS-fallocate64.c): Likewise.
3791 (CFLAGS-read.c): Likewise.
3792 (CFLAGS-write.c): Likewise.
3793 (CFLAGS-test-stat.c): Likewise.
3794 (CFLAGS-test-lfs.c): Likewise.
3795 * libio/Makefile (CFLAGS-fileops.c): Likewise.
3796 (CFLAGS-fputc.c): Likewise.
3797 (CFLAGS-fputwc.c): Likewise.
3798 (CFLAGS-freopen64.c): Likewise.
3799 (CFLAGS-freopen.c): Likewise.
3800 (CFLAGS-fseek.c): Likewise.
3801 (CFLAGS-fseeko64.c): Likewise.
3802 (CFLAGS-fseeko.c): Likewise.
3803 (CFLAGS-ftello64.c): Likewise.
3804 (CFLAGS-ftello.c): Likewise.
3805 (CFLAGS-fwide.c): Likewise.
3806 (CFLAGS-genops.c): Likewise.
3807 (CFLAGS-getc.c): Likewise.
3808 (CFLAGS-getchar.c): Likewise.
3809 (CFLAGS-getwc.c): Likewise.
3810 (CFLAGS-getwchar.c): Likewise.
3811 (CFLAGS-iofclose.c): Likewise.
3812 (CFLAGS-iofflush.c): Likewise.
3813 (CFLAGS-iofgetpos64.c): Likewise.
3814 (CFLAGS-iofgetpos.c): Likewise.
3815 (CFLAGS-iofgets.c): Likewise.
3816 (CFLAGS-iofgetws.c): Likewise.
3817 (CFLAGS-iofputs.c): Likewise.
3818 (CFLAGS-iofputws.c): Likewise.
3819 (CFLAGS-iofread.c): Likewise.
3820 (CFLAGS-iofsetpos64.c): Likewise.
3821 (CFLAGS-iofsetpos.c): Likewise.
3822 (CFLAGS-ioftell.c): Likewise.
3823 (CFLAGS-iofwrite.c): Likewise.
3824 (CFLAGS-iogetdelim.c): Likewise.
3825 (CFLAGS-iogetline.c): Likewise.
3826 (CFLAGS-iogets.c): Likewise.
3827 (CFLAGS-iogetwline.c): Likewise.
3828 (CFLAGS-ioputs.c): Likewise.
3829 (CFLAGS-ioseekoff.c): Likewise.
3830 (CFLAGS-ioseekpos.c): Likewise.
3831 (CFLAGS-iosetbuffer.c): Likewise.
3832 (CFLAGS-iosetvbuf.c): Likewise.
3833 (CFLAGS-ioungetc.c): Likewise.
3834 (CFLAGS-ioungetwc.c): Likewise.
3835 (CFLAGS-oldfileops.c): Likewise.
3836 (CFLAGS-oldiofclose.c): Likewise.
3837 (CFLAGS-oldiofgetpos64.c): Likewise.
3838 (CFLAGS-oldiofgetpos.c): Likewise.
3839 (CFLAGS-oldiofsetpos64.c): Likewise.
3840 (CFLAGS-oldiofsetpos.c): Likewise.
3841 (CFLAGS-peekc.c): Likewise.
3842 (CFLAGS-putc.c): Likewise.
3843 (CFLAGS-putchar.c): Likewise.
3844 (CFLAGS-putwc.c): Likewise.
3845 (CFLAGS-putwchar.c): Likewise.
3846 (CFLAGS-rewind.c): Likewise.
3847 (CFLAGS-wfileops.c): Likewise.
3848 (CFLAGS-wgenops.c): Likewise.
3849 (CFLAGS-oldiofopen.c): Likewise.
3850 (CFLAGS-iofopen.c): Likewise.
3851 (CFLAGS-iofopen64.c): Likewise.
3852 (CFLAGS-oldtmpfile.c): Likewise.
3853 (CFLAGS-tst_putwc.c): Likewise.
3854 * locale/Makefile (CFLAGS-md5.c): Likewise.
3855 (CFLAGS-charmap.c): Likewise.
3856 (CFLAGS-locfile.c): Likewise.
3857 (CFLAGS-charmap-dir.c): Likewise.
3858 * login/Makefile (CFLAGS-grantpt.c): Likewise.
3859 (CFLAGS-getpt.c): Likewise.
3860 (CFLAGS-pt_chown.c): Likewise.
3861 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
3862 (CFLAGS-obstack.c): Likewise.
3863 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
3864 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
3865 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
3866 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
3867 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
3868 (CFLAGS-test-tgmath.c): Likewise.
3869 (CFLAGS-test-tgmath2.c): Likewise.
3870 (CFLAGS-test-tgmath-ret.c): Likewise.
3871 (CFLAGS-test-powl.c): Likewise.
3872 (CFLAGS-test-snan.c): Likewise.
3873 (CFLAGS-test-signgam-finite.c): Likewise.
3874 (CFLAGS-test-signgam-finite-c99.c): Likewise.
3875 (CFLAGS-test-signgam-finite-c11.c): Likewise.
3876 (CFLAGS-test-signgam-uchar.c): Likewise.
3877 (CFLAGS-test-signgam-uchar-init.c): Likewise.
3878 (CFLAGS-test-signgam-uchar-static.c): Likewise.
3879 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3880 (CFLAGS-test-signgam-uint.c): Likewise.
3881 (CFLAGS-test-signgam-uint-init.c): Likewise.
3882 (CFLAGS-test-signgam-uint-static.c): Likewise.
3883 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3884 (CFLAGS-test-signgam-ullong.c): Likewise.
3885 (CFLAGS-test-signgam-ullong-init.c): Likewise.
3886 (CFLAGS-test-signgam-ullong-static.c): Likewise.
3887 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3888 (CFLAGS-test-math-cxx11.cc): Likewise.
3889 (CFLAGS-test-math-isinff.cc): Likewise.
3890 (CFLAGS-test-math-iszero.cc): Likewise.
3891 (CFLAGS-test-math-issignaling.cc): Likewise.
3892 (CFLAGS-test-math-iscanonical.cc): Likewise.
3893 (CFLAGS-test-iszero-excess-precision.c): Likewise.
3894 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
3895 (CFLAGS-test-flt-eval-method.c): Likewise.
3896 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
3897 (CFLAGS-test-finite-macros.c): Likewise.
3898 * misc/Makefile (CFLAGS-select.c): Likewise.
3899 (CFLAGS-tsearch.c): Likewise.
3900 (CFLAGS-lsearch.c): Likewise.
3901 (CFLAGS-pselect.c): Likewise.
3902 (CFLAGS-readv.c): Likewise.
3903 (CFLAGS-writev.c): Likewise.
3904 (CFLAGS-preadv.c): Likewise.
3905 (CFLAGS-preadv64.c): Likewise.
3906 (CFLAGS-pwritev.c): Likewise.
3907 (CFLAGS-pwritev64.c): Likewise.
3908 (CFLAGS-preadv2.c): Likewise.
3909 (CFLAGS-preadv64v2.c): Likewise.
3910 (CFLAGS-pwritev2.c): Likewise.
3911 (CFLAGS-pwritev64v2.c): Likewise.
3912 (CFLAGS-usleep.c): Likewise.
3913 (CFLAGS-syslog.c): Likewise.
3914 (CFLAGS-error.c): Likewise.
3915 (CFLAGS-getpass.c): Likewise.
3916 (CFLAGS-mkstemp.c): Likewise.
3917 (CFLAGS-mkstemp64.c): Likewise.
3918 (CFLAGS-getsysstats.c): Likewise.
3919 (CFLAGS-getusershell.c): Likewise.
3920 (CFLAGS-err.c): Likewise.
3921 (CFLAGS-tst-tsearch.c): Likewise.
3922 (CFLAGS-msync.c): Likewise.
3923 (CFLAGS-fdatasync.c): Likewise.
3924 (CFLAGS-fsync.c): Likewise.
3925 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
3926 (CFLAGS-unwind.c): Likewise.
3927 (CFLAGS-unwind-forcedunwind.c): Likewise.
3928 (CFLAGS-pthread_cancel.c): Likewise.
3929 (CFLAGS-pthread_setcancelstate.c): Likewise.
3930 (CFLAGS-pthread_setcanceltype.c): Likewise.
3931 (CFLAGS-cancellation.c): Likewise.
3932 (CFLAGS-libc-cancellation.c): Likewise.
3933 (CFLAGS-pthread_exit.c): Likewise.
3934 (CFLAGS-forward.c): Likewise.
3935 (CFLAGS-pthread_testcancel.c): Likewise.
3936 (CFLAGS-pthread_join.c): Likewise.
3937 (CFLAGS-pthread_timedjoin.c): Likewise.
3938 (CFLAGS-pthread_once.c): Likewise.
3939 (CFLAGS-pthread_cond_wait.c): Likewise.
3940 (CFLAGS-sem_wait.c): Likewise.
3941 (CFLAGS-sem_timedwait.c): Likewise.
3942 (CFLAGS-fcntl.c): Likewise.
3943 (CFLAGS-lockf.c): Likewise.
3944 (CFLAGS-pread.c): Likewise.
3945 (CFLAGS-pread64.c): Likewise.
3946 (CFLAGS-pwrite.c): Likewise.
3947 (CFLAGS-pwrite64.c): Likewise.
3948 (CFLAGS-wait.c): Likewise.
3949 (CFLAGS-waitpid.c): Likewise.
3950 (CFLAGS-sigwait.c): Likewise.
3951 (CFLAGS-msgrcv.c): Likewise.
3952 (CFLAGS-msgsnd.c): Likewise.
3953 (CFLAGS-tcdrain.c): Likewise.
3954 (CFLAGS-open.c): Likewise.
3955 (CFLAGS-open64.c): Likewise.
3956 (CFLAGS-pause.c): Likewise.
3957 (CFLAGS-recv.c): Likewise.
3958 (CFLAGS-send.c): Likewise.
3959 (CFLAGS-accept.c): Likewise.
3960 (CFLAGS-sendto.c): Likewise.
3961 (CFLAGS-connect.c): Likewise.
3962 (CFLAGS-recvfrom.c): Likewise.
3963 (CFLAGS-recvmsg.c): Likewise.
3964 (CFLAGS-sendmsg.c): Likewise.
3965 (CFLAGS-close.c): Likewise.
3966 (CFLAGS-read.c): Likewise.
3967 (CFLAGS-write.c): Likewise.
3968 (CFLAGS-nanosleep.c): Likewise.
3969 (CFLAGS-sigsuspend.c): Likewise.
3970 (CFLAGS-msync.c): Likewise.
3971 (CFLAGS-fdatasync.c): Likewise.
3972 (CFLAGS-fsync.c): Likewise.
3973 (CFLAGS-pt-system.c): Likewise.
3974 (CFLAGS-tst-cleanup2.c): Likewise.
3975 (CFLAGS-tst-cleanupx2.c): Likewise.
3976 (CFLAGS-flockfile.c): Likewise.
3977 (CFLAGS-ftrylockfile.c): Likewise.
3978 (CFLAGS-funlockfile.c): Likewise.
3979 (CFLAGS-tst-initializers1.c): Likewise.
3980 (CFLAGS-tst-initializers1-c89.c): Likewise.
3981 (CFLAGS-tst-initializers1-c99.c): Likewise.
3982 (CFLAGS-tst-initializers1-c11.c): Likewise.
3983 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
3984 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
3985 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3986 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
3987 (CFLAGS-nscd_getgr_r.c): Likewise.
3988 (CFLAGS-nscd_gethst_r.c): Likewise.
3989 (CFLAGS-nscd_getai.c): Likewise.
3990 (CFLAGS-nscd_initgroups.c): Likewise.
3991 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
3992 (CFLAGS-pause.c): Likewise.
3993 (CFLAGS-pread.c): Likewise.
3994 (CFLAGS-pread64.c): Likewise.
3995 (CFLAGS-pwrite.c): Likewise.
3996 (CFLAGS-pwrite64.c): Likewise.
3997 (CFLAGS-sleep.c): Likewise.
3998 (CFLAGS-wait.c): Likewise.
3999 (CFLAGS-waitid.c): Likewise.
4000 (CFLAGS-waitpid.c): Likewise.
4001 (CFLAGS-getopt.c): Likewise.
4002 (CFLAGS-wordexp.c): Likewise.
4003 (CFLAGS-sysconf.c): Likewise.
4004 (CFLAGS-pathconf.c): Likewise.
4005 (CFLAGS-fpathconf.c): Likewise.
4006 (CFLAGS-spawn.c): Likewise.
4007 (CFLAGS-spawnp.c): Likewise.
4008 (CFLAGS-spawni.c): Likewise.
4009 (CFLAGS-glob.c): Likewise.
4010 (CFLAGS-glob64.c): Likewise.
4011 (CFLAGS-getconf.c): Likewise.
4012 (CFLAGS-nanosleep.c): Likewise.
4013 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
4014 (CFLAGS-getpwent.c): Likewise.
4015 (CFLAGS-getpw.c): Likewise.
4016 (CFLAGS-fgetpwent_r.c): Likewise.
4017 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
4018 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
4019 (CFLAGS-mq_timedreceive.c): Likewise.
4020 (CFLAGS-mq_timedsend.c): Likewise.
4021 (CFLAGS-clock_nanosleep.c): Likewise.
4022 (CFLAGS-librt-cancellation.c): Likewise.
4023 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
4024 (CFLAGS-getspent.c): Likewise.
4025 (CFLAGS-fgetspent.c): Likewise.
4026 (CFLAGS-fgetspent_r.c): Likewise.
4027 (CFLAGS-putspent.c): Likewise.
4028 (CFLAGS-getspnam.c): Likewise.
4029 (CFLAGS-getspnam_r.c): Likewise.
4030 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
4031 (CFLAGS-sigsuspend.c): Likewise.
4032 (CFLAGS-sigtimedwait.c): Likewise.
4033 (CFLAGS-sigwait.c): Likewise.
4034 (CFLAGS-sigwaitinfo.c): Likewise.
4035 (CFLAGS-sigreturn.c): Likewise.
4036 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4037 (CFLAGS-vfwprintf.c): Likewise.
4038 (CFLAGS-tmpfile.c): Likewise.
4039 (CFLAGS-tmpfile64.c): Likewise.
4040 (CFLAGS-tempname.c): Likewise.
4041 (CFLAGS-psignal.c): Likewise.
4042 (CFLAGS-vprintf.c): Likewise.
4043 (CFLAGS-cuserid.c): Likewise.
4044 (CFLAGS-errlist.c): Likewise.
4045 (CFLAGS-siglist.c): Likewise.
4046 (CFLAGS-scanf15.c): Likewise.
4047 (CFLAGS-scanf17.c): Likewise.
4048 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
4049 (CFLAGS-msort.c): Likewise.
4050 (CFLAGS-qsort.c): Likewise.
4051 (CFLAGS-system.c): Likewise.
4052 (CFLAGS-fmtmsg.c): Likewise.
4053 (CFLAGS-strfmon.c): Likewise.
4054 (CFLAGS-strfmon_l.c): Likewise.
4055 (CFLAGS-strfromd.c): Likewise.
4056 (CFLAGS-strfromf.c): Likewise.
4057 (CFLAGS-strfroml.c): Likewise.
4058 (CFLAGS-tst-bsearch.c): Likewise.
4059 (CFLAGS-tst-qsort.c): Likewise.
4060 (CFLAGS-tst-makecontext2.c): Likewise.
4061 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
4062 (CFLAGS-xnlm_prot.c): Likewise.
4063 (CFLAGS-xrstat.c): Likewise.
4064 (CFLAGS-xyppasswd.c): Likewise.
4065 (CFLAGS-xklm_prot.c): Likewise.
4066 (CFLAGS-xrex.c): Likewise.
4067 (CFLAGS-xsm_inter.c): Likewise.
4068 (CFLAGS-xmount.c): Likewise.
4069 (CFLAGS-xrusers.c): Likewise.
4070 (CFLAGS-xspray.c): Likewise.
4071 (CFLAGS-xnfs_prot.c): Likewise.
4072 (CFLAGS-xrquota.c): Likewise.
4073 (CFLAGS-xkey_prot.c): Likewise.
4074 (CFLAGS-auth_unix.c): Likewise.
4075 (CFLAGS-key_call.c): Likewise.
4076 (CFLAGS-pmap_rmt.c): Likewise.
4077 (CFLAGS-clnt_perr.c): Likewise.
4078 (CFLAGS-openchild.c): Likewise.
4079 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
4080 (CFLAGS-msgsnd.c): Likewise.
4081 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
4082 * time/Makefile (CFLAGS-tzfile.c): Likewise.
4083 (CFLAGS-tzset.c): Likewise.
4084 (CFLAGS-getdate.c): Likewise.
4085 (CFLAGS-test_time.c): Likewise.
4086 (CPPFLAGS-tst-tzname.c): Likewise.
4087 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
4088 (CFLAGS-zic.c): Likewise.
4089 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
4090 (CFLAGS-wcswidth.c): Likewise.
4091 (CFLAGS-wcstol.c): Likewise.
4092 (CFLAGS-wcstoul.c): Likewise.
4093 (CFLAGS-wcstoll.c): Likewise.
4094 (CFLAGS-wcstoull.c): Likewise.
4095 (CFLAGS-wcstod.c): Likewise.
4096 (CFLAGS-wcstold.c): Likewise.
4097 (CFLAGS-wcstof128.c): Likewise.
4098 (CFLAGS-wcstof.c): Likewise.
4099 (CFLAGS-wcstol_l.c): Likewise.
4100 (CFLAGS-wcstoul_l.c): Likewise.
4101 (CFLAGS-wcstoll_l.c): Likewise.
4102 (CFLAGS-wcstoull_l.c): Likewise.
4103 (CFLAGS-wcstod_l.c): Likewise.
4104 (CFLAGS-wcstold_l.c): Likewise.
4105 (CFLAGS-wcstof128_l.c): Likewise.
4106 (CFLAGS-wcstof_l.c): Likewise.
4107 (CPPFLAGS-tst-wchar-h.c): Likewise.
4108 (CPPFLAGS-wcstold_l.c): Likewise.
4110 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
4112 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
4114 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4115 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4117 * manual/tunables.texi (Hardware Capability Tunables): Document
4118 glibc.tune.cached_memopt.
4119 * sysdeps/powerpc/cpu-features.c: New file.
4120 * sysdeps/powerpc/cpu-features.h: New file.
4121 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
4122 _dl_powerpc_cpu_features.
4123 * sysdeps/powerpc/dl-tunables.list: New file.
4124 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
4125 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4126 (INIT_ARCH): Initialize use_aligned_memopt.
4127 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
4128 IS_IN(rtld))]: Restrict dl_platform_init availability and
4129 initialize CPU features used by tunables.
4130 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
4131 Add memcpy-power8-cached.
4132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
4133 __memcpy_power8_cached.
4134 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
4138 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
4140 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
4141 (CFLAGS-noinl-tester.c): Likewise.
4142 (CFLAGS-tst-strlen.c): Likewise.
4143 (CFLAGS-stratcliff.c): Likewise.
4144 (CFLAGS-test-ffs.c): Likewise.
4145 (CFLAGS-tst-inlcall.c): Likewise.
4146 (CFLAGS-tst-xbzero-opt.c): Likewise.
4147 (CFLAGS-memcpy.c): Likewise.
4148 (CFLAGS-wordcopy.c): Likewise.
4150 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4152 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4153 Store r15 on stack and add cfi rule.
4154 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4157 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
4160 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
4163 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
4165 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4166 Add s_sinf-sse2 and s_sinf-fma.
4167 (CFLAGS-s_sinf-fma.c): New.
4168 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
4169 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
4170 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
4172 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
4174 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
4176 2017-12-07 Joseph Myers <joseph@codesourcery.com>
4179 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
4180 part of result to imaginary part of argument if it is zero and the
4181 real part of the argument is not finite.
4182 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
4183 of result to real part of argument if it is zero and the imaginary
4184 part of the argument is not finite.
4186 2017-12-07 Mike FABIAN <mfabian@redhat.com>
4189 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
4190 and to the list of locales to be built for testing.
4191 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
4192 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
4193 and build the collation rules upon that.
4195 2017-12-07 Joseph Myers <joseph@codesourcery.com>
4197 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
4198 * manual/math.texi (Mathematics): Document support for _Float32.
4199 * math/Makefile (test-types): Add float32.
4200 * math/Versions (GLIBC_2.27): Add _Float32 functions.
4201 * stdlib/Versions (GLIBC_2.27): Likewise.
4202 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4203 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4204 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4205 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4206 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4207 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4208 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4209 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4210 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4211 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4212 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4213 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4214 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4215 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4216 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4217 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4218 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4219 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4220 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4221 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4222 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4223 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4225 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4226 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4227 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4228 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4229 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4247 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4248 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4249 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4250 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4251 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4252 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4253 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4254 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4255 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4256 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4265 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4266 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4268 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4269 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4271 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4272 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4274 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4276 * stdlib/strtof.c: Include <bits/floatn.h>
4277 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
4278 and later undefine as macro. Define as weak alias if
4280 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
4281 and later undefine as macro. Define as weak alias if
4283 * stdlib/strtof_l.c: Include <bits/floatn.h>
4284 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
4285 and later undefine as macro. Define as weak alias if
4287 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
4288 and later undefine as macro. Define as weak alias if
4291 * stdlib/strfromf.c: Include <bits/floatn.h>.
4292 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
4293 and later undefine as macro and define as weak alias.
4295 * math/test-float32.h: New file.
4297 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
4298 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
4299 (libm_alias_float_other_r): Create f32 alias.
4300 (libm_alias_float_r): Use semicolon before call to
4301 libm_alias_float_other_r.
4303 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
4304 second argument to libm_alias_float_other.
4305 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
4306 second argument to libm_alias_float_other.
4307 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
4308 argument to libm_alias_float_other.
4311 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
4312 real part of result for argument 0 + i * NaN.
4313 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
4314 results for tests of 0 + i * NaN.
4316 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4318 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4320 2017-12-06 David S. Miller <davem@davemloft.net>
4322 * sysdeps/sparc/fpu/libm-test-ulps: Update
4323 exp_{downward,towardzero,upward} ulps.
4325 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4327 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
4330 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
4332 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
4339 2017-12-06 Mike FABIAN <mfabian@redhat.com>
4342 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
4343 and to the list of locales to be built for testing.
4344 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
4345 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
4346 and build the collation rules upon that.
4348 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4350 * NEWS: Add sinf to list of optimized functions.
4352 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4354 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
4355 (__HAVE_FLOAT32X): Likewise.
4356 * manual/math.texi (Mathematics): Document support for _Float64
4358 * math/Makefile (test-types): Add float64 and float32x.
4359 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
4361 * stdlib/Versions (GLIBC_2.27): Likewise.
4362 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4363 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4364 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4369 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4370 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4371 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4372 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4373 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4374 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4375 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4376 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4377 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4378 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4379 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4380 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4385 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4387 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4388 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4389 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4406 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4408 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4409 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4410 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4411 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4413 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4414 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4415 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4424 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4425 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4426 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4427 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4428 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4429 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4430 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4431 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4433 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4435 * bits/floatn-common.h: Include <bits/long-double.h>.
4436 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4437 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
4438 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4439 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
4440 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4441 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
4442 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4443 (__builtin_huge_valf64): Use __builtin_huge_vall.
4444 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4445 (__builtin_inff64): Use __builtin_infl.
4446 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4447 (__builtin_nanf64): Use __builtin_nanl.
4448 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4449 (__builtin_nansf64): Use __builtin_nansl.
4451 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
4452 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4453 Carlos O'Donnell <carlos@redhat.com>
4455 * elf/dl-tunables.list: Add elision parameters.
4456 * manual/tunables.texi: Add entries about elision tunable.
4457 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
4458 Add callback functions to dynamically enable/disable elision.
4459 Add multiple callbacks functions to set elision parameters.
4460 Deleted __libc_enable_secure check.
4461 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
4462 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
4463 * configure: Regenerated.
4464 * configure.ac: Option enable_lock_elision was deleted.
4465 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
4466 * config.make.in: Remove references to enable_lock_elision.
4467 * manual/install.texi: Elision configure option was removed.
4468 * INSTALL: Regenerated to remove enable_lock_elision.
4470 Disable elision so it can verify error case for destroying a mutex.
4471 * sysdeps/powerpc/nptl/elide.h:
4472 Cleanup ENABLE_LOCK_ELISION check.
4473 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
4474 * sysdeps/s390/configure: Regenerated.
4475 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
4476 * nptl/tst-mutex8.c:
4477 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
4478 * sysdeps/powerpc/powerpc32/sysdep.h:
4479 Deleted all ENABLE_LOCK_ELISION checks.
4480 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4481 * sysdeps/powerpc/sysdep.h: Likewise.
4482 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4483 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
4484 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4485 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4486 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4487 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
4488 enable-lock-elision.
4490 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4492 * stdlib/strtod.c: Include <bits/floatn.h>.
4493 (BUILD_DOUBLE): New macro.
4494 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4495 (strtof64): Define and later undefine as macro. Define as weak
4496 alias if [!USE_WIDE_CHAR].
4497 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4498 (wcstof64): Define and later undefine as macro. Define as weak
4499 alias if [USE_WIDE_CHAR].
4500 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4501 (strtof32x): Define and later undefine as macro. Define as weak
4502 alias if [!USE_WIDE_CHAR].
4503 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4504 (wcstof32x): Define and later undefine as macro. Define as weak
4505 alias if [USE_WIDE_CHAR].
4506 * stdlib/strtod_l.c: Include <bits/floatn.h>.
4507 (BUILD_DOUBLE): New macro.
4508 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4509 (strtof64_l): Define and later undefine as macro. Define as weak
4510 alias if [!USE_WIDE_CHAR].
4511 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4512 (wcstof64_l): Define and later undefine as macro. Define as weak
4513 alias if [USE_WIDE_CHAR].
4514 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4515 (strtof32x_l): Define and later undefine as macro. Define as weak
4516 alias if [!USE_WIDE_CHAR].
4517 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4518 (wcstof32x_l): Define and later undefine as macro. Define as weak
4519 alias if [USE_WIDE_CHAR].
4521 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4523 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
4524 (reduced): Use ones as double instead of integer.
4526 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
4528 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
4530 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4532 * stdlib/strfromd.c: Include <bits/floatn.h>.
4533 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
4534 and later undefine as macro and define as weak alias.
4535 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
4538 * math/test-float32x.h: New file.
4539 * math/test-float64.h: Likewise.
4541 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
4542 (libm_alias_double_other_r_f64): New macro.
4543 (libm_alias_double_other_r_f32x): Likewise.
4544 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
4545 libm_alias_double_other_r_f32x.
4546 (libm_alias_double_r): Use semicolon before call to
4547 libm_alias_double_other_r.
4548 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
4550 (libm_alias_double_other_r_f64): New macro.
4551 (libm_alias_double_other_r_f32x): Likewise.
4552 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
4553 libm_alias_double_other_r_f32x.
4555 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
4557 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
4559 (SINF_FUNC): Likewise. Replace floor with simple casts.
4561 2017-12-05 Mike FABIAN <mfabian@redhat.com>
4564 * localedata/Makefile: Add et_EE.UTF-8 to test-input
4565 and to the list of locales to be built for testing.
4566 * localedata/et_EE.UTF-8.in: New file for testing the collation.
4567 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
4568 and build the collation rules upon that.
4570 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
4572 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
4573 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
4574 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
4575 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
4576 instead of __insn__xxx.
4577 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
4578 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
4579 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
4580 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
4581 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
4582 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
4584 2017-12-05 Florian Weimer <fweimer@redhat.com>
4586 Linux: Implement interfaces for memory protection keys
4587 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
4589 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
4590 * support/xunistd.h (xsysconf): Declare.
4591 * support/xraise.c: New file.
4592 * support/xsigaction.c: Likewise.
4593 * support/xsignal.c: Likewise.
4594 * support/xsysconf.c: Likewise.
4595 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
4596 pkey_set, pkey_get, pkey_mprotect.
4597 [misc] (tests): Add tst-pkey.
4598 (tst-pkey): Link with -lpthread.
4599 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
4600 pkey_free, pkey_set, pkey_get, pkey_mprotect.
4601 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
4602 (PKEY_DISABLE_WRITE): Define.
4603 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
4605 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
4607 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
4608 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
4609 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
4610 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
4612 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
4613 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
4614 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
4615 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
4616 * sysdeps/unix/sysv/linux/**.abilist: Update.
4618 2017-12-05 Florian Weimer <fweimer@redhat.com>
4620 * support/tst-test_compare.c (subprocess): Use long long instead
4621 of long argument for consistent type width across 32-bit and
4622 64-bit architectures.
4623 (do_test): Adjust expected output.
4625 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4627 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
4628 (cosf): Define using libm_alias_float.
4629 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
4630 (fabsf): Define using libm_alias_float.
4631 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
4632 (fmaf): Define using libm_alias_float.
4633 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
4634 (rintf): Define using libm_alias_float.
4635 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
4636 (sinf): Define using libm_alias_float.
4637 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
4638 <libm-alias-float.h>.
4639 (modff): Define using libm_alias_float.
4640 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
4641 <libm-alias-float.h>.
4642 (logbf): Define using libm_alias_float.
4643 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
4644 <libm-alias-float.h>.
4645 (ceilf): Define using libm_alias_float.
4646 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
4647 <libm-alias-float.h>.
4648 (copysignf): Define using libm_alias_float.
4649 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
4650 <libm-alias-float.h>.
4651 (floorf): Define using libm_alias_float.
4652 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4653 <libm-alias-float.h>.
4654 (llrintf): Define using libm_alias_float.
4655 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4656 <libm-alias-float.h>.
4657 (llroundf): Define using libm_alias_float.
4658 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
4659 <libm-alias-float.h>.
4660 (lrintf): Define using libm_alias_float.
4661 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
4662 <libm-alias-float.h>.
4663 (lroundf): Define using libm_alias_float.
4664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
4665 <libm-alias-float.h>.
4666 (nearbyintf): Define using libm_alias_float.
4667 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
4668 <libm-alias-float.h>.
4669 (rintf): Define using libm_alias_float.
4670 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
4671 <libm-alias-float.h>.
4672 (roundf): Define using libm_alias_float.
4673 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
4674 <libm-alias-float.h>.
4675 (truncf): Define using libm_alias_float.
4676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
4677 Include <libm-alias-float.h>.
4678 (ceilf): Define using libm_alias_float.
4679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4680 Include <libm-alias-float.h>.
4681 (copysignf): Define using libm_alias_float.
4682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
4683 Include <libm-alias-float.h>.
4684 (floorf): Define using libm_alias_float.
4685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
4686 Include <libm-alias-float.h>.
4687 (llrintf): Define using libm_alias_float.
4688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
4689 Include <libm-alias-float.h>.
4690 (llroundf): Define using libm_alias_float.
4691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
4692 Include <libm-alias-float.h>.
4693 (logbf): Define using libm_alias_float.
4694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
4695 Include <libm-alias-float.h>.
4696 (lrintf): Define using libm_alias_float.
4697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
4698 Include <libm-alias-float.h>.
4699 (lroundf): Define using libm_alias_float.
4700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
4701 Include <libm-alias-float.h>.
4702 (modff): Define using libm_alias_float.
4703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
4704 Include <libm-alias-float.h>.
4705 (roundf): Define using libm_alias_float.
4706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
4707 Include <libm-alias-float.h>.
4708 (truncf): Define using libm_alias_float.
4709 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
4710 <libm-alias-float.h>.
4711 (llrintf): Define using libm_alias_float.
4712 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
4713 <libm-alias-float.h>.
4714 (llroundf): Define using libm_alias_float.
4715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
4716 <libm-alias-float.h>.
4717 (ceilf): Define using libm_alias_float.
4718 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
4719 <libm-alias-float.h>.
4720 (floorf): Define using libm_alias_float.
4721 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
4722 <libm-alias-float.h>.
4723 (llroundf): Define using libm_alias_float.
4724 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
4725 <libm-alias-float.h>.
4726 (lroundf): Define using libm_alias_float.
4727 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
4728 <libm-alias-float.h>.
4729 (roundf): Define using libm_alias_float.
4730 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
4731 <libm-alias-float.h>.
4732 (truncf): Define using libm_alias_float.
4733 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
4734 <libm-alias-float.h>.
4735 (copysignf): Define using libm_alias_float.
4736 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
4737 <libm-alias-float.h>.
4738 (llrintf): Define using libm_alias_float.
4739 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
4740 <libm-alias-float.h>.
4741 (llroundf): Define using libm_alias_float.
4742 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
4743 <libm-alias-float.h>.
4744 (lrintf): Define using libm_alias_float.
4745 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
4746 <libm-alias-float.h>.
4747 (lroundf): Define using libm_alias_float.
4748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
4749 <libm-alias-float.h>.
4750 (ceilf): Define using libm_alias_float.
4751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
4752 <libm-alias-float.h>.
4753 (copysignf): Define using libm_alias_float.
4754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
4755 <libm-alias-float.h>.
4756 (cosf): Define using libm_alias_float.
4757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
4758 <libm-alias-float.h>.
4759 (floorf): Define using libm_alias_float.
4760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
4761 <libm-alias-float.h>.
4762 (llrintf): Define using libm_alias_float.
4763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
4764 <libm-alias-float.h>.
4765 (llroundf): Define using libm_alias_float.
4766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
4767 <libm-alias-float.h>.
4768 (logbf): Define using libm_alias_float.
4769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
4770 <libm-alias-float.h>.
4771 (modff): Define using libm_alias_float.
4772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
4773 <libm-alias-float.h>.
4774 (roundf): Define using libm_alias_float.
4775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
4776 <libm-alias-float.h>.
4777 (sinf): Define using libm_alias_float.
4778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
4779 <libm-alias-float.h>.
4780 (truncf): Define using libm_alias_float.
4781 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
4782 <libm-alias-float.h>.
4783 (ceilf): Define using libm_alias_float.
4784 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
4785 <libm-alias-float.h>.
4786 (copysignf): Define using libm_alias_float.
4787 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
4788 <libm-alias-float.h>.
4789 (floorf): Define using libm_alias_float.
4790 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
4791 <libm-alias-float.h>.
4792 (llrintf): Define using libm_alias_float.
4793 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
4794 <libm-alias-float.h>.
4795 (llroundf): Define using libm_alias_float.
4796 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
4797 <libm-alias-float.h>.
4798 (nearbyintf): Define using libm_alias_float.
4799 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
4800 <libm-alias-float.h>.
4801 (rintf): Define using libm_alias_float.
4802 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
4803 <libm-alias-float.h>.
4804 (roundf): Define using libm_alias_float.
4805 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
4806 <libm-alias-float.h>.
4807 (truncf): Define using libm_alias_float.
4808 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
4809 <libm-alias-float.h>.
4810 (ceilf): Define using libm_alias_float.
4811 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
4812 <libm-alias-float.h>.
4813 (floorf): Define using libm_alias_float.
4814 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
4815 <libm-alias-float.h>.
4816 (llroundf): Define using libm_alias_float.
4817 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
4818 <libm-alias-float.h>.
4819 (roundf): Define using libm_alias_float.
4820 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
4821 <libm-alias-float.h>.
4822 (truncf): Define using libm_alias_float.
4823 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
4824 <libm-alias-float.h>.
4825 (copysignf): Define using libm_alias_float.
4826 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
4827 <libm-alias-float.h>.
4828 (llrintf): Define using libm_alias_float.
4829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
4830 <libm-alias-float.h>.
4831 (llroundf): Define using libm_alias_float.
4832 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
4833 <libm-alias-float.h>.
4834 (cosf): Define using libm_alias_float.
4835 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
4836 <libm-alias-float.h>.
4837 (llrintf): Define using libm_alias_float.
4838 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
4839 <libm-alias-float.h>.
4840 (llroundf): Define using libm_alias_float.
4841 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
4842 <libm-alias-float.h>.
4843 (sinf): Define using libm_alias_float.
4845 2017-12-04 Florian Weimer <fweimer@redhat.com>
4847 * support/check.h (TEST_COMPARE): Define.
4848 (support_test_compare_failure): Declare.
4849 * support/Makefile (libsupport-routines): Add
4850 support_test_compare_failure.
4851 (tests): Add tst-test_compare.
4852 * support /support_test_compare_failure.c: New file.
4853 * support/tst-test_compare.c: Likewise.
4855 2017-12-04 Mike FABIAN <mfabian@redhat.com>
4858 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
4859 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
4860 available, this rewrite of the collation rules does reproduce
4861 the test file in the same order.
4863 2017-12-04 Mike FABIAN <mfabian@redhat.com>
4866 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
4867 digraphs in the month and day names. Using single code points for
4868 digraphs is deprecated. While there are dedicated Unicode
4869 codepoints, for the digraphs, these are included for backwards
4870 compatibility and modern texts use a sequence of Basic Latin
4871 characters. See: https://www.unicode.org/faq/ligature_digraph.html
4872 This makes the month and day names agree exactly with CLDR now,
4873 CLDR does not use the single code points for the digraphs either.
4875 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
4877 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
4879 2017-12-04 Joseph Myers <joseph@codesourcery.com>
4881 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
4884 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
4886 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
4887 Define only for libc.so.
4889 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
4891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4892 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
4893 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
4894 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
4895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4897 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4900 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
4902 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
4905 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
4906 PREINIT_FUNCTION_WEAK is nonzero.
4907 (gmon_initializer): New function. Put procedure label for it in
4908 .init_array section.
4909 (_init): Don't call PREINIT_FUNCTION.
4910 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
4911 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
4912 value when map argument is null.
4914 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
4915 depi instruction from PIC pc-relative sequence.
4916 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
4917 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
4918 (elf_machine_load_address): Likewise.
4919 (elf_machine_runtime_setup): Likewise.
4921 2017-12-02 Joseph Myers <joseph@codesourcery.com>
4923 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
4924 <libm-alias-double.h>.
4925 (logb): Define using libm_alias_double.
4926 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
4927 <libm-alias-double.h>.
4928 (copysign): Define using libm_alias_double.
4929 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
4930 <libm-alias-double.h>.
4931 (llrint): Define using libm_alias_double.
4932 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
4933 <libm-alias-double.h>.
4934 (llround): Define using libm_alias_double.
4935 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
4936 <libm-alias-double.h>.
4937 (lrint): Define using libm_alias_double.
4938 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
4939 <libm-alias-double.h>.
4940 (lround): Define using libm_alias_double.
4941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4942 Include <libm-alias-double.h>.
4943 (copysign): Define using libm_alias_double.
4944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
4945 Include <libm-alias-double.h>.
4946 (llrint): Define using libm_alias_double.
4947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
4948 Include <libm-alias-double.h>.
4949 (llround): Define using libm_alias_double.
4950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
4951 <libm-alias-double.h>.
4952 (logb): Define using libm_alias_double.
4953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
4954 Include <libm-alias-double.h>.
4955 (lrint): Define using libm_alias_double.
4956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
4957 Include <libm-alias-double.h>.
4958 (lround): Define using libm_alias_double.
4959 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
4960 <libm-alias-double.h>.
4961 (llrint): Define using libm_alias_double.
4962 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
4963 <libm-alias-double.h>.
4964 (llround): Define using libm_alias_double.
4965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
4966 <libm-alias-double.h>.
4967 (llround): Define using libm_alias_double.
4968 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
4969 <libm-alias-double.h>.
4970 (lround): Define using libm_alias_double.
4971 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
4972 <libm-alias-double.h>.
4973 (copysign): Define using libm_alias_double.
4974 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
4975 <libm-alias-double.h>.
4976 (llrint): Define using libm_alias_double.
4977 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
4978 <libm-alias-double.h>.
4979 (llround): Define using libm_alias_double.
4980 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
4981 <libm-alias-double.h>.
4982 (lrint): Define using libm_alias_double.
4983 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
4984 <libm-alias-double.h>.
4985 (lround): Define using libm_alias_double.
4986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
4987 <libm-alias-double.h>.
4988 (copysign): Define using libm_alias_double.
4989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
4990 <libm-alias-double.h>.
4991 (llrint): Define using libm_alias_double.
4993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
4994 <libm-alias-double.h>.
4995 (llround): Define using libm_alias_double.
4997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
4998 <libm-alias-double.h>.
4999 (logb): Define using libm_alias_double.
5000 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
5001 <libm-alias-double.h>.
5002 (copysign): Define using libm_alias_double.
5003 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
5004 <libm-alias-double.h>.
5005 (llrint): Define using libm_alias_double.
5007 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
5008 <libm-alias-double.h>.
5009 (llround): Define using libm_alias_double.
5011 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
5012 <libm-alias-double.h>.
5013 (llround): Define using libm_alias_double.
5015 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
5016 <libm-alias-double.h>.
5017 (copysign): Define using libm_alias_double.
5018 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
5019 <libm-alias-double.h>.
5020 (llrint): Define using libm_alias_double.
5022 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
5023 <libm-alias-double.h>.
5024 (llround): Define using libm_alias_double.
5026 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
5027 <libm-alias-double.h>.
5028 (llrint): Define using libm_alias_double.
5030 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
5031 <libm-alias-double.h>.
5032 (llround): Define using libm_alias_double.
5035 2017-12-01 Joseph Myers <joseph@codesourcery.com>
5037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5038 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
5039 compat symbol based on llround.
5041 * sysdeps/powerpc/power7/fpu/s_logb.c
5042 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
5043 symbol based on __logb, not on logb.
5044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
5045 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
5047 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5049 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
5050 (rint): Define using libm_alias_double.
5051 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
5052 <libm-alias-double.h>.
5053 (modf): Define using libm_alias_double.
5054 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
5055 <libm-alias-double.h>.
5056 (ceil): Define using libm_alias_double.
5057 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
5058 <libm-alias-double.h>.
5059 (floor): Define using libm_alias_double.
5060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
5061 <libm-alias-double.h>.
5062 (nearbyint): Define using libm_alias_double.
5063 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
5064 <libm-alias-double.h>.
5065 (rint): Define using libm_alias_double.
5066 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
5067 <libm-alias-double.h>.
5068 (round): Define using libm_alias_double.
5069 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
5070 <libm-alias-double.h>.
5071 (trunc): Define using libm_alias_double.
5072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
5073 <libm-alias-double.h>.
5074 (ceil): Define using libm_alias_double.
5075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
5076 Include <libm-alias-double.h>.
5077 (floor): Define using libm_alias_double.
5078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
5079 <libm-alias-double.h>.
5080 (modf): Define using libm_alias_double.
5081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
5082 Include <libm-alias-double.h>.
5083 (round): Define using libm_alias_double.
5084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
5085 Include <libm-alias-double.h>.
5086 (trunc): Define using libm_alias_double.
5087 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
5088 <libm-alias-double.h>.
5089 (ceil): Define using libm_alias_double.
5090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
5091 <libm-alias-double.h>.
5092 (floor): Define using libm_alias_double.
5093 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
5094 <libm-alias-double.h>.
5095 (round): Define using libm_alias_double.
5096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
5097 <libm-alias-double.h>.
5098 (trunc): Define using libm_alias_double.
5099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
5100 <libm-alias-double.h>.
5101 (ceil): Define using libm_alias_double.
5102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
5103 <libm-alias-double.h>.
5104 (floor): Define using libm_alias_double.
5105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
5106 <libm-alias-double.h>.
5107 (modf): Define using libm_alias_double.
5108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
5109 <libm-alias-double.h>.
5110 (round): Define using libm_alias_double.
5111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
5112 <libm-alias-double.h>.
5113 (trunc): Define using libm_alias_double.
5114 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
5115 <libm-alias-double.h>.
5116 (ceil): Define using libm_alias_double.
5117 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
5118 <libm-alias-double.h>.
5119 (floor): Define using libm_alias_double.
5120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
5121 <libm-alias-double.h>.
5122 (nearbyint): Define using libm_alias_double.
5123 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
5124 <libm-alias-double.h>.
5125 (rint): Define using libm_alias_double.
5126 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
5127 <libm-alias-double.h>.
5128 (round): Define using libm_alias_double.
5129 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
5130 <libm-alias-double.h>.
5131 (trunc): Define using libm_alias_double.
5132 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
5133 <libm-alias-double.h>.
5134 (ceil): Define using libm_alias_double.
5135 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
5136 <libm-alias-double.h>.
5137 (floor): Define using libm_alias_double.
5138 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
5139 <libm-alias-double.h>.
5140 (round): Define using libm_alias_double.
5141 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
5142 <libm-alias-double.h>.
5143 (trunc): Define using libm_alias_double.
5145 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
5146 (fabs): Define using libm_alias_double.
5147 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
5148 (fma): Define using libm_alias_double.
5149 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
5150 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
5151 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
5152 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
5154 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5156 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
5158 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
5159 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
5160 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
5162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
5165 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
5167 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
5169 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5171 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
5172 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
5173 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
5174 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
5176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5177 (libm-sysdep_routines): Add s_nearbyintf-generic and
5178 s_nearbyint-generic.
5179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
5181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
5182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
5184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
5188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
5191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5192 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
5193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
5195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
5198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
5200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5203 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
5204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
5207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
5209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
5210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
5211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
5213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5214 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
5215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
5217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
5218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
5220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
5221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
5222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5225 (sysdep_calls): New rule.
5226 (sysdep_routines): Use sysdep_calls as base.
5227 (libm-sysdep_routines): Add generic rule for symbols shared with
5228 libc. Add s_copysign-generic and s_copysign-generic objects.
5229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
5231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
5232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
5235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
5236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
5238 2017-12-01 Mike FABIAN <mfabian@redhat.com>
5241 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
5242 the list of locales to be built for testing.
5243 * localedata/is_IS.UTF-8.in: New file.
5244 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
5247 2017-12-01 Joseph Myers <joseph@codesourcery.com>
5249 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
5250 <libm-alias-float.h>.
5251 (fabsf): Define using libm_alias_float.
5253 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
5255 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
5257 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5259 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
5260 <libm-alias-float.h>.
5261 (fabsf): Define using libm_alias_float.
5262 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
5263 <libm-alias-float.h>.
5264 (lrintf): Define using libm_alias_float.
5265 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
5266 <libm-alias-float.h>.
5267 (rintf): Define using libm_alias_float.
5269 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
5270 <libm-alias-double.h>.
5271 (fabs): Define using libm_alias_double.
5272 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
5273 <libm-alias-double.h>.
5274 (lrint): Define using libm_alias_double.
5275 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
5276 <libm-alias-double.h>.
5277 (rint): Define using libm_alias_double.
5279 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
5280 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5281 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
5282 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
5283 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
5284 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5285 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
5286 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
5287 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
5288 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
5289 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
5290 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
5291 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
5292 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
5293 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
5294 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
5295 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5296 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
5298 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
5299 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
5300 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
5302 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
5303 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
5304 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
5306 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
5307 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
5308 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
5310 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
5311 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
5312 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
5314 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
5315 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
5316 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
5318 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
5319 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
5320 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
5322 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
5323 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
5325 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
5326 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
5327 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
5329 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
5330 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
5331 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
5332 s_nearbyint_template.c.
5333 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
5334 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
5335 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
5336 s_remquo_template.c.
5337 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
5338 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
5339 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
5341 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5342 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5343 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
5345 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
5346 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
5347 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
5348 s_sincos_template.c.
5349 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
5350 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
5351 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
5353 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
5354 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
5355 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
5357 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
5358 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
5359 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
5361 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
5362 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
5363 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
5364 s_atan.c instead of including s_atan.c.
5365 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
5366 s_atanf.c instead of including s_atanf.c.
5367 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
5368 s_atanl.c instead of including s_atanl.c.
5369 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
5370 instead of s_atan.c.
5371 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
5372 instead of s_atanf.c.
5373 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
5374 instead of s_atanl.c.
5376 * scripts/update-copyrights: Do not handle intl/plural.c
5379 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
5382 * configure.ac (BISON): Require to be present.
5383 * configure: Regenerated.
5384 * intl/Makefile (generated): Add plural.c.
5385 [$(BISON) != no]: Make code unconditional.
5386 (plural.c): Change rule to $(objpfx)plural.c.
5387 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
5388 * intl/plural.c: Remove.
5389 * manual/install.texi (Tools for Compilation): Document bison as
5391 * INSTALL: Regenerated.
5393 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5395 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
5396 <libm-alias-double.h>.
5397 (llrint): Define using libm_alias_double.
5398 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
5399 <libm-alias-float.h>.
5400 (llrintf): Define using libm_alias_float.
5401 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
5402 <libm-alias-ldouble.h>.
5403 (llrintl): Define using libm_alias_ldouble.
5405 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
5406 declare_mgen_alias instead of weak_alias.
5407 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
5408 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
5409 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
5411 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5413 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5415 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
5416 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
5417 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
5419 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5420 Add submul_1-generic.
5421 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
5422 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
5423 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
5425 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5426 Add addmul_1-generic.
5427 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
5428 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
5429 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
5431 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5433 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
5434 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
5435 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
5437 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5439 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
5440 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
5441 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
5443 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5445 According to CLDR, collation rules for Serbian and Bosnian
5446 should be the same as for Croatian.
5449 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
5450 and to the list of locales to be built for testing.
5451 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
5452 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
5453 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
5454 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
5456 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5458 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
5459 to make test case pass.
5460 * localedata/hr_HR.UTF-8.in: Add more test strings.
5462 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5464 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
5466 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
5468 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
5469 the list of locales to built for testing.
5470 * localedata/hr_HR.UTF-8.in: New file.
5472 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
5475 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
5477 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
5478 CLDR (except use ligatures for the digraphs, CLDR does not use
5479 the ligatures), add first_workday, some fixes in the date and time
5481 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
5483 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
5484 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
5485 Add int_p_cs_precedes and int_n_cs_precedes.
5486 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
5487 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
5489 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
5490 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
5492 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
5493 and lang_lib. Change postal_fmt.
5495 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
5497 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
5499 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
5500 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
5501 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
5502 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
5503 * sysdeps/generic/setjmpP.h: New file.
5504 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
5505 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
5506 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
5507 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
5508 Add jmp_buf-ssp.sym.
5509 (tests): Add tst-saved_mask-1.
5511 2017-11-30 Arjun Shankar <arjun@redhat.com>
5515 * malloc/malloc.c (__libc_malloc): Use checked_request2size
5516 instead of request2size.
5518 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
5521 (__lllrint): Remove alias.
5522 (lllrint): Likewise.
5523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
5524 (__lllrintf): Likewise.
5525 (lllrintf): Likewise.
5527 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
5528 <libm-alias-float.h>.
5529 (copysignf): Define using libm_alias_float.
5530 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
5531 <libm-alias-float.h>.
5532 (fabsf): Define using libm_alias_float.
5533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5534 Include <libm-alias-float.h>.
5535 (copysignf): Define using libm_alias_float.
5536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
5537 <libm-alias-float.h>.
5538 (fabsf): Define using libm_alias_float.
5539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
5540 <libm-alias-float.h>.
5541 (fdimf): Define using libm_alias_float.
5542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
5543 <libm-alias-float.h>.
5544 (fmaf): Define using libm_alias_float.
5545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
5546 <libm-alias-float.h>.
5547 (llrintf): Define using libm_alias_float.
5548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
5549 Include <libm-alias-float.h>.
5550 (nearbyintf): Define using libm_alias_float.
5551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
5552 <libm-alias-float.h>.
5553 (rintf): Define using libm_alias_float.
5554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
5555 <libm-alias-float.h>.
5556 (llrintf): Define using libm_alias_float.
5557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
5558 <libm-alias-float.h>.
5559 (lrintf): Define using libm_alias_float.
5560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
5561 <libm-alias-float.h>.
5562 (nearbyintf): Define using libm_alias_float.
5563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
5564 <libm-alias-float.h>.
5565 (rintf): Define using libm_alias_float.
5566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
5567 <libm-alias-float.h>.
5568 (ceilf): Define using libm_alias_float.
5569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
5570 <libm-alias-float.h>.
5571 (floorf): Define using libm_alias_float.
5572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
5573 <libm-alias-float.h>.
5574 (fmaf): Define using libm_alias_float.
5575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
5576 <libm-alias-float.h>.
5577 (lrintf): Define using libm_alias_float.
5578 (llrintf): Likewise.
5579 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
5580 <libm-alias-float.h>.
5581 (nearbyintf): Define using libm_alias_float.
5582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
5583 <libm-alias-float.h>.
5584 (rintf): Define using libm_alias_float.
5585 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
5586 <libm-alias-float.h>.
5587 (truncf): Define using libm_alias_float.
5588 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
5589 <libm-alias-float.h>.
5590 (copysignf): Define using libm_alias_float.
5591 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
5592 <libm-alias-float.h>.
5593 (fabsf): Define using libm_alias_float.
5594 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
5595 <libm-alias-float.h>.
5596 (lrintf): Define using libm_alias_float.
5597 (llrintf): Likewise.
5598 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
5599 <libm-alias-float.h>.
5600 (nearbyintf): Define using libm_alias_float.
5601 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
5602 <libm-alias-float.h>.
5603 (rintf): Define using libm_alias_float.
5605 2017-11-29 Joseph Myers <joseph@codesourcery.com>
5607 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
5608 <libm-alias-double.h>.
5609 (copysign): Define using libm_alias_double.
5610 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
5611 <libm-alias-double.h>.
5612 (fabs): Define using libm_alias_double.
5613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5614 Include <libm-alias-double.h>.
5615 (copysign): Define using libm_alias_double.
5616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
5617 <libm-alias-double.h>.
5618 (fabs): Define using libm_alias_double.
5619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
5620 <libm-alias-double.h>.
5621 (fdim): Define using libm_alias_double.
5622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
5623 <libm-alias-double.h>.
5624 (fma): Define using libm_alias_double.
5625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
5626 <libm-alias-double.h>.
5627 (llrint): Define using libm_alias_double.
5628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
5629 Include <libm-alias-double.h>.
5630 (nearbyint): Define using libm_alias_double.
5631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
5632 <libm-alias-double.h>.
5633 (rint): Define using libm_alias_double.
5634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
5635 <libm-alias-double.h>.
5636 (fabs): Define using libm_alias_double.
5637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
5638 <libm-alias-double.h>.
5639 (llrint): Define using libm_alias_double.
5640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
5641 <libm-alias-double.h>.
5642 (nearbyint): Define using libm_alias_double.
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
5644 <libm-alias-double.h>.
5645 (rint): Define using libm_alias_double.
5646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
5647 <libm-alias-double.h>.
5648 (ceil): Define using libm_alias_double.
5649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
5650 <libm-alias-double.h>.
5651 (floor): Define using libm_alias_double.
5652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
5653 <libm-alias-double.h>.
5654 (fma): Define using libm_alias_double.
5655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
5656 <libm-alias-double.h>.
5657 (lrint): Define using libm_alias_double.
5659 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
5660 <libm-alias-double.h>.
5661 (nearbyint): Define using libm_alias_double.
5662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
5663 <libm-alias-double.h>.
5664 (rint): Define using libm_alias_double.
5665 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
5666 <libm-alias-double.h>.
5667 (trunc): Define using libm_alias_double.
5668 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
5669 <libm-alias-double.h>.
5670 (copysign): Define using libm_alias_double.
5671 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
5672 <libm-alias-double.h>.
5673 (fabs): Define using libm_alias_double.
5674 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
5675 <libm-alias-double.h>.
5676 (lrint): Define using libm_alias_double.
5678 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
5679 <libm-alias-double.h>.
5680 (nearbyint): Define using libm_alias_double.
5681 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
5682 <libm-alias-double.h>.
5683 (rint): Define using libm_alias_double.
5686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
5688 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
5690 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5691 SPARC --disable-multi-arch glibc variants.
5693 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
5694 <libm-alias-float.h>.
5695 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5697 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
5698 <libm-alias-float.h>.
5699 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5701 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
5702 <libm-alias-float.h>.
5703 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5705 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
5706 <libm-alias-float.h>.
5707 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5709 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
5710 <libm-alias-float.h>.
5711 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5713 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
5714 <libm-alias-float.h>.
5715 (ceilf): Define using libm_alias_float.
5716 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
5717 <libm-alias-float.h>.
5718 (floorf): Define using libm_alias_float.
5719 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
5720 <libm-alias-float.h>.
5721 (fmaf): Define using libm_alias_float.
5722 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
5723 <libm-alias-float.h>.
5724 (nearbyintf): Define using libm_alias_float.
5725 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
5726 <libm-alias-float.h>.
5727 (rintf): Define using libm_alias_float.
5728 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
5729 <libm-alias-float.h>.
5730 (truncf): Define using libm_alias_float.
5731 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
5732 (copysignf): Define using libm_alias_float.
5733 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
5734 (cosf): Define using libm_alias_float.
5735 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
5736 (fabsf): Define using libm_alias_float.
5737 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
5738 (fmaxf): Define using libm_alias_float.
5739 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
5740 (fminf): Define using libm_alias_float.
5741 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
5742 (llrintf): Define using libm_alias_float.
5743 [!__ILP32__] (lrintf): Likewise.
5744 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
5745 (sincosf): Define using libm_alias_float.
5746 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
5747 (sinf): Define using libm_alias_float.
5748 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
5749 (lrintf): Define using libm_alias_float.
5751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
5752 <libm-alias-double.h>.
5753 (atan): Define using libm_alias_double.
5754 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
5755 <libm-alias-double.h>.
5756 (ceil): Define using libm_alias_double.
5757 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
5758 <libm-alias-double.h>.
5759 (floor): Define using libm_alias_double.
5760 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
5761 <libm-alias-double.h>.
5762 (fma): Define using libm_alias_double.
5763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
5764 <libm-alias-double.h>.
5765 (nearbyint): Define using libm_alias_double.
5766 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
5767 <libm-alias-double.h>.
5768 (rint): Define using libm_alias_double.
5769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
5770 <libm-alias-double.h>.
5771 (sin): Define using libm_alias_double.
5773 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
5774 <libm-alias-double.h>.
5775 (tan): Define using libm_alias_double.
5776 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
5777 <libm-alias-double.h>.
5778 (trunc): Define using libm_alias_double.
5779 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
5780 (copysign): Define using libm_alias_double.
5781 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
5782 (fabs): Define using libm_alias_double.
5783 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
5784 (fmax): Define using libm_alias_double.
5785 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
5786 (fmin): Define using libm_alias_double.
5787 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
5788 (llrint): Define using libm_alias_double.
5789 [!__ILP32__] (lrint): Likewise.
5790 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
5791 (lrint): Define using libm_alias_double.
5793 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5796 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
5798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
5799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
5801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
5803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5806 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
5808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
5809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
5810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
5811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
5812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
5813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5816 (libm-sysdep_routines): Add s_nearbyint-generic and
5817 s_nearbyintf-generic objects.
5818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
5819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
5820 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
5821 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
5822 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
5823 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
5825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
5826 Add s_finitef-generic and s_finite-generic objects.
5827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
5828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
5829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
5830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
5831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
5832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
5834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
5835 Add s_isinff-generic and s_isinf-generic objects.
5836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
5837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
5838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
5839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
5840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
5841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
5844 Add s_isnanf-generic and s_isnan-generic objects.
5845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
5846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
5847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
5848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
5849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
5850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5852 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
5854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
5856 (sysdep_routines): Use sysdep_calls as base.
5857 (libm-sysdep_routines): Add generic rule for symbols shared with
5858 libc. Add s_signbit-generic and s_signbitf-generic objects.
5859 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
5860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
5861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
5862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
5863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
5864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5866 2017-11-29 Joseph Myers <joseph@codesourcery.com>
5868 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
5869 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
5870 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
5871 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
5872 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
5873 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
5874 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
5875 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
5876 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
5877 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
5878 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
5879 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
5880 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
5882 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
5883 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
5885 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
5886 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
5887 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
5888 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
5889 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
5890 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
5891 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
5892 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
5893 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
5894 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
5896 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
5898 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
5899 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
5900 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
5901 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
5902 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
5903 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
5904 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
5905 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
5906 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
5907 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
5908 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
5909 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
5910 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
5911 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
5912 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
5913 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
5914 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
5915 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
5916 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
5918 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
5919 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
5920 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
5921 * sysdeps/ia64/fpu/w_lgammaf_main.c
5922 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
5923 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
5925 2017-11-28 Mike FABIAN <mfabian@redhat.com>
5926 Alexandre Oliva <aoliva@redhat.com>
5929 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
5930 * localedata/fr_CA.UTF-8.in: New file with test data for backward
5932 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
5934 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
5935 * localedata/locales/de_DE (LC_COLLATE): Likewise.
5936 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
5937 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
5938 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
5939 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
5940 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
5941 instead of “ifdef DIACRIT_BACKWARD”.
5943 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5945 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
5946 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
5947 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5948 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
5949 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
5950 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
5951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
5956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
5957 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5958 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5959 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
5960 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
5961 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
5962 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
5963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5964 ($(have-as-vis3) == yes): Remove conditional.
5965 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
5967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
5969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
5971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
5973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
5975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
5976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
5977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
5978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
5979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
5980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
5981 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
5982 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
5984 2017-11-29 Joseph Myers <joseph@codesourcery.com>
5986 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
5987 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
5988 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
5989 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
5990 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
5991 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
5992 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
5993 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
5994 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
5995 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
5996 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
5997 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
5998 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
5999 libm_alias_double_r.
6000 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
6002 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
6003 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
6004 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
6005 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
6006 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
6007 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
6008 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
6009 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
6010 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
6011 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
6012 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
6014 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
6016 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
6017 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
6018 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
6019 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
6020 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
6021 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
6022 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
6023 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
6024 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
6025 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
6026 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
6027 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
6028 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
6029 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
6030 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
6031 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
6032 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
6033 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
6035 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
6036 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
6037 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
6038 * sysdeps/ia64/fpu/w_lgamma_main.c
6039 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
6040 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
6042 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
6044 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
6045 address of $global$ into %dp register earlier. Use pc-relative
6046 instruction sequence for PIC case.
6048 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6050 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
6051 (asinhf): Define using libm_alias_float.
6052 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
6053 (atanf): Define using libm_alias_float.
6054 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
6055 (cbrtf): Define using libm_alias_float.
6056 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
6057 (ceilf): Define using libm_alias_float.
6058 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
6059 (copysignf): Define using libm_alias_float.
6060 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
6061 (expm1f): Define using libm_alias_float.
6062 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
6063 (fabsf): Define using libm_alias_float.
6064 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
6065 (floorf): Define using libm_alias_float.
6066 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6067 (fmaxf): Define using libm_alias_float.
6068 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
6069 (fminf): Define using libm_alias_float.
6070 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
6071 (frexpf): Define using libm_alias_float.
6072 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
6073 (llrintf): Define using libm_alias_float.
6074 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
6075 (logbf): Define using libm_alias_float.
6076 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
6077 (lrintf): Define using libm_alias_float.
6078 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
6079 (nearbyintf): Define using libm_alias_float.
6080 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
6081 (remquof): Define using libm_alias_float.
6082 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
6083 (rintf): Define using libm_alias_float.
6084 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
6085 (truncf): Define using libm_alias_float.
6086 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
6087 <libm-alias-float.h>.
6088 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6090 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
6091 <libm-alias-float.h>.
6092 (expf): Define using libm_alias_float, or libm_alias_float_other
6094 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
6095 <libm-alias-float.h>.
6096 (log2f): Define using libm_alias_float, or libm_alias_float_other
6098 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
6099 <libm-alias-float.h>.
6100 (logf): Define using libm_alias_float, or libm_alias_float_other
6102 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
6103 <libm-alias-float.h>.
6104 (powf): Define using libm_alias_float, or libm_alias_float_other
6106 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
6107 <libm-alias-float.h>.
6108 (cosf): Define using libm_alias_float.
6109 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
6110 <libm-alias-float.h>.
6111 (sincosf): Define using libm_alias_float.
6112 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
6113 <libm-alias-float.h>.
6114 (sinf): Define using libm_alias_float.
6115 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6116 (fmaxf): Define using libm_alias_float.
6117 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
6118 (fminf): Define using libm_alias_float.
6119 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6120 <libm-alias-float.h>.
6121 (fmaf): Define using libm_alias_float.
6123 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
6124 (asinh): Define using libm_alias_double.
6125 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
6126 (atan): Define using libm_alias_double.
6127 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
6128 (cbrt): Define using libm_alias_double.
6129 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
6130 (ceil): Define using libm_alias_double.
6131 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
6132 (copysign): Define using libm_alias_double.
6133 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
6134 (expm1): Define using libm_alias_double.
6135 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
6136 (fabs): Define using libm_alias_double.
6137 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
6138 (fdim): Define using libm_alias_double.
6139 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
6140 (floor): Define using libm_alias_double.
6141 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
6142 (fmax): Define using libm_alias_double.
6143 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
6144 (fmin): Define using libm_alias_double.
6145 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
6146 (frexp): Define using libm_alias_double.
6147 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
6148 (llrint): Define using libm_alias_double.
6149 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
6150 (logb): Define using libm_alias_double.
6151 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
6152 (lrint): Define using libm_alias_double.
6153 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
6154 (nearbyint): Define using libm_alias_double.
6155 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
6156 (remquo): Define using libm_alias_double.
6157 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
6158 (rint): Define using libm_alias_double.
6159 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
6160 (trunc): Define using libm_alias_double.
6161 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
6162 (fmax): Define using libm_alias_double.
6163 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
6164 (fmin): Define using libm_alias_double.
6165 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
6166 (fma): Define using libm_alias_double.
6168 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
6171 * elf/dl-hwcaps.c (ROUND): Removed.
6172 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
6173 and ELF_NOTE_NEXT_OFFSET.
6174 * elf/dl-load.c (ROUND): Removed.
6175 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
6176 * elf/readelflib.c (ROUND): Removed.
6177 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
6178 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
6179 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
6180 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
6182 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6184 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
6185 [!__fmaf] (fmaf): Define using libm_alias_float.
6187 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
6188 [!__fma] (fma): Define using libm_alias_double.
6189 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
6191 2017-11-28 Mike FABIAN <mfabian@redhat.com>
6194 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
6195 and implement the collation rules for cs from CLDR on top of that.
6196 * Makefile: Add cs_CZ.UTF-8 to test-input.
6197 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
6199 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
6201 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
6203 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
6204 Icarus Sparry <icarus.w.sparry@intel.com>
6206 * benchtests/Makefile:Add BENCHSET to allow subsets of
6207 benchmarks to be run.
6208 * benchtests/README: Add documentation for: Running subsets of
6211 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
6213 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
6214 range of tests names.
6216 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
6217 result from property and remove "max", min" and "mean" from
6218 required properties based on benchtests/bench-skeleton.c.
6220 2017-11-28 Florian Weimer <fweimer@redhat.com>
6223 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
6224 due to Internet requirement.
6225 * posix/Makefile (tests): Remove tst-getaddrinfo4,
6227 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
6229 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6231 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6232 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
6233 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
6234 (sysdep_routines): Add memset-ultra1.
6235 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
6237 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
6238 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
6239 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
6240 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
6241 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
6242 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
6243 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
6244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6246 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
6248 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
6249 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
6250 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
6251 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
6252 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
6253 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
6254 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
6256 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6257 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
6258 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
6259 (sysdep_routines): Add memcpy-ultra1.
6260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
6261 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
6263 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6265 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
6266 (cfloat_versions): Take function argument without trailing 'f'.
6267 Call libm_alias_float_other.
6268 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
6269 * sysdeps/alpha/fpu/cargf.c: Likewise.
6270 * sysdeps/alpha/fpu/cimagf.c: Likewise.
6271 * sysdeps/alpha/fpu/conjf.c: Likewise.
6272 * sysdeps/alpha/fpu/crealf.c: Likewise.
6273 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
6274 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6275 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
6276 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6277 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
6278 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6279 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6280 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6281 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
6282 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
6283 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
6284 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
6285 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6286 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6287 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
6288 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6289 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6290 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
6291 (clog10f): Use libm_alias_float_other.
6292 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
6293 (ceilf): Define using libm_alias_float.
6294 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
6295 (copysignf): Define using libm_alias_float.
6296 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
6297 (fabsf): Define using libm_alias_float.
6298 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
6299 (floorf): Define using libm_alias_float.
6300 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
6301 (fmaxf): Define using libm_alias_float.
6302 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
6303 (fminf): Define using libm_alias_float.
6304 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
6305 (lrintf): Define using libm_alias_float.
6306 (llrintf): Likewise.
6307 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
6308 (lroundf): Define using libm_alias_float.
6309 (llroundf): Likewise.
6310 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
6311 (rintf): Define using libm_alias_float.
6312 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
6313 (truncf): Define using libm_alias_float.
6315 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
6316 (ceilf): Define using libm_alias_float.
6317 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
6318 (floorf): Define using libm_alias_float.
6319 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
6320 (fmaf): Define using libm_alias_float.
6321 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
6322 (fmaxf): Define using libm_alias_float.
6323 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
6324 (fminf): Define using libm_alias_float.
6325 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
6326 (llrintf): Define using libm_alias_float.
6327 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
6328 (llroundf): Define using libm_alias_float.
6329 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
6330 (lrintf): Define using libm_alias_float.
6331 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
6332 (lroundf): Define using libm_alias_float.
6333 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
6334 <libm-alias-float.h>.
6335 (nearbyintf): Define using libm_alias_float.
6336 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
6337 (rintf): Define using libm_alias_float.
6338 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
6339 (roundf): Define using libm_alias_float.
6340 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
6341 (truncf): Define using libm_alias_float.
6343 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
6344 (ceil): Define using libm_alias_double.
6345 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
6346 (copysign): Define using libm_alias_double.
6347 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
6348 (fabs): Define using libm_alias_double.
6349 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
6350 (floor): Define using libm_alias_double.
6351 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
6352 (fmax): Define using libm_alias_double.
6353 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
6354 (fmin): Define using libm_alias_double.
6355 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
6356 (lrint): Define using libm_alias_double.
6358 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
6359 (lround): Define using libm_alias_double.
6360 (llround): Likewise.
6361 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
6362 (rint): Define using libm_alias_double.
6363 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
6364 (trunc): Define using libm_alias_double.
6366 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
6367 (libm_alias_double_r): Add semicolon after weak_alias call.
6369 2017-11-27 Joseph Myers <joseph@codesourcery.com>
6371 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
6372 (ceil): Define using libm_alias_double.
6373 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
6374 (floor): Define using libm_alias_double.
6375 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
6376 (fma): Define using libm_alias_double.
6377 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
6378 (fmax): Define using libm_alias_double.
6379 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
6380 (fmin): Define using libm_alias_double.
6381 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
6382 (llrint): Define using libm_alias_double.
6383 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
6384 (llround): Define using libm_alias_double.
6385 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
6386 (lrint): Define using libm_alias_double.
6387 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
6388 (lround): Define using libm_alias_double.
6389 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
6390 (nearbyint): Define using libm_alias_double.
6391 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
6392 (rint): Define using libm_alias_double.
6393 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
6394 (round): Define using libm_alias_double.
6395 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
6396 (trunc): Define using libm_alias_double.
6398 2017-11-27 Florian Weimer <fweimer@redhat.com>
6400 * sysdeps/unix/sysv/linux/mlock2.c: New file.
6401 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
6402 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
6403 (tests): Add tst-mlock2.
6404 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
6405 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
6406 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
6407 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
6408 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
6409 for mlock. Document mlock2.
6411 2017-11-27 Joseph Myers <joseph@codesourcery.com>
6413 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
6414 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
6416 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
6418 * sysdeps/x86/Makeconfig: New file.
6419 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
6420 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6421 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
6422 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6423 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6424 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6425 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
6427 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6428 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6429 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6430 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6431 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6432 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6433 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6434 * manual/math.texi (Mathematics): Document support for _Float64x.
6435 * math/Versions (GLIBC_2.27): Add _Float64x functions.
6436 * stdlib/Versions (GLIBC_2.27): Likewise.
6437 * wcsmbs/Versions (GLIBC_2.27): Likewise.
6438 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6440 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6441 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6442 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6443 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6444 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6445 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6446 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6447 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6448 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6453 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6454 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6455 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6456 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6457 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6458 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6459 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6460 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6461 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6462 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6464 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6465 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6466 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6468 2017-11-27 Andreas Schwab <schwab@suse.de>
6470 * elf/Makefile (dl-routines): Add dl-sort-maps.
6471 * elf/dl-sort-maps.c: New file.
6472 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
6473 (_dl_sort_maps): Declare.
6474 * elf/dl-fini.c (_dl_sort_fini): Remove.
6475 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
6476 * elf/dl-close.c (_dl_close_worker): Likewise.
6477 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
6479 * elf/dl-open.c (dl_open_worker): Likewise.
6481 2017-11-24 Joseph Myers <joseph@codesourcery.com>
6483 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
6484 using libm_alias_float128.
6485 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
6487 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
6489 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
6490 (setpayloadsigf128): Likewise.
6491 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
6493 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
6496 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
6497 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
6498 -mfloat128 to CFLAGS.
6500 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
6502 (CFLAGS-libm-test-support-float64x.c): New variable.
6503 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
6504 $(f128-loader-link) to gnulib-tests.
6506 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
6507 (libm_alias_float128_other_r): If
6508 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
6510 (libm_alias_float128_r): Add semicolon after weak_alias call.
6511 * sysdeps/generic/libm-alias-ldouble.h
6512 (libm_alias_ldouble_other_r_f128): New macro.
6513 (libm_alias_ldouble_other_r_f64x): Likewise.
6514 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
6515 and libm_alias_ldouble_other_r_f64x.
6516 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
6517 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
6518 (libm_alias_ldouble_other_r_f128): New macro.
6519 (libm_alias_ldouble_other_r_f64x): Likewise.
6520 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
6521 and libm_alias_ldouble_other_r_f64x.
6523 * stdlib/strfroml.c: Always include <stdlib.h>.
6524 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
6525 undefine as macro and define as weak alias.
6526 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
6527 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
6529 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
6530 Define and later undefine as macro and define as weak alias.
6532 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
6533 Define and later undefine as macro. Define as weak alias if
6535 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
6536 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6537 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
6538 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
6539 Define and later undefine as macro. Define as weak alias if
6541 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
6542 Define and later undefine as macro. Define as weak alias if
6544 * sysdeps/ieee754/float128/strtof128_l.c
6545 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
6546 Define and later undefine as macro. Define as weak alias if
6548 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
6549 Define and later undefine as macro. Define as weak alias if
6551 * sysdeps/ieee754/ldbl-128/strtold_l.c
6552 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6553 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6554 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6555 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6556 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
6557 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6558 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6559 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6560 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6561 * sysdeps/ieee754/ldbl-96/strtold_l.c
6562 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6563 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6564 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6565 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6567 * math/test-float64x.h: New file.
6568 * math/Makefile (type-float64x-yes): New variable.
6569 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
6571 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
6572 function-like macro.
6573 (min_of_type_): Likewise.
6574 (min_of_type_l): Likewise.
6575 (min_of_type_f128): Likewise.
6576 (min_of_type): Pass () as last argument of __MATH_TG.
6578 * stdlib/tst-strtod-round-skeleton.c
6579 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
6582 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
6583 for combinations of long double with _Float64 and _Float64x.
6585 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
6586 (__DECL_SIMD_cosf32): Likewise.
6587 (__DECL_SIMD_cosf64): Likewise.
6588 (__DECL_SIMD_cosf32x): Likewise.
6589 (__DECL_SIMD_cosf64x): Likewise.
6590 (__DECL_SIMD_cosf128x): Likewise.
6591 (__DECL_SIMD_sinf16): Likewise.
6592 (__DECL_SIMD_sinf32): Likewise.
6593 (__DECL_SIMD_sinf64): Likewise.
6594 (__DECL_SIMD_sinf32x): Likewise.
6595 (__DECL_SIMD_sinf64x): Likewise.
6596 (__DECL_SIMD_sinf128x): Likewise.
6597 (__DECL_SIMD_sincosf16): Likewise.
6598 (__DECL_SIMD_sincosf32): Likewise.
6599 (__DECL_SIMD_sincosf64): Likewise.
6600 (__DECL_SIMD_sincosf32x): Likewise.
6601 (__DECL_SIMD_sincosf64x): Likewise.
6602 (__DECL_SIMD_sincosf128x): Likewise.
6603 (__DECL_SIMD_logf16): Likewise.
6604 (__DECL_SIMD_logf32): Likewise.
6605 (__DECL_SIMD_logf64): Likewise.
6606 (__DECL_SIMD_logf32x): Likewise.
6607 (__DECL_SIMD_logf64x): Likewise.
6608 (__DECL_SIMD_logf128x): Likewise.
6609 (__DECL_SIMD_expf16): Likewise.
6610 (__DECL_SIMD_expf32): Likewise.
6611 (__DECL_SIMD_expf64): Likewise.
6612 (__DECL_SIMD_expf32x): Likewise.
6613 (__DECL_SIMD_expf64x): Likewise.
6614 (__DECL_SIMD_expf128x): Likewise.
6615 (__DECL_SIMD_powf16): Likewise.
6616 (__DECL_SIMD_powf32): Likewise.
6617 (__DECL_SIMD_powf64): Likewise.
6618 (__DECL_SIMD_powf32x): Likewise.
6619 (__DECL_SIMD_powf64x): Likewise.
6620 (__DECL_SIMD_powf128x): Likewise.
6622 * stdlib/Versions (libc): Move entries for wcstof128 and
6624 * wcsmbs/Versions (libc): ... here.
6625 Include <float128-abi.h>.
6627 2017-11-24 Florian Weimer <fweimer@redhat.com>
6629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6631 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
6632 <bits/mman-shared.h>.
6633 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
6635 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
6636 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
6637 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6638 <bits/mman-shared.h>.
6640 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6643 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
6644 posix_memalign/free.
6645 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
6647 2017-11-22 Mike FABIAN <mfabian@redhat.com>
6650 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
6651 and implement the collation rules for pl from CLDR on top of that.
6652 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
6653 of locales to be built for testing.
6654 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
6656 2017-11-23 Joseph Myers <joseph@codesourcery.com>
6658 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
6659 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
6660 libm_alias_ldouble_other.
6661 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
6662 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
6663 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
6664 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
6665 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
6666 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
6667 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
6668 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
6669 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
6670 libm_alias_ldouble_r.
6671 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
6672 libm_alias_ldouble_other.
6673 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
6675 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
6676 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
6677 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
6678 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
6679 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
6680 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
6681 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
6683 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
6684 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
6685 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
6687 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
6689 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
6690 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
6691 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
6693 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
6694 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
6695 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
6696 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
6697 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
6698 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
6699 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
6700 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
6701 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
6702 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
6703 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
6705 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
6706 libm_alias_ldouble_other.
6707 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
6708 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
6709 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
6711 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
6712 libm_alias_ldouble_other.
6713 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
6714 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
6715 * sysdeps/ia64/fpu/w_lgammal_main.c
6716 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
6717 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
6719 2017-11-23 Florian Weimer <fweimer@redhat.com>
6721 * malloc/malloc.c (tcache_thread_shutdown): Rename from
6722 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
6723 alike. Remove freeres marker.
6724 * malloc/arena.c (arena_thread_freeres): Call
6725 tcache_thread_shutdown.
6727 2017-11-23 Florian Weimer <fweimer@redhat.com>
6730 Export nscd hash function as __nss_hash.
6731 * include/nss.h (__nss_hash): Declare.
6732 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
6734 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
6735 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
6737 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
6738 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
6739 * nss/Makefiles (routines): Add nss_hash.
6740 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
6741 * nss/nss_hash.c: Rename from nis/nis_hash.c.
6742 (__nss_hash): Rename from __nis_hash. Define hidden alias.
6743 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
6745 2017-11-23 Florian Weimer <fweimer@redhat.com>
6748 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
6749 Return error code, not -1.
6750 * signal/tst-sigwait-eintr.c: New file.
6751 * signal/Makefile (tests): Add tst-sigwait-eintr.
6753 2017-11-23 Florian Weimer <fweimer@redhat.com>
6755 Linux: Add memfd_create system call wrapper
6756 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
6758 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6759 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
6760 [__USE_GNU] (memfd_create): Declare.
6761 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
6762 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
6763 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
6764 * sysdeps/unix/sysv/linux/**.abilist: Update.
6765 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
6767 2017-11-22 Joseph Myers <joseph@codesourcery.com>
6769 * localedata/gen-locale.sh: Fix typo in variable name.
6771 * resolv/res_debug.c (p_secstodate): Condition definition on
6772 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
6773 directly as __p_secstodate, and as a compat symbol. Do not use
6774 libresolv_hidden_def.
6775 * resolv/resolv.h (p_secstodate): Remove macro and function
6777 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
6779 * include/resolv.h (__p_secstodate): Do not use
6780 libresolv_hidden_proto.
6781 * resolv/Makefile (tests): Move tst-p_secstodate to ....
6782 (tests-internal): ... here.
6783 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
6784 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
6785 and declare and use __p_secstodate and use compat_symbol_reference
6787 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
6788 implementation returning 77.
6791 * resolv/res_debug.c: Include <libc-diag.h>.
6792 (p_secstodate): Assert time_t at least as wide as u_long. On
6793 overflow, use integer seconds since the epoch as output, or use
6794 "<overflow>" as output and set errno to EOVERFLOW if integer
6795 seconds since the epoch would be 14 or more characters.
6796 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
6798 * resolv/tst-p_secstodate.c: New file.
6799 * resolv/Makefile (tests): Add tst-p_secstodate.
6800 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
6802 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
6803 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6804 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
6806 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
6808 * posix/regcomp.c (init_word_char): Add comments.
6810 2017-11-22 Joseph Myers <joseph@codesourcery.com>
6813 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
6814 strlen to compute length of ut_user and set trailing NUL byte of
6817 2017-11-21 Mike FABIAN <mfabian@redhat.com>
6820 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
6821 using “copy "iso14651_t1"” and then implementing the
6822 collation rules for lv from CLDR on top of that.
6823 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
6824 of locales to be built for testing.
6825 * lv_LV.UTF-8.in: New file with test data to test the Latvian
6828 2017-11-21 Joseph Myers <joseph@codesourcery.com>
6830 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
6831 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
6832 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
6833 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
6834 [__USE_MISC] (MADV_HWPOISON): New macro.
6835 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
6837 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6839 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
6840 -Wmissing-braces on GCC 4.9.
6842 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6844 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
6845 * sysdeps/s390/s390-32/start.S (_start): Likewise
6846 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
6847 (thread_start): Likewise.
6848 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
6849 (thread_start): Likewise.
6850 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
6851 (__makecontext_ret): Likewise.
6852 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
6853 (__makecontext_ret): Likewise.
6855 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6857 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
6858 __wcschrnul): Remove attribute_hidden.
6860 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
6862 regex: don't assume uint64_t or uint32_t
6863 This avoids -Werror=overflow errors for 32-bit systems in
6864 the 64-bit case. Problem reported by Joseph Myers in:
6865 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
6866 Also, when this code is used in Gnulib it ports to platforms
6867 that lack uint64_t and uint32_t. The C standard doesn't guarantee
6868 them, and on some 32-bit compilers there is no uint64_t.
6869 Problem reported by Gianluigi Tiesi in:
6870 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
6871 * posix/regcomp.c (init_word_char): Don't assume that the types
6872 uint64_t and uint32_t exist. Adapted from Gnulib patch
6873 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
6874 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
6876 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
6878 * sysdeps/aarch64/memset-reg.h: New file.
6879 * sysdeps/aarch64/memset.S: Use it.
6880 (__memset): Rename to MEMSET macro.
6881 [ZVA_MACRO]: Use zva_macro.
6882 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6883 Add memset_generic and memset_falkor.
6884 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6885 (__libc_ifunc_impl_list): Add memset ifuncs.
6886 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
6887 local variable zva_size.
6888 * sysdeps/aarch64/multiarch/memset.c: New file.
6889 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
6890 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
6891 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
6892 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6893 (DCZID_DZP_MASK): New macro.
6894 (DCZID_BS_MASK): Likewise.
6895 (init_cpu_features): Read and set zva_size.
6896 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
6897 (struct cpu_features): New member zva_size.
6899 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
6900 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
6901 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
6903 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
6904 backwards. Fix timing computation.
6905 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
6906 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
6907 on memset by N at a time. Fix timing computation.
6909 2017-11-20 Florian Weimer <fweimer@redhat.com>
6911 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
6912 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
6914 2017-11-19 Florian Weimer <fweimer@redhat.com>
6916 manual: Document mprotect
6917 * manual/memory.texi (Memory Protection): New section.
6918 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
6919 documentation of PROT_* flags and reference the Memory Protection
6922 2017-11-19 Florian Weimer <fweimer@redhat.com>
6924 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
6925 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
6926 (Scatter-Gather): ... to here. Remove misleading comment.
6928 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
6930 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
6933 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
6934 when /proc/<pid>/setgroups does not exist.
6936 2017-11-18 Florian Weimer <fweimer@redhat.com>
6938 * sysdeps/unix/sysv/linux/tst-ttyname.c
6939 (become_root_in_mount_ns): Remove.
6940 (do_in_chroot_1): Call support_enter_mount_namespace.
6941 (do_in_chroot_2): Likewise.
6942 (do_test): Call support_become_root early.
6944 2017-11-18 Florian Weimer <fweimer@redhat.com>
6946 * support/namespace.h (support_enter_mount_namespace): Declare.
6947 * support/support_enter_mount_namespace.c: New file.
6948 * support/Makefile (libsupport-routines): Add
6949 support_enter_mount_namespace.
6951 2017-11-18 Florian Weimer <fweimer@redhat.com>
6953 * support/temp_file.c (support_create_temp_directory): Use
6954 test_dir and do not rely on the presence of the XXXXXX suffix.
6955 * support/temp_file.h (support_create_temp_directory): Update
6957 * support/tst-xreadlink.c (do_test): Adjust.
6958 * support/support_chroot.c (support_chroot_create): Likewise.
6960 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6962 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
6964 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
6967 2017-11-17 Joseph Myers <joseph@codesourcery.com>
6969 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
6970 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
6971 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
6972 (ceill): Define using libm_alias_ldouble.
6973 * sysdeps/x86_64/fpu/s_copysignl.S: Include
6974 <libm-alias-ldouble.h>.
6975 (copysignl): Define using libm_alias_ldouble.
6976 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
6977 (fabsl): Define using libm_alias_ldouble.
6978 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
6979 (floorl): Define using libm_alias_ldouble.
6980 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
6981 (fmaxl): Define using libm_alias_ldouble.
6982 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
6983 (fminl): Define using libm_alias_ldouble.
6984 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
6985 (llrintl): Define using libm_alias_ldouble.
6987 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
6988 <libm-alias-ldouble.h>.
6989 (nearbyintl): Define using libm_alias_ldouble.
6990 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
6991 (truncl): Define using libm_alias_ldouble.
6992 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
6993 <libm-alias-ldouble.h>.
6994 (lrintl): Define using libm_alias_ldouble.
6996 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
6997 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
6998 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
6999 (asinhl): Define using libm_alias_ldouble.
7000 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
7001 (atanl): Define using libm_alias_ldouble.
7002 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
7003 (cbrtl): Define using libm_alias_ldouble.
7004 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
7005 (ceill): Define using libm_alias_ldouble.
7006 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
7007 (copysignl): Define using libm_alias_ldouble.
7008 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
7009 (fabsl): Define using libm_alias_ldouble.
7010 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
7011 (floorl): Define using libm_alias_ldouble.
7012 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7013 (fmaxl): Define using libm_alias_ldouble.
7014 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7015 (fminl): Define using libm_alias_ldouble.
7016 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
7017 (frexpl): Define using libm_alias_ldouble.
7018 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
7019 (llrintl): Define using libm_alias_ldouble.
7020 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
7021 (logbl): Define using libm_alias_ldouble.
7022 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
7023 (lrintl): Define using libm_alias_ldouble.
7024 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
7025 (nearbyintl): Define using libm_alias_ldouble.
7026 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
7027 (nextafterl): Define using libm_alias_ldouble.
7028 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
7029 (remquol): Define using libm_alias_ldouble.
7030 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
7031 (rintl): Define using libm_alias_ldouble.
7032 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
7033 (truncl): Define using libm_alias_ldouble.
7034 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7035 (fmaxl): Define using libm_alias_ldouble.
7036 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7037 (fminl): Define using libm_alias_ldouble.
7039 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
7040 to C syntax instead of availability and properties of types.
7041 * bits/floatn.h [!__ASSEMBLER]: Likewise.
7042 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
7043 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
7044 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
7045 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
7046 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
7048 2017-11-17 Florian Weimer <fweimer@redhat.com>
7050 support_become_root: Enable file creation in namespaces.
7051 * support/support_become_root.c (setup_mapping): New function.
7052 (support_become_root): Call it.
7054 2017-11-17 Joseph Myers <joseph@codesourcery.com>
7056 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
7059 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7061 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
7062 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
7064 2017-11-16 Joseph Myers <joseph@codesourcery.com>
7066 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
7068 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7071 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7073 * INSTALL: Fix botched up regeneration.
7075 * NEWS: Update sourceare link to https.
7076 * configure.ac: Likewise.
7077 * crypt/md5test-giant.c: Likewise.
7078 * dlfcn/bug-atexit1.c: Likewise.
7079 * dlfcn/bug-atexit2.c: Likewise.
7080 * localedata/README: Likewise.
7081 * malloc/tst-mallocfork.c: Likewise.
7082 * manual/install.texi: Likewise.
7083 * nptl/tst-pthread-getattr.c: Likewise.
7084 * stdio-common/tst-fgets.c: Likewise.
7085 * stdio-common/tst-fwrite.c: Likewise.
7086 * sunrpc/Makefile: Likewise.
7087 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
7088 * wcsmbs/tst-mbrtowc2.c: Likewise.
7089 * configure: Regenerate.
7090 * INSTALL: Regenerate.
7092 2017-11-15 Martin Sebor <msebor@redhat.com>
7094 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
7095 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
7096 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
7098 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
7101 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
7102 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
7105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
7106 Defer is_pty check until end of the function.
7107 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7110 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
7111 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
7112 (ttyname): Likewise.
7113 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
7114 (__ttyname_r): Likewise.
7116 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
7119 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
7121 * manual/terminal.texi (Is It a Terminal):
7122 Mention ENODEV for ttyname and ttyname_r.
7124 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7126 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
7129 * sysdeps/unix/sysv/linux/bits/mman-linux.h
7130 [__USE_MISC] (MADV_WIPEONFORK): New macro.
7131 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7132 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
7133 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7134 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7136 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7138 * signal/sigrelse.c (sigrelse): Optimize implementation.
7140 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
7141 (__sigpause): Rely on __sigsuspend to implement single thread
7142 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
7144 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7146 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7147 kernel version to 4.14.
7149 2017-11-15 Steve Ellcey <sellcey@cavium.com>
7152 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
7153 Check if ifname is too long.
7155 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
7157 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
7159 2017-11-15 Mike FABIAN <mfabian@redhat.com>
7161 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
7162 was accidentally lost.
7164 2017-11-15 Mike FABIAN <mfabian@redhat.com>
7166 * localedata/locales/az_IR: Add standard copyright header.
7168 2017-11-15 Florian Weimer <fweimer@redhat.com>
7171 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
7172 not just the top one. Output a new "subheaps" statistic.
7174 2017-11-15 Florian Weimer <fweimer@redhat.com>
7177 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
7178 under the per-arena lock.
7179 * malloc/Makefile (tests): Add tst-malloc_info.
7180 (tst-malloc_info): Link with libpthread.
7181 * malloc/tst-malloc_info.c: New file.
7183 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7186 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
7187 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
7188 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
7189 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
7190 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
7191 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
7192 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
7193 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
7194 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
7195 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
7196 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
7197 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
7198 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
7199 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
7200 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
7201 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
7202 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
7203 (__floating_type): Likewise.
7204 (__real_integer_type): Likewise.
7205 (__complex_integer_type): Likewise.
7206 (__expr_is_real): Likewise.
7207 (__tgmath_real_type_sub): Likewise.
7208 (__tgmath_real_type): Likewise.
7209 (__tgmath_complex_type_sub): Likewise.
7210 (__tgmath_complex_type): Likewise.
7211 (__TGMATH_F128): Likewise.
7212 (__TGMATH_CF128): Likewise.
7213 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
7215 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
7216 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
7218 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
7220 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
7221 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7222 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7223 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
7225 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7226 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
7228 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
7229 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
7230 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
7232 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
7233 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
7234 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
7238 2017-11-14 Joseph Myers <joseph@codesourcery.com>
7240 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
7241 for stpncpy calls for GCC 8.
7242 (test_strncat): Disable -Wstringop-truncation warning for strncat
7243 calls for GCC 8. Disable -Wstringop-overflow= warning for one
7244 strncat call for GCC 7.
7245 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
7247 (test_memcmp): Use memcpy instead of strncpy for calls not copying
7250 * string/bug-strncat1.c: Include <libc-diag.h>.
7251 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
7253 2017-11-13 Claude Paroz <claude@2xlibre.net>
7256 * localedata/locales/aa_DJ: Improved readibility by replacing
7257 <Uxxxx> sequences in the ASCII printable range by their ASCII
7258 character equivalents.
7259 * localedata/locales/aa_ER: Likewise.
7260 * localedata/locales/aa_ER@saaho: Likewise.
7261 * localedata/locales/aa_ET: Likewise.
7262 * localedata/locales/af_ZA: Likewise.
7263 * localedata/locales/agr_PE: Likewise.
7264 * localedata/locales/ak_GH: Likewise.
7265 * localedata/locales/am_ET: Likewise.
7266 * localedata/locales/anp_IN: Likewise.
7267 * localedata/locales/ar_AE: Likewise.
7268 * localedata/locales/ar_BH: Likewise.
7269 * localedata/locales/ar_DZ: Likewise.
7270 * localedata/locales/ar_EG: Likewise.
7271 * localedata/locales/ar_IN: Likewise.
7272 * localedata/locales/ar_IQ: Likewise.
7273 * localedata/locales/ar_JO: Likewise.
7274 * localedata/locales/ar_KW: Likewise.
7275 * localedata/locales/ar_LB: Likewise.
7276 * localedata/locales/ar_LY: Likewise.
7277 * localedata/locales/ar_MA: Likewise.
7278 * localedata/locales/ar_OM: Likewise.
7279 * localedata/locales/ar_QA: Likewise.
7280 * localedata/locales/ar_SA: Likewise.
7281 * localedata/locales/ar_SD: Likewise.
7282 * localedata/locales/ar_SS: Likewise.
7283 * localedata/locales/ar_SY: Likewise.
7284 * localedata/locales/ar_TN: Likewise.
7285 * localedata/locales/ar_YE: Likewise.
7286 * localedata/locales/as_IN: Likewise.
7287 * localedata/locales/ast_ES: Likewise.
7288 * localedata/locales/ayc_PE: Likewise.
7289 * localedata/locales/az_AZ: Likewise.
7290 * localedata/locales/az_IR: Likewise.
7291 * localedata/locales/be_BY: Likewise.
7292 * localedata/locales/be_BY@latin: Likewise.
7293 * localedata/locales/bem_ZM: Likewise.
7294 * localedata/locales/ber_DZ: Likewise.
7295 * localedata/locales/ber_MA: Likewise.
7296 * localedata/locales/bg_BG: Likewise.
7297 * localedata/locales/bhb_IN: Likewise.
7298 * localedata/locales/bho_IN: Likewise.
7299 * localedata/locales/bi_VU: Likewise.
7300 * localedata/locales/bn_BD: Likewise.
7301 * localedata/locales/bn_IN: Likewise.
7302 * localedata/locales/bo_CN: Likewise.
7303 * localedata/locales/bo_IN: Likewise.
7304 * localedata/locales/br_FR: Likewise.
7305 * localedata/locales/brx_IN: Likewise.
7306 * localedata/locales/bs_BA: Likewise.
7307 * localedata/locales/byn_ER: Likewise.
7308 * localedata/locales/ca_AD: Likewise.
7309 * localedata/locales/ca_ES: Likewise.
7310 * localedata/locales/ca_FR: Likewise.
7311 * localedata/locales/ca_IT: Likewise.
7312 * localedata/locales/ce_RU: Likewise.
7313 * localedata/locales/chr_US: Likewise.
7314 * localedata/locales/cmn_TW: Likewise.
7315 * localedata/locales/crh_UA: Likewise.
7316 * localedata/locales/cs_CZ: Likewise.
7317 * localedata/locales/csb_PL: Likewise.
7318 * localedata/locales/cv_RU: Likewise.
7319 * localedata/locales/cy_GB: Likewise.
7320 * localedata/locales/da_DK: Likewise.
7321 * localedata/locales/de_AT: Likewise.
7322 * localedata/locales/de_BE: Likewise.
7323 * localedata/locales/de_CH: Likewise.
7324 * localedata/locales/de_DE: Likewise.
7325 * localedata/locales/de_IT: Likewise.
7326 * localedata/locales/de_LI: Likewise.
7327 * localedata/locales/de_LU: Likewise.
7328 * localedata/locales/doi_IN: Likewise.
7329 * localedata/locales/dv_MV: Likewise.
7330 * localedata/locales/dz_BT: Likewise.
7331 * localedata/locales/el_CY: Likewise.
7332 * localedata/locales/el_GR: Likewise.
7333 * localedata/locales/en_AG: Likewise.
7334 * localedata/locales/en_AU: Likewise.
7335 * localedata/locales/en_BW: Likewise.
7336 * localedata/locales/en_CA: Likewise.
7337 * localedata/locales/en_DK: Likewise.
7338 * localedata/locales/en_GB: Likewise.
7339 * localedata/locales/en_HK: Likewise.
7340 * localedata/locales/en_IE: Likewise.
7341 * localedata/locales/en_IL: Likewise.
7342 * localedata/locales/en_IN: Likewise.
7343 * localedata/locales/en_NG: Likewise.
7344 * localedata/locales/en_NZ: Likewise.
7345 * localedata/locales/en_PH: Likewise.
7346 * localedata/locales/en_SG: Likewise.
7347 * localedata/locales/en_US: Likewise.
7348 * localedata/locales/en_ZA: Likewise.
7349 * localedata/locales/en_ZM: Likewise.
7350 * localedata/locales/en_ZW: Likewise.
7351 * localedata/locales/eo: Likewise.
7352 * localedata/locales/es_AR: Likewise.
7353 * localedata/locales/es_BO: Likewise.
7354 * localedata/locales/es_CL: Likewise.
7355 * localedata/locales/es_CO: Likewise.
7356 * localedata/locales/es_CR: Likewise.
7357 * localedata/locales/es_CU: Likewise.
7358 * localedata/locales/es_DO: Likewise.
7359 * localedata/locales/es_EC: Likewise.
7360 * localedata/locales/es_ES: Likewise.
7361 * localedata/locales/es_GT: Likewise.
7362 * localedata/locales/es_HN: Likewise.
7363 * localedata/locales/es_MX: Likewise.
7364 * localedata/locales/es_NI: Likewise.
7365 * localedata/locales/es_PA: Likewise.
7366 * localedata/locales/es_PE: Likewise.
7367 * localedata/locales/es_PR: Likewise.
7368 * localedata/locales/es_PY: Likewise.
7369 * localedata/locales/es_SV: Likewise.
7370 * localedata/locales/es_US: Likewise.
7371 * localedata/locales/es_UY: Likewise.
7372 * localedata/locales/es_VE: Likewise.
7373 * localedata/locales/et_EE: Likewise.
7374 * localedata/locales/eu_ES: Likewise.
7375 * localedata/locales/eu_ES@euro: Likewise.
7376 * localedata/locales/fa_IR: Likewise.
7377 * localedata/locales/ff_SN: Likewise.
7378 * localedata/locales/fi_FI: Likewise.
7379 * localedata/locales/fil_PH: Likewise.
7380 * localedata/locales/fo_FO: Likewise.
7381 * localedata/locales/fr_BE: Likewise.
7382 * localedata/locales/fr_CA: Likewise.
7383 * localedata/locales/fr_CH: Likewise.
7384 * localedata/locales/fr_FR: Likewise.
7385 * localedata/locales/fr_LU: Likewise.
7386 * localedata/locales/fur_IT: Likewise.
7387 * localedata/locales/fy_DE: Likewise.
7388 * localedata/locales/fy_NL: Likewise.
7389 * localedata/locales/ga_IE: Likewise.
7390 * localedata/locales/gd_GB: Likewise.
7391 * localedata/locales/gez_ER: Likewise.
7392 * localedata/locales/gez_ET: Likewise.
7393 * localedata/locales/gl_ES: Likewise.
7394 * localedata/locales/gu_IN: Likewise.
7395 * localedata/locales/gv_GB: Likewise.
7396 * localedata/locales/ha_NG: Likewise.
7397 * localedata/locales/hak_TW: Likewise.
7398 * localedata/locales/he_IL: Likewise.
7399 * localedata/locales/hi_IN: Likewise.
7400 * localedata/locales/hif_FJ: Likewise.
7401 * localedata/locales/hne_IN: Likewise.
7402 * localedata/locales/hr_HR: Likewise.
7403 * localedata/locales/hsb_DE: Likewise.
7404 * localedata/locales/ht_HT: Likewise.
7405 * localedata/locales/hu_HU: Likewise.
7406 * localedata/locales/hy_AM: Likewise.
7407 * localedata/locales/i18n: Likewise.
7408 * localedata/locales/ia_FR: Likewise.
7409 * localedata/locales/id_ID: Likewise.
7410 * localedata/locales/ig_NG: Likewise.
7411 * localedata/locales/ik_CA: Likewise.
7412 * localedata/locales/is_IS: Likewise.
7413 * localedata/locales/it_CH: Likewise.
7414 * localedata/locales/it_IT: Likewise.
7415 * localedata/locales/iu_CA: Likewise.
7416 * localedata/locales/ja_JP: Likewise.
7417 * localedata/locales/ka_GE: Likewise.
7418 * localedata/locales/kk_KZ: Likewise.
7419 * localedata/locales/kl_GL: Likewise.
7420 * localedata/locales/kn_IN: Likewise.
7421 * localedata/locales/ko_KR: Likewise.
7422 * localedata/locales/kok_IN: Likewise.
7423 * localedata/locales/ks_IN: Likewise.
7424 * localedata/locales/ks_IN@devanagari: Likewise.
7425 * localedata/locales/ku_TR: Likewise.
7426 * localedata/locales/kw_GB: Likewise.
7427 * localedata/locales/ky_KG: Likewise.
7428 * localedata/locales/lb_LU: Likewise.
7429 * localedata/locales/lg_UG: Likewise.
7430 * localedata/locales/li_BE: Likewise.
7431 * localedata/locales/li_NL: Likewise.
7432 * localedata/locales/lij_IT: Likewise.
7433 * localedata/locales/ln_CD: Likewise.
7434 * localedata/locales/lo_LA: Likewise.
7435 * localedata/locales/lt_LT: Likewise.
7436 * localedata/locales/lv_LV: Likewise.
7437 * localedata/locales/lzh_TW: Likewise.
7438 * localedata/locales/mag_IN: Likewise.
7439 * localedata/locales/mai_IN: Likewise.
7440 * localedata/locales/mg_MG: Likewise.
7441 * localedata/locales/mhr_RU: Likewise.
7442 * localedata/locales/mi_NZ: Likewise.
7443 * localedata/locales/mk_MK: Likewise.
7444 * localedata/locales/ml_IN: Likewise.
7445 * localedata/locales/mn_MN: Likewise.
7446 * localedata/locales/mni_IN: Likewise.
7447 * localedata/locales/mr_IN: Likewise.
7448 * localedata/locales/ms_MY: Likewise.
7449 * localedata/locales/mt_MT: Likewise.
7450 * localedata/locales/my_MM: Likewise.
7451 * localedata/locales/nan_TW: Likewise.
7452 * localedata/locales/nan_TW@latin: Likewise.
7453 * localedata/locales/nb_NO: Likewise.
7454 * localedata/locales/nds_DE: Likewise.
7455 * localedata/locales/nds_NL: Likewise.
7456 * localedata/locales/ne_NP: Likewise.
7457 * localedata/locales/nhn_MX: Likewise.
7458 * localedata/locales/niu_NU: Likewise.
7459 * localedata/locales/niu_NZ: Likewise.
7460 * localedata/locales/nl_AW: Likewise.
7461 * localedata/locales/nl_BE: Likewise.
7462 * localedata/locales/nl_NL: Likewise.
7463 * localedata/locales/nn_NO: Likewise.
7464 * localedata/locales/nr_ZA: Likewise.
7465 * localedata/locales/nso_ZA: Likewise.
7466 * localedata/locales/oc_FR: Likewise.
7467 * localedata/locales/om_ET: Likewise.
7468 * localedata/locales/om_KE: Likewise.
7469 * localedata/locales/or_IN: Likewise.
7470 * localedata/locales/os_RU: Likewise.
7471 * localedata/locales/pa_IN: Likewise.
7472 * localedata/locales/pa_PK: Likewise.
7473 * localedata/locales/pap_AW: Likewise.
7474 * localedata/locales/pap_CW: Likewise.
7475 * localedata/locales/pl_PL: Likewise.
7476 * localedata/locales/ps_AF: Likewise.
7477 * localedata/locales/pt_BR: Likewise.
7478 * localedata/locales/pt_PT: Likewise.
7479 * localedata/locales/quz_PE: Likewise.
7480 * localedata/locales/raj_IN: Likewise.
7481 * localedata/locales/ro_RO: Likewise.
7482 * localedata/locales/ru_RU: Likewise.
7483 * localedata/locales/ru_UA: Likewise.
7484 * localedata/locales/rw_RW: Likewise.
7485 * localedata/locales/sa_IN: Likewise.
7486 * localedata/locales/sat_IN: Likewise.
7487 * localedata/locales/sc_IT: Likewise.
7488 * localedata/locales/sd_IN: Likewise.
7489 * localedata/locales/sd_IN@devanagari: Likewise.
7490 * localedata/locales/se_NO: Likewise.
7491 * localedata/locales/sgs_LT: Likewise.
7492 * localedata/locales/shs_CA: Likewise.
7493 * localedata/locales/si_LK: Likewise.
7494 * localedata/locales/sid_ET: Likewise.
7495 * localedata/locales/sk_SK: Likewise.
7496 * localedata/locales/sl_SI: Likewise.
7497 * localedata/locales/sm_WS: Likewise.
7498 * localedata/locales/so_DJ: Likewise.
7499 * localedata/locales/so_ET: Likewise.
7500 * localedata/locales/so_KE: Likewise.
7501 * localedata/locales/so_SO: Likewise.
7502 * localedata/locales/sq_AL: Likewise.
7503 * localedata/locales/sq_MK: Likewise.
7504 * localedata/locales/sr_ME: Likewise.
7505 * localedata/locales/sr_RS: Likewise.
7506 * localedata/locales/sr_RS@latin: Likewise.
7507 * localedata/locales/ss_ZA: Likewise.
7508 * localedata/locales/st_ZA: Likewise.
7509 * localedata/locales/sv_FI: Likewise.
7510 * localedata/locales/sv_SE: Likewise.
7511 * localedata/locales/sw_KE: Likewise.
7512 * localedata/locales/sw_TZ: Likewise.
7513 * localedata/locales/szl_PL: Likewise.
7514 * localedata/locales/ta_IN: Likewise.
7515 * localedata/locales/ta_LK: Likewise.
7516 * localedata/locales/tcy_IN: Likewise.
7517 * localedata/locales/te_IN: Likewise.
7518 * localedata/locales/tg_TJ: Likewise.
7519 * localedata/locales/th_TH: Likewise.
7520 * localedata/locales/the_NP: Likewise.
7521 * localedata/locales/ti_ER: Likewise.
7522 * localedata/locales/ti_ET: Likewise.
7523 * localedata/locales/tig_ER: Likewise.
7524 * localedata/locales/tk_TM: Likewise.
7525 * localedata/locales/tl_PH: Likewise.
7526 * localedata/locales/tn_ZA: Likewise.
7527 * localedata/locales/to_TO: Likewise.
7528 * localedata/locales/tpi_PG: Likewise.
7529 * localedata/locales/tr_CY: Likewise.
7530 * localedata/locales/tr_TR: Likewise.
7531 * localedata/locales/ts_ZA: Likewise.
7532 * localedata/locales/tt_RU: Likewise.
7533 * localedata/locales/tt_RU@iqtelif: Likewise.
7534 * localedata/locales/ug_CN: Likewise.
7535 * localedata/locales/uk_UA: Likewise.
7536 * localedata/locales/unm_US: Likewise.
7537 * localedata/locales/ur_IN: Likewise.
7538 * localedata/locales/ur_PK: Likewise.
7539 * localedata/locales/uz_UZ: Likewise.
7540 * localedata/locales/uz_UZ@cyrillic: Likewise.
7541 * localedata/locales/ve_ZA: Likewise.
7542 * localedata/locales/vi_VN: Likewise.
7543 * localedata/locales/wa_BE: Likewise.
7544 * localedata/locales/wae_CH: Likewise.
7545 * localedata/locales/wal_ET: Likewise.
7546 * localedata/locales/wo_SN: Likewise.
7547 * localedata/locales/xh_ZA: Likewise.
7548 * localedata/locales/yi_US: Likewise.
7549 * localedata/locales/yo_NG: Likewise.
7550 * localedata/locales/yue_HK: Likewise.
7551 * localedata/locales/yuw_PG: Likewise.
7552 * localedata/locales/zh_CN: Likewise.
7553 * localedata/locales/zh_HK: Likewise.
7554 * localedata/locales/zh_SG: Likewise.
7555 * localedata/locales/zh_TW: Likewise.
7556 * localedata/locales/zu_ZA: Likewise.
7558 2017-11-13 Florian Weimer <fweimer@redhat.com>
7560 * support/next_to_fault.h, support/next_to_fault.c: New files.
7561 * support/Makefile (libsupport-routines): Add next_to_fault.
7562 * resolv/tst-inet_pton.c (struct next_to_fault)
7563 (next_to_fault_allocate, next_to_fault_free): Remove.
7564 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
7566 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
7568 * elf/dl-support.c: Include <dl-procruntime.c>.
7569 * include/link.h: Include <link_map.h>.
7570 * sysdeps/generic/dl-procruntime.c: New file.
7571 * sysdeps/generic/link_map.h: Likewise.
7572 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
7573 the writable ld.so namespace.
7575 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
7577 timezone: pacify GCC -Wstringop-truncation
7578 Problem reported by Martin Sebor in:
7579 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
7580 * timezone/zic.c (writezone): Use memcpy, not strncpy.
7582 2017-11-12 Florian Weimer <fweimer@redhat.com>
7584 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
7586 (tests): Add tst-xreadlink.
7587 * support/support.h (xstrndup): Declare.
7588 * support/xunistd.h (xunlink, xreadlink): Declare.
7589 * support/temp_file.h (support_create_temp_directory): Declare.
7590 * support/temp_file.c (support_create_temp_directory): New function.
7591 * support/support_chroot.c (support_chroot_create): Use it.
7592 * support/xreadlink.c: New file.
7593 * support/xstrndup.c: Likewise.
7594 * support/xunlink.c: Likewise.
7595 * support/tst-xreadlink.c: Likewise.
7597 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
7599 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
7601 2017-11-11 Florian Weimer <fweimer@redhat.com>
7605 * resolv/res_comp.c (printable_string, binary_hnok)
7606 (binary_leading_dash): New functions.
7607 (res_hnok): Reimplement using these functions and ns_name_pton.
7608 (res_ownok): Likewise.
7609 (res_mailok): Reimplement using printable_string, ns_name_pton and
7611 (res_dnok): Reimplement using printable_string and ns_name_pton.
7612 * resolv/tst-res_hnok.c (tests): Add additional tests.
7613 (LETTERDIGITS, PRINTABLE): Define.
7614 (do_test): Adjust one_char results.
7616 2017-11-11 Florian Weimer <fweimer@redhat.com>
7619 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
7620 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
7622 2017-11-11 Florian Weimer <fweimer@redhat.com>
7624 * resolv/tst-ns_name_pton.c: New file.
7625 * resolv/Makefile (tests): Add tst-ns_name_pton.
7626 (tst-ns_name_pton): Link against libresolv.
7628 2017-11-11 Florian Weimer <fweimer@redhat.com>
7630 * resolv/tst-res_hnok.c: New file.
7631 * resolv/Makefile (tests): Add tst-res_hnok.
7632 (tst-res_hnok): Link against libresolv.
7634 2017-11-11 Florian Weimer <fweimer@redhat.com>
7636 * resolv/tst-resolv-network.c: Use test framework instead explicit
7639 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
7641 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
7643 [!_ISOMAC] (STR_HELPER): New.
7644 [!_ISOMAC] (STR): Likewise.
7645 [!_ISOMAC] (TEST_SIZE): Likewise.
7646 [!_ISOMAC] (TEST_ALIGN): Likewise.
7647 [!_ISOMAC] (TEST_OFFSET): Likewise.
7648 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
7649 field offsets of jmp_buf as well as sigjmp_buf.
7650 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
7651 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
7652 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
7653 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
7654 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
7655 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
7656 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
7657 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
7658 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
7659 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
7661 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
7663 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
7668 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
7669 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
7670 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
7671 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
7672 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
7673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
7675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
7677 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
7678 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
7679 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
7681 2017-11-07 Joseph Myers <joseph@codesourcery.com>
7684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7685 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
7686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7687 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
7688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7689 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
7690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7691 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
7692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7693 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
7694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7695 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
7696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7697 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
7698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7699 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
7700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7701 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
7702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7703 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
7704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7705 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
7706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7707 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
7708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7709 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
7710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7711 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
7712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7713 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
7714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7715 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
7716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7717 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
7718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7719 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
7720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7721 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
7722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7723 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
7724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7725 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
7726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7727 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
7728 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7729 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
7730 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7731 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
7732 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7733 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
7734 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7735 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
7736 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7737 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
7738 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7739 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
7740 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7741 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
7742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7743 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
7744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7745 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
7746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7747 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
7748 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7749 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
7750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7751 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
7752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7753 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
7754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7755 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
7756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7757 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
7758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7759 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
7760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7761 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
7762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7763 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
7764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7765 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
7766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7767 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
7768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7769 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
7770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7771 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
7773 * stdlib/tst-strtod.h (F16): New macro.
7779 (IF_FLOAT16): Likewise.
7780 (IF_FLOAT32): Likewise.
7781 (IF_FLOAT64): Likewise.
7782 (IF_FLOAT32X): Likewise.
7783 (IF_FLOAT64X): Likewise.
7784 (IF_FLOAT128X): Likewise.
7785 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
7786 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
7787 (STRTOD_TEST_FOREACH): Likewise.
7788 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
7789 (CHOOSE_f64): Likewise.
7790 (CHOOSE_f32x): Likewise.
7791 (CHOOSE_f64x): Likewise.
7793 2017-11-07 Andreas Schwab <schwab@suse.de>
7795 * nptl/Makefile (tests-internal): Remove tst-typesizes.
7797 2017-11-07 Mike FABIAN <mfabian@redhat.com>
7800 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
7802 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
7805 2017-11-07 Claude Paroz <claude@2xlibre.net>
7808 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
7810 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
7812 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
7815 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7818 * nptl/allocatestack.c (allocate_stack): Check if
7819 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
7820 __PTHREAD_MUTEX_HAVE_PREV is defined.
7821 * nptl/descr.h (pthread): Likewise.
7822 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7824 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7825 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7826 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
7827 * sysdeps/nptl/bits/thread-shared-types.h
7828 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
7830 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
7831 of __WORDSIZE for internal layout.
7832 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
7833 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
7834 instead of __WORDSIZE whether to use an union for __spins and __list
7836 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
7838 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
7839 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
7841 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
7842 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7844 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
7845 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7847 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
7848 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7850 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
7851 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7853 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
7854 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7856 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
7857 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7859 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
7860 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7862 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
7863 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7865 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
7866 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7868 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
7869 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7871 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
7872 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7874 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
7875 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7877 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
7878 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7880 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
7881 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7884 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
7886 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
7887 checks for expected input type size.
7888 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7889 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7891 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7892 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
7893 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7894 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
7895 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7896 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
7897 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
7898 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
7899 superflous runtime assert check.
7900 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
7902 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
7904 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7906 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
7908 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
7910 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
7912 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
7913 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
7914 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7916 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7918 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7920 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
7922 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7924 * nptl/pthread_attr_setinheritsched.c
7925 (__pthread_attr_setinheritsched): Likewise.
7926 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
7928 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
7930 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
7931 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
7932 __old_pthread_attr_setstack): Likewise.
7933 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7935 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7937 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
7939 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7940 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7942 * nptl/tst-typesizes.c: Remove file.
7944 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
7945 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
7946 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
7947 checks for internal pthread_mutex_t offsets.
7948 * sysdeps/aarch64/nptl/pthread-offsets.h
7949 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
7950 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
7951 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
7952 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
7953 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
7954 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
7955 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
7956 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
7957 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
7958 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
7959 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
7960 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
7961 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
7962 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
7963 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
7964 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
7965 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
7966 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
7968 2017-11-07 Florian Weimer <fweimer@redhat.com>
7970 * bits/mman-linux.h: Move ...
7971 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
7973 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
7976 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7978 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
7979 Redefine STRNLEN as __strnlen_power8.
7981 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7983 * signal/sighold.c (sighold): Optimize implementation.
7985 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
7986 __NR_rt_sigqueueinfo.
7988 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7990 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
7991 assume __NR_rt_sigtimedwait.
7992 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
7993 and add LIBC_CANCEL_HANDLED for cancellation marking.
7994 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7996 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
7997 (sysdeps_routines): Add memchr_noneon.
7998 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
7999 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
8000 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
8001 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
8002 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
8003 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
8004 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
8006 * sysdeps/arm/arm-ifunc.h: New file.
8007 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
8008 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
8009 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
8010 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
8011 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
8012 (__memcpy_neon): Avoid create hidden alias.
8013 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
8014 (__memcpy_vfp): Likewise.
8015 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
8016 (sysdep_routines): Add memcpy_arm.
8017 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
8019 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
8022 * Makerules (make-link-multidir): New.
8023 * config.make.in (multidir): New.
8024 * configure.ac (libc_cv_multidir): New. AC_SUBST.
8025 * configure: Regenerated.
8026 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
8027 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
8028 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
8031 2017-11-06 Joseph Myers <joseph@codesourcery.com>
8034 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
8035 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
8037 2017-11-04 Mike FABIAN <mfabian@redhat.com>
8039 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
8042 2017-11-04 Florian Weimer <fweimer@redhat.com>
8044 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
8046 2017-11-03 Joseph Myers <joseph@codesourcery.com>
8048 * math/math.h [__HAVE_DISTINCT_FLOAT16
8049 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
8050 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
8051 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
8052 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
8053 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
8054 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
8055 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8056 (__MATH_TG_F32): New macro.
8057 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8058 (__MATH_TG_F64X): Likewise.
8059 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8060 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
8062 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
8064 * po/de.po: Update translations.
8065 * po/ru.po: Likewise.
8067 2017-11-03 Florian Weimer <fweimer@redhat.com>
8069 * manual/filesys.texi (Hard Links): Document linkat.
8071 2017-11-03 Joseph Myers <joseph@codesourcery.com>
8073 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
8074 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
8075 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
8076 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
8077 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
8078 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
8079 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
8080 the same as _Float128.
8081 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
8082 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
8083 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
8086 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
8088 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
8090 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
8092 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8093 (strtof32x): Likewise.
8094 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8095 (strtof64x): Likewise.
8096 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8097 (strtof128x): Likewise.
8098 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8099 (strfromf16): Likewise.
8100 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8101 (strfromf32): Likewise.
8102 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8103 (strfromf64): Likewise.
8104 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8105 (strfromf32x): Likewise.
8106 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8107 (strfromf64x): Likewise.
8108 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8109 (strfromf128x): Likewise.
8110 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
8111 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
8112 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
8113 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
8114 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
8115 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
8117 2017-11-03 Richard Henderson <rth@twiddle.net>
8119 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
8121 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8123 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
8125 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8127 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
8128 DT_TLSDESC_GOT initialization.
8129 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
8130 (_dl_tlsdesc_resolve_hold): Likewise.
8131 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
8132 (_dl_tlsdesc_resolve_hold): Likewise.
8133 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
8134 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
8136 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8138 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
8140 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8143 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
8144 non-lazily for R_ARM_TLS_DESC.
8146 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8149 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
8150 R_ARM_TLS_DESC case.
8151 (elf_machine_lazy_rel): Remove the prelink check.
8153 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8155 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
8156 DT_TLSDESC_GOT initialization.
8157 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
8158 (_dl_tlsdesc_resolve_rela): Likewise.
8159 (_dl_tlsdesc_resolve_hold): Likewise.
8160 (_dl_tlsdesc_undefweak): Remove ldar.
8161 (_dl_tlsdesc_dynamic): Likewise.
8162 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
8163 (_dl_tlsdesc_resolve_rela): Likewise.
8164 (_dl_tlsdesc_resolve_hold): Likewise.
8165 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
8166 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
8167 (_dl_tlsdesc_resolve_rela): Likewise.
8168 (_dl_tlsdesc_resolve_hold): Likewise.
8170 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8172 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
8173 binding and initialization non-lazily for R_AARCH64_TLSDESC.
8175 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8177 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
8178 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8180 2017-11-02 Joseph Myers <joseph@codesourcery.com>
8182 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
8184 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
8185 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
8186 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
8187 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
8188 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
8189 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
8190 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
8191 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
8192 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
8193 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
8194 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
8196 2017-11-02 Mike FABIAN <mfabian@redhat.com>
8199 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
8200 * localedata/locales/tpi_PG: Add standard header.
8202 2017-11-02 Florian Weimer <fweimer@redhat.com>
8204 test-errno-linux: quotactl can fail with EPERM in containers.
8205 * sysdeps/unix/sysv/linux/test-errno-linux.c
8206 (LIST, LIST_FORWARD): New macros.
8207 (check_error_in_list): New function.
8208 (test_wrp_rv): Accept list of permitted error codes.
8209 (test_wrp_rv2): Remove.
8210 (test_wrp): Call test_wrp_rv with list of error codes.
8211 (test_wrp2): Accept list of error codes.
8212 (do_test): Adjust. Allow EPERM for quotactl.
8214 2017-11-02 Florian Weimer <fweimer@redhat.com>
8216 * stdio-common/bug16.c (do_test): Use array_length.
8217 * stdio-common/errlist.c (_sys_nerr): Likewise.
8218 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
8219 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
8220 * stdio-common/psiginfo.c (psiginfo): Use array_length.
8221 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
8222 (do_test): Use array_length.
8223 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
8224 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
8225 * stdio-common/tst-printf-round.c (do_test): Likewise.
8226 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
8227 (CHECK): Use array_length.
8228 * stdio-common/tstdiomisc.c (t3, F): Likewise.
8229 * stdio-common/tstscanf.c (main): Likewise.
8230 * stdio-common/vfprintf.c (process_string_arg): Likewise.
8232 2017-11-02 Florian Weimer <fweimer@redhat.com>
8234 Add array_length and array_end macros.
8235 * include/array_length.h: New file.
8237 2017-11-02 Florian Weimer <fweimer@redhat.com>
8240 * posix/tst-glob-tilde.c (do_noescape): New variable.
8241 (one_test): Process it.
8242 (do_test): Set do_noescape. Add unescaping test case.
8244 2017-11-01 Joseph Myers <joseph@codesourcery.com>
8247 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
8248 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
8249 with appropriate macros defined and undefined.
8250 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
8251 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8252 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
8253 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8254 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
8255 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8256 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
8257 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8258 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
8259 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8262 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
8263 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
8264 that for long double. Do not condition define and undefine of
8265 _Mdouble_complex_ on [__CFLOAT128].
8267 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
8269 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
8270 of <sysdeps/generic/sysdep.h>.
8271 (ALIGNARG): Removed.
8272 (ASM_SIZE_DIRECTIVE): Likewise.
8275 (ENTRY_CHK): Likewise.
8276 (END_CHK): Likewise.
8277 (syscall_error): Likewise.
8279 (PSEUDO_END): Likewise.
8281 (atom_text_section): Likewise.
8282 * sysdeps/x86/sysdep.h: New file.
8283 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
8284 of <sysdeps/generic/sysdep.h>.
8285 (ALIGNARG): Removed.
8286 (ASM_SIZE_DIRECTIVE): Likewise.
8289 (ENTRY_CHK): Likewise.
8290 (END_CHK): Likewise.
8291 (syscall_error): Likewise.
8293 (PSEUDO_END): Likewise.
8295 (atom_text_section): Likewise.
8297 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
8299 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
8300 category of LC_CTYPE set to "i18n:2012".
8301 * localedata/locales/i18n_ctype: Regenerate.
8303 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
8305 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
8306 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
8307 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8308 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8310 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
8311 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
8312 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
8313 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
8315 2017-10-31 Joseph Myers <joseph@codesourcery.com>
8318 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
8320 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
8322 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
8324 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8325 (CMPLXF32X): Likewise.
8326 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8327 (CMPLXF64X): Likewise.
8328 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8329 (CMPLXF128X): Likewise.
8332 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
8333 (__MATH_EVAL_FMT2): Define to add 0.0f.
8335 2017-10-31 Alan Modra <amodra@gmail.com>
8337 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
8339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
8340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
8341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
8344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
8345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
8346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
8347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
8348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
8349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
8352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
8353 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
8354 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
8355 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
8356 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
8357 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
8358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
8359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
8360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
8361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
8362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
8363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8364 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
8365 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
8366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
8367 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
8368 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
8369 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8370 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8371 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
8372 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
8373 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
8374 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
8375 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
8376 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
8377 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
8378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8379 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
8380 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
8381 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
8382 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
8383 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
8384 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
8385 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
8386 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
8387 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
8388 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8389 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
8390 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
8391 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
8392 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
8393 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8394 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8395 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
8396 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
8397 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
8398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
8399 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8400 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
8401 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
8402 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8403 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
8404 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
8405 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
8406 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
8407 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
8409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
8410 include sysdep.h and math_ldbl_opt.h.
8412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
8413 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
8414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
8415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
8416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
8417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
8418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
8419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
8420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
8421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
8422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
8423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
8424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
8425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
8426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
8427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
8428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
8429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
8430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
8431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
8432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
8433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
8434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
8435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
8436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
8437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
8439 2017-10-31 Alan Modra <amodra@gmail.com>
8441 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
8442 string/strncase_l.c, not string/strncase.c.
8443 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
8444 (libc_hidden_def): Redefine.
8446 2017-10-31 Alan Modra <amodra@gmail.com>
8448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
8449 (__STRCMP, STRCMP, __strcasecmp_l): Define.
8450 (__strcasecmp): Don't define.
8452 2017-10-31 Alan Modra <amodra@gmail.com>
8454 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
8456 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
8457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
8458 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
8460 2017-10-31 Alan Modra <amodra@gmail.com>
8462 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
8465 2017-10-31 Alan Modra <amodra@gmail.com>
8467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
8468 Redefine only when SHARED.
8470 2017-10-30 Joseph Myers <joseph@codesourcery.com>
8472 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
8473 Include <bits/math-finite.h> with appropriate macros defined and
8475 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
8476 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
8477 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
8478 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
8479 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
8481 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
8482 [!_Mlong_double_] (_Mlong_double_): Likewise.
8483 [!_Mfloat16_] (_Mfloat16_): Likewise.
8484 [!_Mfloat32_] (_Mfloat32_): Likewise.
8485 [!_Mfloat64_] (_Mfloat64_): Likewise.
8486 [!_Mfloat128_] (_Mfloat128_): Likewise.
8487 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
8488 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
8489 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
8490 (_Mdouble_): Define without indirection through those macros.
8491 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
8492 [!_Mfloat128_] (_Mfloat128_): Likewise.
8493 [_Mlong_double_] (_Mlong_double_): Likewise.
8494 (_Mdouble_): Define without indirection through those macros.
8495 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
8496 not add -D_Mlong_double_=double.
8497 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
8498 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
8500 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8502 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
8504 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8506 * sysdeps/x86/libc-start.c: Reformat.
8508 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8511 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
8515 (L(Src2)): Likewise.
8516 (L(1)): Renamed to ...
8519 2017-10-30 Joseph Myers <joseph@codesourcery.com>
8521 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
8522 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
8523 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
8524 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
8525 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
8526 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
8527 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
8528 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
8529 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
8530 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
8531 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
8532 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
8533 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
8534 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
8535 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
8536 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
8537 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
8538 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
8539 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
8540 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
8541 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
8542 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
8543 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
8544 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
8545 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
8546 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
8547 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
8548 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
8549 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
8550 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
8551 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
8552 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
8553 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
8554 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
8555 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
8556 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
8557 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
8558 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
8559 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
8560 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
8561 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
8562 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
8563 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
8564 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
8565 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
8566 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
8567 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
8568 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
8569 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
8570 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
8571 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
8572 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
8573 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
8574 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
8575 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
8576 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
8577 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
8578 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
8579 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
8580 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
8581 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
8582 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
8583 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
8584 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
8585 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
8586 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
8588 2017-10-30 Florian Weimer <fweimer@redhat.com>
8590 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
8592 * io/tst-mkdirat.c (do_test): Likewise.
8593 * io/tst-mkfifoat.c (do_test): Likewise.
8594 * io/tst-mknodat.c (do_test): Likewise.
8595 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
8596 * locale/programs/locale.c (select_dirs): Likewise.
8597 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
8598 * posix/bug-glob2.c (my_readdir): Likewise.
8599 * posix/tst-dir.c (main): Likewise.
8600 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
8601 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
8603 2017-10-30 Florian Weimer <fweimer@redhat.com>
8605 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
8608 2017-10-30 Florian Weimer <fweimer@redhat.com>
8610 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
8611 Convert to support/test-driver.c.
8612 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
8613 New macro parameters.
8614 (PRINTF): Remove macro. Use test_verbose conditionals instead.
8615 * posix/tst-gnuglob.c: New file.
8616 * posix/tst-gnuglob64.c: Likewise.
8617 * posix/Makefile (tests): Add tst-gnuglob64.
8619 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
8622 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
8623 and use a better translation for March in “mon”.
8624 * localedata/locales/csb_PL: Use more ASCII to improve the
8625 readability of the source.
8627 2017-10-30 Mike FABIAN <mfabian@redhat.com>
8630 * localedata/locales/km_KH: Use ASCII as much
8631 as possible for better readability of the source and
8632 remove useless comments.
8633 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
8634 was commented out and apparently wrong anyway because it was
8635 using Lao characters. If Buddhist era should be used
8636 for km_KH, a native speaker should write the correct formaat
8638 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
8639 (According to CLDR, the first weekday for Cambodia is Sunday).
8640 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
8641 (These were using Lao characters which must be wrong. If we get
8642 the correct data from a native speaker, we could add it back, until
8643 then it is better not to have name_mr and name_mrs at all than
8646 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
8648 * locale/loadlocale.c: Correct size of
8649 _nl_value_type_LC_<category> arrays.
8651 2017-10-27 Joseph Myers <joseph@codesourcery.com>
8653 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
8654 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
8655 with appropriate macros defined and undefined.
8656 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
8657 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
8658 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
8659 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
8660 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
8662 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
8664 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
8667 2017-10-27 Mike FABIAN <mfabian@redhat.com>
8669 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
8670 with lowercase letters to make it agree with CLDR.
8672 2017-10-27 Mike FABIAN <mfabian@redhat.com>
8675 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
8676 first letters of yesstr and nostr in yesexpr and noexpr,
8677 not for the full words.
8678 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
8679 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
8680 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
8681 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
8682 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
8683 first letters of yesstr and nostr in yesexpr and noexpr,
8684 until now only English was matched in yesexpr and noexpr.
8685 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
8686 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
8687 fil but not for tl. As tl and fil are very similar, using fil
8688 is probably better than using English.
8690 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
8693 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
8694 in yesstr and nostr.
8696 2017-10-26 Joseph Myers <joseph@codesourcery.com>
8698 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
8699 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
8700 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
8702 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
8704 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
8706 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
8708 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8709 (SNANF128X): Likewise.
8711 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
8712 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
8713 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8714 (HUGE_VAL_F32): Likewise.
8715 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8716 (HUGE_VAL_F64): Likewise.
8717 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8718 (HUGE_VAL_F32X): Likewise.
8719 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8720 (HUGE_VAL_F64X): Likewise.
8721 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8722 (HUGE_VAL_F128X): Likewise.
8724 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
8726 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
8727 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
8728 for the br_FR locale.
8730 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
8733 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
8735 2017-10-25 Carlos O'Donell <carlos@redhat.com>
8737 * locale/programs/record-status.h: Define globals, and function
8738 prototypes. Move function bodies...
8739 * locale/programs/record-status.c: ... to here. New file.
8740 * iconv/Makefile (iconv_prog-modules): Add record-status.
8741 * locale/Makefile (lib-modules): Likewise.
8742 * iconv/iconv_prog.c: Remove verbose.
8743 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
8744 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
8745 record a warning about ASCII compatibility.
8746 * locale/programs/ld-monetary.c (monetary_finish): If
8747 warn_int_curr_symbol is true then record a warning about the symbol
8748 not being in our ISO 4217 list.
8749 * locale/programs/locale.c: Include record-status.h. Remove verbose.
8750 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
8751 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
8752 (OPT_NO_WARN): Define.
8754 (options): Add entry for --no-warnings, and --warnings.
8755 (set_warnings): New function to enable/disable warnings.
8756 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
8757 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
8758 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
8759 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
8760 Pass flags to generate_locale.
8761 (generate_locale): Accept new flag argument and pass it to localedef
8763 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
8764 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
8766 * localedata/Makefile (test-input-data): Use full file name.
8767 * localedata/da_DK.in: Rename to...
8768 * localedata/da_DK.ISO-8859-1.in: ...this.
8769 * localedata/de_DE.in: Rename to...
8770 * localedata/de_DE.ISO-8859-1.in: ...this.
8771 * localedata/en_US.in: Rename to...
8772 * localedata/en_US.ISO-8859-1.in: ...this.
8773 * localedata/fr_FR.in: Rename to...
8774 * localedata/fr_FR.UTF-8.in: ... this.
8775 * localedata/hr_HR.in: Rename to...
8776 * localedata/hr_HR.ISO-8859-2.in: ...this.
8777 * localedata/hu_HU.in: Rename to...
8778 * localedata/hu_HU.UTF-8.in: ...this.
8779 * localedata/si_LK.in: Rename to...
8780 * localedata/si_LK.UTF-8.in: ...this.
8781 * localedata/sv_SE.in: Rename to...
8782 * localedata/sv_SE.ISO-8859-1.in: ...this.
8783 * localedata/tr_TR.in: Rename to...
8784 * localedata/tr_TR.UTF-8.in: ...this.
8785 * localedata/uk_UA.in: Rename to...
8786 * localedata/uk_UA.UTF-8.in: ...this.
8787 * localedata/sort-test.sh: Test file is locale name with the
8790 * localedata/unicode-gen/Makefile (check_i18n): Rename to
8791 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
8793 * localedata/locales/i18n_ctype: Regenerate.
8794 * localedata/locales/tr_TR: Likewise.
8795 * localedata/locales/translit_circle: Likewise.
8796 * localedata/locales/translit_cjk_compat: Likewise.
8797 * localedata/locales/translit_combining: Likewise.
8798 * localedata/locales/translit_compat: Likewise.
8799 * localedata/locales/translit_font: Likewise.
8800 * localedata/locales/translit_fraction: Likewise.
8802 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8804 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
8805 lxvd2x/stxvd2x with lvx/stvx.
8806 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
8808 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
8810 * include/alloc_buffer.h: Replace "if if " with "if " in
8812 * sysdeps/mips/memcpy.S: Likkewise.
8813 * sysdeps/mips/memset.S: Likewise.
8814 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8816 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
8818 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
8821 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8824 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
8826 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
8827 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
8828 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
8829 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
8830 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
8831 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
8832 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
8834 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8836 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
8837 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
8838 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
8839 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
8840 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
8841 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
8842 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
8843 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
8844 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
8845 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
8846 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
8847 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
8849 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8851 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
8852 as possible for better readability of the source.
8853 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
8854 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
8855 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
8856 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
8857 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
8858 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
8859 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
8860 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
8861 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
8862 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
8863 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
8864 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
8865 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
8866 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
8867 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
8868 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
8869 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
8870 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
8871 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
8872 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
8873 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
8874 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
8875 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
8876 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
8877 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
8878 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
8879 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
8880 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
8881 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
8882 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
8883 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
8884 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
8885 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
8886 * localedata/locales/en_US (LC_MESSAGES): Likewise.
8887 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
8888 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
8889 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
8890 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
8891 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
8892 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
8893 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
8894 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
8895 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
8896 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
8897 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
8898 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
8899 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
8900 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
8901 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
8902 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
8903 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
8904 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
8905 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
8906 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
8907 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
8908 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
8909 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
8910 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
8911 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
8912 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
8913 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
8914 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
8915 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
8916 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
8917 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
8918 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
8919 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
8920 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
8921 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
8922 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
8923 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
8924 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
8925 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
8926 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
8927 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
8928 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
8929 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
8930 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
8931 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
8932 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
8933 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
8934 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
8935 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
8936 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
8937 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
8938 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
8939 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
8940 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
8941 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
8942 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
8943 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
8944 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
8945 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
8946 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
8947 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
8948 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
8949 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
8950 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
8951 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
8952 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
8953 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
8954 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
8955 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
8956 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
8957 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
8958 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
8959 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
8960 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
8961 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
8962 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
8963 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
8964 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
8965 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
8966 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
8967 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
8968 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
8969 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
8970 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
8971 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
8972 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
8973 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
8974 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
8975 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
8976 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
8977 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
8978 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
8979 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
8980 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
8981 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
8982 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
8983 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
8984 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
8985 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
8986 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
8987 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
8988 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
8989 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
8990 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
8991 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
8992 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
8993 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
8994 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
8995 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
8996 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
8997 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
8998 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
8999 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
9000 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
9001 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
9002 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
9003 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
9004 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
9005 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
9006 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
9007 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
9008 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
9009 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
9010 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
9011 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
9012 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
9013 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
9014 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
9015 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
9016 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
9017 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
9018 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
9019 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
9020 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
9021 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
9022 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
9023 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
9024 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
9025 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
9026 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
9028 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9030 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
9031 (Use first letters of yesstr and nostr correctly instead of using
9034 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9036 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
9037 (Use first letters of yesstr and nostr correctly).
9039 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9041 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
9042 also check for the first characters of yesstr and nostr.
9043 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
9044 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
9046 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9048 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
9049 also check for Chinese characters.
9051 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9053 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
9054 match also for the contents of yesstr and nostr. As the first letter
9055 of yesstr and nostr is equal, checking only for the first letter
9058 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9060 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
9061 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
9063 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9065 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
9066 of main contributor.
9068 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9070 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
9071 instead of using English.
9073 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9075 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
9076 by including the first letters of nostr and yesexpr in the regexp.
9077 Also make it more readable by using ASCII where possible.
9079 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9081 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
9082 the first letter of nostr in the regexp. It agrees with CLDR now.
9083 Also make it more readable by using ASCII where possible.
9085 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9087 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
9088 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
9089 these strings contain a U+17D6 (which somewhat looks like a colon)
9090 instead of a real colon to separate the full words for “yes”
9091 and “no” from the single letter responses.
9093 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9095 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
9096 it agree with CLDR (include the first letter of yesstr).
9097 Also make it more readable by using ASCII where possible.
9099 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9101 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
9102 and improve yesexpr and noexpr. The yesstr and nostr apparently
9103 came from CLDR. And CLDR has a bug there: these strings contain
9104 a U+0903 (which looks like a colon) instead of a real colon
9105 to separate the full words for “yes” and “no” from the single
9108 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9110 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
9111 letters of the full yesstr and nostr in yesexpr and noexpr.
9113 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9115 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
9116 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
9117 * localedata/locales/an_ES: Make source more readable by using ASCII
9120 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9123 * localedata/locales/yuw_PG: New file.
9124 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
9125 * locale/iso-639.def: Add Yau (Uruwa).
9127 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9129 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
9131 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9133 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
9134 (__libc_realloc): Likewise.
9135 (_mid_memalign): Likewise.
9136 (__libc_calloc): Likewise.
9138 2017-10-23 Mike FABIAN <mfabian@redhat.com>
9140 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
9141 by adding the generic +1 and -0 as in all other locales.
9142 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
9143 day names and make it more readable by using ASCII where possible.
9145 2017-10-24 Joseph Myers <joseph@codesourcery.com>
9147 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
9148 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
9150 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9152 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
9153 WNOHANG in waitpid call.
9155 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9157 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
9158 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
9160 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
9161 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
9162 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
9163 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
9164 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
9165 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
9166 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
9167 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
9170 2017-10-23 Michael Collison <michael.collison@arm.com>
9172 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
9173 with __builtin_sqrt.
9174 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
9175 with __builtin_sqrtf.
9176 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
9177 with __builtin_ceil.
9178 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
9179 with __builtin_ceilf.
9180 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
9181 with __builtin_floor.
9182 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
9183 with __builtin_floorf.
9184 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
9186 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
9187 with __builtin_fmaf.
9188 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
9189 with __builtin_fmax.
9190 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
9191 with __builtin_fmaxf.
9192 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
9193 with __builtin_fmin.
9194 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
9195 with __builtin_fminf.
9196 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
9197 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
9198 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
9199 with builtin_rint and conversion to int.
9200 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
9201 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
9202 with builtin_llround.
9203 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
9204 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
9205 with builtin_rint and conversion to long int.
9206 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
9207 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
9208 with builtin_lround.
9209 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
9210 with builtin_lroundf.
9211 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
9212 statements with __builtin_nearbyint.
9213 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
9214 statements with __builtin_nearbyintf.
9215 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
9216 with __builtin_rint.
9217 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
9218 with __builtin_rintf.
9219 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
9220 with __builtin_round.
9221 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
9222 with __builtin_roundf.
9223 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
9224 with __builtin_trunc.
9225 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
9226 with __builtin_truncf.
9227 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
9228 and s_l[l]round[f].c too.
9230 2017-10-23 Alan Modra <amodra@gmail.com>
9232 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
9233 Adjust stack after restoring regs. Add missing LR cfi_restore.
9235 2017-10-23 Alan Modra <amodra@gmail.com>
9237 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
9238 Move LR save and frame setup/teardown and LR restore to
9239 immediately around memset call. Provide cfi.
9241 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/i386/fpu/e_powf.S: Removed.
9244 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
9245 * sysdeps/i386/fpu/w_powf.c: Likewise.
9246 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
9247 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9248 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9250 (CFLAGS-e_powf-sse2.c): New.
9251 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
9252 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
9254 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9256 * sysdeps/i386/fpu/e_log2f.S: Removed.
9257 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
9258 * sysdeps/i386/fpu/w_log2f.c: Likewise.
9259 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
9260 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9261 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9263 (CFLAGS-e_log2f-sse2.c): New.
9264 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
9265 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
9267 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9271 (CFLAGS-e_powf-fma.c): New.
9272 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
9273 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
9275 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9279 (CFLAGS-e_log2f-fma.c): New.
9280 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
9281 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
9283 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9285 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9287 (CFLAGS-e_logf-fma.c): New.
9288 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
9289 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
9291 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9293 * sysdeps/i386/fpu/e_logf.S: Removed.
9294 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
9295 * sysdeps/i386/fpu/w_logf.c: Likewise.
9296 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
9297 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
9298 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9299 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9301 (CFLAGS-e_logf-sse2.c): New.
9302 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
9303 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
9305 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9307 * sysdeps/i386/fpu/e_exp2f.S: Removed.
9308 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
9309 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
9310 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9311 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9313 (CFLAGS-e_exp2f-sse2.c): New.
9314 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
9315 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
9317 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9319 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9321 (CFLAGS-e_exp2f-fma.c): New.
9322 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
9323 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
9325 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9327 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
9328 * sysdeps/i386/fpu/e_expf.S: Likewise.
9329 * sysdeps/i386/fpu/math_errf.c: Likewise.
9330 * sysdeps/i386/fpu/w_expf.c: Likewise.
9331 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
9332 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9333 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
9334 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
9335 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9336 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9338 (CFLAGS-e_expf-sse2.c): New.
9339 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
9340 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
9342 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9344 * sysdeps/x86_64/fpu/e_expf.S: Removed.
9345 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
9346 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
9347 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
9349 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
9351 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
9352 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
9354 (__redirect_expf): This.
9355 (SYMBOL_NAME): Changed to expf.
9356 (__ieee754_expf): Renamed to ...
9358 (__GI___expf): This.
9359 (__ieee754_expf): Add strong_alias.
9360 (__expf_finite): Likewise.
9362 Include <sysdeps/ieee754/flt-32/e_expf.c>.
9364 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
9367 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
9370 2017-10-21 Florian Weimer <fweimer@redhat.com>
9372 * posix/Makefile (tests): Add tst-glob-tilde.
9373 (tests-special): Add tst-glob-tilde-mem.out
9374 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
9375 (tst-glob-tilde-mem.out): Add mtrace check.
9376 * posix/tst-glob-tilde.c: New file.
9378 2017-10-20 Joseph Myers <joseph@codesourcery.com>
9380 * bits/floatn-common.h: New file.
9381 * math/Makefile (headers): Add bits/floatn-common.h.
9382 * bits/floatn.h: Include <bits/floatn-common.h>.
9383 * sysdeps/ia64/bits/floatn.h: Likewise.
9384 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
9385 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
9386 * sysdeps/powerpc/bits/floatn.h: Likewise.
9387 * sysdeps/x86/bits/floatn.h: Likewise.
9389 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9391 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
9392 indicates whether compiler emits an warning for alias for
9393 functions with incompatible types.
9396 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
9397 the auxiliary process is terminated by a signal before calling _exit
9400 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9403 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
9405 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
9406 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
9407 and bit_arch_XSAVEC_Usable if needed.
9408 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
9409 and bit_arch_Use_dl_runtime_resolve_opt.
9410 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9412 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9413 (bit_arch_Prefer_No_AVX512): Updated.
9414 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
9415 (bit_arch_XSAVEC_Usable): New.
9416 (STATE_SAVE_OFFSET): Likewise.
9417 (STATE_SAVE_MASK): Likewise.
9418 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
9419 (cpu_features): Add xsave_state_size and xsave_state_full_size.
9420 (index_arch_Use_dl_runtime_resolve_opt): Removed.
9421 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9422 (index_arch_XSAVEC_Usable): New.
9423 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9424 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
9425 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
9427 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
9428 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
9429 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
9430 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
9431 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
9432 _dl_runtime_resolve_xsavec.
9433 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
9435 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
9436 instead of VEC_SIZE.
9437 (REGISTER_SAVE_BND0): Removed.
9438 (REGISTER_SAVE_BND1): Likewise.
9439 (REGISTER_SAVE_BND3): Likewise.
9440 (REGISTER_SAVE_RAX): Always defined to 0.
9442 (_dl_runtime_resolve_avx): Likewise.
9443 (_dl_runtime_resolve_avx_slow): Likewise.
9444 (_dl_runtime_resolve_avx_opt): Likewise.
9445 (_dl_runtime_resolve_avx512): Likewise.
9446 (_dl_runtime_resolve_avx512_opt): Likewise.
9447 (_dl_runtime_resolve_sse): Likewise.
9448 (_dl_runtime_resolve_sse_vex): Likewise.
9450 (_dl_runtime_resolve_fxsave): Likewise.
9451 (USE_XSAVE): Likewise.
9452 (_dl_runtime_resolve_xsave): Likewise.
9453 (USE_XSAVEC): Likewise.
9454 (_dl_runtime_resolve_xsavec): Likewise.
9455 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
9457 (_dl_runtime_resolve_avx512_opt): Likewise.
9458 (_dl_runtime_resolve_avx): Likewise.
9459 (_dl_runtime_resolve_avx_opt): Likewise.
9460 (_dl_runtime_resolve_sse): Likewise.
9461 (_dl_runtime_resolve_sse_vex): Likewise.
9462 (_dl_runtime_resolve_fxsave): New.
9463 (_dl_runtime_resolve_xsave): Likewise.
9464 (_dl_runtime_resolve_xsavec): Likewise.
9466 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
9470 * posix/glob.c (__glob): Fix one-byte overflow.
9472 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
9474 * malloc/malloc.c (sysdep-cancel.h): Add include.
9476 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
9478 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
9480 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
9482 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
9483 (tests): Remove $(objpfx)ga_test depdendency.
9484 * resolv/ga_test.c: Remove file.
9486 2017-10-20 Mike FABIAN <mfabian@redhat.com>
9489 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
9490 * localedata/locales/kab_DZ: New file.
9492 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9494 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
9495 _dl_relocate_static_pie instead of _dl_start to compute load
9496 address in static PIE.
9498 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9500 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
9502 2017-10-20 Mike FABIAN <mfabian@redhat.com>
9505 * localedata/SUPPORTED: Add shn_MM/UTF-8.
9506 * localedata/locales/shn_MM: New file.
9508 2017-10-20 Florian Weimer <fweimer@redhat.com>
9511 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
9512 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
9513 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
9514 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
9515 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
9516 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
9518 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
9520 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9522 2017-10-19 Joseph Myers <joseph@codesourcery.com>
9524 * sysdeps/mips/ieee754/bits/floatn.h: New file.
9527 * sysdeps/mips/bits/long-double.h: Move to ....
9528 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
9530 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
9532 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
9534 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
9535 H.J. Lu <hongjiu.lu@intel.com>
9538 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9539 GLRO(dl_platform) to NULL.
9540 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
9541 (modules-names): Add tst-platformmod-1 and
9542 x86_64/tst-platformmod-2.
9543 (CFLAGS-tst-platform-1.c): New.
9544 (CFLAGS-tst-platformmod-1.c): Likewise.
9545 (CFLAGS-tst-platformmod-2.c): Likewise.
9546 (LDFLAGS-tst-platformmod-2.so): Likewise.
9547 ($(objpfx)tst-platform-1): Likewise.
9548 ($(objpfx)tst-platform-1.out): Likewise.
9549 (tst-platform-1-ENV): Likewise.
9550 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
9551 * sysdeps/x86_64/tst-platform-1.c: New file.
9552 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
9553 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
9555 2017-10-19 Mike FABIAN <mfabian@redhat.com>
9558 * locale/iso-639.def: Add Karbi.
9559 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
9560 * localedata/locales/mjw_IN: New file.
9562 2017-10-18 Joseph Myers <joseph@codesourcery.com>
9564 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
9565 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
9566 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
9567 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
9568 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
9569 (libm_alias_ldouble_other_r): Also create _Float128 alias.
9570 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
9572 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
9573 (libm_alias_ldouble_other_r): Also create _Float128 alias.
9574 * manual/math.texi (Mathematics): Document additional architecture
9575 support for _Float128.
9576 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
9577 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9578 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9580 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9581 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9582 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9583 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9584 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9585 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9586 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9587 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9588 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9589 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9592 2017-10-18 Renlin Li <renlin.li@arm.com>
9594 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
9595 _DYNAMIC symbol to calculate load address.
9597 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
9599 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
9600 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
9602 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
9603 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
9605 2017-10-18 Mike FABIAN <mfabian@redhat.com>
9608 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
9609 and improve readability by using more ASCII.
9610 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
9611 and improve readability by using more ASCII.
9613 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
9615 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
9616 not all targets support atomics on bool.
9618 2017-10-17 Joseph Myers <joseph@codesourcery.com>
9620 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
9621 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
9623 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
9624 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
9625 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
9626 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
9627 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
9628 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
9630 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9632 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
9635 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
9638 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
9639 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
9640 (do_check_remalloced_chunk): Fix build bug.
9641 (do_check_malloc_state): Add assert that checks arena->top.
9642 (malloc_consolidate): Remove initialization.
9643 (int_mallinfo): Remove call to malloc_consolidate.
9644 (__libc_mallopt): Clarify why malloc_consolidate is needed.
9646 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
9648 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
9649 (have_fastchunks): Remove.
9650 (clear_fastchunks): Remove.
9651 (set_fastchunks): Remove.
9652 (malloc_state): Add have_fastchunks.
9653 (malloc_init_state): Use have_fastchunks.
9654 (do_check_malloc_state): Remove incorrect invariant checks.
9655 (_int_malloc): Use have_fastchunks.
9656 (_int_free): Likewise.
9657 (malloc_consolidate): Likewise.
9659 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
9661 * malloc/malloc.c (tcache_put): Inline.
9662 (tcache_get): Inline.
9664 2017-10-17 Jordi Mallach <jordi@gnu.org>
9666 Aurelien Jarno <aurelien@aurel32.net>
9668 * localedata/locales/ca_ES@valencia: New file.
9669 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
9671 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
9674 * math/math.h: Let signbit use the builtin in C++ mode with gcc
9677 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9679 * scripts/build-many-glibcs.py (Context.add_all_configs):
9680 Add arm-linux-gnueabihf multiarch extra_glibcs.
9682 * sysdeps/generic/ifunc-init.h: New file.
9683 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
9685 2017-10-17 Mike FABIAN <mfabian@redhat.com>
9688 * localedata/locales/el_GR: Set n_cs_precedes to 0.
9689 * localedata/locales/el_CY: copy "el_GR" because it is identical.
9690 * stdlib/tst-strfmon_l.c: adapt test case.
9692 2017-10-16 Joseph Myers <joseph@codesourcery.com>
9694 * sysdeps/generic/float128-abi.h: New file.
9695 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
9696 non-__prefixed symbols to ....
9697 * math/Versions: ... here. Include <float128-abi.h>.
9698 * stdlib/Versions ... and here. Include <float128-abi.h>
9700 2017-10-16 Florian Weimer <fweimer@redhat.com>
9702 * version.h (VERSION): Switch to ".9000" as the development
9705 2017-10-16 Florian Weimer <fweimer@redhat.com>
9708 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
9709 compat_symbol_reference to access non-default version.
9711 2017-10-16 Florian Weimer <fweimer@redhat.com>
9713 * malloc/Makefile (others-extras): Set to mcheck-init.o.
9715 2017-10-16 Carlos O'Donell <carlos@redhat.com>
9717 * include/shlib-compat.h (compat_symbol_reference): Update
9720 2017-10-16 Joseph Myers <joseph@codesourcery.com>
9722 * math/Makefile (test-types): Add
9723 $(type-float128-$(float128-alias-fcts)).
9724 * math/test-float128.h (TYPE_STR): Define conditional on
9725 [FLT128_MANT_DIG == LDBL_MANT_DIG].
9726 (ULP_IDX): Likewise.
9727 (ULP_I_IDX): Likewise.
9729 * stdlib/strtold.c: Include <bits/floatn.h>
9730 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
9731 and later undefine as macro. Define as weak alias if
9733 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
9734 and later undefine as macro. Define as weak alias if
9736 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
9737 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
9738 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
9739 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
9740 Define and later undefine as macro. Define as weak alias if
9742 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
9744 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
9745 Define and later undefine as macro. Define as weak alias if
9747 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
9748 Define and later undefine as macro. Define as weak alias if
9751 2017-10-15 Carlos O'Donell <carlos@redhat.com>
9753 * localedata/collate-test.c (allocate_arrays): Don't use \n in
9754 record_verbose messages.
9756 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
9759 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
9760 to silence -O3 -Wall warning with GCC 7.
9762 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
9764 * Makeconfig (+link-static-before-libc): Use the first of
9765 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
9766 * gmon/Makefile (tests): Add tst-gmon-static.
9767 (tests-static): Likewise.
9768 (CFLAGS-tst-gmon-static.c): New.
9769 (CRT-tst-gmon-static): Likewise.
9770 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
9771 (tst-gmon-static-ENV): Likewise.
9772 (tests-special): Likewise.
9773 ($(objpfx)tst-gmon-static.out): Likewise.
9774 (clean-tst-gmon-static-data): Likewise.
9775 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
9776 * gmon/tst-gmon-static-gprof.sh: New file.
9777 * gmon/tst-gmon-static.c: Likewise.
9779 2017-10-13 Carlos O'Donell <carlos@redhat.com>
9782 * locale/programs/linereader.c (get_string): Don't warn on
9783 non-symbolic character.
9786 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
9790 * locale/programs/record-status.h: New file
9791 * locale/programs/locale.c: Add comment.
9792 * locale/programs/charmap-dir.c: Don't include error.h.
9793 (charmap_opendir): Use record_error.
9794 * locale/programs/charmap.c: Don't include error.h.
9795 (charmap_read): Use record_error, and record_warning.
9796 (parse_charmap): Likewise.
9797 * locale/programs/ld-address.c: Don't include error.h.
9798 (address_finish): Use record_error, and record_warning.
9799 * locale/programs/ld-collate.c: Don't include error.h.
9800 (collate_finish): Use record_error, and record_error_at_line.
9801 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
9802 (ctype_class_new): Likewise.
9803 (ctype_map_new): Likewise.
9804 (set_one_default): Likewise.
9805 (set_class_defaults): Likewise.
9806 (translit_flatten): Likewise.
9807 (allocate_arrays): Use record_error, and record_verbose.
9808 * locale/programs/ld-identification.c: Don't include error.h.
9809 (indentation_finish): Use record_error and record_warning.
9810 * locale/programs/ld-measurement.c: Don't include error.h.
9811 (measurement_finish): Use record_error.
9812 * locale/programs/ld-messages.c
9813 (message_finish): Likewise.
9814 * locale/programs/ld-monetary.c
9815 (monetary_finish): Likewise.
9816 * locale/programs/ld-name.c (name_finish): Use record_error
9818 * locale/programs/ld-numeric.c
9819 (numeric_finish): Use record_error.
9820 * locale/programs/ld-paper.c: Don't include error.h.
9821 (paper_finish): Use record_error.
9822 * locale/programs/ld-telephone.c: Don't include error.h.
9823 (telephone_finish): Use record_error.
9824 * locale/programs/ld-time.c (time_finish): Likewise.
9825 * locale/programs/linereader.h (lr_error): Make inline func.
9826 * locale/programs/localedef.c: Define recorded_warning_count,
9827 and recorded_error_count.
9828 (main): Use record_error. Use recorded_error_count and
9829 recorded_warning_count to issue correct error returns.
9830 (add_to_readlist): Use record_error.
9831 (find_locale): Likewise.
9832 (load_locale): Likewise.
9833 * locale/programs/localedef.h: Remove be_quiet
9834 and WITH_CUR_LOCALE.
9835 * locale/programs/locarchive.c (compare_from_file): Use
9837 * locale/programs/locfile.c (write_locale_data): Use
9839 * locale/programs/repertoire.c: Dont include error.h.
9840 (repertoire_complain): Use record_error.
9841 * localedata/tst-fmon.sh: Expect failures from localedef.
9842 * localedata/tst-locale.sh: Likewise.
9843 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
9845 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
9846 (REPORTS): Likewise.
9848 (i18n): Rename to...
9849 (i18n_ctype): ...this.
9850 (i18n-report): Rename to...
9851 (i18n_ctype-report): ...this.
9852 * localedata/locales/i18n_ctype: Regenerate.
9853 * localedata/locales/i18n: copy i18n_ctype.
9855 2017-10-13 Joseph Myers <joseph@codesourcery.com>
9857 * stdlib/strfroml.c: Include <bits/floatn.h>.
9858 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
9859 Define before include of <stdlib.h> and undefine afterwards, then
9860 define as weak alias.
9862 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
9863 Undefine and restore default definition. Use
9864 libm_alias_ldouble_other.
9866 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
9869 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
9872 2017-10-13 James Clarke <jrtc27@jrtc27.com>
9874 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9875 Assign sym_map to be map for local symbols, as TLS relocations
9876 use sym_map to determine whether the symbol is defined and to
9877 extract the TLS information.
9878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9881 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9884 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
9885 (math_force_eval): Add powerpc version.
9888 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
9890 (do_test): Likewise.
9891 * stdio-common/tst-printf.sh: Likewise.
9892 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
9893 ifdef clause in order to set the carry bit right. Replace r0 by
9894 0 without changing the behavior.
9896 2017-10-13 Joseph Myers <joseph@codesourcery.com>
9898 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
9899 <libm-alias-ldouble.h>.
9900 (fabsl): Define using libm_alias_ldouble.
9901 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
9902 <libm-alias-ldouble.h>.
9903 (fabsl): Define using libm_alias_ldouble.
9905 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
9906 Remove conditional code.
9908 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
9909 Rename to __clog10_internal_l.
9910 (__clog10_internal_l): Define aliases using
9911 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
9914 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9916 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
9917 * benchtests/sincosf-inputs: New file.
9918 * benchtests/cosf-inputs: New file.
9919 * benchtests/sinf-inputs: New file.
9921 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9923 * posix/tst-spawn.c (do_test): Wait for both children.
9925 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
9928 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
9929 tests-pie): Add tst-gmon-pie.
9930 (CFLAGS-tst-gmon-pie.c): New.
9931 (CRT-tst-gmon-pie): Likewise.
9932 (tst-gmon-pie-ENV): Likewise.
9933 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
9934 ($(objpfx)tst-gmon-pie.out): Likewise.
9935 (clean-tst-gmon-pie-data): Likewise.
9936 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
9937 * gmon/gmon.c [PIC]: Include <link.h>.
9938 [PIC] (callback): New function.
9939 (write_hist): Add an argument for load address. Subtract load
9941 (write_call_graph): Likewise.
9942 (write_gmon): Call __dl_iterate_phdr to get load address, pass
9943 it to write_hist and write_call_graph.
9944 * gmon/tst-gmon-pie.c: New file.
9946 2017-10-11 Joseph Myers <joseph@codesourcery.com>
9948 * math/Makefile (test-types-basic): New variable.
9949 (test-types): Likewise.
9950 (libm-test-support): Use $(test-types) instead of $(types).
9951 (libm-tests-base-normal): Likewise.
9952 (libm-tests-base-finite): Likewise.
9953 (libm-tests-base-inline): Likewise.
9954 (generated): Likewise.
9955 ($(objpfx)libm-test-support-$(t).c): Likewise.
9956 (libm-tests-for-type iterator): Likewise.
9957 (libm-test-support iterator): Likewise.
9958 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
9959 (ulp_idx): Use ULP_IDX.
9960 * math/test-ldouble.h: Include <float.h>.
9961 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
9962 (ULP_IDX): New macro.
9963 (ULP_I_IDX): Likewise.
9964 * math/test-double.h (ULP_IDX): Likewise.
9965 (ULP_I_IDX): Likewise.
9966 * math/test-float.h (ULP_IDX): Likewise.
9967 (ULP_I_IDX): Likewise.
9968 * math/test-float128.h (ULP_IDX): Likewise.
9969 (ULP_I_IDX): Likewise.
9971 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9973 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
9974 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9975 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9976 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
9977 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9978 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
9979 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
9980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9982 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9983 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
9984 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9985 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9986 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9987 (SINGLE_THREAD_BY_GLOBAL): Define.
9988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9990 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9992 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9994 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9996 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
9997 (SINGLE_THREAD_BY_GLOBAL): Likewise.
9998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10001 2017-10-11 Andreas Schwab <schwab@suse.de>
10003 * nis/Makefile (aux): Remove.
10004 * nscd/Makefile (aux): Add nscd_hash.
10005 (nscd-modules): Likewise.
10006 ($(objpfx)nscd): Don't depend on libnsl.
10007 * nscd/nscd_hash.c: New file.
10008 * nscd/nscd_hash.h: Likewise.
10009 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
10010 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
10011 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
10012 instead of <nis/rpcsvc/nis.h>.
10013 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
10015 2017-10-11 Florian Weimer <fweimer@redhat.com>
10018 Avoid large NSS buffers with many addresses, aliases.
10019 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
10020 using dynarrays and struct alloc_buffer.
10021 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
10022 (tst-nss-files-hosts-multi): Link with -ldl.
10023 * nss/tst-nss-files-hosts-multi.c: New file.
10025 2017-10-11 Florian Weimer <fweimer@redhat.com>
10028 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
10029 scratch_buffer. Eliminate gotos.
10031 2017-10-11 Joseph Myers <joseph@codesourcery.com>
10033 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
10034 libm_alias_ldouble_other.
10035 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
10036 undefine and redefine.
10037 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
10038 (exp10l): Do not define here.
10039 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
10040 (weak_alias): Undefine and redefine.
10041 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
10042 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
10043 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
10044 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
10046 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
10047 [!__fma] (fma): Define using libm_alias_double.
10048 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
10049 [!__fmaf] (fmaf): Define using libm_alias_float.
10050 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
10051 (fmal): Define using libm_alias_ldouble.
10053 2017-10-10 Joseph Myers <joseph@codesourcery.com>
10055 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
10057 (libm_alias_double_other): Likewise.
10058 (libm_alias_double_r): Use libm_alias_double_other_r.
10059 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
10061 (libm_alias_float_other): Likewise.
10062 (libm_alias_float_r): Use libm_alias_float_other_r.
10063 * sysdeps/generic/libm-alias-float128.h
10064 (libm_alias_float128_other_r): New macro.
10065 (libm_alias_float128_other): Likewise.
10066 (libm_alias_float128_r): Use libm_alias_float128_other_r.
10067 * sysdeps/generic/libm-alias-ldouble.h
10068 (libm_alias_ldouble_other_r): New macro.
10069 (libm_alias_ldouble_other): Likewise.
10070 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
10071 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
10072 (libm_alias_double_other_r): New macro.
10073 (libm_alias_double_other): Likewise.
10074 (libm_alias_double_r): Use libm_alias_double_other_r.
10075 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
10076 (libm_alias_ldouble_other_r): New macro.
10077 (libm_alias_ldouble_other): Likewise.
10078 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
10079 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
10080 [!USE_AS_COMPAT]: Use libm_alias_double_other.
10081 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
10082 [!USE_AS_COMPAT]: Use libm_alias_float_other.
10083 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
10084 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
10085 * math/w_exp2f.c: Use libm_alias_float_other.
10086 * math/w_expf.c: Likewise.
10087 * math/w_log2f.c: Likewise.
10088 * math/w_logf.c: Likewise.
10089 * math/w_powf.c: Likewise.
10090 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
10091 [!__exp2f]: Use libm_alias_float_other.
10092 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
10093 [!__expf]: Use libm_alias_float_other.
10094 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
10095 [!__log2f]: Use libm_alias_float_other.
10096 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
10097 [!__logf]: Use libm_alias_float_other.
10098 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
10099 [!__powf]: Use libm_alias_float_other.
10101 2017-10-10 Florian Weimer <fweimer@redhat.com>
10103 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
10105 (_nss_files_gethostbyname3_r): Call it.
10107 2017-10-09 Joseph Myers <joseph@codesourcery.com>
10109 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
10110 error. Remove default definition of declare_mgen_alias.
10111 [!declare_mgen_alias_r]: Likewise.
10112 * sysdeps/generic/math-type-macros-double.h
10113 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
10114 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
10115 (declare_mgen_alias_r): Likewise.
10116 * sysdeps/generic/math-type-macros-float128.h
10117 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
10118 * sysdeps/generic/math-type-macros-ldouble.h
10119 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
10120 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
10122 (declare_mgen_alias_r_s): Likewise.
10123 (declare_mgen_alias_r): Likewise.
10124 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
10125 (lgamma_r): Define using libm_alias_double_r.
10126 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
10127 (lgammaf_r): Define using libm_alias_float_r.
10128 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
10129 (lgammal_r): Define using libm_alias_ldouble_r.
10130 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
10131 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
10133 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10135 * lib/glob.c (__glob_pattern_type): Remove now-spurious
10136 extern declaration.
10138 2017-10-09 Joseph Myers <joseph@codesourcery.com>
10140 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
10142 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
10145 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
10146 [__cplusplus >= 201103] (__USE_ISOC99): Define.
10147 * math/Makefile (test-math-cxx11): New test.
10148 * math/test-math-cxx11.cc: New file.
10150 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
10152 * login/openpty.c (openpty): Close slave pty file descriptor on error.
10154 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
10155 call to allocate the slave pty file descriptor.
10157 2017-10-06 Joseph Myers <joseph@codesourcery.com>
10159 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
10160 [!__fma] (fma): Define using libm_alias_double.
10161 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
10162 [!__fma] (fma): Define using libm_alias_double.
10164 * sysdeps/ieee754/float128/float128_private.h: Include
10165 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
10166 (libm_alias_ldouble_r): Undefine and redefine.
10167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
10168 <libm-alias-ldouble.h>.
10169 (asinhl): Define using libm_alias_ldouble.
10170 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
10171 <libm-alias-ldouble.h>.
10172 (atanl): Define using libm_alias_ldouble.
10173 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
10174 <libm-alias-ldouble.h>.
10175 (cbrtl): Define using libm_alias_ldouble.
10176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
10177 <libm-alias-ldouble.h>.
10178 (ceill): Define using libm_alias_ldouble.
10179 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
10180 <libm-alias-ldouble.h>.
10181 (copysignl): Define using libm_alias_ldouble.
10182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
10183 <libm-alias-ldouble.h>.
10184 (cosl): Define using libm_alias_ldouble.
10185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
10186 <libm-alias-ldouble.h>.
10187 (erfl): Define using libm_alias_ldouble.
10189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
10190 <libm-alias-ldouble.h>.
10191 (expm1l): Define using libm_alias_ldouble.
10192 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
10193 <libm-alias-ldouble.h>.
10194 (fabsl): Define using libm_alias_ldouble.
10195 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
10196 <libm-alias-ldouble.h>.
10197 (floorl): Define using libm_alias_ldouble.
10198 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
10199 <libm-alias-ldouble.h>.
10200 (fmal): Define using libm_alias_ldouble.
10201 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
10202 <libm-alias-ldouble.h>.
10203 (frexpl): Define using libm_alias_ldouble.
10204 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
10205 libm_alias_ldouble.
10206 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
10207 <libm-alias-ldouble.h>.
10208 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
10209 libm_alias_ldouble.
10210 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
10211 <libm-alias-ldouble.h>.
10212 (getpayloadl): Define using libm_alias_ldouble.
10213 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
10214 <libm-alias-ldouble.h>.
10215 (llrintl): Define using libm_alias_ldouble.
10216 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
10217 <libm-alias-ldouble.h>.
10218 (llroundl): Define using libm_alias_ldouble.
10219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
10220 <libm-alias-ldouble.h>.
10221 (logbl): Define using libm_alias_ldouble.
10222 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
10223 <libm-alias-ldouble.h>.
10224 (lrintl): Define using libm_alias_ldouble.
10225 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
10226 <libm-alias-ldouble.h>.
10227 (lroundl): Define using libm_alias_ldouble.
10228 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
10229 <libm-alias-ldouble.h>.
10230 (modfl): Define using libm_alias_ldouble.
10231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
10232 <libm-alias-ldouble.h>.
10233 (nearbyintl): Define using libm_alias_ldouble.
10234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
10235 <libm-alias-ldouble.h>.
10236 (nextafterl): Define using libm_alias_ldouble.
10237 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
10238 <libm-alias-ldouble.h>.
10239 (nextupl): Define using libm_alias_ldouble.
10240 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
10241 <libm-alias-ldouble.h>.
10242 (remquol): Define using libm_alias_ldouble.
10243 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
10244 <libm-alias-ldouble.h>.
10245 (rintl): Define using libm_alias_ldouble.
10246 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
10247 <libm-alias-ldouble.h>.
10248 (roundevenl): Define using libm_alias_ldouble.
10249 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
10250 <libm-alias-ldouble.h>.
10251 (roundl): Define using libm_alias_ldouble.
10252 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
10253 using libm_alias_ldouble.
10254 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
10255 <libm-alias-ldouble.h>.
10256 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
10257 Define using libm_alias_ldouble.
10258 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
10259 <libm-alias-ldouble.h>.
10260 (sincosl): Define using libm_alias_ldouble.
10261 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
10262 <libm-alias-ldouble.h>.
10263 (sinl): Define using libm_alias_ldouble.
10264 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
10265 <libm-alias-ldouble.h>.
10266 (tanhl): Define using libm_alias_ldouble.
10267 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
10268 <libm-alias-ldouble.h>.
10269 (tanl): Define using libm_alias_ldouble.
10270 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10271 <libm-alias-ldouble.h>.
10272 (totalorderl): Define using libm_alias_ldouble.
10273 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10274 <libm-alias-ldouble.h>.
10275 (totalordermagl): Define using libm_alias_ldouble.
10276 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
10277 <libm-alias-ldouble.h>.
10278 (truncl): Define using libm_alias_ldouble.
10279 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
10280 libm_alias_ldouble.
10281 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
10282 libm_alias_ldouble.
10283 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
10284 <libm-alias-ldouble.h>.
10285 (weak_alias): Do not undefine and redefine.
10286 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10287 (copysignl): Define with long_double_symbol only if [IS_IN
10289 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
10290 <libm-alias-ldouble.h>.
10291 (weak_alias): Do not undefine and redefine.
10292 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10293 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
10294 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
10295 <libm-alias-ldouble.h>.
10296 (weak_alias): Do not undefine and redefine.
10297 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10298 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
10299 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
10300 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
10303 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
10306 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
10309 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
10316 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
10324 2017-10-06 Carlos O'Donell <carlos@redhat.com>
10327 * malloc/malloc.c (tcache_shutting_down): Use bool type.
10328 (tcache_thread_freeres): Set tcache_shutting_down before
10329 freeing the tcache.
10330 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
10331 * malloc/tst-malloc-tcache-leak.c: New file.
10333 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10335 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
10336 back to powerpc32 file.
10337 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
10338 (memrchr): Add __memrchr_power8 to ifunc list.
10339 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
10340 extra bytes for unaligned inputs.
10342 2017-10-06 Joseph Myers <joseph@codesourcery.com>
10344 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
10345 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10350 2017-10-05 Joseph Myers <joseph@codesourcery.com>
10352 * sysdeps/arm/libm-test-ulps: Update.
10354 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
10355 <libm-alias-ldouble.h>.
10356 (asinhl): Define using libm_alias_ldouble.
10357 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
10358 <libm-alias-ldouble.h>.
10359 (cbrtl): Define using libm_alias_ldouble.
10360 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
10361 <libm-alias-ldouble.h>.
10362 (copysignl): Define using libm_alias_ldouble.
10363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
10364 <libm-alias-ldouble.h>.
10365 (cosl): Define using libm_alias_ldouble.
10366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
10367 <libm-alias-ldouble.h>.
10368 (erfl): Define using libm_alias_ldouble.
10370 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
10371 <libm-alias-ldouble.h>.
10372 (fmal): Define using libm_alias_ldouble.
10373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
10374 <libm-alias-ldouble.h>.
10375 (frexpl): Define using libm_alias_ldouble.
10376 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
10377 libm_alias_ldouble.
10378 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
10379 <libm-alias-ldouble.h>.
10380 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
10381 libm_alias_ldouble.
10382 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
10383 <libm-alias-ldouble.h>.
10384 (getpayloadl): Define using libm_alias_ldouble.
10385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
10386 <libm-alias-ldouble.h>.
10387 (llrintl): Define using libm_alias_ldouble.
10388 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
10389 <libm-alias-ldouble.h>.
10390 (llroundl): Define using libm_alias_ldouble.
10391 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
10392 <libm-alias-ldouble.h>.
10393 (lrintl): Define using libm_alias_ldouble.
10394 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
10395 <libm-alias-ldouble.h>.
10396 (lroundl): Define using libm_alias_ldouble.
10397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
10398 <libm-alias-ldouble.h>.
10399 (modfl): Define using libm_alias_ldouble.
10400 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
10401 <libm-alias-ldouble.h>.
10402 (nextupl): Define using libm_alias_ldouble.
10403 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
10404 <libm-alias-ldouble.h>.
10405 (remquol): Define using libm_alias_ldouble.
10406 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
10407 <libm-alias-ldouble.h>.
10408 (roundevenl): Define using libm_alias_ldouble.
10409 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
10410 <libm-alias-ldouble.h>.
10411 (roundl): Define using libm_alias_ldouble.
10412 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
10413 using libm_alias_ldouble.
10414 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
10415 <libm-alias-ldouble.h>.
10416 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
10417 <libm-alias-ldouble.h>.
10418 (setpayloadsigl): Define using libm_alias_ldouble.
10419 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
10420 <libm-alias-ldouble.h>.
10421 (sincosl): Define using libm_alias_ldouble.
10422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
10423 <libm-alias-ldouble.h>.
10424 (sinl): Define using libm_alias_ldouble.
10425 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
10426 <libm-alias-ldouble.h>.
10427 (tanhl): Define using libm_alias_ldouble.
10428 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
10429 <libm-alias-ldouble.h>.
10430 (tanl): Define using libm_alias_ldouble.
10431 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10432 <libm-alias-ldouble.h>.
10433 (totalorderl): Define using libm_alias_ldouble.
10434 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10435 <libm-alias-ldouble.h>.
10436 (totalordermagl): Define using libm_alias_ldouble.
10437 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
10438 libm_alias_ldouble.
10439 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
10440 libm_alias_ldouble.
10442 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10444 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10446 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10447 (__libc_ifunc_impl_list): Likewise.
10448 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
10449 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
10451 * benchtests/bench-memmove-walk.c: New file.
10452 * benchtests/Makefile (string-benchset): Add it.
10454 * benchtests/bench-memset-walk.c: New file.
10455 * benchtests/Makefile (string-benchset): Add it.
10457 * benchtests/bench-memcpy-walk.c: New file.
10458 * benchtests/Makefile (string-benchset): Add it.
10460 2017-10-05 Florian Weimer <fweimer@redhat.com>
10462 nscd: Eliminate compilation time dependency in the build output.
10463 * nscd/nscd_stat.c (STATDATA_VERSION)
10464 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
10465 (STATDATA_VERSION_FULL): New macro definitions.
10466 (compilation): Remove.
10467 (struct statdata): Adjust version member.
10468 (send_stats): Set version from STATDATA_VERSION_FULL.
10469 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
10471 2017-10-05 Joseph Myers <joseph@codesourcery.com>
10473 * configure.ac (--enable-add-ons): Remove option.
10474 (machine): Do not mention add-ons in comment.
10475 (LIBC_PRECONFIGURE): Likewise.
10476 (add_ons): Remove variable and sanity checks and logic to locate
10478 (add_ons_automatic): Remove variable.
10479 (configured_add_ons): Likewise.
10480 (add_ons_sfx): Likewise.
10481 (add_ons_pfx): Likewise.
10482 (add_on_subdirs): Likewise.
10483 (sysnames_add_ons): Likewise. Remove loop over add-ons and
10484 consideration of add-ons in Implies handling.
10485 (sysdeps_add_ons): Likewise.
10486 * configure: Regenerated.
10487 * libidn/configure.ac: Remove.
10488 * libidn/configure: Likewise.
10489 * sysdeps/unix/inet/configure.ac: New file.
10490 * sysdeps/unix/inet/configure: New generated file.
10491 * sysdeps/unix/inet/Subdirs: Add libidn.
10492 * Makeconfig (sysdeps-srcdirs): Remove variable.
10493 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
10494 ($(common-objpfx)config.status): Do not depend on add-on files.
10495 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
10497 (all-subdirs): Do not include $(add-on-subdirs).
10498 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
10499 * config.make.in (add-ons): Remove variable.
10500 (add-on-subdirs): Likewise.
10501 (sysdeps-add-ons): Likewise.
10502 * manual/Makefile (add-chapters): Remove.
10503 ($(objpfx)texis): Do not depend on $(add-chapters).
10504 (nonexamples): Do not handle $(add-chapters).
10505 (examples): Do not handle $(add-ons).
10506 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
10508 * manual/install.texi (Installation): Do not mention add-ons.
10509 (--enable-add-ons): Do not document configure option.
10510 * INSTALL: Regenerated.
10511 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
10512 * manual/maint.texi (Hierarchy Conventions): Do not mention
10514 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
10516 * scripts/gen-sorted.awk: Do not handle Subdirs files from
10518 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
10519 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
10521 2017-10-05 Andreas Schwab <schwab@suse.de>
10524 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
10525 (_IO_flush_all_lockp): Always lock list_all_lock.
10526 (_IO_flush_all_linebuffered): Likewise.
10527 (_IO_unbuffer_all): Likewise.
10529 2017-10-05 Florian Weimer <fweimer@redhat.com>
10532 Do not flush stdio streams on abort.
10533 * stdlib/abort.c (fflush): Remove macro definition.
10534 (abort): Remove stages related to stdio flushing.
10536 2017-10-05 Florian Weimer <fweimer@redhat.com>
10538 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
10540 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
10542 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10544 2017-10-05 Florian Weimer <fweimer@redhat.com>
10546 * support/support_format_hostent.c (support_format_hostent): Add
10547 more error information for NETDB_INTERNAL.
10549 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10551 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
10552 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
10553 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
10554 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
10555 AC_DEFINE if multi-arch is enabled.
10556 * sysdeps/i386/configure: Regenerated.
10558 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10560 * Makeconfig (+link-static-before-libc): Use
10561 $(DEFAULT-LDFLAGS-$(@F)).
10562 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
10563 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
10564 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
10566 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10568 * elf/Makefile (tests): Add tst-main1.
10569 (modules-names): Add tst-main1mod.
10570 ($(objpfx)tst-main1): New.
10571 (CRT-tst-main1): Likewise.
10572 (LDFLAGS-tst-main1): Likewise.
10573 (LDLIBS-tst-main1): Likewise.
10574 (tst-main1mod.so-no-z-defs): Likewise.
10575 * elf/tst-main1.c: New file.
10576 * elf/tst-main1mod.c: Likewise.
10578 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10580 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
10582 2017-10-04 Joseph Myers <joseph@codesourcery.com>
10584 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
10585 (fma): Define using libm_alias_double.
10586 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
10587 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
10589 (fmal): Do not define as compat symbol here.
10590 * sysdeps/alpha/fpu/s_fma.c: New file.
10592 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
10594 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
10596 2017-10-04 Joseph Myers <joseph@codesourcery.com>
10599 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
10601 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
10603 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
10604 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
10605 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
10606 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
10607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10608 Include <math_ldbl_opt.h>
10609 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
10611 (compat_symbol): Undefine and redefine.
10612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
10614 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
10615 (compat_symbol): Undefine and redefine.
10616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
10617 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
10618 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
10619 GLIBC_2_1 for libm.
10620 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
10621 GLIBC_2.0 copysignl symbol.
10622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10623 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
10625 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
10627 2017-10-04 Florian Weimer <fweimer@redhat.com>
10629 * scripts/check-local-headers.sh: Ignore nspr4 header file
10630 directory in addition to nspr.
10632 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
10635 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
10636 * configure: Regenerate.
10637 * crypt/Makefile (nss-cpp-flags): New variable.
10638 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
10639 (CPPFLAGS-md5-crypt.c): Use it.
10640 * scripts/check-local-headers.sh: Ignore nspr header file
10643 2017-10-04 Andreas Schwab <schwab@suse.de>
10645 * nis/Makefile (services): Remove compat.
10646 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
10647 ($(objpfx)libnss_compat.so): Remove rule.
10648 * nis/Versions (libnss_compat): Remove.
10649 * nss/Makefile (services): Add compat.
10650 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
10651 * nss/Versions (libnss_compat): Define.
10652 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
10653 Don't include <rpc/types.h>. Replace bool_t by bool.
10654 * nss/nss_compat/compat-initgroups.c: Likewise.
10655 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
10656 instead of <rpcsrv/ypclnt.h>.
10657 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
10658 yp_get_default_domain.
10659 * nss/nss_compat/compat-pwd.c: Likewise.
10660 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
10661 yp_get_default_domain.
10662 * nss/nss_compat/nisdomain.c: New file.
10663 * nss/nss_compat/nisdomain.h: Likewise.
10665 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
10668 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
10669 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10671 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
10674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
10675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
10677 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10679 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
10680 "movl main@GOTOFF(%ebx), %eax".
10682 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10684 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
10685 allow undefined _DYNAMIC in PIE libc.a.
10686 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
10689 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10691 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
10694 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10696 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
10699 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10701 * math/test-math-iscanonical.cc (error): Replace bool with int.
10703 2017-10-03 Joseph Myers <joseph@codesourcery.com>
10705 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
10706 (modf): Define using libm_alias_double, only if [!__modf].
10707 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
10708 <libm-alias-double.h>.
10709 (modf): Define using libm_alias_double, only if [!__modf].
10710 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
10711 compat symbol here.
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
10713 (weak_alias): Do not undefine and redefine.
10714 (strong_alias): Likewise.
10715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
10716 (weak_alias): Likewise.
10717 (strong_alias): Likewise.
10719 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
10720 (logb): Define using libm_alias_double, only if [!__logb].
10721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
10722 <libm-alias-double.h>.
10723 (logb): Define using libm_alias_double, only if [!__logb].
10724 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
10726 (weak_alias): Do not undefine and redefine.
10727 (strong_alias): Likewise.
10728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
10729 (weak_alias): Likewise.
10730 (strong_alias): Likewise.
10732 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10734 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
10735 Check SHARED instead PIC.
10737 2017-10-03 Joseph Myers <joseph@codesourcery.com>
10739 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
10740 [!__fmaf] (fmaf): Define using libm_alias_float.
10742 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
10743 (frexp): Define using libm_alias_double.
10744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
10745 <libm-alias-double.h>.
10746 (frexp): Define using libm_alias_double.
10747 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
10748 compat symbol here.
10750 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10753 * math/math.h: Trivial fix for unbalanced parentheses in comment.
10754 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
10755 (CFLAGS-test-math-iscanonical.cc): New variable.
10756 * math/test-math-iscanonical.cc: New file.
10757 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
10758 Provide a C++ implementation based on function overloading,
10759 rather than using __MATH_TG, which uses C-only builtins.
10760 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
10762 * sysdeps/powerpc/powerpc64le/Makefile
10763 (CFLAGS-test-math-iscanonical.cc): New variable.
10765 2017-10-03 Joseph Myers <joseph@codesourcery.com>
10767 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
10768 (ceil): Define using libm_alias_double.
10769 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
10770 (floor): Define using libm_alias_double.
10771 * sysdeps/ieee754/dbl-64/s_llround.c: Include
10772 <libm-alias-double.h>.
10773 (llround): Define using libm_alias_double.
10774 * sysdeps/ieee754/dbl-64/s_lround.c: Include
10775 <libm-alias-double.h>.
10776 (lround): Define using libm_alias_double.
10777 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
10778 <libm-alias-double.h>.
10779 (nearbyint): Define using libm_alias_double.
10780 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
10781 <libm-alias-double.h>.
10782 (remquo): Define using libm_alias_double.
10783 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
10784 (rint): Define using libm_alias_double.
10785 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
10786 (round): Define using libm_alias_double.
10787 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
10788 (trunc): Define using libm_alias_double.
10789 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
10790 <libm-alias-double.h>.
10791 (ceil): Define using libm_alias_double.
10792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
10793 <libm-alias-double.h>.
10794 (floor): Define using libm_alias_double.
10795 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
10796 <libm-alias-double.h>.
10797 (llround): Define using libm_alias_double.
10798 [_LP64] (lround): Likewise.
10799 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
10800 <libm-alias-double.h>.
10801 [!_LP64] (lround): Define using libm_alias_double.
10802 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
10803 <libm-alias-double.h>.
10804 (nearbyint): Define using libm_alias_double.
10805 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
10806 <libm-alias-double.h>.
10807 (remquo): Define using libm_alias_double.
10808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
10809 <libm-alias-double.h>.
10810 (rint): Define using libm_alias_double.
10811 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
10812 <libm-alias-double.h>.
10813 (round): Define using libm_alias_double.
10814 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
10815 <libm-alias-double.h>.
10816 (trunc): Define using libm_alias_double.
10817 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
10818 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
10819 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
10820 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
10821 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
10822 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
10823 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
10824 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
10825 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
10827 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10829 * math/w_remainder.c: New file.
10830 * math/w_remainderf.c: New file.
10831 * math/w_remainderl.c: New file.
10833 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10835 * elf/rtld.c (BOOTSTRAP_MAP): New.
10836 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
10837 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10839 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10841 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10844 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10846 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
10847 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
10848 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
10849 rtld_hidden_data_ver): Define to empty.
10850 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
10851 __assert_perror_fail): Likewise.
10852 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10853 (__rewinddir): Likewise.
10854 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10855 (__profile_frequency): Likewise.
10856 * include/setjmp.h (__sigsetjmp): Likewise.
10857 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
10858 __libc_sigaction): Likewise.
10859 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
10860 not set hidden attribute.
10861 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
10862 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
10863 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
10864 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
10865 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
10866 __fxstatat64): Likewise.
10867 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10868 (__uname): Likewise.
10869 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10870 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
10871 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
10872 (NO_RTLD_HIDDEN): Set.
10873 * sysdeps/mach/hurd/configure: Refresh.
10874 * config.h.in: Refresh.
10876 2017-10-02 Joseph Myers <joseph@codesourcery.com>
10878 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
10879 (atan): Define using libm_alias_double.
10880 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
10881 (tan): Define using libm_alias_double.
10882 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
10883 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
10886 define as weak alias of __atan. Do not define any aliases if
10888 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
10889 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
10890 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
10891 as weak alias of __tan. Do not define any aliases if [__tan].
10892 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
10893 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
10894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
10896 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
10897 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
10898 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
10899 and define as weak alias of __atan.
10900 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
10902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
10903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
10904 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
10905 define as weak alias of __tan.
10907 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10909 * math/w_lgamma.c: New file.
10910 * math/w_lgammaf.c: New file.
10911 * math/w_lgammal.c: New file.
10913 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10915 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
10916 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
10917 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
10918 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
10919 * sysdeps/ieee754/flt-32/w_logf.c: New file.
10920 * sysdeps/ieee754/flt-32/w_powf.c: New file.
10921 * sysdeps/i386/fpu/w_log2f.c: New file.
10922 * sysdeps/i386/fpu/w_logf.c: New file.
10923 * sysdeps/i386/fpu/w_powf.c: New file.
10924 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
10925 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
10926 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
10928 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10929 H.J. Lu <hongjiu.lu@intel.com>
10931 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
10932 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
10933 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
10934 * sysdeps/ieee754/flt-32/w_expf.c: New file.
10935 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
10937 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
10938 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
10939 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
10940 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
10941 * sysdeps/i386/fpu/w_exp2f.c: New file.
10942 * sysdeps/i386/fpu/w_expf.c: New file.
10943 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
10944 * sysdeps/x86_64/fpu/w_expf.c: New file.
10946 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10948 * math/Versions (logf): New libm symbol at GLIBC_2.27.
10951 * math/w_log2f.c: New file.
10952 * math/w_logf.c: New file.
10953 * math/w_powf.c: New file.
10954 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
10955 * math/w_logf_compat.c (__logf_compat): Likewise.
10956 * math/w_powf_compat.c (__powf_compat): Likewise.
10957 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
10958 * sysdeps/ia64/fpu/e_logf.S: Likewise.
10959 * sysdeps/ia64/fpu/e_powf.S: Likewise.
10960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10980 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10989 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10991 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10993 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10995 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10996 (sysdep_routines): Add memrchr_power8.
10997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10998 (memrchr): Add __memrchr_power8 to list of memrchr functions.
10999 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
11001 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
11002 (memrchr): Add __memrchr_power8 to ifunc list.
11003 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
11005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11008 * sysdeps/unix/sysv/linux/posix_fadvise64.c
11009 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
11011 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11012 (__posix_fallocate64_l64): Likewise.
11014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11017 * sysdeps/unix/sysv/linux/sched_setaffinity.c
11018 (__sched_setaffinity_new): Add libc_hidden_proto and
11021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11024 * include/glob.h (__glob64): Add libc_hidden_proto.
11025 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
11028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11031 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
11034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11037 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
11039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11042 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
11045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11048 * csu/version.c (__libc_print_version): Add attribute_hidden.
11050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11053 * include/libc-internal.h (__init_misc): Add attribute_hidden.
11055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11058 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
11060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11063 * nscd/nscd_helper.c (__nis_hash): New prototype.
11065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11068 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
11069 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
11071 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11072 * termios/tcgetattr.c (__tcgetattr): Likewise.
11074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11077 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
11078 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
11079 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
11080 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
11081 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
11083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11086 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
11088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11091 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
11092 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
11094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11097 * intl/hash-string.h (__hash_string): Add attribute_hidden.
11099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11102 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
11103 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
11105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11108 * include/ifreq.h: New file.
11109 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
11110 (__ifreq): Likewise.
11111 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
11112 (__ifreq): Likewise.
11114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11117 * include/idna.h: New file.
11118 * inet/getnameinfo.c: Include <idna.h> instead of
11120 (__idna_to_unicode_lzlz): Removed.
11121 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
11123 (__idna_to_ascii_lz): Removed.
11124 (__idna_to_unicode_lzlz): Likewise.
11126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11129 * include/plural-exp.h: New file.
11130 * intl/plural-exp.c: Include <plural-exp.h> instead of
11133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11136 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
11137 "getsourcefilter.h".
11138 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
11139 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
11140 "getsourcefilter.h".
11141 (__get_sol): Removed.
11143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11146 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
11148 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
11150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11153 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
11156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11159 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
11161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11164 * include/search.h (__tdestroy): Add libc_hidden_proto.
11165 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
11167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11170 * include/assert.h (__assert_fail_base): Add attribute_hidden.
11172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11175 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
11178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11181 * include/signal.h (__kill): Add libc_hidden_proto.
11182 (__sigblock): Likewise.
11183 (__sigprocmask): Likewise.
11184 (__sigaltstack): Likewise.
11185 * signal/kill.c (__kill): Add libc_hidden_def.
11186 * signal/sigblock.c (__sigblock): Likewise.
11187 * signal/sigprocmask.c (__sigprocmask): Likewise.
11188 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
11189 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11190 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11191 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11192 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
11194 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11196 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11197 (__sigprocmask): Likewise.
11198 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
11200 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11201 (__sigprocmask): Likewise.
11202 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11208 * include/string.h (__strsep): Add libc_hidden_proto.
11209 * string/strsep.c (__strsep): Add libc_hidden_def.
11211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11214 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
11216 (__spawni): Likewise.
11218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11221 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
11222 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
11225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11228 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
11230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11233 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
11234 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
11235 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
11236 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
11237 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
11239 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
11240 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
11242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11245 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
11246 (__dcigettext): Likewise.
11248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11251 * include/sys/sysinfo.h (__get_nprocs_conf): Add
11253 (__get_nprocs): Likewise.
11254 (__get_phys_pages): Likewise.
11255 (__get_avphys_pages): Likewise.
11256 (__get_child_max): Add attribute_hidden.
11257 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
11258 (__get_nprocs): Likewise.
11259 (__get_phys_pages): Likewise.
11260 (__get_avphys_pages): Likewise.
11261 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
11263 (__get_nprocs): Likewise.
11264 (__get_phys_pages): Likewise.
11265 (__get_avphys_pages): Likewise.
11266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
11268 (__get_nprocs_conf): Likewise.
11269 (__get_phys_pages): Likewise.
11270 (__get_avphys_pages): Likewise.
11272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11275 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
11277 (__netlink_close): Likewise.
11278 (__netlink_free_handle): Likewise.
11279 (__netlink_request): Likewise.
11281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11284 * include/rpc/rpc.h (__rpc_thread_variables): Add
11286 (__rpc_thread_svc_cleanup): Likewise.
11287 (__rpc_thread_clnt_cleanup): Likewise.
11288 (__rpc_thread_key_cleanup): Likewise.
11290 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11293 * include/sys/uio.h (__readv): Add libc_hidden_proto.
11294 (__writev): Likewise.
11295 * misc/readv.c (__readv): Add libc_hidden_def.
11296 * misc/writev.c (__writev): Likewise.
11297 * sysdeps/posix/readv.c (__readv): Likewise.
11298 * sysdeps/posix/writev.c (__writev): Likewise.
11299 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
11300 (__readv): Likewise.
11301 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
11302 (__writev): Likewise.
11304 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11307 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
11308 (__regcomp): Add libc_hidden_proto.
11309 (__regexec): Likewise.
11310 (__regfree): Likewise.
11311 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
11312 (__regfree): Likewise.
11313 * posix/regexec.c (__regexec): Likewise.
11315 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11318 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
11319 (__getutent): Likewise.
11320 (__getutid): Likewise.
11321 (__getutline): Likewise.
11322 (__pututline): Likewise.
11323 (__getutent_r): Likewise.
11324 (__getutid_r): Likewise.
11325 (__getutline_r): Likewise.
11326 (__utmpname): Add attribute_hidden.
11327 (__setutent): Likewise.
11328 (__endutent): Likewise.
11329 * login/getutent.c (__getutent): Add libc_hidden_def.
11330 * login/getutent_r.c (__getutent_r): Likewise.
11331 (__pututline): Likewise.
11332 * login/getutid.c (__getutid): Likewise.
11333 * login/getutid_r.c (__getutid_r): Likewise.
11334 * login/getutline.c (__getutline): Likewise.
11335 * login/getutline_r.c (__getutline_r): Likewise.
11336 * login/updwtmp.c (__updwtmp): Likewise.
11338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11341 * include/dirent.h (__opendir): Always add attribute_hidden.
11342 (__fdopendir): Likewise.
11343 (__closedir): Likewise.
11344 (__readdir): Likewise.
11345 (__readdir64): Add libc_hidden_proto.
11346 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
11347 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
11348 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
11349 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
11352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11355 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
11356 * include/netdb.h (__gethostbyaddr_r): Likewise.
11357 (__gethostbyname_r): Likewise.
11358 (__gethostbyname2_r): Likewise.
11359 (__getnetbyaddr_r): Likewise.
11360 (__getnetbyname_r): Likewise.
11361 (__getservbyname_r): Likewise.
11362 (__getservbyport_r): Likewise.
11363 (__getprotobyname_r): Likewise.
11364 (__getprotobynumber_r): Likewise.
11365 (__getnetgrent_r): Likewise.
11366 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
11367 (__getrpcbynumber_r): Likewise.
11368 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
11370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11373 * include/stdio.h (__fcloseall): Add attribute_hidden.
11374 (__getline): Likewise.
11375 (__path_search): Likewise.
11376 (__gen_tempname): Likewise.
11377 (__libc_message): Likewise.
11378 (__flockfile): Likewise.
11379 (__funlockfile): Likewise.
11380 (__fxprintf): Likewise.
11381 (__fxprintf_nocancel): Likewise.
11383 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11386 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
11387 (__sgetsgent_r): Likewise.
11389 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11392 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
11393 (__statfs64): Likewise.
11394 (__fstatfs64): Likewise.
11395 * include/sys/statvfs.h (__statvfs64): Likewise.
11396 (__fstatvfs64): Likewise.
11397 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
11398 (__statfs_filesize_max): Likewise.
11399 (__statfs_symlinks): Likewise.
11400 (__statfs_chown_restricted): Likewise.
11402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11405 * include/time.h (__tzstring): Add attribute_hidden.
11406 (__tzfile_read): Likewise.
11407 (__tzfile_compute): Likewise.
11408 (__tzfile_default): Likewise.
11409 (__tzset_parse_tz): Likewise.
11410 (__offtime): Likewise.
11411 (__asctime_r): Likewise.
11412 (__tzset): Likewise.
11413 (__tz_convert): Likewise.
11414 (__getdate_r): Likewise.
11415 (__getclktck): Likewise.
11417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11420 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
11421 (__nscd_unmap): Likewise.
11422 (__nscd_cache_search): Likewise.
11423 (__nscd_get_nl_timestamp): Likewise.
11424 (__nscd_getpwnam_r): Likewise.
11425 (__nscd_getpwuid_r): Likewise.
11426 (__nscd_getgrnam_r): Likewise.
11427 (__nscd_getgrgid_r): Likewise.
11428 (__nscd_gethostbyname_r): Likewise.
11429 (__nscd_gethostbyname2_r): Likewise.
11430 (__nscd_gethostbyaddr_r): Likewise.
11431 (__nscd_getai): Likewise.
11432 (__nscd_getgrouplist): Likewise.
11433 (__nscd_getservbyname_r): Likewise.
11434 (__nscd_getservbyport_r): Likewise.
11435 (__nscd_innetgr): Likewise.
11436 (__nscd_setnetgrent): Likewise.
11438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11441 * include/gmp.h: Declare internal functions only if _ISOMAC is
11443 (__mpn_extract_double): Add attribute_hidden.
11444 (__mpn_extract_long_double): Likewise.
11445 (__mpn_extract_float128): Likewise.
11446 (__mpn_construct_float): Likewise.
11447 (__mpn_construct_double): Likewise.
11448 (__mpn_construct_long_double): Likewise.
11449 (__mpn_construct_float128): Likewise.
11450 (mpn_add_1): Likewise.
11451 (mpn_addmul_1): Likewise.
11452 (mpn_add_n): Likewise.
11453 (mpn_cmp): Likewise.
11454 (mpn_divrem): Likewise.
11455 (mpn_lshift): Likewise.
11456 (mpn_mul): Likewise.
11457 (mpn_mul_1): Likewise.
11458 (mpn_rshift): Likewise.
11459 (mpn_sub_1): Likewise.
11460 (mpn_submul_1): Likewise.
11461 (mpn_sub_n): Likewise.
11463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11466 * include/wchar.h (__wcsnlen): Add attribute_hidden.
11467 (__wcscat): Likewise.
11468 (__btowc): Likewise.
11469 (__wcrtomb): Likewise.
11470 (__mbsrtowcs): Likewise.
11471 (__wcsrtombs): Likewise.
11472 (__mbsnrtowcs): Likewise.
11473 (__wcsnrtombs): Likewise.
11474 (__wcsncpy): Likewise.
11475 (__wcpncpy): Likewise.
11476 (__wmemcpy): Likewise.
11477 (__wmempcpy): Likewise.
11478 (__wmemmove): Likewise.
11479 (__wcschrnul): Likewise.
11480 (__vfwscanf): Likewise.
11481 (__vswprintf): Likewise.
11482 (__fwprintf): Likewise.
11483 (__vfwprintf): Likewise.
11485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11488 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
11489 (__getgrgid_r): Likewise.
11490 (__getgrnam_r): Likewise.
11491 * include/pwd.h (__getpwuid_r): Likewise.
11492 (__getpwnam_r): Likewise.
11493 (__fgetpwent_r): Likewise.
11494 * include/shadow.h (__getspnam_r): Likewise.
11495 (__sgetspent_r): Likewise.
11496 (__fgetspent_r): Likewise.
11498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11501 * include/unistd.h (__access): Add attribute_hidden.
11502 (__lseek64): Likewise.
11503 (__libc_pread64): Likewise.
11504 (__pipe2): Likewise.
11505 (__sleep): Likewise.
11506 (__chdir): Likewise.
11507 (__fchdir): Likewise.
11508 (__getcwd): Likewise.
11509 (__rmdir): Likewise.
11510 (__execvpe): Likewise.
11511 (__execve): Likewise.
11512 (__setsid): Likewise.
11513 (__getuid): Likewise.
11514 (__geteuid): Likewise.
11515 (__getgid): Likewise.
11516 (__getegid): Likewise.
11517 (__getgroups): Likewise.
11518 (__group_member): Likewise.
11519 (__ttyname_r): Likewise.
11520 (__isatty): Likewise.
11521 (__readlink): Likewise.
11522 (__unlink): Likewise.
11523 (__gethostname): Likewise.
11524 (__profil): Likewise.
11525 (__getdtablesize): Likewise.
11527 (__ftruncate): Likewise.
11528 (__ftruncate64): Likewise.
11530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11533 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
11534 * argp/argp-fs-xinl.c: Likewise.
11535 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
11536 * argp/argp-parse.c: Include <argp.h>.
11537 * argp/argp-xinl.c: Likewise.
11538 * include/argp-fmtstream.h: New file.
11539 * include/argp.h (__argp_error): Add attribute_hidden.
11540 (__argp_failure): Likewise.
11541 (__argp_input): Likewise.
11542 (__argp_state_help): Likewise.
11544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11547 * include/wchar.h (____wcstof_l_internal): New prototype.
11548 (____wcstod_l_internal): Likewise.
11549 (____wcstold_l_internal): Likewise.
11550 (____wcstol_l_internal): Likewise.
11551 (____wcstoul_l_internal): Likewise.
11552 (____wcstoll_l_internal): Likewise.
11553 (____wcstoull_l_internal): Likewise.
11554 (____wcstof128_l_internal): Likewise.
11555 * sysdeps/ieee754/float128/wcstof128.c
11556 (____wcstof128_l_internal): Removed.
11557 * sysdeps/ieee754/float128/wcstof128_l.c
11558 (____wcstof128_l_internal): Likewise.
11559 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
11560 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
11561 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
11562 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
11563 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
11564 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
11565 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
11566 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
11567 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
11568 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
11570 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11573 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
11574 instead of <sys/statvfs.h>.
11575 (__internal_statvfs): Removed.
11576 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
11577 instead of <sys/statvfs.h>.
11578 (__internal_statvfs64): Removed.
11579 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
11580 "internal_statvfs.h" instead of <sys/statvfs.h>.
11581 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
11582 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
11583 instead of <sys/statvfs.h>.
11584 (__internal_statvfs): Removed.
11585 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
11586 instead of <sys/statvfs.h>.
11587 (__internal_statvfs64): Removed.
11589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11592 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
11593 (__gconv_close): Likewise.
11594 (__gconv): Likewise.
11595 (__gconv_find_transform): Likewise.
11596 (__gconv_lookup_cache): Likewise.
11597 (__gconv_compare_alias_cache): Likewise.
11598 (__gconv_load_cache): Likewise.
11599 (__gconv_get_path): Likewise.
11600 (__gconv_close_transform): Likewise.
11601 (__gconv_release_cache): Likewise.
11602 (__gconv_find_shlib): Likewise.
11603 (__gconv_release_shlib): Likewise.
11604 (__gconv_get_builtin_trans): Likewise.
11605 (__gconv_compare_alias): Likewise.
11606 * include/dlfcn.h (_dlerror_run): Likewise.
11607 * include/stdio.h (__fortify_fail_abort): Likewise.
11608 * include/time.h (__tz_compute): Likewise.
11609 (__strptime_internal): Likewise.
11610 * intl/gettextP.h (_nl_find_domain): Likewise.
11611 (_nl_load_domain): Likewise.
11612 (_nl_find_msg): Likewise.
11613 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
11614 (EXTRACT_PLURAL_EXPRESSION): Likewise.
11615 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
11616 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
11617 (__gai_find_request): Likewise.
11618 (__gai_remove_request): Likewise.
11619 (__gai_notify): Likewise.
11620 (__gai_notify_only): Likewise.
11621 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
11622 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
11623 (_dl_non_dynamic_init): Likewise.
11624 (_dl_aux_init): Likewise.
11625 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
11626 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
11628 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
11629 (__wcsmbs_clone_conv): Likewise.
11630 (__wcsmbs_named_conv): Likewise.
11632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11635 * include/stdlib.h (__random): Add attribute_hidden.
11636 (__random_r): Likewise.
11637 (__srandom_r): Likewise.
11638 (__initstate_r): Likewise.
11639 (__setstate_r): Likewise.
11640 (__erand48_r): Likewise.
11641 (__nrand48_r): Likewise.
11642 (__jrand48_r): Likewise.
11643 (__srand48_r): Likewise.
11644 (__seed48_r): Likewise.
11645 (__lcong48_r): Likewise.
11646 (__drand48_iterate): Likewise.
11647 (__setenv): Likewise.
11648 (__unsetenv): Likewise.
11649 (__clearenv): Likewise.
11650 (__ptsname_r): Likewise.
11651 (__posix_openpt): Likewise.
11652 (__add_to_environ): Likewise.
11653 (__realpath): Add libc_hidden_proto.
11654 (__ecvt_r): Likewise.
11655 (__fcvt_r): Likewise.
11656 (__qecvt_r): Likewise.
11657 (__qfcvt_r): Likewise.
11658 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
11659 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
11661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11664 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
11665 * include/time.h (__mktime_internal): Likewise.
11666 * libio/iolibio.h (__fopen_internal): Likewise.
11668 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
11670 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
11672 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
11673 Correct offset used to restore PIC register.
11675 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
11678 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
11679 code to load address of __getcontext_ret when generating PIC code.
11681 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
11683 * elf/Makefile (tests-static-internal): Add
11684 tst-tls1-static-non-pie.
11685 (LDFLAGS-tst-tls1-static-non-pie): New.
11686 * elf/tst-tls1-static-non-pie.c: New file.
11688 2017-09-29 Joseph Myers <joseph@codesourcery.com>
11690 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
11691 (asinh): Define using libm_alias_double.
11692 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
11693 (cbrt): Define using libm_alias_double.
11694 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
11695 <libm-alias-double.h>.
11696 (copysign): Define using libm_alias_double.
11697 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
11698 (erf): Define using libm_alias_double.
11700 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
11701 (expm1): Define using libm_alias_double.
11702 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
11703 (fabs): Define using libm_alias_double.
11704 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
11706 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
11707 <libm-alias-double.h>.
11708 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
11710 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
11711 <libm-alias-double.h>.
11712 (getpayload): Define using libm_alias_double.
11713 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
11714 <libm-alias-double.h>.
11715 (llrint): Define using libm_alias_double.
11716 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
11717 (lrint): Define using libm_alias_double.
11718 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
11719 <libm-alias-double.h>.
11720 (nextup): Define using libm_alias_double.
11721 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
11722 <libm-alias-double.h>.
11723 (roundeven): Define using libm_alias_double.
11724 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
11726 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
11727 <libm-alias-double.h>.
11728 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
11729 using libm_alias_double.
11730 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
11731 (cos): Define using libm_alias_double.
11733 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
11734 <libm-alias-double.h>.
11735 (sincos): Define using libm_alias_double.
11736 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
11737 (tanh): Define using libm_alias_double.
11738 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11739 <libm-alias-double.h>.
11740 (totalorder): Define using libm_alias_double.
11741 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11742 <libm-alias-double.h>.
11743 (totalordermag): Define using libm_alias_double.
11744 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
11746 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
11748 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
11749 <libm-alias-double.h>.
11750 (getpayload): Define using libm_alias_double.
11751 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
11752 <libm-alias-double.h>.
11753 (roundeven): Define using libm_alias_double.
11754 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
11755 <libm-alias-double.h>.
11756 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11757 <libm-alias-double.h>.
11758 (totalorder): Define using libm_alias_double.
11759 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11760 <libm-alias-double.h>.
11761 (totalordermag): Define using libm_alias_double.
11762 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
11763 libc compat symbol here.
11764 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
11765 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
11766 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
11767 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
11768 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
11769 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
11770 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
11771 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
11772 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
11773 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
11775 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
11777 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
11778 _dl_relocate_static_pie instead of _dl_start to compute load
11779 address in static PIE. Return 0 if _DYNAMIC is undefined for
11782 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
11784 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
11785 _DYNAMIC is undefined for static executable.
11787 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
11789 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
11791 2017-09-29 Joseph Myers <joseph@codesourcery.com>
11793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11795 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
11797 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11798 (__ieee754_lgamma_r): Use fabs rather than __fabs.
11799 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11800 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11801 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11802 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
11803 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
11804 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
11805 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
11806 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
11807 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
11808 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
11810 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
11811 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11813 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
11815 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
11817 * math/bits/cmathcalls.h (cimag): Remove inline.
11818 (creal): Remove inline.
11819 (conj): Remove inline.
11821 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11823 * math/Makefile (type-float-routines): Add e_powf_log2_data.
11824 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
11825 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
11826 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
11827 (issignalingf_inline): Likewise.
11828 (POWF_LOG2_TABLE_BITS): Likewise.
11829 (POWF_LOG2_POLY_ORDER): Likewise.
11830 (POWF_SCALE_BITS): Likewise.
11831 (POWF_SCALE): Likewise.
11832 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
11833 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
11834 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
11836 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11838 * math/Makefile (type-float-routines): Add e_log2f_data.
11839 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
11840 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
11841 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
11842 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
11843 * sysdeps/i386/fpu/e_log2f_data.c: New file.
11844 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
11845 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
11847 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11849 * math/Makefile (type-float-routines): Add e_logf_data.
11850 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
11851 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
11852 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
11853 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
11854 * sysdeps/i386/fpu/e_logf_data.c: New file.
11855 * sysdeps/ia64/fpu/e_logf_data.c: New file.
11856 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
11858 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
11860 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
11861 undefined _DYNAMIC in PIE libc.a.
11862 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
11865 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
11867 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
11868 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
11869 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
11870 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
11871 (__signbit): Remove.
11872 (__signbitl): Remove.
11873 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
11874 (__signbit): Remove.
11875 (__signbitl): Remove.
11876 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
11877 (__signbit): Remove.
11878 (__signbitl): Remove.
11879 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
11880 (__signbit): Remove.
11881 (__signbitl): Remove.
11882 * sysdeps/tile/bits/mathinline.h: Delete file.
11883 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
11884 (__signbit): Remove.
11885 (__signbitl): Remove.
11887 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
11889 * math/math.h: Improve handling of C99 isgreater macros.
11890 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
11891 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
11892 * sysdeps/powerpc/bits/mathinline.h: Likewise.
11893 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11894 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
11896 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11898 * sysdeps/aarch64/libm-test-ulps: Update.
11900 2017-09-28 Joseph Myers <joseph@codesourcery.com>
11903 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11904 math_opt_barrier on argument when doing arithmetic on it.
11905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11906 Likewise. Use math_force_eval not math_opt_barrier after
11908 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
11909 math_opt_barrier on argument when doing arithmetic on it.
11910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11913 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
11915 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
11917 (__freeifaddrs): Likewise.
11919 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11921 * include/dirent.h (__dirfd): New declaration.
11922 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
11924 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
11925 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
11926 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
11927 * include/unistd.h (__revoke): New declaration.
11928 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
11930 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11931 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
11933 * include/dirent.h (__seekdir): New declaration.
11934 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
11935 redefine as weak alias.
11936 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
11938 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
11939 and use libc_hidden_def on them.
11940 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
11942 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
11943 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
11944 instead of getifaddrs and freeifaddrs.
11946 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
11949 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
11950 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
11951 (__dso_handle): Remove declaration.
11952 * dlfcn/tstatexit.c (__dso_handle): Removed.
11953 (main): Don't check __dso_handle.
11954 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
11955 (main): Don't check __dso_handle.
11956 * include/dso_handle.h: New file.
11957 * malloc/mtrace.c: Include <dso_handle.h>.
11958 (mtrace): Pass __dso_handle directly.
11959 * nptl/pthread_atfork.c: Include <dso_handle.h>.
11960 (__dso_handle): Remove declaration.
11961 (__pthread_atfork): Pass __dso_handle directly.
11962 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
11963 (__dso_handle): Removed.
11964 * posix/wordexp-test.c: Include <dso_handle.h>.
11965 (__dso_handle): Remove declaration.
11966 (__app_register_atfork): Pass __dso_handle directly.
11967 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
11968 (__dso_handle): Remove declaration.
11969 (at_quick_exit): Pass __dso_handle directly.
11970 * stdlib/atexit.c: Include <dso_handle.h>.
11971 (__dso_handle): Remove declaration.
11972 (atexit): Pass __dso_handle directly.
11973 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
11974 (__dso_handle): Removed.
11976 2017-09-26 Joseph Myers <joseph@codesourcery.com>
11978 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
11981 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
11983 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
11984 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
11985 values to correct default value for given type.
11987 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
11990 * elf/Makefile (tests): Add tst-debug1.
11991 ($(objpfx)tst-debug1): New.
11992 ($(objpfx)tst-debug1.out): Likewise.
11993 ($(objpfx)tst-debug1mod1.so): Likewise.
11994 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
11995 with p_filesz == 0.
11996 * elf/tst-debug1.c: New file.
11998 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12000 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
12001 Define using __ifunc.
12003 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12005 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
12008 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12011 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
12013 2017-09-26 Florian Weimer <fweimer@redhat.com>
12015 * resolv/Makefile (tests-internal): Fix typo in comment.
12017 2017-09-26 Florian Weimer <fweimer@redhat.com>
12019 * resolv/nss_dns/dns-host.c: Fix typo in comment.
12021 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12023 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
12024 Use an union instead of a max_align_t array for __space,
12025 so that __space is the same size on all platforms.
12026 * malloc/scratch_buffer_grow_preserve.c
12027 (__libc_scratch_buffer_grow_preserve): Likewise.
12030 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
12032 * posix/Makefile (routines): Add glob-lstat-compat and
12033 glob64-lstat-compat.
12034 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
12035 * posix/glob-lstat-compat.c: New file.
12036 * posix/glob64-lstat-compat.c: Likewise.
12037 * posix/tst-glob_lstat_compat.c: Likewise.
12038 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
12039 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
12040 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
12041 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
12043 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
12044 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
12045 * posix/glob.c (glob_lstat): New function.
12046 (glob): Rename to __glob and add versioned symbol to 2.27.
12047 (glob_in_dir): Use glob_lstat.
12048 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
12049 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
12052 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
12053 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
12054 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
12055 gl_lstat on glob call.
12056 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
12057 and glob64 symbols.
12058 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12060 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12061 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12062 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12063 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12064 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12065 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12069 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12072 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12076 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12077 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12081 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12082 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12083 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12085 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
12087 * configure.ac (AS): Require binutils 2.25 or later.
12088 * configure: Regenerated.
12090 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12093 * stdlib/test-atexit-race-common.c (do_test): Minimize required
12096 2017-09-25 DJ Delorie <dj@redhat.com>
12099 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
12102 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12104 * sysdeps/ieee754/dbl-64/sincos32.h
12105 [SINCCOS32_H]: Remove define.
12106 [SINCOS32_H]: Define.
12108 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12110 * math/Versions (expf): New libm symbol at GLIBC_2.27.
12112 * math/w_exp2f.c: New file.
12113 * math/w_expf.c: New file.
12114 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
12115 * math/w_expf_compat.c (__expf_compat): Likewise.
12116 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
12117 * sysdeps/ia64/fpu/e_expf.S: Likewise.
12118 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
12119 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12138 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12147 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12151 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12153 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
12154 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
12155 (roundtoint, converttoint): Likewise.
12156 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
12157 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
12158 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
12159 * sysdeps/ieee754/flt-32/math_config.h: New file.
12160 * sysdeps/ieee754/flt-32/math_errf.c: New file.
12161 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
12162 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
12163 * sysdeps/i386/fpu/math_errf.c: New file.
12164 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
12165 * sysdeps/ia64/fpu/math_errf.c: New file.
12166 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
12167 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
12169 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
12171 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
12172 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
12173 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
12174 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
12175 to make sure that these symbols are defined.
12176 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
12178 (__need_NULL): Do not define.
12179 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
12181 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
12182 CMGROUP_MAX, cmsgcred): Do not define.
12183 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
12185 * bits/socket.h: Likewise.
12186 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
12187 __gettimeofday instead of gettimeofday.
12188 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
12189 instead of settimeofday.
12191 2017-09-22 Joseph Myers <joseph@codesourcery.com>
12193 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
12194 (asinhf): Define using libm_alias_float.
12195 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
12196 (atanf): Define using libm_alias_float.
12197 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
12198 (cbrtf): Define using libm_alias_float.
12199 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
12200 (ceilf): Define using libm_alias_float.
12201 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
12202 <libm-alias-float.h>.
12203 (copysignf): Define using libm_alias_float.
12204 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
12205 (cosf): Define using libm_alias_float.
12206 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
12207 (erff): Define using libm_alias_float.
12209 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
12210 (expm1f): Define using libm_alias_float.
12211 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
12212 (fabsf): Define using libm_alias_float.
12213 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
12214 (floorf): Define using libm_alias_float.
12215 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
12216 (frexpf): Define using libm_alias_float.
12217 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
12219 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
12220 <libm-alias-float.h>.
12221 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
12223 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
12224 <libm-alias-float.h>.
12225 (getpayloadf): Define using libm_alias_float.
12226 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
12227 <libm-alias-float.h>.
12228 (llrintf): Define using libm_alias_float.
12229 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
12230 <libm-alias-float.h>.
12231 (llroundf): Define using libm_alias_float.
12232 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
12233 (logbf): Define using libm_alias_float.
12234 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
12235 (lrintf): Define using libm_alias_float.
12236 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
12237 (lroundf): Define using libm_alias_float.
12238 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
12239 (modff): Define using libm_alias_float.
12240 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
12241 <libm-alias-float.h>.
12242 (nearbyintf): Define using libm_alias_float.
12243 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
12244 <libm-alias-float.h>.
12245 (nextafterf): Define using libm_alias_float.
12246 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
12247 <libm-alias-float.h>.
12248 (nextupf): Define using libm_alias_float.
12249 * sysdeps/ieee754/flt-32/s_remquof.c: Include
12250 <libm-alias-float.h>.
12251 (remquof): Define using libm_alias_float.
12252 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
12253 (rintf): Define using libm_alias_float.
12254 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
12255 <libm-alias-float.h>.
12256 (roundevenf): Define using libm_alias_float.
12257 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
12258 (roundf): Define using libm_alias_float.
12259 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
12260 using libm_alias_float.
12261 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
12262 <libm-alias-float.h>.
12263 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
12264 Define using libm_alias_float.
12265 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
12266 <libm-alias-float.h>.
12267 (sincosf): Define using libm_alias_float.
12268 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
12269 (sinf): Define using libm_alias_float.
12270 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
12271 (tanf): Define using libm_alias_float.
12272 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
12273 (tanhf): Define using libm_alias_float.
12274 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12275 <libm-alias-float.h>.
12276 (totalorderf): Define using libm_alias_float.
12277 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12278 <libm-alias-float.h>.
12279 (totalordermagf): Define using libm_alias_float.
12280 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
12281 (truncf): Define using libm_alias_float.
12282 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
12284 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
12287 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12290 math/math.h: Let fpclassify use the builtin in C++ mode, even
12291 when optimazing for size.
12293 2017-09-22 Joseph Myers <joseph@codesourcery.com>
12295 * csu/Makefile (generated): Do not add version-info.h.
12296 (before-compile): Likewise.
12297 (all-Banner-files): Remove variable.
12298 ($(objpfx)version-info.h): Remove rule.
12299 * csu/version.c (banner): Do not include "version-info.h".
12300 * libidn/Banner: Remove.
12301 * manual/contrib.texi (Simon Josefsson): New entry.
12303 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12305 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12306 Remove conditionals on LDBL_MANT_DIG.
12307 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
12308 (__ieee754_lgammal_r): Likewise.
12310 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
12314 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
12315 _Float128 and L(). Replace _Float128 with long double and L(x)
12316 with xL, throughout the file.
12317 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
12322 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
12325 sysdeps/ieee754/ldbl-128ibm.
12326 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
12327 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
12328 of including it. Keep _Float128 and L() intact. These will be
12329 reviewed by a separate patch.
12330 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
12335 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
12338 (__finitef128): Define to __redirect___finitef128.
12339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
12340 (__isinff128): Define to __redirect___isinff128.
12341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
12342 (__isnanf128): Define to __redirect___isnanf128.
12344 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12346 * sysdeps/powerpc/powerpc64le/Makefile
12347 (CFLAGS-tst-strtod-nan-locale.c): New variable.
12348 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
12350 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
12351 Carlos O'Donell <carlos@redhat.com>
12354 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
12355 * stdlib/test-dlclose-exit-race.c: New file.
12356 * stdlib/test-dlclose-exit-race-helper.c: New file.
12357 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
12359 2017-09-21 Joseph Myers <joseph@codesourcery.com>
12361 * crypt/Banner: Remove file.
12362 * nptl/Banner: Likewise.
12363 * resolv/Banner: Likewise.
12364 * soft-fp/Banner: Likewise.
12365 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
12366 ($(objpfx)version.d): Remove dependency on banner.h.
12367 ($(objpfx)version.os): Likewise.
12368 * nptl/version.c (banner): Do not include banner.h.
12369 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
12370 Jelinek and BIND code.
12372 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
12373 Carlos O'Donell <carlos@redhat.com>
12375 * support/xdlfcn.h: New file.
12376 * support/xdlfcn.c: New file.
12377 * support/Makefile (libsupport-routines): Add xdlfcn.
12378 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
12380 2017-09-20 Joseph Myers <joseph@codesourcery.com>
12383 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12384 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
12385 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
12386 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
12387 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12388 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
12389 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
12390 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12392 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
12393 Ricky Zhou <rickyz@google.com>
12394 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
12397 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
12399 (__new_exitfn): Fail registration when we finished at_exit processing.
12400 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12401 * stdlib/on_exit.c (__on_exit): Likewise.
12402 * stdlib/exit.c (__exit_funcs_done): New variable.
12403 (__run_exit_handlers): Use __exit_funcs_lock.
12404 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
12406 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
12407 (test-cxa_atexit-race, test-on_exit-race): New tests.
12408 * stdlib/test-atexit-race-common.c: New file.
12409 * stdlib/test-atexit-race.c: New file.
12410 * stdlib/test-at_quick_exit-race.c: New file.
12411 * stdlib/test-cxa_atexit-race.c: New file.
12412 * stdlib/test-on_exit-race.c: New file.
12414 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
12416 * benchtests/Makefile: Add exp2f and log2f benchmarks.
12417 * benchtests/exp2f-inputs: Copy of expf-inputs.
12418 * benchtests/log2f-inputs: Copy of logf-inputs.
12420 2017-09-19 Joseph Myers <joseph@codesourcery.com>
12422 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
12423 Explicitly take address of first element of array arguments in
12424 call to INLINE_SYSCALL.
12426 2017-09-19 Andreas Schwab <schwab@suse.de>
12429 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
12431 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
12433 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
12434 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
12435 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12436 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
12437 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12438 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
12439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12440 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
12441 * posix/Makefile (tests): Add tst-fexecve.
12442 * posix/tst-fexecve.c: New file.
12444 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12446 * benchtests/Makefile: Add logf benchmark.
12447 * benchtests/logf-inputs: Add reduced trace from wrf_r.
12449 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12451 * benchtests/Makefile: Add expf benchmark.
12452 * benchtests/expf-inputs: Add reduced trace from wrf_r.
12454 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12456 * csu/Makefile: Add -funwind-tables to libc-start.c.
12457 * debug/Makefile: Add -funwind-tables to backtrace.c.
12458 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
12459 * sysdeps/arm/Makefile: Likewise.
12460 * sysdeps/i386/Makefile: Likewise.
12461 * sysdeps/m68k/Makefile: Likewise.
12462 * sysdeps/mips/Makefile: Likewise.
12463 * sysdeps/nios2/Makefile: Likewise.
12464 * sysdeps/sh/Makefile: Likewise.
12465 * sysdeps/sparc/Makefile: Likewise.
12467 2017-09-19 Joseph Myers <joseph@codesourcery.com>
12469 * benchtests/Makefile (bench-math): Add trunc and truncf.
12470 (CFLAGS-bench-trunc.c): New variable.
12471 (CFLAGS-bench-truncf.c): Likewise.
12472 * benchtests/trunc-inputs: New file.
12473 * benchtests/truncf-inputs: Likewise.
12475 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12477 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
12479 2017-09-18 Joseph Myers <joseph@codesourcery.com>
12481 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
12482 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
12484 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
12485 (exp10l): Define as weak alias.
12486 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
12487 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
12489 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
12490 (remainderl): Define as weak alias.
12492 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
12493 (fmal): Define using libm_alias_ldouble.
12494 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
12495 (acoshl): Define using libm_alias_ldouble.
12496 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
12497 (acosl): Define using libm_alias_ldouble.
12498 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
12499 (asinl): Define using libm_alias_ldouble.
12500 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
12501 (atan2l): Define using libm_alias_ldouble.
12502 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
12503 (atanhl): Define using libm_alias_ldouble.
12504 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
12505 (coshl): Define using libm_alias_ldouble.
12506 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
12507 (exp10l): Define using libm_alias_ldouble.
12508 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
12509 (exp2l): Define using libm_alias_ldouble.
12510 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
12511 (expl): Define using libm_alias_ldouble.
12512 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
12513 (fmodl): Define using libm_alias_ldouble.
12514 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
12515 (hypotl): Define using libm_alias_ldouble.
12516 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
12517 (j0l): Define using libm_alias_ldouble.
12519 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
12520 (j1l): Define using libm_alias_ldouble.
12522 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
12523 (jnl): Define using libm_alias_ldouble.
12525 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
12526 (log10l): Define using libm_alias_ldouble.
12527 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
12528 (log2l): Define using libm_alias_ldouble.
12529 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
12530 (logl): Define using libm_alias_ldouble.
12531 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
12532 (powl): Define using libm_alias_ldouble.
12533 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
12534 (remainderl): Define using libm_alias_ldouble.
12535 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
12536 (sinhl): Define using libm_alias_ldouble.
12537 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
12538 (sqrtl): Define using libm_alias_ldouble.
12539 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
12540 (tgammal): Define using libm_alias_ldouble.
12541 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
12542 (exp10l): Do not use long_double_symbol here.
12543 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
12544 [LIBM_SVID_COMPAT] (remainderl): Likewise.
12545 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
12546 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
12547 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
12548 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
12549 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
12550 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
12551 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
12552 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
12553 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
12554 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
12555 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
12556 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
12557 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
12558 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
12559 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
12560 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
12561 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
12562 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
12563 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
12564 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
12566 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
12568 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
12569 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
12571 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12573 * io/read.c (read): Add libc_hidden_weak.
12574 * sysdeps/mach/hurd/read.c (read): Likewise.
12575 * io/write.c (write): Likewise.
12576 * sysdeps/mach/hurd/write.c (write): Likewise.
12577 * io/pread64.c (__pread64): Likewise.
12578 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
12579 * posix/pread64.c (__pread64): Add libc_hidden_def.
12581 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12583 * benchtests/scripts/compare_strings.py: New option -g.
12584 (draw_graph): Print a message that a graph is being generated.
12585 (process_results): Generate graph only if -g is passed.
12586 (main): Process option -g.
12588 * benchtests/scripts/compare_strings.py (process_results):
12589 Better spacing for output.
12591 * benchtests/scripts/compare_strings.py: Use argparse.
12592 * benchtests/README: Document existence of compare_strings.py.
12594 2017-09-15 Joseph Myers <joseph@codesourcery.com>
12596 * math/s_fma.c: Include <libm-alias-double.h>.
12597 (fma): Define using libm_alias_double.
12598 * math/s_nextafter.c: Include <libm-alias-double.h>.
12599 (nextafter): Define using libm_alias_double.
12600 * math/w_acos_compat.c: Include <libm-alias-double.h>.
12601 (acos): Define using libm_alias_double.
12602 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
12603 (aocsh): Define using libm_alias_double.
12604 * math/w_asin_compat.c: Include <libm-alias-double.h>.
12605 (asin): Define using libm_alias_double.
12606 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
12607 (atan2): Define using libm_alias_double.
12608 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
12609 (atanh): Define using libm_alias_double.
12610 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
12611 (cosh): Define using libm_alias_double.
12612 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
12613 (exp10): Define using libm_alias_double.
12614 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
12615 (exp2): Define using libm_alias_double.
12616 * math/w_exp_compat.c: Include <libm-alias-double.h>.
12617 (exp): Define using libm_alias_double.
12618 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
12619 (fmod): Define using libm_alias_double.
12620 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
12621 (hypot): Define using libm_alias_double.
12622 * math/w_j0_compat.c: Include <libm-alias-double.h>.
12623 (j0): Define using libm_alias_double.
12625 * math/w_j1_compat.c: Include <libm-alias-double.h>.
12626 (j1): Define using libm_alias_double.
12628 * math/w_jn_compat.c: Include <libm-alias-double.h>.
12629 (jn): Define using libm_alias_double.
12631 * math/w_log10_compat.c: Include <libm-alias-double.h>.
12632 (log10): Define using libm_alias_double.
12633 * math/w_log2_compat.c: Include <libm-alias-double.h>.
12634 (log2): Define using libm_alias_double.
12635 * math/w_log_compat.c: Include <libm-alias-double.h>.
12636 (log): Define using libm_alias_double.
12637 * math/w_pow_compat.c: Include <libm-alias-double.h>.
12638 (pow): Define using libm_alias_double.
12639 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
12640 (remainder): Define using libm_alias_double.
12641 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
12642 (sinh): Define using libm_alias_double.
12643 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
12644 (sqrt): Define using libm_alias_double.
12645 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
12646 (tgamma): Define using libm_alias_double.
12647 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
12648 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
12649 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
12650 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
12651 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
12652 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
12653 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
12654 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
12655 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
12656 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
12657 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
12658 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
12659 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
12660 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
12661 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
12662 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
12663 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
12664 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
12665 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
12666 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
12667 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
12668 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
12669 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
12670 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
12671 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
12673 * math/e_acoshl.c: Remove.
12674 * math/e_acosl.c: Likewise.
12675 * math/e_asinl.c: Likewise.
12676 * math/e_atan2l.c: Likewise.
12677 * math/e_atanhl.c: Likewise.
12678 * math/e_coshl.c: Likewise.
12679 * math/e_expl.c: Likewise.
12680 * math/e_fmodl.c: Likewise.
12681 * math/e_gammal_r.c: Likewise.
12682 * math/e_hypotl.c: Likewise.
12683 * math/e_j0l.c: Likewise.
12684 * math/e_j1l.c: Likewise.
12685 * math/e_jnl.c: Likewise.
12686 * math/e_lgammal_r.c: Likewise.
12687 * math/e_log10l.c: Likewise.
12688 * math/e_log2l.c: Likewise.
12689 * math/e_logl.c: Likewise.
12690 * math/e_powl.c: Likewise.
12691 * math/e_rem_pio2l.c: Likewise.
12692 * math/e_sinhl.c: Likewise.
12693 * math/e_sqrtf128.c: Likewise.
12694 * math/e_sqrtl.c: Likewise.
12695 * math/k_cosl.c: Likewise.
12696 * math/k_sinl.c: Likewise.
12697 * math/k_tanl.c: Likewise.
12698 * math/s_asinhl.c: Likewise.
12699 * math/s_atanl.c: Likewise.
12700 * math/s_cbrtl.c: Likewise.
12701 * math/s_erfl.c: Likewise.
12702 * math/s_expm1l.c: Likewise.
12703 * math/s_log1pl.c: Likewise.
12704 * math/s_tanhl.c: Likewise.
12706 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
12710 [$(subdir) = math] (sysdep_calls): New variable. Has the
12711 previous contents of sysdep_routines, but re-sorted..
12712 [$(subdir) = math] (sysdep_routines): Re-use the contents from
12714 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
12715 defined in sysdep_calls and replace by the respective m_* names.
12716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
12717 (compat_symbol): Undefine to avoid duplicated compat symbols in
12720 2017-09-15 Joseph Myers <joseph@codesourcery.com>
12722 * math/s_fmaf.c: Include <libm-alias-float.h>.
12723 (fmaf): Define using libm_alias_float.
12724 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
12725 (acosf): Define using libm_alias_float.
12726 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
12727 (acoshf): Define using libm_alias_float.
12728 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
12729 (asinf): Define using libm_alias_float.
12730 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
12731 (atan2f): Define using libm_alias_float.
12732 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
12733 (atanhf): Define using libm_alias_float.
12734 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
12735 (coshf): Define using libm_alias_float.
12736 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
12737 (exp10f): Define using libm_alias_float.
12738 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
12739 (fmodf): Define using libm_alias_float.
12740 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
12741 (hypotf): Define using libm_alias_float.
12742 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
12743 (j0f): Define using libm_alias_float.
12745 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
12746 (j1f): Define using libm_alias_float.
12748 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
12749 (jnf): Define using libm_alias_float.
12751 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
12752 (log10f): Define using libm_alias_float.
12753 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
12754 (log2f): Define using libm_alias_float.
12755 * math/w_logf_compat.c: Include <libm-alias-float.h>.
12756 (logf): Define using libm_alias_float.
12757 * math/w_powf_compat.c: Include <libm-alias-float.h>.
12758 (powf): Define using libm_alias_float.
12759 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
12760 (remainderf): Define using libm_alias_float.
12761 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
12762 (sinhf): Define using libm_alias_float.
12763 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
12764 (sqrtf): Define using libm_alias_float.
12765 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
12766 (tgammaf): Define using libm_alias_float.
12768 2017-09-14 Joseph Myers <joseph@codesourcery.com>
12770 * include/math.h (roundeven): Change hidden_proto call to
12772 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
12774 [NO_LONG_DOUBLE] (__j0l): New strong alias.
12775 (y0): Rename to __y0 and define as weak alias.
12776 [NO_LONG_DOUBLE] (__y0l): New strong alias.
12777 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
12779 (y0f): Rename to __y0f and define as weak alias.
12780 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
12782 [NO_LONG_DOUBLE] (__j1l): New strong alias.
12783 (y1): Rename to __y1 and define as weak alias.
12784 [NO_LONG_DOUBLE] (__y1l): New strong alias.
12785 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
12787 (y1f): Rename to __y1f and define as weak alias.
12788 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
12790 [NO_LONG_DOUBLE] (__jnl): New strong alias.
12791 (yn): Rename to __yn and define as weak alias.
12792 [NO_LONG_DOUBLE] (__ynl): New strong alias.
12793 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
12795 (ynf): Rename to __ynf and define as weak alias.
12796 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
12797 (fromfp): Define as weak alias.
12798 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
12799 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
12800 (fromfpx): Define as weak alias.
12801 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
12802 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
12803 __getpayload and define as weak alias.
12804 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
12805 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
12806 __roundeven and define as weak alias.
12807 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
12808 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
12810 (setpayload): Define as weak alias.
12811 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
12812 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
12814 (setpayloadsig): Define as weak alias.
12815 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
12816 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
12817 __totalorder and define as weak alias.
12818 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
12819 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
12820 to __totalordermag and define as weak alias.
12821 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
12822 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
12823 (ufromfp): Define as weak alias.
12824 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
12825 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
12827 (ufromfpx): Define as weak alias.
12828 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
12829 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
12830 Rename to __getpayload and define as weak alias.
12831 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
12832 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
12833 Rename to __roundeven and define as weak alias.
12834 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
12835 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
12836 Rename to __totalorder and define as weak alias.
12837 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
12838 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
12839 (totalordermag): Rename to __totalordermag and define as weak
12841 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
12842 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
12844 (__roundevenl): Likewise.
12845 (__totalorderl): Likewise.
12846 (__totalordermagl): Likewise
12847 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
12849 (fromfpf128): Define as weak alias.
12850 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
12852 (fromfpxf128): Define as weak alias.
12853 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
12855 (setpayloadf128): Define as weak alias.
12856 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
12857 __setpayloadsigf128.
12858 (setpayloadsigf128): Define as weak alias.
12859 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
12861 (ufromfpf128): Define as weak alias.
12862 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
12864 (ufromfpxf128): Define as weak alias.
12865 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
12866 (fromfpf): Define as weak alias.
12867 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
12869 (fromfpxf): Define as weak alias.
12870 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
12871 __getpayloadf and define as weak alias.
12872 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
12873 __roundevenf and define as weak alias.
12874 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
12876 (setpayloadf): Define as weak alias.
12877 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
12879 (setpayloadsigf): Define as weak alias.
12880 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
12881 __totalorderf and define as weak alias.
12882 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
12883 Rename to __totalordermagf and define as weak alias.
12884 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
12886 (ufromfpf): Define as weak alias.
12887 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
12889 (ufromfpxf): Define as weak alias.
12890 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
12892 (fromfpl): Define as weak alias.
12893 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
12895 (fromfpxl): Define as weak alias.
12896 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
12897 to __getpayloadl and define as weak alias.
12898 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
12899 __roundevenl and define as weak alias.
12900 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
12902 (setpayloadl): Define as weak alias.
12903 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
12905 (setpayloadsigl): Define as weak alias.
12906 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
12907 to __totalorderl and define as weak alias.
12908 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
12909 Rename to __totalordermagl and define as weak alias.
12910 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
12912 (ufromfpl): Define as weak alias.
12913 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
12915 (ufromfpxl): Define as weak alias.
12916 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
12918 (fromfpl): Define as weak alias.
12919 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
12921 (fromfpxl): Define as weak alias.
12922 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
12923 Rename to __getpayloadl and define as weak alias.
12924 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
12925 to __roundevenl and define as weak alias. Call __roundeven
12926 instead of roundeven.
12927 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
12929 (setpayloadl): Define as weak alias.
12930 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
12932 (setpayloadsigl): Define as weak alias.
12933 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
12934 Rename to __totalorderl and define as weak alias.
12935 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
12936 Rename to __totalordermagl and define as weak alias.
12937 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
12939 (ufromfpl): Define as weak alias.
12940 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
12942 (ufromfpxl): Define as weak alias.
12943 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
12945 (fromfpl): Define as weak alias.
12946 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
12948 (fromfpxl): Define as weak alias.
12949 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
12950 __getpayloadl and define as weak alias.
12951 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
12952 __roundevenl and define as weak alias.
12953 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
12955 (setpayloadl): Define as weak alias.
12956 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
12958 (setpayloadsigl): Define as weak alias.
12959 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
12960 __totalorderl and define as weak alias.
12961 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
12962 Rename to __totalordermagl and define as weak alias.
12963 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
12965 (ufromfpl): Define as weak alias.
12966 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
12968 (ufromfpxl): Define as weak alias.
12970 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
12972 * benchtests/bench-string.h (realloc_bufs): New function.
12973 (test_init): Call it.
12974 * benchtests/bench-memset-large.c (do_test): Likewise.
12975 * benchtests/bench-memset.c (do_test): Likewise.
12977 * benchtests/bench-memset-large.c: Print output in JSON
12979 * benchtests/bench-memset.c: Likewise.
12981 2017-09-14 Mike FABIAN <mfabian@redhat.com>
12984 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
12985 * iconvdata/Makefile: Add IBM858.
12986 * iconvdata/gconv-modules: Likewise.
12987 * iconvdata/tst-tables.sh: Likewise.
12988 * iconvdata/ibm858.c: New file.
12989 * localedata/charmaps/IBM858: Likewise.
12991 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
12994 * locales/niu_NZ (LC_TIME): copy "niu_NU".
12995 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
12997 2017-09-14 Mike FABIAN <mfabian@redhat.com>
13000 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
13001 and add tel_int_fmt.
13003 2017-09-14 Joseph Myers <joseph@codesourcery.com>
13005 * sysdeps/generic/libm-alias-float128.h: New file.
13006 * sysdeps/generic/math-type-macros-float128.h: Include
13007 <libm-alias-float128.h>.
13008 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
13010 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13012 * sysdeps/generic/libm-alias-ldouble.h: New file.
13013 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
13014 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
13015 * sysdeps/generic/math-type-macros-ldouble.h: Include
13016 <libm-alias-ldouble.h>.
13017 [!declare_mgen_alias] (declare_mgen_alias): Define to use
13018 libm_alias_ldouble.
13020 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
13022 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
13023 * math/w_exp_compat.c: ... here.
13024 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
13025 * math/w_expf_compat.c: ... here.
13026 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
13027 * math/w_expl_compat.c: ... here.
13028 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
13029 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
13030 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
13031 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
13033 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13035 * math/w_scalbln_template.c (strong_alias): Do not undefine and
13037 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
13039 (ldexpl): Only define as compat symbol for libc, not libm.
13040 (scalbnl): Define as compat symbol for libc here.
13041 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
13042 define for [IS_IN (libc)].
13043 (__ldexpl_2): Remove alias.
13044 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
13045 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
13046 name in long_double_symbol call.
13047 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
13048 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13049 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13050 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
13051 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
13053 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
13054 Define as compat symbol.
13056 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13058 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
13059 * sysdeps/unix/sysv/linux/alpha/Makefile
13060 [$(subdir) = csu] (sysdep_routines): Remove rule.
13062 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13064 * sysdeps/generic/libm-alias-double.h: New file.
13065 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
13066 * sysdeps/generic/math-type-macros-double.h: Include
13067 <libm-alias-double.h>.
13068 [declare_mgen_alias] (declare_mgen_alias): Define to use
13070 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
13071 (M_LIBM_NEED_COMPAT): Remove macro.
13072 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
13073 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
13074 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
13076 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13077 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13078 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13079 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13080 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13081 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13082 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13083 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13084 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13085 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13086 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13087 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13088 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13089 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13090 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13091 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13092 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13093 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13094 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13095 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13096 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13097 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13098 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13099 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13100 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13101 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13102 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13103 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
13104 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
13106 (declare_mgen_alias): New macro.
13107 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
13108 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
13109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
13110 (M_LIBM_NEED_COMPAT): Remove macro.
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
13112 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
13113 <first-versions.h>.
13114 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
13115 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
13117 2017-09-12 Joseph Myers <joseph@codesourcery.com>
13119 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
13120 (declare_mgen_alias_2): Remove.
13121 * sysdeps/generic/math-type-macros-double.h
13122 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
13124 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
13126 (ldexp): Define with declare_mgen_alias.
13127 (scalbn): Likewise.
13129 2017-09-12 Steve Ellcey <sellcey@cavium.com>
13131 * grp/initgroups.c: Include config.h.
13132 (DEFAULT_CONFIG): New macro.
13133 (internal_getgrouplist): Use DEFAULT_CONFIG.
13134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13135 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
13136 (DEFAULT_DEFCONFIG): New macro.
13137 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
13138 * nss/grp-lookup.c: Include config.h
13139 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
13140 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
13141 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
13142 * manual/nss.texi: Update default values section.
13144 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
13147 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
13149 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
13150 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13151 Handle MathVec_Prefer_No_AVX512.
13152 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
13153 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
13156 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
13158 * posix/sched_primax.c (__sched_get_priority_max): Add
13160 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
13161 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
13162 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
13163 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
13164 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
13165 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
13166 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
13167 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
13170 2017-09-11 Joseph Myers <joseph@codesourcery.com>
13172 * sysdeps/generic/libm-alias-float.h: New file.
13173 * sysdeps/generic/math-type-macros-float.h: Include
13174 <libm-alias-float.h>.
13175 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
13177 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
13180 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
13181 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
13182 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
13183 (HWCAP_IMPORTANT): Likewise.
13184 (HWCAP_X86_64): New enum.
13185 (HWCAP_X86_AVX512_1): Updated.
13186 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
13187 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
13188 (modules-names): Add x86_64/tst-x86_64mod-1.
13189 (LDFLAGS-tst-x86_64mod-1.so): New.
13190 ($(objpfx)tst-x86_64-1): Likewise.
13191 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
13192 (tst-x86_64-1-clean): Likewise.
13193 * sysdeps/x86_64/tst-x86_64-1.c: New file.
13194 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
13196 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13198 * po/sv.po: Update translations.
13199 * po/fr.po: Likewise.
13201 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13203 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
13205 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
13207 * elf/rtld-Rules: Fix $(error) use.
13209 2017-09-09 Mike FABIAN <mfabian@redhat.com>
13212 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
13213 * locale/iso-639.def: Change “Bengali” to “Bangla”.
13214 * localedata/locales/bn_BD: “Bengali” was still used in some
13215 comments. Change it to “Bangla”.
13217 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
13219 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
13221 2017-09-08 Steve Ellcey <sellcey@cavium.com>
13223 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
13224 thunderx2t99p1 to list of cpu names.
13225 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
13226 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
13228 2017-09-08 Steve Ellcey <sellcey@cavium.com>
13230 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
13231 Use strcmp instead of tunable_is_name.
13233 2017-09-08 Joseph Myers <joseph@codesourcery.com>
13235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13236 (F_GET_RW_HINT): New macro.
13237 [__USE_GNU] (F_SET_RW_HINT): Likewise.
13238 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
13239 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
13240 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
13241 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
13242 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
13243 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
13244 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
13245 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
13247 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13248 (F_ADD_SEALS): New macro.
13249 [__USE_GNU] (F_GET_SEALS): Likewise.
13250 [__USE_GNU] (F_SEAL_SEAL): Likewise.
13251 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
13252 [__USE_GNU] (F_SEAL_GROW): Likewise.
13253 [__USE_GNU] (F_SEAL_WRITE): Likewise.
13255 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13257 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
13258 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
13259 * posix/glob_internal.h (__glob_pattern_type):
13260 * posix/glob.c (glob):
13261 * posix/glob_pattern_p.c (__glob_pattern_p):
13264 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
13265 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13266 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
13267 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
13268 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
13270 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
13271 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
13272 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
13273 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13274 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
13275 * sysdeps/wordsize-64/glob.c: Likewise.
13276 * sysdeps/wordsize-64/glob64.c: Likewise.
13277 * sysdeps/wordsize-64/globfree.c: Likewise.
13278 * sysdeps/wordsize-64/globfree64.c: Likewise.
13279 * sysdeps/unix/sysv/linux/glob.c: New file.
13280 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
13281 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
13282 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
13283 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
13284 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
13285 adds !GLOB_NO_OLD_VERSION as an extra condition.
13286 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
13287 using relative path instead of absolute one.
13288 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13290 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13291 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13292 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
13293 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
13296 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
13297 (glob): Use the same scratch buffer for both getlogin_r and
13298 getpwnam_r. Don’t require preallocation of the login name. This
13299 simplifies storage allocation, and corrects the handling of
13303 * posix/glob.c (glob): Port recent patches to platforms
13304 lacking getpwnam_r.
13305 (glob): Fix longstanding misuse of errno after getpwnam_r, which
13306 returns an error number rather than setting errno.
13308 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
13309 instead of GCC extension.
13310 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
13311 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
13312 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
13316 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
13317 * posix/bug-glob1.c: Remove file.
13318 * posix/tst-glob_symlinks.c: New file.
13319 * posix/glob.c (__lstat64): New macro.
13320 (is_dir): New function.
13321 (glob, glob_in_dir): Match symlinks even if they are dangling.
13322 (link_stat, link_exists_p): Remove. All uses removed.
13326 * posix/glob.c (struct readdir_result): Remove skip_entry member.
13327 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
13332 * posix/Makefile (routines): Add globfree, globfree64, and
13334 * posix/flexmember.h: New file.
13335 * posix/glob_internal.h: Likewise.
13336 * posix/glob_pattern_p.c: Likewise.
13337 * posix/globfree.c: Likewise.
13338 * posix/globfree64.c: Likewise.
13339 * sysdeps/gnu/globfree64.c: Likewise.
13340 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
13341 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
13342 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
13343 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
13344 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
13345 * sysdeps/wordsize-64/globfree.c: Likewise.
13346 * sysdeps/wordsize-64/globfree64.c: Likewise.
13347 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
13348 [NDEBUG): Remove comments.
13349 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
13350 (dirent_type): New type. Use uint_fast8_t not
13351 uint8_t, as C99 does not require uint8_t.
13352 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
13353 (struct readdir_result): Use dirent_type. Do not define skip_entry
13354 unless it is needed; this saves a byte on platforms lacking d_ino.
13355 (readdir_result_type, readdir_result_skip_entry):
13356 New functions, replacing ...
13357 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
13358 these functions, which were removed. This makes the callers
13359 easier to read. All callers changed.
13360 (D_INO_TO_RESULT): Now empty if there is no d_ino.
13361 (size_add_wrapv, glob_use_alloca): New static functions.
13362 (glob, glob_in_dir): Check for size_t overflow in several places,
13363 and fix some size_t checks that were not quite right.
13364 Remove old code using SHELL since Bash no longer
13366 (glob, prefix_array): Separate MS code better.
13367 (glob_in_dir): Remove old Amiga and VMS code.
13368 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
13370 (glob_in_dir): Do not rely on undefined behavior in accessing
13371 struct members beyond their bounds. Use a flexible array member
13373 (link_stat): Rename from link_exists2_p and return -1/0 instead of
13374 0/1. Caller changed.
13375 (glob): Fix memory leaks.
13376 * posix/glob64 (globfree64): Move to separate file.
13377 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
13378 (globfree64): Remove hidden alias.
13379 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
13381 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
13383 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
13385 Move compat code to separate file.
13386 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
13389 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
13391 * resolv/tst-resolv-qtypes.c (domain): Changed to
13392 "const char domain[] =".
13394 2017-09-07 Joseph Myers <joseph@codesourcery.com>
13396 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
13399 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
13400 (TCP_MD5SIG_EXT): Likewise.
13401 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
13402 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
13403 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
13405 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
13407 2017-09-07 Mike FABIAN <mfabian@redhat.com>
13409 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
13411 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
13414 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
13416 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
13418 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
13419 before assuming that the file is empty. Avoid testing buffer content
13422 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13425 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
13427 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
13429 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
13431 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
13433 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
13435 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
13437 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
13440 2017-09-06 Florian Weimer <fweimer@redhat.com>
13442 * malloc/dynarray_emplace_enlarge.c
13443 (__libc_dynarray_emplace_enlarge): Add missing else.
13445 2017-09-06 Florian Weimer <fweimer@redhat.com>
13448 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
13449 case of failure to obtain the global conf object.
13451 2017-09-06 Florian Weimer <fweimer@redhat.com>
13454 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
13455 dynarray allocation failure.
13457 2017-09-06 Florian Weimer <fweimer@redhat.com>
13459 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
13460 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
13461 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
13463 (response): Call them. Add 'p', '6' flag processing.
13464 (test_reverse): New function.
13465 (test_get2_any): Call it.
13466 (test_no_inet6): Add 'p' test.
13467 (test_inet6): Likewise.
13469 2017-09-06 Florian Weimer <fweimer@redhat.com>
13471 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
13472 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
13474 (test_gai): Adjust query names. Add additional tests.
13475 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
13476 test_get2. Adjust query names. Add additional tests.
13477 (test_no_inet6): New function, extracted from threadfunc.
13478 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
13479 Add additional tests.
13481 2017-09-06 Mike FABIAN <mfabian@redhat.com>
13484 * localedata/unicode-gen/utf8_gen.py: Set the width for
13485 characters with Prepended_Concatenation_Mark property to 1
13486 * localedata/charmaps/UTF-8: Updated using the improved script.
13488 2017-09-06 Mike FABIAN <mfabian@redhat.com>
13491 * localedata/unicode-gen/utf8_gen.py: Improve the script to
13492 use the range notation for all ranges of neighbouring characters
13493 with the same width.
13495 2017-09-05 Joseph Myers <joseph@codesourcery.com>
13497 * sysdeps/generic/math-type-macros-double.h: Include
13498 <math-svid-compat.h>.
13499 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13500 * sysdeps/generic/math-type-macros-float.h: Include
13501 <math-svid-compat.h>.
13502 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13503 * sysdeps/generic/math-type-macros-ldouble.h: Include
13504 <math-svid-compat.h>.
13505 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13506 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
13508 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
13509 * math/w_acosf_compat.c: Likewise.
13510 * math/w_acosh_compat.c: Likewise.
13511 * math/w_acoshf_compat.c: Likewise.
13512 * math/w_acoshl_compat.c: Likewise.
13513 * math/w_acosl_compat.c: Likewise.
13514 * math/w_asin_compat.c: Likewise.
13515 * math/w_asinf_compat.c: Likewise.
13516 * math/w_asinl_compat.c: Likewise.
13517 * math/w_atan2_compat.c: Likewise.
13518 * math/w_atan2f_compat.c: Likewise.
13519 * math/w_atan2l_compat.c: Likewise.
13520 * math/w_atanh_compat.c: Likewise.
13521 * math/w_atanhf_compat.c: Likewise.
13522 * math/w_atanhl_compat.c: Likewise.
13523 * math/w_cosh_compat.c: Likewise.
13524 * math/w_coshf_compat.c: Likewise.
13525 * math/w_coshl_compat.c: Likewise.
13526 * math/w_exp10_compat.c: Likewise.
13527 * math/w_exp10f_compat.c: Likewise.
13528 * math/w_exp10l_compat.c: Likewise.
13529 * math/w_exp2_compat.c: Likewise.
13530 * math/w_exp2f_compat.c: Likewise.
13531 * math/w_exp2l_compat.c: Likewise.
13532 * math/w_fmod_compat.c: Likewise.
13533 * math/w_fmodf_compat.c: Likewise.
13534 * math/w_fmodl_compat.c: Likewise.
13535 * math/w_hypot_compat.c: Likewise.
13536 * math/w_hypotf_compat.c: Likewise.
13537 * math/w_hypotl_compat.c: Likewise.
13538 * math/w_j0_compat.c: Likewise.
13539 * math/w_j0f_compat.c: Likewise.
13540 * math/w_j0l_compat.c: Likewise.
13541 * math/w_j1_compat.c: Likewise.
13542 * math/w_j1f_compat.c: Likewise.
13543 * math/w_j1l_compat.c: Likewise.
13544 * math/w_jn_compat.c: Likewise.
13545 * math/w_jnf_compat.c: Likewise.
13546 * math/w_jnl_compat.c: Likewise.
13547 * math/w_lgamma_r_compat.c: Likewise.
13548 * math/w_lgammaf_r_compat.c: Likewise.
13549 * math/w_lgammal_r_compat.c: Likewise.
13550 * math/w_log10_compat.c: Likewise.
13551 * math/w_log10f_compat.c: Likewise.
13552 * math/w_log10l_compat.c: Likewise.
13553 * math/w_log2_compat.c: Likewise.
13554 * math/w_log2f_compat.c: Likewise.
13555 * math/w_log2l_compat.c: Likewise.
13556 * math/w_log_compat.c: Likewise.
13557 * math/w_logf_compat.c: Likewise.
13558 * math/w_logl_compat.c: Likewise.
13559 * math/w_pow_compat.c: Likewise.
13560 * math/w_powf_compat.c: Likewise.
13561 * math/w_powl_compat.c: Likewise.
13562 * math/w_remainder_compat.c: Likewise.
13563 * math/w_remainderf_compat.c: Likewise.
13564 * math/w_remainderl_compat.c: Likewise.
13565 * math/w_sinh_compat.c: Likewise.
13566 * math/w_sinhf_compat.c: Likewise.
13567 * math/w_sinhl_compat.c: Likewise.
13568 * math/w_sqrt_compat.c: Likewise.
13569 * math/w_sqrtf_compat.c: Likewise.
13570 * math/w_sqrtl_compat.c: Likewise.
13571 * math/w_tgamma_compat.c: Likewise.
13572 * math/w_tgammaf_compat.c: Likewise.
13573 * math/w_tgammal_compat.c: Likewise.
13574 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
13575 [LIBM_SVID_COMPAT].
13576 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
13577 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
13578 [LIBM_SVID_COMPAT].
13579 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
13580 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
13581 [LIBM_SVID_COMPAT].
13582 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
13583 * sysdeps/i386/fpu/w_sqrt.c: New file.
13584 * sysdeps/ia64/fpu/w_acos.c: Likewise.
13585 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
13586 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
13587 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
13588 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
13589 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
13590 * sysdeps/ia64/fpu/w_asin.c: Likewise.
13591 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
13592 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
13593 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
13594 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
13595 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
13596 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
13597 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
13598 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
13599 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
13600 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
13601 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
13602 * sysdeps/ia64/fpu/w_exp.c: Likewise.
13603 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
13604 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
13605 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
13606 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
13607 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
13608 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
13609 * sysdeps/ia64/fpu/w_expf.c: Likewise.
13610 * sysdeps/ia64/fpu/w_expl.c: Likewise.
13611 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
13612 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
13613 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
13614 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
13615 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
13616 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
13617 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
13618 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
13619 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
13620 * sysdeps/ia64/fpu/w_log.c: Likewise.
13621 * sysdeps/ia64/fpu/w_log10.c: Likewise.
13622 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
13623 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
13624 * sysdeps/ia64/fpu/w_log2.c: Likewise.
13625 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
13626 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
13627 * sysdeps/ia64/fpu/w_logf.c: Likewise.
13628 * sysdeps/ia64/fpu/w_logl.c: Likewise.
13629 * sysdeps/ia64/fpu/w_pow.c: Likewise.
13630 * sysdeps/ia64/fpu/w_powf.c: Likewise.
13631 * sysdeps/ia64/fpu/w_powl.c: Likewise.
13632 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
13633 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
13634 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
13635 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
13636 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
13637 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
13638 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
13639 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
13640 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
13641 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
13642 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
13643 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
13645 [LIBM_SVID_COMPAT].
13646 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
13647 * sysdeps/ieee754/k_standard.c: Likewise.
13648 * sysdeps/ieee754/k_standardf.c: Likewise.
13649 * sysdeps/ieee754/k_standardl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
13652 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
13653 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
13654 long_double_symbol call on [LIBM_SVID_COMPAT].
13655 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
13656 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
13657 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
13658 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
13659 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
13660 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
13661 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
13662 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
13663 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
13664 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
13665 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
13666 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
13667 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
13668 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
13669 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
13670 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
13671 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
13672 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
13673 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
13674 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
13675 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
13676 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
13678 2017-09-05 Steve Ellcey <sellcey@cavium.com>
13680 * include/shlib-compat.h (TEST_COMPAT): New Macro.
13681 * malloc/tst-mallocstate.c: Convert from test-skeleton
13682 to test-driver. Ifdef code using TEST_COMPAT macro.
13683 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
13684 * math/test-matherr.c: Likewise.
13686 2017-09-05 Joseph Myers <joseph@codesourcery.com>
13689 * debug/pcprofiledump.c (main): Use byte-swapped mask when
13690 comparing word with byte-swapped constant.
13692 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
13695 * locale/iso-639.def: add Miskito.
13696 * localedata/SUPPORTED: Add miq_NI/UTF-8.
13697 * localedata/locales/miq_NI: New file.
13699 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
13702 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
13703 (__mkdir): Likewise.
13704 * io/chmod.c (__chmod): Add libc_hidden_def.
13705 * io/mkdir.c (__mkdir): Likewise.
13706 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13707 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13708 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
13709 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
13711 2017-09-04 Joseph Myers <joseph@codesourcery.com>
13713 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13717 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
13718 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
13720 2017-09-04 Florian Weimer <fweimer@redhat.com>
13722 * math/math.h: Issue warning if log is defined.
13724 2017-09-04 Joseph Myers <joseph@codesourcery.com>
13726 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13727 kernel version to 4.13.
13729 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13731 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
13732 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
13734 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
13735 just <bits/types.h>.
13736 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
13737 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
13738 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
13739 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
13740 * misc/preadv2.c: Include <errno.h>.
13741 * misc/preadv64v2.c: Include <errno.h>.
13742 * misc/pwritev2.c: Include <errno.h>.
13743 * misc/pwritev64v2.c: Include <errno.h>.
13744 * sysdeps/posix/preadv2.c: Include <errno.h>.
13745 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
13746 Fix <unistd.h> inclusion.
13747 * sysdeps/posix/pwritev2.c: Include <errno.h>.
13748 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
13749 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
13750 __strtoul_internal): New functions.
13751 * sysdeps/posix/pause.c: Include <sigsetops.h>.
13752 * sysdeps/posix/system.c: Include <sigsetops.h>.
13753 * sysdeps/mach/hurd/i386/Makefile
13754 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
13755 [$(subdir) = csu] (sysdep-only-routines): Likewise.
13756 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
13757 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
13758 __feraiseexcept_renamed to feraiseexcept instead of
13759 __GI_feraiseexcept.
13760 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
13761 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
13762 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
13763 RWF_NOWAIT): Define to 0 if undefined already.
13764 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
13766 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
13767 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
13769 2017-09-01 Joseph Myers <joseph@codesourcery.com>
13771 * manual/math.texi (pow10): Do not document.
13772 (pow10f): Likewise.
13773 (pow10l): Likewise.
13774 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
13775 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
13776 * math/libm-test-exp10.inc (pow10_test): Remove.
13777 (do_test): Do not call pow10.
13778 * math/w_exp10_compat.c (pow10): Make into compat symbol.
13779 [NO_LONG_DOUBLE] (pow10l): Likewise.
13780 * math/w_exp10f_compat.c (pow10f): Likewise.
13781 * math/w_exp10l_compat.c (pow10l): Likewise.
13782 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
13783 (pow10): Make into compat symbol.
13784 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
13785 (pow10f): Make into compat symbol.
13786 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
13787 (pow10l): Make into compat symbol.
13788 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
13790 (CFLAGS-nldbl-pow10.c): Remove variable..
13791 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
13792 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
13793 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
13794 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
13795 Undefine and redefine.
13796 (pow10l): Make into compat symbol.
13797 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
13798 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13799 * sysdeps/arm/libm-test-ulps: Likewise.
13800 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
13801 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13802 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13803 * sysdeps/microblaze/libm-test-ulps: Likewise.
13804 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13805 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13806 * sysdeps/nios2/libm-test-ulps: Likewise.
13807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13808 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13809 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13810 * sysdeps/sh/libm-test-ulps: Likewise.
13811 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13812 * sysdeps/tile/libm-test-ulps: Likewise.
13813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13815 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13817 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
13819 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
13821 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
13822 "../ChangeLog.old/ChangeLog.8".
13823 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
13824 "../ChangeLog.old/ChangeLog.14".
13826 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
13828 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
13831 2017-09-01 Joseph Myers <joseph@codesourcery.com>
13833 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
13835 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
13837 * csu/version.c (banner): Remove "by Roland McGrath et al.".
13838 * nptl/Banner: Remove "by Ulrich Drepper et al.".
13840 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13842 * stdlib/tst-atexit-common.c (do_test): Test support for at least
13843 32 atexit handlers.
13845 2017-09-01 Zack Weinberg <zackw@panix.com>
13847 * math/math.h (HUGE_VAL): Improve commentary.
13849 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13850 Andreas Schwab <schwab@suse.de>
13853 * include/stdio.h (__gen_tempfd): New function.
13854 * stdio-common/Makefile (routines): Add gentempfd.
13855 * stdio-common/gentempfd.c: New file.
13856 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
13857 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
13858 unnamed file first.
13860 2017-09-01 Florian Weimer <fweimer@redhat.com>
13864 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
13865 result to determine success or failure, not the errno value.
13866 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
13867 (tst-nss-files-hosts-erange): Link with -ldl.
13868 * nss/tst-nss-files-hosts-erange.c: New file.
13869 * nss/tst-resolv-basic.c (response): Handle nodata.example.
13870 (do_test): Add NO_DATA tests.
13871 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
13872 (do_test): Call it.
13874 2017-09-01 Florian Weimer <fweimer@redhat.com>
13877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
13878 coming from gethostbyname2_r.
13880 2017-09-01 Florian Weimer <fweimer@redhat.com>
13882 * support/namespace.h (struct support_chroot_configuration): Add
13884 (struct support_chroot): Add path_hosts, path_host_conf.
13885 * support/support_chroot.c (write_file): New function.
13886 (support_chroot_create): Call it to process /etc/resolv.conf,
13887 /etc/hosts, /etc/host.conf.
13888 (support_chroot_free): Update.
13890 2017-09-01 Florian Weimer <fweimer@redhat.com>
13892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
13893 status indicates it is set.
13895 2017-09-01 Florian Weimer <fweimer@redhat.com>
13898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
13899 function lookup failures more reliable.
13901 2017-09-01 Florian Weimer <fweimer@redhat.com>
13903 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
13904 (getcanonname): Likewise.
13905 (gaih_inet): Likewise.
13907 2017-09-01 Florian Weimer <fweimer@redhat.com>
13909 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
13910 (getcanonname): Likewise.
13911 (gaih_inet): Likewise.
13913 2017-08-31 Steve Ellcey <sellcey@cavium.com>
13914 Richard Henderson <rth@twiddle.net>
13916 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
13917 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
13918 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
13919 (IREG_SIZE, OREG_SIZE): New macros.
13920 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
13921 (IREG_SIZE, OREG_SIZE): New macros.
13922 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
13923 (IREG_SIZE): New macro.
13924 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
13925 (IREG_SIZE): New macro.
13926 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
13928 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
13929 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
13930 (__CONCATX): Handle exceptions correctly on large values that may
13932 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
13933 Initialize if not already set.
13934 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
13936 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13938 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
13939 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
13941 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
13943 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
13945 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
13947 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
13949 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
13951 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
13953 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
13954 (NO_CANCELLATION): Likewise.
13955 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
13957 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
13959 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
13961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
13962 (NO_CANCELLATION): Likewise.
13963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
13964 (NO_CANCELLATION): Likewise.
13965 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
13967 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
13969 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
13971 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
13973 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
13975 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
13976 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
13978 2017-08-31 Steve Ellcey <sellcey@cavium.com>
13980 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
13983 2017-08-31 Florian Weimer <fweimer@redhat.com>
13985 * include/libc-symbols.h (internal_function): Remove.
13987 2017-08-31 Florian Weimer <fweimer@redhat.com>
13989 * stdlib/fmtmsg.c (internal_addseverity): Remove
13992 2017-08-31 Florian Weimer <fweimer@redhat.com>
13994 * stdio-common/printf_fp.c (group_number): Remove
13996 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
13998 2017-08-31 Florian Weimer <fweimer@redhat.com>
14000 * posix/fnmatch.c (internal_function): Remove definition.
14001 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
14002 * posix/regcomp.c (peek_token, init_word_char)
14003 (duplicate_node_closure, fetch_token, peek_token)
14004 (peek_token_bracket, build_range_exp, build_collating_symbol):
14006 * posix/regex_internal.c (re_string_construct_common)
14007 (create_ci_newstate, create_cd_newstate, re_string_allocate)
14008 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
14009 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
14010 (re_string_translate_buffer, re_string_reconstruct)
14011 (re_string_peek_byte_case, re_string_fetch_byte_case)
14012 (re_string_destruct, re_string_context_at, re_node_set_alloc)
14013 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
14014 (re_node_set_add_intersect, re_node_set_init_union)
14015 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
14016 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
14017 (re_dfa_add_node, calc_state_hash, re_acquire_state)
14018 (re_acquire_state_context): Likewise.
14019 * posix/regex_internal.h (internal_function): Remove definition.
14020 (re_string_realloc_buffers, build_wcs_buffer)
14021 (build_wcs_upper_buffer, build_upper_buffer)
14022 (re_string_translate_buffer, re_string_context_at)
14023 (re_string_char_size_at, re_string_wchar_at)
14024 (re_string_elem_size_at): Likewise.
14025 * posix/regexec.c (match_ctx_init, match_ctx_clean)
14026 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
14027 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
14028 (re_search_internal, re_search_2_stub, re_search_stub)
14029 (re_copy_regs, prune_impossible_nodes, check_matching)
14030 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
14031 (free_fail_stack_return, sift_states_iter_mb)
14032 (sift_states_backward, build_sifted_states)
14033 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
14034 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
14035 (check_subexp_limits, sift_states_bkref, merge_state_array)
14036 (find_recover_state, transit_state, merge_state_with_log)
14037 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
14038 (transit_state_mb, transit_state_bkref, get_subexp)
14039 (get_subexp_sub, find_subexp_node, check_arrival)
14040 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
14041 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
14042 (check_node_accept_bytes, find_collation_sequence_value)
14043 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
14044 (acquire_init_state_context, check_halt_node_context)
14045 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
14046 (sub_epsilon_src_nodes): Likewise.
14047 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
14048 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
14049 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
14050 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
14051 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
14052 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
14053 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
14054 * sysdeps/posix/ttyname.c (getttyname): Likewise.
14055 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14056 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
14057 (PREADV): Likewise.
14058 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
14059 (PREADV): Likewise.
14060 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
14061 (PWRITEV): Likewise.
14062 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
14063 (PWRITEV): Likewise.
14064 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
14065 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
14067 2017-08-31 Florian Weimer <fweimer@redhat.com>
14069 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
14070 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
14071 Remove internal_function.
14072 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14073 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
14074 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
14075 (__deallocate_stack, __libc_pthread_init)
14076 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
14077 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
14078 (__libc_disable_asynccancel, __librt_disable_asynccancel):
14080 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
14081 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
14082 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
14084 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
14085 (__pthread_mutex_unlock_usercnt): Likewise.
14087 2017-08-31 Florian Weimer <fweimer@redhat.com>
14089 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
14090 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
14091 (fts_safe_changedir): Remove internal_function.
14092 * io/ftw.c (internal_function): Remove definition.
14093 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
14095 2017-08-31 Florian Weimer <fweimer@redhat.com>
14097 * inet/deadline.c (__deadline_current_time)
14098 (__deadline_from_timeval, __deadline_to_ms): Remove
14100 * inet/getnameinfo.c (nrl_domainname): Likewise.
14101 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
14102 * inet/inet6_option.c (add_pad): Likewise.
14103 * inet/net-internal.h (__deadline_current_time)
14104 (__deadline_from_timeval, __deadline_to_ms): Likewise.
14105 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
14106 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
14107 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
14109 2017-08-31 Joseph Myers <joseph@codesourcery.com>
14111 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
14112 include <bits/nan.h>.
14113 * math/Makefile (headers): Remove bits/nan.h.
14114 * bits/nan.h: Remove.
14115 * sysdeps/ieee754/bits/nan.h: Likewise.
14116 * sysdeps/mips/bits/nan.h: Likewise.
14118 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
14119 not include <bits/inf.h>.
14120 * math/Makefile (headers): Remove bits/inf.h.
14121 * bits/inf.h: Remove.
14122 * sysdeps/ieee754/bits/inf.h: Likewise.
14124 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
14125 bits/huge_vall.h or bits/huge_val_flt128.h.
14126 (HUGE_VAL): Define directly here.
14127 [__USE_ISOC99] (HUGE_VALF): Likewise.
14128 [__USE_ISOC99] (HUGE_VALL): Likewise.
14129 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14130 (HUGE_VAL_F128): Likewise.
14131 * math/Makefile (headers): Remove bits/huge_val.h,
14132 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
14133 * bits/huge_val.h: Remove.
14134 * bits/huge_val_flt128.h: Likewise.
14135 * bits/huge_valf.h: Likewise.
14136 * bits/huge_vall.h: Likewise.
14137 * sysdeps/ia64/bits/huge_vall.h: Likewise.
14138 * sysdeps/ieee754/bits/huge_val.h: Likewise.
14139 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
14140 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
14141 * sysdeps/sh/bits/huge_val.h: Likewise.
14142 * sysdeps/sparc/bits/huge_vall.h: Likewise.
14143 * sysdeps/x86/bits/huge_vall.h: Likewise.
14145 2017-08-31 Florian Weimer <fweimer@redhat.com>
14147 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
14149 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
14151 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
14152 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14153 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
14154 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
14155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14156 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14157 * elf/dl-libc.c (dlerror_run): Likewise.
14158 * elf/dl-load.c (add_name_to_object, decompose_rpath)
14159 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
14160 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
14161 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
14163 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
14164 (_dl_higher_prime_number, _dl_strtoul): Likewise.
14165 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
14166 * elf/dl-profile.c (_dl_start_profile): Likewise.
14167 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
14168 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
14170 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
14171 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
14172 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
14173 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
14174 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
14175 (_dl_allocate_tls_storage): Likewise.
14176 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
14177 (_dl_check_all_versions): Likewise.
14178 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14179 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
14180 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
14181 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14182 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
14183 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
14184 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
14185 internal_function from __dl_start.
14186 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
14187 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14188 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
14189 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
14190 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
14191 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
14192 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
14193 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
14194 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
14195 (_dl_next_ld_env_entry, _dl_important_hwcaps)
14196 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
14197 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
14198 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
14199 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
14200 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
14202 (struct rtld_global_ro): Remove internal_function from the
14203 _dl_lookup_symbol_x member.
14204 (_dl_symbol_value): Remove. No longer defined anywhere.
14205 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
14207 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14208 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14209 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
14210 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
14211 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
14212 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
14213 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
14214 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
14215 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
14216 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14217 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14218 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14220 2017-08-31 Florian Weimer <fweimer@redhat.com>
14222 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
14223 Remove internal_function.
14224 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
14226 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
14229 2017-08-31 Florian Weimer <fweimer@redhat.com>
14231 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
14232 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
14233 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
14235 2017-08-31 Florian Weimer <fweimer@redhat.com>
14237 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
14238 (__gai_enqueue_request): Remove internal_function.
14239 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
14240 (__gai_remove_request, __gai_notify, __gai_notify_only)
14241 (__gai_sigqueue): Likewise.
14242 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
14243 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14244 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
14245 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14248 2017-08-31 Florian Weimer <fweimer@redhat.com>
14250 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
14251 * include/dirent.h (__opendirat, __getdents, __getdents64)
14252 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
14253 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
14254 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14255 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
14257 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
14259 2017-08-31 Florian Weimer <fweimer@redhat.com>
14261 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
14263 (GETCWD_RETURN_TYPE): Likewise.
14265 2017-08-31 Florian Weimer <fweimer@redhat.com>
14267 * include/time.h (__tz_compute, __strptime_internal): Remove
14269 * time/strptime_l.c (__strptime_internal): Likewise.
14270 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
14272 2017-08-31 Florian Weimer <fweimer@redhat.com>
14274 * iconv/gconv.c (__gconv): Remove internal_function.
14275 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
14276 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
14277 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
14278 (__gconv_release_cache): Likewise.
14279 * iconv/gconv_close.c (__gconv_close): Likewise.
14280 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
14281 (read_conf_file, __gconv_get_path): Likewise.
14282 * iconv/gconv_db.c (derivation_lookup, add_derivation)
14283 (__gconv_release_step, gen_steps, increment_counter)
14284 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
14285 (__gconv_close_transform, free_modules_db): Likewise.
14286 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
14288 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
14289 (__gconv_find_transform, __gconv_lookup_cache)
14290 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
14291 (__gconv_close_transform, __gconv_release_cache)
14292 (__gconv_loaded_object, __gconv_release_shlib)
14293 (__gconv_compare_alias): Likewise.
14294 * iconv/gconv_open.c (__gconv_open): Likewise.
14295 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
14296 * iconv/iconvconfig.c (add_module): Likewise.
14297 * intl/dcigettext.c (plural_lookup, guess_category_value)
14298 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
14299 * intl/eval-plural.h (plural_eval): Likewise.
14300 * intl/finddomain.c (_nl_find_domain): Likewise.
14301 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
14302 (_nl_load_domain, _nl_find_msg): Likewise.
14303 (internal_function): Remove definition.
14304 * intl/loadinfo.h (internal_function): Likewise.
14305 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
14307 * intl/localealias.c (internal_function): Remove definition.
14308 (read_alias_file): Remove internal_function.
14309 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
14310 * intl/plural-exp.h (internal_function): Remove definition.
14311 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
14313 * intl/plural.c: Regenerate.
14314 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
14315 * locale/coll-lookup.c (__collidx_table_lookup)
14316 (__collseq_table_lookup): Likewise.
14317 * locale/coll-lookup.h (__collidx_table_lookup)
14318 (__collseq_table_lookup): Likewise.
14319 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
14320 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14321 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
14322 (_nl_unload_locale): Likewise.
14323 * locale/localeinfo.h (struct __locale_data): Remove
14324 internal_function from cleanup member.
14325 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
14326 (_nl_remove_locale, _nl_load_locale_from_archive)
14327 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
14328 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
14329 (_nl_cleanup_time): Remove internal_function.
14330 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
14331 (_nl_parse_alt_digit): Likewise.
14332 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
14333 (_nl_select_era_entry): Likewise.
14334 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
14335 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
14336 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
14337 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
14338 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
14340 2017-08-31 Florian Weimer <fweimer@redhat.com>
14342 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
14343 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
14344 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
14345 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
14347 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
14348 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
14349 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
14350 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14352 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
14354 2017-08-31 Florian Weimer <fweimer@redhat.com>
14356 * misc/getttyent.c (skip, value): Remove internal_function.
14357 * misc/syslog.c (openlog_internal): Likewise.
14358 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
14360 2017-08-31 Florian Weimer <fweimer@redhat.com>
14362 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
14363 (__nss_rewrite_field): Remove internal_function.
14364 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14365 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
14366 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14367 * nss/nsswitch.c (nss_parse_file, nss_getline)
14368 (nss_parse_service_list, nss_new_service): Likewise.
14369 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
14370 * nss/valid_field.c (__nss_valid_field): Likewise.
14371 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14373 2017-08-31 Florian Weimer <fweimer@redhat.com>
14375 * malloc/arena.c (__malloc_fork_lock_parent)
14376 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
14377 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
14378 internal_function from defintions.
14379 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
14380 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
14381 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
14382 internal_function from declarations.
14383 * malloc/malloc.c (internal_function): Do not define.
14384 (mem2mem_check): Remove internal_function from declaration.
14385 (munmap_chunk, mremap_chunk): Remove internal_function.
14386 * malloc/mtrace.c (tr_where): Likewise.
14388 2017-08-31 Florian Weimer <fweimer@redhat.com>
14390 * include/rpc/pmap_clnt.h (__get_socket): Remove
14392 * sunrpc/auth_des.c (synchronize): Likewise.
14393 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
14394 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
14395 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
14396 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
14397 (key_call): Likewise.
14398 * sunrpc/pm_getport.c (__get_socket): Likewise.
14399 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
14400 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
14401 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
14402 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
14403 (invalidate): Likewise.
14404 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
14405 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
14406 (set_input_fragment, get_input_bytes): Likewise.
14408 2017-08-31 Florian Weimer <fweimer@redhat.com>
14410 * malloc/malloc.c (_int_free): Remove locked variable and related
14413 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
14416 * Makerules (build-module-helper-objlist): Filter out
14417 $(elf-objpfx)sofini.os.
14418 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
14421 2017-08-31 Florian Weimer <fweimer@redhat.com>
14423 * libio/fcloseall.c: Assume weak_alias is defined.
14424 * libio/feof.c: Likewise.
14425 * libio/fileno.c: Likewise.
14426 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
14427 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
14429 (_IO_file_open): Call __open directly.
14430 (_IO_new_file_sync): Assume ESPIPE is defined.
14431 (_IO_file_seekoff_maybe_mmap): Call __read directly.
14432 (_IO_new_file_write): Call __write directly.
14433 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
14434 * libio/ftello64.c (__ftello64): Assume EIO is defined.
14435 * libio/genops.c: Assume _LIBC is defined.
14436 (save_for_backup): Remove internal_function.
14437 * libio/getc.c: Assume weak_alias is defined.
14438 * libio/getwc.c: Likewise.
14439 * libio/iofclose.c: Assume _LIBC is defined.
14440 * libio/iofdopen.c: Likewise.
14441 (_IO_fcntl): Remove macro definition.
14442 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
14443 Call __fcntl directly.
14444 * libio/iofflush.c: Assume weak_alias is defined.
14445 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
14447 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
14448 * libio/iofgets.c: Likewise.
14449 * libio/iofopen.c: Assume _LIBC is defined.
14450 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
14451 * libio/iofputs.c: Assume weak_alias is defined.
14452 * libio/iofread.c: Likewise.
14453 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
14454 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14455 * libio/ioftell.c: Assume weak_alias is defined.
14456 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
14457 * libio/iofwide.c: Assume _LIBC is defined.
14458 (_IO_fwide): Drop SHARED conditional because it is implied by
14460 * libio/iofwrite.c: Assume weak_alias is defined.
14461 * libio/iogetdelim.c: Likewise.
14462 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
14463 * libio/iogetwline.c (wmemcpy): Remove macro definition.
14464 (_IO_getwline): Call __wmemcpy directly.
14465 * libio/iopopen.c: Assume _LIBC is defined.
14466 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
14467 (_IO_close): Remove macro definitions.
14468 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
14470 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
14472 * libio/ioputs.c: Assume weak_alias is defined.
14473 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
14474 * libio/iosetbuffer.c: Assume weak_alias is defined.
14475 * libio/iosetvbuf.c: Likewise.
14476 * libio/ioungetc.c: Likewise.
14477 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
14478 libc_hidden_def, libc_hidden_weak, NULL are defined.
14479 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
14480 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
14482 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
14484 (_IO_old_file_init_internal): Drop SHARED conditional because it
14485 is implied by SHLIB_COMPAT.
14486 (_IO_old_file_fopen): Call __open directly.
14487 (_IO_old_file_sync): Assume ESPIPE is defined.
14488 (_IO_old_file_write): Call __write directly.
14489 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
14490 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
14491 Call __fcntl directly.
14492 * libio/oldiofgetpos.c: Assume weak_alias is defined.
14493 (_IO_old_fgetpos): Assume EIO is defined.
14494 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
14495 (_IO_old_fgetpos64): Assume EIO is defined.
14496 * libio/oldiofsetpos.c: Assume weak_alias is defined.
14497 (_IO_old_fsetpos): Assume EIO is defined.
14498 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
14499 (_IO_old_fsetpos64): Assume EIO is defined.
14500 * libio/oldiopopen.c: Assume _LIBC is defined.
14501 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
14502 (_IO_close): Remove macro definitions.
14503 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
14505 (_IO_old_proc_close): Call __close, __waitpid directly.
14506 * libio/put.c: Assume weak_alias is defined.
14507 * libio/stdfiles.c: Assume _LIBC is defined.
14508 * libio/stdio.c: Likewise.
14509 * libio/wfileops.c: Likewise.
14510 (_IO_wfile_sync): Assume ESPIPE is defined.
14511 * libio/wgenops.c: Assume _LIBC is defined.
14512 (save_for_wbackup): Remove internal_function.
14514 2017-08-31 Florian Weimer <fweimer@redhat.com>
14516 * malloc/malloc.c (top_check): Change return type to void. Remove
14518 * malloc/hooks.c (top_check): Likewise.
14519 (malloc_check, realloc_check, memalign_check): Adjust.
14521 2017-08-30 Joseph Myers <joseph@codesourcery.com>
14524 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
14525 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
14526 sigcontext and namespace requirements.
14527 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
14528 * sysdeps/m68k/sys/ucontext.h: Likewise.
14529 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
14530 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
14531 <bits/sigcontext.h>.
14532 (__ctx): Define earlier.
14533 (mcontext_t): Define structure contents rather than using struct
14535 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
14536 __glibc_reserved1 instead of __reserved.
14537 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
14538 <bits/sigcontext.h>.
14539 (__ctx): Define earlier.
14540 (mcontext_t): Define structure contents rather than using struct
14542 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
14543 mcontext_t instead of struct sigcontext.
14544 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
14545 <bits/sigcontext.h>.
14546 (__ctx): Define earlier.
14547 (mcontext_t): Define structure contents rather than using struct
14549 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
14550 <bits/sigcontext.h>.
14551 (__ctx): Define earlier.
14552 (mcontext_t): Define structure contents rather than using struct
14554 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
14555 mcontext_t instead of struct sigcontext.
14556 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
14557 mcontext_t instead of struct sigcontext.
14558 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
14559 <bits/sigcontext.h>.
14560 (__ctx): New macro.
14561 (struct __ia64_fpreg_mcontext): New type.
14562 (mcontext_t): Define structure contents rather than using struct
14564 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
14565 (uc_sigmask): Define using __ctx.
14566 (uc_stack): Likewise.
14567 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
14568 <bits/sigcontext.h>.
14569 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14570 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
14571 <bits/sigcontext.h>.
14572 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
14573 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
14574 <bits/sigcontext.h>.
14575 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
14576 <bits/sigcontext.h>.
14577 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
14578 <bits/sigcontext.h>.
14579 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
14580 <bits/sigcontext.h>.
14581 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
14582 <bits/sigcontext.h>.
14583 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
14584 <bits/sigcontext.h>.
14585 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
14586 <bits/sigcontext.h>.
14587 (__ctx): Define earlier.
14588 (mcontext_t): Define structure contents rather than using struct
14590 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
14591 <bits/sigcontext.h>. Include <bits/types.h>.
14592 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
14593 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
14594 (test-xfail-XPG42/ucontext.h/conform): Likewise.
14595 (test-xfail-UNIX98/signal.h/conform): Likewise.
14596 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14597 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14598 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14599 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14600 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14601 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14602 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14603 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14604 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14606 2017-08-30 Florian Weimer <fweimer@redhat.com>
14608 * malloc/dynarray_emplace_enlarge.c
14609 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
14610 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
14611 * malloc/tst-dynarray.c (test_long_overflow): New function.
14612 (do_test): Call it.
14614 2017-08-30 Florian Weimer <fweimer@redhat.com>
14616 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
14617 (set_arena_corrupt): Remove definitions.
14618 (mtrim): Do not check for corrupt arena.
14619 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
14622 2017-08-30 Florian Weimer <fweimer@redhat.com>
14625 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
14627 (ptmalloc_init): Do not set or use check_action.
14628 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
14629 call to malloc_printerr. Remove return statement.
14630 (free_check): Likewise. Remove arena unlock.
14631 (top_check): Update comment. Adjust call to malloc_printerr.
14632 Remove heap repair code.
14633 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
14634 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
14635 (sysmalloc): Adjust call to malloc_printerr.
14636 (munmap_chunk, __libc_realloc): Likewise. Remove return
14638 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
14639 Remove errout label and corresponding gotos.
14640 (_int_free): Likewise. Remove arena unlock.
14641 (do_set_mallopt_check): Do not set check_action.
14642 (malloc_printerr): Adjust parameter list. Do not mark arena as
14644 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
14646 * manual/probes.texi (Memory Allocation Probes): Remove
14647 memory_mallopt_check_action.
14649 2017-08-30 Steve Ellcey <sellcey@cavium.com>
14651 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
14652 Use pointer to uint64_t instead of long int for sp.
14654 2017-08-30 Florian Weimer <fweimer@redhat.com>
14657 * malloc/malloc.c (malloc_printerr): Always terminate the process,
14658 without printing a backtrace. Do not leak any information in the
14660 * manual/memory.texi (Heap Consistency Checking): Update.
14661 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
14663 2017-08-30 Florian Weimer <fweimer@redhat.com>
14665 Do not scale NPTL tests with available number of CPUs.
14666 * nptl/tst-cond16.c (count): Set to constant value of 8.
14667 * nptl/tst-cond18.c (count): Likewise.
14669 2017-08-29 Joseph Myers <joseph@codesourcery.com>
14672 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
14673 Define to take a second argument that is a macro that
14674 concatentates a suffix, not the suffix itself.
14675 (__CONCAT_d): New macro.
14676 (__CONCAT_f): Likewise.
14677 (__CONCAT_l): Likewise.
14679 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
14681 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
14684 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14685 Aurelien Jarno <aurelien@aurel32.net>
14686 Maciej W. Rozycki <macro@imgtec.com>
14689 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
14690 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
14691 `mips16-syscall6' and `mips16-syscall7'.
14692 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
14693 (CFLAGS-mips16-syscall7.c): Remove.
14694 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
14695 Remove `__mips16_syscall5', `__mips16_syscall6' and
14696 `__mips16_syscall7'.
14697 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
14698 (__mips16_syscall0): Rename `__mips16_syscall_return' to
14699 `__mips_syscall_return'.
14700 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
14701 (__mips16_syscall1): Likewise.
14702 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
14703 (__mips16_syscall2): Likewise.
14704 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
14705 (__mips16_syscall3): Likewise.
14706 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
14707 (__mips16_syscall4): Likewise.
14708 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
14710 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
14712 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
14714 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
14715 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
14716 `__mips16_syscall5'. Remove prototype.
14717 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
14718 `__mips16_syscall6'. Remove prototype.
14719 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
14720 `__mips16_syscall7'. Remove prototype.
14721 (__nomips16, __mips16_syscall_return): Move to...
14722 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
14723 (__nomips16, __mips_syscall_return): ... here.
14724 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
14725 `__mips16_syscall_return' to `__mips_syscall_return'.
14726 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
14727 `internal_syscall##nr'.
14728 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
14729 `internal_syscall##nr'.
14730 (FORCE_FRAME_POINTER): Remove.
14731 (__mips_syscall5): New prototype.
14732 (internal_syscall5): Rewrite to call `__mips_syscall5'.
14733 (__mips_syscall6): New prototype.
14734 (internal_syscall6): Rewrite to call `__mips_syscall6'.
14735 (__mips_syscall7): New prototype.
14736 (internal_syscall7): Rewrite to call `__mips_syscall7'.
14737 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
14738 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
14739 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
14740 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
14741 (sysdep_routines): Add libc-do-syscall.
14742 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
14743 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
14745 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14748 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
14749 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
14750 (advise_stack_range): New function.
14751 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
14752 stack non required to advise_stack_range at allocatestack.c
14754 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
14756 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
14758 2017-08-29 Florian Weimer <fweimer@redhat.com>
14761 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
14762 __end_fct. Mangle __end_fct after setting it to NULL.
14763 * iconv/Makefile (tests): Add tst-gconv-init-failure.
14764 (modules-names, modules-names-tests): Add
14765 tst-gconv-init-failure-mod.
14766 (gconv-modules): New target.
14767 (tst-gconv-init-failure-mod.so): Link against libsupport.
14768 (tst-gconv-init-failure): Depend on gconv-modules,
14769 tst-gconv-init-failure-mod.so.
14770 * iconv/tst-gconv-init-failure-mod.c: New file.
14771 * iconv/tst-gconv-init-failure.c: Likewise.
14772 * iconv/test-gconv-modules: Likewise.
14774 2017-08-29 Florian Weimer <fweimer@redhat.com>
14777 * iconv/gconv_db.c (free_derivation): Remove redundant
14779 (gen_steps): Unconditionally mangle __btowc_fct after
14781 (increment_counter): Likewise. Do not call init_fct for internal
14784 2017-08-29 Joseph Myers <joseph@codesourcery.com>
14787 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
14788 (_MSUF_): Remove macro.
14789 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
14791 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
14792 (__REDIRFROM_X): New macro.
14793 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
14795 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
14796 (__REDIRTO_X): Likewise.
14797 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
14799 (__MATH_REDIRCALL_2): Likewise.
14800 (__MATH_REDIRCALL_INTERNAL): Likewise.
14801 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
14802 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
14803 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
14804 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
14805 * math/test-finite-macros.c: New file.
14806 * math/Makefile (tests): Add test-finite-macros.
14807 (CFLAGS-test-finite-macros.c): New variable.
14809 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
14810 Jeff Law <law@redhat.com>
14813 Mangle NULL pointers in iconv/gconv.
14814 * iconv/gconv_cache.c (find_module): Demangle init_fct before
14815 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
14816 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
14817 is non-NULL before demangling the end_fct. Check for NULL
14818 end_fct after demangling.
14819 (__gconv_release_step): Demangle the end_fct before checking
14820 it for NULL. Remove assert on __shlibc_handle != NULL.
14821 (gen_steps): Don't check btowc_fct for NULL before mangling.
14822 Demangle init_fct before checking for NULL.
14823 (increment_counter): Likewise.
14824 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
14825 end_fct for NULL before mangling.
14826 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
14829 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
14832 * locale/iso-639.def: add Morisyen.
14834 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14837 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
14838 (iszero): New C++ implementation that does not use
14839 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
14840 signaling nans are enabled, since __builtin_types_compatible_p
14841 is a C-only feature.
14842 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
14843 defined, include ieee754_float128.h for access to the union and
14844 member ieee854_float128.ieee.
14845 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
14846 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
14847 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
14848 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
14849 options of test-math-zero on powerpc64le.
14851 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
14853 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
14854 Change double to float.
14856 2017-08-28 Joseph Myers <joseph@codesourcery.com>
14858 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
14860 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
14861 conditional code; define contents only for [LIBM_SVID_COMPAT].
14863 2017-08-28 Florian Weimer <fweimer@redhat.com>
14865 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
14866 (abi-lp64_be-options): Remove.
14867 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
14868 (abi-hard-options): Likewise.
14869 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
14870 (abi-o32_hard-options, abi-o32_soft_2008-options)
14871 (abi-o32_hard_2008-options, abi-n32_soft-options)
14872 (abi-n32_hard-options, abi-n32_soft_2008-options)
14873 (abi-n32_hard_2008-options, abi-n64_soft-options)
14874 (abi-n64_hard-options, abi-n64_soft_2008-options)
14875 (abi-n64_hard_2008-options): Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
14877 (abi-64-v1-options, abi-64-v2-options): Likewise.
14878 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
14879 (abi-64-options): Likewise.
14880 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
14881 (abi-64-options): Likewise.
14882 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
14883 (abi-64-options): Likewise.
14884 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
14885 (abi-64-options, abi-x32-options): Likewise.
14887 2017-08-28 Florian Weimer <fweimer@redhat.com>
14889 Store supported list of SYS_* system calls in the source tree.
14890 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
14891 (bits/syscall.h): Generate from list file.
14892 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
14893 [$(subdir) = misc] (tests): Add tst-syscall-list.
14894 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
14895 [$(subdir) = misc] (tst-syscall-list-macros.list)
14896 [$(subdir) = misc] (tst-syscall-list-nr.list)
14897 (tst-syscall-list-sys.list): Helper targets for new
14898 tst-syscall-list test.
14899 [$(subdir) = misc] (tst-syscall-list.out): Run test script
14900 tst-syscall-list.sh.
14901 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
14902 target. Do not include bits/syscall.d.
14903 [$(subdir) = misc] (generated): Do not update.
14904 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
14905 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
14906 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
14907 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
14909 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14911 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
14912 (tst-cxa_atexit, tst-on_exit): Likewise.
14913 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
14914 tst-cxa_atexit, and tst-on_exit.
14915 * stdlib/tst-atexit-common.c: New file.
14916 * stdlib/tst-atexit.c: New file.
14917 * stdlib/tst-at_quick_exit.c: New file.
14918 * stdlib/tst-cxa_atexit.c: New file.
14919 * stdlib/tst-on_exit.c: New file.
14921 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14923 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
14924 * mach/stack_chk_fail_local.c: New file.
14925 * hurd/stack_chk_fail_local.c: New file.
14926 * mach/Machrules ($(interface-library)-routines): Add
14927 stack_chk_fail_local.
14928 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
14929 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
14930 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
14931 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
14932 * hurd/Makefile (CFLAGS-hurdstartup.o,
14933 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
14935 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
14937 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
14938 (index_cpu_*, index_arch_*): Removed.
14940 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
14942 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
14943 Use uint64_t instead of unsigned long.
14945 2017-08-25 Joseph Myers <joseph@codesourcery.com>
14947 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
14948 [__HAVE_DISTINCT_FLOAT128].
14950 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
14951 of <bits/math-finite.h>.
14952 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
14953 inclusion of <bits/math-finite.h>.
14954 * math/bits/math-finite.h (__REDIRTO_X): Do not define
14955 conditionally on [__MATH_DECLARING_LDOUBLE && defined
14956 __NO_LONG_DOUBLE_MATH].
14957 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
14958 (__MATH_REDIRCALL_2): Likewise.
14959 (__MATH_REDIRCALL_INTERNAL): Likewise.
14960 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
14961 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
14962 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
14966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
14970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
14972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
14974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
14976 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
14977 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
14978 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
14979 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
14980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14981 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
14982 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
14983 w_sqrtf_compat-ppc32.
14985 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14987 * math/math.h [defined __cplusplus] (issignaling): In the long
14988 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
14989 is not defined. Call __issignaling, otherwise.
14991 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14993 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
14994 syscall definitions and replace __builtin_expect with __glibc_likely.
14995 * sysdeps/unix/syscall-template.S: Update comment about cancellable
14997 (SYSCALL_CANCELLABLE): Removedefinition
14998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
15000 (PSEUDO_END): Likewise.
15001 [IS_IN (libpthread)] (CENABLE): Likewise.
15002 [IS_IN (libpthread)] (CDISABLE): Likewise.
15003 [IS_IN (libc)] (CENABLE): Likewise.
15004 [IS_IN (libc)] (CENABLE): Likewise.
15005 [IS_IN (librt)] (CDISABLE): Likewise.
15006 [IS_IN (librt)] (CDISABLE): Likewise.
15007 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15008 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
15010 (PSEUDO_END): Likewise.
15011 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
15012 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
15013 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
15014 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
15015 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
15016 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
15017 (CENABLE): Likewise.
15018 (CDISABLE): Likewise.
15019 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15020 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
15022 (PSEUDO_END): Likewise.
15023 [IS_IN (libpthread)] (CENABLE): Likewise.
15024 [IS_IN (libpthread)] (CDISABLE): Likewise.
15025 [IS_IN (libc)] (CENABLE): Likewise.
15026 [IS_IN (libc)] (CENABLE): Likewise.
15027 [IS_IN (librt)] (CDISABLE): Likewise.
15028 [IS_IN (librt)] (CDISABLE): Likewise.
15029 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15030 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
15032 (PSEUDO_END): Likewise.
15033 [IS_IN (libpthread)] (CENABLE): Likewise.
15034 [IS_IN (libpthread)] (CDISABLE): Likewise.
15035 [IS_IN (libc)] (CENABLE): Likewise.
15036 [IS_IN (libc)] (CENABLE): Likewise.
15037 [IS_IN (librt)] (CDISABLE): Likewise.
15038 [IS_IN (librt)] (CDISABLE): Likewise.
15039 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15040 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
15042 (PSEUDO_END): Likewise.
15043 [IS_IN (libpthread)] (CENABLE): Likewise.
15044 [IS_IN (libpthread)] (CDISABLE): Likewise.
15045 [IS_IN (libc)] (CENABLE): Likewise.
15046 [IS_IN (libc)] (CENABLE): Likewise.
15047 [IS_IN (librt)] (CDISABLE): Likewise.
15048 [IS_IN (librt)] (CDISABLE): Likewise.
15049 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15050 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
15052 (PSEUDO_END): Likewise.
15053 [IS_IN (libpthread)] (CENABLE): Likewise.
15054 [IS_IN (libpthread)] (CDISABLE): Likewise.
15055 [IS_IN (libc)] (CENABLE): Likewise.
15056 [IS_IN (libc)] (CENABLE): Likewise.
15057 [IS_IN (librt)] (CDISABLE): Likewise.
15058 [IS_IN (librt)] (CDISABLE): Likewise.
15059 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15060 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
15062 (PSEUDO_END): Likewise.
15063 [IS_IN (libpthread)] (CENABLE): Likewise.
15064 [IS_IN (libpthread)] (CDISABLE): Likewise.
15065 [IS_IN (libc)] (CENABLE): Likewise.
15066 [IS_IN (libc)] (CENABLE): Likewise.
15067 [IS_IN (librt)] (CDISABLE): Likewise.
15068 [IS_IN (librt)] (CDISABLE): Likewise.
15069 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15070 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
15072 (PSEUDO_END): Likewise.
15073 [IS_IN (libpthread)] (CENABLE): Likewise.
15074 [IS_IN (libpthread)] (CDISABLE): Likewise.
15075 [IS_IN (libc)] (CENABLE): Likewise.
15076 [IS_IN (libc)] (CENABLE): Likewise.
15077 [IS_IN (librt)] (CDISABLE): Likewise.
15078 [IS_IN (librt)] (CDISABLE): Likewise.
15079 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15080 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
15082 (PSEUDO_END): Likewise.
15083 [IS_IN (libpthread)] (CENABLE): Likewise.
15084 [IS_IN (libpthread)] (CDISABLE): Likewise.
15085 [IS_IN (libc)] (CENABLE): Likewise.
15086 [IS_IN (libc)] (CENABLE): Likewise.
15087 [IS_IN (librt)] (CDISABLE): Likewise.
15088 [IS_IN (librt)] (CDISABLE): Likewise.
15089 (SINGLE_THREAD_P): Likewise.
15090 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
15092 (PSEUDO_END): Likewise.
15093 [IS_IN (libpthread)] (CENABLE): Likewise.
15094 [IS_IN (libpthread)] (CDISABLE): Likewise.
15095 [IS_IN (libc)] (CENABLE): Likewise.
15096 [IS_IN (libc)] (CENABLE): Likewise.
15097 [IS_IN (librt)] (CDISABLE): Likewise.
15098 [IS_IN (librt)] (CDISABLE): Likewise.
15099 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15100 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
15102 (PSEUDO_END): Likewise.
15103 [IS_IN (libpthread)] (CENABLE): Likewise.
15104 [IS_IN (libpthread)] (CDISABLE): Likewise.
15105 [IS_IN (libc)] (CENABLE): Likewise.
15106 [IS_IN (libc)] (CENABLE): Likewise.
15107 [IS_IN (librt)] (CDISABLE): Likewise.
15108 [IS_IN (librt)] (CDISABLE): Likewise.
15109 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15110 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
15111 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15112 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
15113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
15115 (PSEUDO_END): Likewise.
15116 [IS_IN (libpthread)] (CENABLE): Likewise.
15117 [IS_IN (libpthread)] (CDISABLE): Likewise.
15118 [IS_IN (libc)] (CENABLE): Likewise.
15119 [IS_IN (libc)] (CENABLE): Likewise.
15120 [IS_IN (librt)] (CDISABLE): Likewise.
15121 [IS_IN (librt)] (CDISABLE): Likewise.
15122 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15123 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
15125 (PSEUDO_END): Likewise.
15126 [IS_IN (libpthread)] (CENABLE): Likewise.
15127 [IS_IN (libpthread)] (CDISABLE): Likewise.
15128 [IS_IN (libc)] (CENABLE): Likewise.
15129 [IS_IN (libc)] (CENABLE): Likewise.
15130 [IS_IN (librt)] (CDISABLE): Likewise.
15131 [IS_IN (librt)] (CDISABLE): Likewise.
15132 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15133 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
15135 (PSEUDO_END): Likewise.
15136 [IS_IN (libpthread)] (CENABLE): Likewise.
15137 [IS_IN (libpthread)] (CDISABLE): Likewise.
15138 [IS_IN (libc)] (CENABLE): Likewise.
15139 [IS_IN (libc)] (CENABLE): Likewise.
15140 [IS_IN (librt)] (CDISABLE): Likewise.
15141 [IS_IN (librt)] (CDISABLE): Likewise.
15142 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
15144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15145 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
15146 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
15148 (PSEUDO_END): Likewise.
15149 [IS_IN (libpthread)] (CENABLE): Likewise.
15150 [IS_IN (libpthread)] (CDISABLE): Likewise.
15151 [IS_IN (libc)] (CENABLE): Likewise.
15152 [IS_IN (libc)] (CENABLE): Likewise.
15153 [IS_IN (librt)] (CDISABLE): Likewise.
15154 [IS_IN (librt)] (CDISABLE): Likewise.
15155 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15156 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
15158 (PSEUDO_END): Likewise.
15159 [IS_IN (libpthread)] (CENABLE): Likewise.
15160 [IS_IN (libpthread)] (CDISABLE): Likewise.
15161 [IS_IN (libc)] (CENABLE): Likewise.
15162 [IS_IN (libc)] (CENABLE): Likewise.
15163 [IS_IN (librt)] (CDISABLE): Likewise.
15164 [IS_IN (librt)] (CDISABLE): Likewise.
15165 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15167 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15169 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
15171 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15173 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15175 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15178 * string/stratcliff.c (do_test): Declare size, nchars, inner,
15179 middle and outer with size_t instead of int. Repleace %d and
15180 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
15181 "MAX (outer, nchars - 64)" to support unsigned outer and
15182 nchars. Also exit loop when outer == 0.
15184 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15186 * include/fcntl.h (__fcntl_nocancel): Remove definition.
15187 * include/signal.h (__sigsuspend_nocancel): Likewise.
15188 * include/time.h (__nanosleep_nocancel): Likewise.
15189 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
15190 * login/utmp_file.c: Include non cancellable syscall header.
15191 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
15194 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15196 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
15197 .byte sequences with AVX512F instructions.
15198 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
15199 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15200 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
15203 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15206 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
15207 Steve Ellcey <sellcey@cavium.com>
15209 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
15210 Use PTR_REG macro in cmp instruction.
15212 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15214 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
15215 Change the return type of the ifunc resolver to match the return
15216 type of the target function.
15218 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15220 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
15221 (preadv64): Likewise.
15222 (pwrite64(: Likewise.
15223 (pwritev64): Likewise.
15225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15226 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
15227 (LOAD_ARGS_0): Likewise.
15228 (LOAD_ARGS_1): Likewise.
15229 (LOAD_ARGS_2): Likewise.
15230 (LOAD_ARGS_3): Likewise.
15231 (LOAD_ARGS_4): Likewise.
15232 (LOAD_ARGS_5): Likewise.
15233 (LOAD_ARGS_6): Likewise.
15234 (LOAD_REGS_0): Likewise.
15235 (LOAD_REGS_1): Likewise.
15236 (LOAD_REGS_2): Likewise.
15237 (LOAD_REGS_3): Likewise.
15238 (LOAD_REGS_4): Likewise.
15239 (LOAD_REGS_5): Likewise.
15240 (LOAD_REGS_6): Likewise.
15241 (ASM_ARGS_0): Likewise.
15242 (ASM_ARGS_1): Likewise.
15243 (ASM_ARGS_2): Likewise.
15244 (ASM_ARGS_3): Likewise.
15245 (ASM_ARGS_4): Likewise.
15246 (ASM_ARGS_5): Likewise.
15247 (ASM_ARGS_6): Likewise.
15248 (LOAD_ARGS_TYPES_1): Likewise.
15249 (LOAD_ARGS_TYPES_2): Likewise.
15250 (LOAD_ARGS_TYPES_3): Likewise.
15251 (LOAD_ARGS_TYPES_4): Likewise.
15252 (LOAD_ARGS_TYPES_5): Likewise.
15253 (LOAD_ARGS_TYPES_6): Likewise.
15254 (LOAD_REGS_TYPES_1): Likewise.
15255 (LOAD_REGS_TYPES_2): Likewise.
15256 (LOAD_REGS_TYPES_3): Likewise.
15257 (LOAD_REGS_TYPES_4): Likewise.
15258 (LOAD_REGS_TYPES_5): Likewise.
15259 (LOAD_REGS_TYPES_6): Likewise.
15260 (TYPEFY): New define.
15261 (ARGIFY): Likewise.
15262 (internal_syscall0): Likewise.
15263 (internal_syscall1): Likewise.
15264 (internal_syscall2): Likewise.
15265 (internal_syscall3): Likewise.
15266 (internal_syscall4): Likewise.
15267 (internal_syscall5): Likewise.
15268 (internal_syscall6): Likewise.
15269 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
15270 (INTERNAL_SYSCALL_NCS): Remove define.
15271 (internal_syscall1): Add define.
15273 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15275 * math/w_remainder_compat.c: Remove duplicate inclusion of
15276 math-svid-compat.h.
15277 * math/w_remainderf_compat.c: Likewise.
15278 * math/w_remainderl_compat.c: Likewise.
15280 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15284 2017-08-22 Joseph Myers <joseph@codesourcery.com>
15287 * math/tgmath.h (__floating_type): Simplify definitions.
15288 (__real_integer_type): New macro.
15289 (__complex_integer_type): Likewise.
15290 (__expr_is_real): Likewise.
15291 (__tgmath_real_type_sub): Update comment to describe handling of
15293 (__tgmath_complex_type_sub): New macro.
15294 (__tgmath_complex_type): Likewise.
15295 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15296 (__TGMATH_CF128): Use __expr_is_real.
15297 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
15299 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15300 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
15301 * math/gen-tgmath-tests.py (Type.create_type): Create complex
15304 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15306 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
15308 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
15310 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
15313 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
15314 nanosleep_not_cancel with __nanosleep_nocancel.
15315 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
15316 (__nanosleep_nocancel): New macro.
15317 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
15319 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
15321 (__nanosleep_nocancel): New prototype.
15323 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
15324 pause_not_cancel with __pause_nocancel.
15325 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
15326 (__pause_nocancel): New macro.
15327 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
15329 (__pause_nocancel): New prototype.
15330 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
15332 2017-08-22 Martin Sebor <msebor@redhat.com>
15334 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
15335 to return a pointer to the same type as the target function.
15337 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
15341 * include/printf.h (__printf_fphex): Add attribute_hidden.
15342 (__guess_grouping): New prototype.
15343 * stdio-common/printf_fp.c (__guess_grouping): Removed.
15344 * stdio-common/reg-printf.c (__register_printf_specifier): Add
15345 libc_hidden_proto and libc_hidden_def.
15346 * stdlib/strfmon_l.c (__guess_grouping): Removed.
15347 (__vstrfmon_l): Remove the third argument passed to
15350 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15352 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
15353 definition for issignaling that does not rely on __MATH_TG,
15354 since __MATH_TG uses __builtin_types_compatible_p, which is only
15355 available in C mode.
15356 (CFLAGS-test-math-issignaling.cc): New variable.
15357 * math/Makefile [CXX] (tests): Add test-math-issignaling.
15358 * math/test-math-issignaling.cc: New test for C++ implementation
15359 of type-generic issignaling.
15360 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
15361 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
15362 options of test-math-issignaling on powerpc64le.
15364 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
15366 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15368 (hidden_proto): Likewise.
15369 (hidden_tls_proto): Likewise.
15370 (__hidden_proto): Likewise.
15372 2017-08-22 Florian Weimer <fweimer@redhat.com>
15374 math: Statically link tests of internal functionality.
15375 * math/Makefile (tests): Remove atest-exp, atest-sincos,
15377 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
15378 (gmp-objs): Remove assignment.
15379 (atest-exp, atest-sincos, atest-exp2): Remove targets.
15381 2017-08-22 Joseph Myers <joseph@codesourcery.com>
15384 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
15386 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
15388 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
15391 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
15392 variable definitions above inclusion of ../Rules.
15394 2017-08-21 Joseph Myers <joseph@codesourcery.com>
15396 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
15397 case calling __builtin_unreachable.
15399 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15401 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
15402 __waitpid_nocancel.
15403 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
15404 (__waitpid_nocancel): New macro.
15405 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
15407 (__waitpid_nocancel): Replace macro with a function.
15408 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
15411 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
15413 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
15414 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
15416 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
15417 __writev_nocancel_nostatus.
15418 (write_call_graph): Likewise.
15419 (write_bb_counts): Likewise.
15420 * resolv/herror.c (herror): Likewise.
15421 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
15423 (__writev_nocancel_nostatus): New macro.
15424 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
15426 (__writev_nocancel_nostatus): New function.
15428 2017-08-21 Joseph Myers <joseph@codesourcery.com>
15431 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15433 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15435 (hidden_proto): Likewise.
15436 (hidden_tls_proto): Likewise.
15437 (__hidden_proto): Likewise.
15440 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
15441 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
15442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
15444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
15446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
15448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
15450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
15451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
15452 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
15453 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
15454 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15455 GLIBC_2.0 sqrtl symbol.
15457 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
15458 [__USE_MISC] (_LIB_VERSION): Likewise.
15459 [__USE_MISC] (struct exception): Likewise.
15460 [__USE_MISC] (matherr): Likewise.
15461 [__USE_MISC] (DOMAIN): Likewise.
15462 [__USE_MISC] (SING): Likewise.
15463 [__USE_MISC] (OVERFLOW): Likewise.
15464 [__USE_MISC] (UNDERFLOW): Likewise.
15465 [__USE_MISC] (TLOSS): Likewise.
15466 [__USE_MISC] (PLOSS): Likewise.
15467 [__USE_MISC] (HUGE): Likewise.
15468 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
15469 * math/math-svid-compat.h: New file.
15470 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
15472 * include/math.h [!_ISOMAC] (__matherr): Remove.
15473 * manual/arith.texi (FP Exceptions): Do not document matherr.
15474 * math/Makefile (tests): Change test-matherr to test-matherr-3.
15475 (tests-internal): New variable.
15476 (install-lib): Do not add libieee.a.
15477 (non-lib.a): Likewise.
15478 (extra-objs): Do not add libieee.a and ieee-math.o.
15479 (CPPFLAGS-s_lib_version.c): Remove variable.
15480 ($(objpfx)libieee.a): Remove rule.
15481 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
15482 * math/ieee-math.c: Remove.
15483 * math/libm-test-support.c (matherr): Remove.
15484 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
15485 and license notices. Include <math-svid-compat.h> and
15487 (matherr): Undefine as macro. Use compat_symbol_reference.
15488 (_LIB_VERSION): Likewise.
15489 * math/test-matherr-2.c: New file.
15490 * math/test-matherr-3.c: Likewise.
15491 * sysdeps/generic/math_private.h (__kernel_standard): Remove
15493 (__kernel_standard_f): Likewise.
15494 (__kernel_standard_l): Likewise.
15495 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
15496 <math_private.h>. Include <math-svid-compat.h>.
15497 (_LIB_VERSION): Undefine as macro.
15498 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
15499 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
15500 [LIBM_SVID_COMPAT], use compat_symbol.
15501 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
15502 <math_private.h>. Include <math-svid-compat.h>.
15503 (matherr): Undefine as macro.
15504 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
15506 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
15507 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
15508 compat_symbol_reference.
15509 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
15510 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
15511 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
15512 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
15513 (MATHERR_D): Remove declaration.
15514 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
15515 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
15516 [LIBM_BUILD] (pmatherrf): Likewise.
15517 [LIBM_BUILD] (pmatherr): Likewise.
15518 [LIBM_BUILD] (pmatherrl): Likewise.
15519 (DOMAIN): Likewise.
15521 (OVERFLOW): Likewise.
15522 (UNDERFLOW): Likewise.
15525 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
15526 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
15528 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
15529 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
15531 * math/lgamma-compat.h: Include <math-svid-compat.h>.
15532 * math/w_acos_compat.c: Likewise.
15533 * math/w_acosf_compat.c: Likewise.
15534 * math/w_acosh_compat.c: Likewise.
15535 * math/w_acoshf_compat.c: Likewise.
15536 * math/w_acoshl_compat.c: Likewise.
15537 * math/w_acosl_compat.c: Likewise.
15538 * math/w_asin_compat.c: Likewise.
15539 * math/w_asinf_compat.c: Likewise.
15540 * math/w_asinl_compat.c: Likewise.
15541 * math/w_atan2_compat.c: Likewise.
15542 * math/w_atan2f_compat.c: Likewise.
15543 * math/w_atan2l_compat.c: Likewise.
15544 * math/w_atanh_compat.c: Likewise.
15545 * math/w_atanhf_compat.c: Likewise.
15546 * math/w_atanhl_compat.c: Likewise.
15547 * math/w_cosh_compat.c: Likewise.
15548 * math/w_coshf_compat.c: Likewise.
15549 * math/w_coshl_compat.c: Likewise.
15550 * math/w_exp10_compat.c: Likewise.
15551 * math/w_exp10f_compat.c: Likewise.
15552 * math/w_exp10l_compat.c: Likewise.
15553 * math/w_exp2_compat.c: Likewise.
15554 * math/w_exp2f_compat.c: Likewise.
15555 * math/w_exp2l_compat.c: Likewise.
15556 * math/w_fmod_compat.c: Likewise.
15557 * math/w_fmodf_compat.c: Likewise.
15558 * math/w_fmodl_compat.c: Likewise.
15559 * math/w_hypot_compat.c: Likewise.
15560 * math/w_hypotf_compat.c: Likewise.
15561 * math/w_hypotl_compat.c: Likewise.
15562 * math/w_j0_compat.c: Likewise.
15563 * math/w_j0f_compat.c: Likewise.
15564 * math/w_j0l_compat.c: Likewise.
15565 * math/w_j1_compat.c: Likewise.
15566 * math/w_j1f_compat.c: Likewise.
15567 * math/w_j1l_compat.c: Likewise.
15568 * math/w_jn_compat.c: Likewise.
15569 * math/w_jnf_compat.c: Likewise.
15570 * math/w_jnl_compat.c: Likewise.
15571 * math/w_lgamma_main.c: Likewise.
15572 * math/w_lgamma_r_compat.c: Likewise.
15573 * math/w_lgammaf_main.c: Likewise.
15574 * math/w_lgammaf_r_compat.c: Likewise.
15575 * math/w_lgammal_main.c: Likewise.
15576 * math/w_lgammal_r_compat.c: Likewise.
15577 * math/w_log10_compat.c: Likewise.
15578 * math/w_log10f_compat.c: Likewise.
15579 * math/w_log10l_compat.c: Likewise.
15580 * math/w_log2_compat.c: Likewise.
15581 * math/w_log2f_compat.c: Likewise.
15582 * math/w_log2l_compat.c: Likewise.
15583 * math/w_log_compat.c: Likewise.
15584 * math/w_logf_compat.c: Likewise.
15585 * math/w_logl_compat.c: Likewise.
15586 * math/w_pow_compat.c: Likewise.
15587 * math/w_powf_compat.c: Likewise.
15588 * math/w_powl_compat.c: Likewise.
15589 * math/w_remainder_compat.c: Likewise.
15590 * math/w_remainderf_compat.c: Likewise.
15591 * math/w_remainderl_compat.c: Likewise.
15592 * math/w_scalb_compat.c: Likewise.
15593 * math/w_scalbf_compat.c: Likewise.
15594 * math/w_scalbl_compat.c: Likewise.
15595 * math/w_sinh_compat.c: Likewise.
15596 * math/w_sinhf_compat.c: Likewise.
15597 * math/w_sinhl_compat.c: Likewise.
15598 * math/w_sqrt_compat.c: Likewise.
15599 * math/w_sqrtf_compat.c: Likewise.
15600 * math/w_sqrtl_compat.c: Likewise.
15601 * math/w_tgamma_compat.c: Likewise.
15602 * math/w_tgammaf_compat.c: Likewise.
15603 * math/w_tgammal_compat.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
15605 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
15606 * sysdeps/ieee754/k_standard.c: Likewise.
15607 * sysdeps/ieee754/k_standardf.c: Likewise.
15608 * sysdeps/ieee754/k_standardl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
15611 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
15612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
15613 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
15614 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
15615 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
15616 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
15617 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
15618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
15620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
15622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
15623 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
15624 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
15625 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
15627 2017-08-21 Florian Weimer <fweimer@redhat.com>
15630 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
15631 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
15632 Move before inclusion of ../Rules.
15634 2017-08-21 Florian Weimer <fweimer@redhat.com>
15637 * assert/assert.h (assert): Use static_cast (bool) for C++.
15638 Use the ternary operator in the warning branch for GNU C.
15639 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
15640 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
15641 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
15642 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
15643 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
15645 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15648 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15649 (__syscall_clock_gettime): Add attribute_hidden.
15650 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
15651 (__start_context): Likewise.
15653 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15655 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15657 (hidden_proto): Likewise.
15658 (hidden_tls_proto): Likewise.
15659 (__hidden_proto): Likewise.
15661 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15663 * include/libc-symbols.h (attribute_hidden): Enable hidden
15664 visibility in libc.a compiled with PIE.
15666 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15669 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
15670 Add attribute_hidden.
15672 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15675 * Makerules (all-nonlib): Add $(others-extras).
15676 * catgets/Makefile (others-extras): New.
15677 * elf/Makefile (others-extras): Likewise.
15678 * nss/Makefile (others-extras): Likewise.
15680 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15683 * csu/libc-start.c (__libc_multiple_libcs): Removed.
15684 * elf/dl-open.c: Include <libc-internal.h>.
15685 (__libc_multiple_libcs): Removed.
15686 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
15688 * include/libc-internal.h (__libc_multiple_libcs): New.
15689 * misc/sbrk.c: Include <libc-internal.h>.
15690 (__libc_multiple_libcs): Removed.
15692 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15695 * grp/initgroups.c (__nss_group_database): Removed.
15696 (__nss_initgroups_database): Likewise.
15697 * nscd/gai.c (__nss_hosts_database): Likewise.
15698 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
15699 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15700 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15701 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15702 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
15703 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
15705 * nss/nsswitch.c (__nss_database_custom): Define only if
15706 USE_NSCD is defined.
15707 (__nss_configure_lookup): Use __nss_database_custom only if
15708 USE_NSCD is defined.
15709 * nss/nsswitch.h (__nss_database_custom): Declare only if
15710 USE_NSCD is defined. Add attribute_hidden.
15711 (__nss_setent): Add attribute_hidden.
15712 (__nss_endent): Likewise.
15713 (__nss_getent_r): Likewise.
15714 (__nss_getent): Likewise.
15715 (DEFINE_DATABASE): Declare __nss_##arg##_database.
15717 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15720 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
15721 libc_hidden_proto and libc_hidden_def.
15723 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15726 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
15727 Add libc_hidden_proto.
15728 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
15729 Add libc_hidden_def.
15731 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15734 * gmon/Makefile (routines): Remove bb_init_func and
15736 (elide-routines.os): Removed.
15737 * gmon/bb_exit_func.c: Likewise.
15738 * gmon/bb_init_func.c: Likewise.
15739 * include/sys/gmon.h (__bb): Likewise.
15740 (__bb_init_func): Likewise.
15741 (__bb_exit_func): Likewise.
15742 * sysdeps/alpha/bb_init_func.S: Likewise.
15744 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15746 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
15747 * include/setjmp.h (____longjmp_chk): Here. Add
15750 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
15753 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
15755 (__strspn_sse2): Likewise.
15757 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15759 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
15760 (close_not_cancel_no_status): Likewise.
15761 (__close_nocancel): New macro.
15762 (__close_nocancel_nostatus): Likewise.
15763 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
15765 (close_not_cancel): Likewise.
15766 (close_not_cancel_no_status): Likewise.
15767 (__close_nocancel): New prototype.
15768 (__close_nocancel_nostatus): New function.
15769 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
15770 * catgets/open_catalog.c (__open_catalog): Replace
15771 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
15772 * gmon/gmon.c (write_gmon): Likewise.
15773 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15774 * intl/loadmsgcat.c (close): Likewise.
15775 * io/ftw.c (open_dir_stream): Likewise.
15776 (ftw_startup): Likewise.
15777 * libio/fileops.c (_IO_file_open): Likewise.
15778 (_IO_file_close_mmap): Likewise.
15779 (_IO_file_close): Likewise.
15780 * libio/iopopen.c (_IO_dup2): Likewise.
15781 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15782 * locale/loadlocale.c (_nl_load_locale): Likewise.
15783 * login/utmp_file.c (pututline_file): Likewise.
15784 (endutent_file): Likewise.
15785 * misc/daemon.c (daemon): Likewise.
15786 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15787 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15788 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
15789 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15791 * nscd/nscd_helper.c (open_socket): Likewise.
15792 (__nscd_open_socket): Likewise.
15793 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15794 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
15795 (__nscd_innetgr): Likewise.
15796 * nss/nss_db/db-open.c (internal_setent): Likewise.
15797 * resolv/res-close.c (__res_iclose): Likewise.
15798 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
15799 * sysdeps/posix/closedir.c (__closedir): Likewise.
15800 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
15801 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15802 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
15803 (opendir_tail): Likewise.
15804 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
15805 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
15806 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15807 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15808 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
15809 (gethostid): Likewise.
15810 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
15811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15813 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15814 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
15815 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
15816 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
15818 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
15819 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
15820 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
15822 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
15823 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15825 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15827 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
15828 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
15829 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
15832 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
15833 (openat_not_cancel_3): Likewise.
15834 (openat64_not_cancel_3): Likewise).
15835 (openat_not_cancel_3): Likewise).
15836 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
15838 (openat_not_cancel_3): Likewise.
15839 (openat64_not_cancel): Likewise.
15840 (openat64_not_cancel_3): Likewise.
15841 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
15842 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
15843 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
15844 __open{64}_nocancel.
15845 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
15846 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15847 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15849 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
15852 * include/argz.h (__argz_create_sep): New function prototype.
15853 (__argz_append): Likewise.
15854 (__argz_add): Likewise.
15855 (__argz_add_sep): Likewise.
15856 (__argz_delete): Likewise.
15857 (__argz_insert): Likewise.
15858 (__argz_replace): Likewise.
15859 * string/argz.h (__argz_create_sep): Removed.
15860 (__argz_append): Likewise.
15861 (__argz_add): Likewise.
15862 (__argz_add_sep): Likewise.
15863 (__argz_delete): Likewise.
15864 (__argz_insert): Likewise.
15865 (__argz_replace): Likewise.
15867 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
15869 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
15870 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
15871 (GNU_PROPERTY_STACK_SIZE): Likewie.
15872 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
15873 (GNU_PROPERTY_LOPROC): Likewise.
15874 (GNU_PROPERTY_HIPROC): Likewise.
15875 (GNU_PROPERTY_LOUSER): Likewise.
15876 (GNU_PROPERTY_HIUSER): Likewise.
15877 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
15878 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
15879 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
15880 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
15881 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
15882 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
15883 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
15884 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
15885 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
15886 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
15887 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
15888 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
15889 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
15890 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
15891 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
15892 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
15893 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
15894 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
15895 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
15896 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
15897 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
15898 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
15899 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
15901 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15903 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
15906 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15909 * math/math.h (isinf): Check if in C or C++ mode before using
15910 __builtin_types_compatible_p, since this is a C mode feature.
15912 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15914 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
15915 (__write_nocancel): New macro.
15916 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
15917 Rewrite as a function prototype.
15918 (write_not_cancel): Remove macro.
15919 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
15920 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
15921 (write_gmon): Likewise.
15922 * libio/fileops.c (_IO_new_file_write): Likewise.
15923 * login/utmp_file.c (pututline_file): Likewise.
15924 (updwtmp_file): Likewise.
15925 * stdio-common/psiginfo.c (psiginfo): Likewise.
15926 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
15927 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
15928 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
15930 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15933 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
15934 (__read_nocancel): New macro.
15935 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
15937 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
15939 (__read_nocancel): New prototype.
15940 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
15941 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
15942 with __read_nocancel.
15943 * intl/loadmsgcat.c (read): Likewise.
15944 * libio/fileops.c (_IO_file_read): Likewise.
15945 * locale/loadlocale.c (_nl_load_locale): Likewise.
15946 * login/utmp_file.c (getutent_r_file): Likewise.
15947 (internal_getut_r): Likewise.
15948 (getutline_r_file): Likewise.
15949 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
15950 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15951 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
15952 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15954 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
15955 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
15956 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
15958 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
15960 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
15962 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
15966 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
15969 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
15970 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
15973 2017-08-17 DJ Delorie <dj@redhat.com>
15975 * bug17079.c: Update to new test harness.
15976 * test-digits-dots.c: Likewise.
15977 * test-netdb.c: Likewise.
15978 * tst-field.c: Likewise.
15979 * tst-nss-getpwent.c: Likewise.
15980 * tst-nss-static.c: Likewise.
15981 * tst-nss-test1.c: Likewise.
15982 * tst-nss-test2.c: Likewise.
15983 * tst-nss-test3.c: Likewise.
15984 * tst-nss-test4.c: Likewise.
15985 * tst-nss-test5.c: Likewise.
15987 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15989 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
15990 (open_not_cancel_2): Likewise.
15991 (open_nocancel): New macro.
15992 (open64_nocancel): Likewise.
15993 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
15994 (open_not_cancel_2): Likewise.
15995 (__open_nocancel): New prototype.
15996 (__open64_nocancel): Likewise.
15997 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
15999 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
16000 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
16001 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
16002 with __open_nocancel.
16003 * csu/check_fds.c (check_one_fd): Likewise.
16004 * gmon/gmon.c (write_gmon): Likewise.
16005 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
16006 * intl/loadmsgcat.c (open): Likewise.
16007 * libio/fileops.c (_IO_file_open): Likewise.
16008 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16009 * locale/loadlocale.c (_nl_load_locale): Likewise.
16010 * login/utmp_file.c (setutent_file): Likewise.
16011 * misc/daemon.c (daemon): Likewise.
16012 * nss/nss_db/db-open.c (internal_setent): Likewise.
16013 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16014 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
16015 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
16016 (__opendir): Likewise.
16017 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16018 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
16019 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16020 (gethostid): Likewise.
16021 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16022 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16025 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
16026 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16027 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16029 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16031 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16033 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16035 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16037 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16039 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
16040 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16042 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
16044 * benchtests/bench-skeleton.c (main): Add support for
16045 latency benchmarking.
16046 * benchtests/scripts/bench.py: Add support for latency benchmarking.
16048 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
16050 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
16051 the startup object.
16053 2017-08-17 Florian Weimer <fweimer@redhat.com>
16055 * include/sys/socket.h (__opensock): Remove internal_function.
16056 * socket/opensock.c (__opensock): Likewise.
16057 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
16059 2017-08-16 Joseph Myers <joseph@codesourcery.com>
16062 * signal/bits/types/__sigval_t.h: New file.
16063 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
16064 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
16065 and define sigval_t using __sigval_t.
16066 * include/bits/types/__sigval_t.h: New file.
16067 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
16068 instead of <bits/types/__sigval_t.h>.
16069 (struct sigevent): Use __sigval_t instead of sigval_t.
16070 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
16071 instead of <bits/types/__sigval_t.h>.
16072 (siginfo_t): Use __sigval_t instead of sigval_t.
16073 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
16074 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
16075 (struct sigevent): Use __sigval_t instead of sigval_t.
16076 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
16077 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
16078 (siginfo_t): Use __sigval_t instead of sigval_t.
16079 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
16081 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16083 * NEWS: Remove "[Add new features here]" for 2.27.
16085 2017-08-16 Joseph Myers <joseph@codesourcery.com>
16087 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
16090 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16092 * NEWS: Mention x86-64 FMA optimization.
16094 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16097 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16099 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
16100 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
16101 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
16103 2017-08-16 Andreas Schwab <schwab@suse.de>
16107 * elf/ldd.bash.in: Never run file directly.
16109 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
16112 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
16113 (L(SP_INF_0)): Likewise.
16115 2017-08-15 Florian Weimer <fweimer@redhat.com>
16117 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
16120 2017-08-15 Florian Weimer <fweimer@redhat.com>
16122 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
16123 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
16124 BROKEN_THREAD_SIGNALS code.
16125 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
16126 request_list): Remove caller_pid member used for
16127 BROKEN_THREAD_SIGNALS.
16128 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
16129 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
16130 Remove BROKEN_THREAD_SIGNALS support.
16131 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16132 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
16134 2017-08-15 Florian Weimer <fweimer@redhat.com>
16136 * gmon/Makefile (tests): Add tst-gmon.
16137 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
16139 (tests-special): Add tst-gmon-prof.out.
16140 (tst-gmon.out): Depend on clean-tst-gmon-data.
16141 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
16142 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
16143 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
16145 * aclocal.m4 (GPROF): Set and substitute.
16146 * config.amke.in (GPROF): Set.
16147 * configure: Regenerate.
16149 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
16151 * elf/elf.h A (NT_PPC_TAR): New macro.
16152 (NT_PPC_PPR): Likewise.
16153 (NT_PPC_DSCR): Likewise.
16154 (NT_PPC_EBB): Likewise.
16155 (NT_PPC_PMU): Likewise.
16156 (NT_PPC_TM_CGPR): Likewise.
16157 (NT_PPC_TM_CFPR): Likewise.
16158 (NT_PPC_TM_CVMX): Likewise.
16159 (NT_PPC_TM_CVSX): Likewise.
16160 (NT_PPC_TM_SPR): Likewise.
16161 (NT_PPC_TM_CTAR): Likewise.
16162 (NT_PPC_TM_CPPR): Likewise.
16163 (NT_PPC_TM_CDSCR): Likewise.
16165 2017-08-15 Florian Weimer <fweimer@redhat.com>
16167 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
16168 regparm (2) instead of internal_function.
16169 (_MCOUNT_DECL): Adjust.
16171 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16173 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
16174 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16176 2017-08-14 Joseph Myers <joseph@codesourcery.com>
16178 * conform/data/sys/wait.h-data (si_value): Do not expect for
16181 2017-08-14 Florian Weimer <fweimer@redhat.com>
16184 NSS: Create stubs for accidentally exported lookup functions.
16185 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
16186 Remove declaration.
16187 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
16188 (ether_hostton): Call __nss_ethers_lookup2 instead.
16189 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
16190 (ether_ntohost): Call __nss_ethers_lookup2 instead.
16191 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
16192 (setup): Call __nss_netgroup_lookup2 instead.
16193 * nss/Makefile (routines): Add compat-lookup.
16194 * nss/Versions (GLIBC_2.27): Add symbol version.
16195 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
16196 (DB_COMPAT_FCT): Remove.
16197 * nss/compat-lookup.c: New file.
16198 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
16199 from databases.def.
16200 * nss/service-lookup.c (NO_COMPAT): Remove definition.
16201 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
16202 (netname2user): Call __nss_publickey_lookup2 instead.
16203 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
16204 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
16207 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16208 Sergei Trofimovich <slyfox@inbox.ru>
16211 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
16212 Rename to MMAP2_PAGE_UNIT.
16213 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
16214 __OFF_T_MATCHES_OFF64_T is not defined.
16215 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
16217 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
16218 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
16220 2017-08-14 Florian Weimer <fweimer@redhat.com>
16222 i386: Do not set internal_function.
16223 * config.h.in (USE_REGPARMS, internal_function): Remove.
16224 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
16225 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
16227 2017-08-14 Florian Weimer <fweimer@redhat.com>
16229 * elf/dl-init.c (_dl_init): Remove internal_function.
16230 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
16231 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
16233 2017-08-14 Florian Weimer <fweimer@redhat.com>
16235 * elf/rtld.c (_dl_start): Remove internal_function.
16236 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
16239 2017-08-14 Florian Weimer <fweimer@redhat.com>
16241 * elf/dl-fini.c (_dl_fini): Remove internal_function
16242 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
16244 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
16246 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
16247 (bit_cpu_SHSTK): Likewise.
16248 (index_cpu_IBT): Likewise.
16249 (index_cpu_SHSTK): Likewise.
16250 (reg_IBT): Likewise.
16251 (reg_SHSTK): Likewise.
16252 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16253 Handle index_cpu_IBT and index_cpu_SHSTK.
16255 2017-08-14 Mike FABIAN <mfabian@redhat.com>
16258 * po/fr.po: Fix spelling mistake.
16260 2017-08-13 Florian Weimer <fweimer@redhat.com>
16262 * elf/dl-addr.c (_dl_addr): Remove internal_function.
16263 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
16264 (_dl_catch_error, _dl_receive_error): Likewise.
16265 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
16266 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
16267 (_dl_deallocate_tls): Likewise.
16268 * include/dlfcn.h (_dl_addr): Likewise.
16269 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
16270 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
16271 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
16274 2017-08-13 Florian Weimer <fweimer@redhat.com>
16276 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
16277 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
16279 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
16281 2017-08-13 Florian Weimer <fweimer@redhat.com>
16283 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
16285 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
16286 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
16287 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
16288 internal_function from _dl_make_stack_executable_hook member.
16289 (_dl_make_stack_executable): Remove internal_function.
16290 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
16292 * sysdeps/unix/sysv/linux/dl-execstack.c
16293 (_dl_make_stack_executable): Likewise.
16295 2017-08-13 Florian Weimer <fweimer@redhat.com>
16297 * sysdeps/unix/sysv/linux/netlinkaccess.h
16298 (__netlink_assert_response): Remove internal_function.
16299 * sysdeps/unix/sysv/linux/netlink_assert_response.c
16300 (__netlink_assert_response): Likewise.
16302 2017-08-13 Florian Weimer <fweimer@redhat.com>
16304 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
16306 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
16308 2017-08-13 Florian Weimer <fweimer@redhat.com>
16310 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
16312 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
16313 * inet/netgroup.h (__internal_setnetgrent)
16314 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
16315 * inet/getnetgrent_r.c (__internal_setnetgrent)
16316 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
16317 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
16318 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
16319 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
16320 * nss/nsswitch.h (db_lookup_function): Likewise.
16322 2017-08-13 Florian Weimer <fweimer@redhat.com>
16324 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
16325 Remove internal_function.
16326 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
16327 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
16328 message argument on the stack.
16329 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
16332 2017-08-12 Mike FABIAN <mfabian@redhat.com>
16334 Adapt test case data to the changes in the thousands
16338 * localedata/tst-langinfo.sh: Adapt test case data.
16339 * stdlib/tst-strfmon_l.c: Likewise.
16340 * stdlib/tst-strtod4.c: Likewise.
16341 * stdlib/tst-strtod5i.c: Likewise.
16343 2017-08-11 Florian Weimer <fweimer@redhat.com>
16346 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
16347 Suppress pedantic warning resulting from statement expression.
16348 (__ASSERT_FUNCTION): Add missing __extension__.
16350 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16352 * benchtests/bench-memmove-large.c: Print output in JSON
16354 * benchtests/bench-memmove.c: Likewise.
16356 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
16357 * benchtests/bench-memchr.c (do_one_test): Likewise.
16358 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
16359 * benchtests/bench-memcpy.c (do_one_test): Likewise.
16360 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
16361 * benchtests/bench-memmove.c (do_one_test): Likewise.
16362 * benchtests/bench-memset-large.c (do_one_test): Likewise.
16363 * benchtests/bench-memset.c (do_one_test): Likewise.
16364 * benchtests/bench-string.h (test_init): Remove memsets.
16366 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
16369 (Computing the Width of an Integer Data Type): Rename section to
16370 "Width of an Integer Type". Remove inaccurate statement regarding
16371 lack of C language facilities for determining width of integer
16372 types, and reorder content to improve flow and context of
16375 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
16377 * lang.texi (va_copy): Change standard from ISO to C99.
16378 (__va_copy): Add standard and header annotation.
16379 Update description for clarity of origins and current use.
16381 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16384 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
16385 xssqrtqp requires operands to be in Vector Registers
16386 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
16387 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
16388 (__ieee754_sqrtf128): Likewise.
16390 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
16392 * sysdeps/aarch64/memcmp.S (memcmp):
16393 Rewrite of optimized memcmp.
16395 2017-08-10 Florian Weimer <fweimer@redhat.com>
16397 Introduce ld.so exceptions.
16398 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
16399 (_dl_exception_create, _dl_exception_create_format)
16400 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
16401 (_dl_catch_exception): Declare.
16402 (_dl_catch_error): Update comment.
16403 * elf/dl-error-skeleton.c (struct catch): Replace objname,
16404 errstring, malloced members with exception member.
16405 (_dl_out_of_memory): Remove.
16406 (fatal_error): New function, extracted from _dl_signal_error.
16407 (_dl_signal_exception, _dl_signal_cexception): New functions.
16408 (_dl_signal_error): Call _dl_exception_create to allocate an
16410 (_dl_catch_exception): New function, based on _dl_catch_error.
16411 (_dl_catch_error): Implement using _dl_catch_exception.
16412 * elf/dl-exception.c: New file.
16413 * elf/Makefile (dl-routines): Add dl-exception.
16414 (elide-routines.os): Likewise.
16415 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
16416 _dl_exception_create_format, _dl_exception_free.
16417 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
16418 _dl_signal_exception.
16419 * elf/dl-lookup.c (make_string): Remove.
16420 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
16421 _dl_signal_cexception, _dl_exception_free.
16422 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
16423 _dl_signal_exception.
16424 * elf/dl-sym.c (do_sym): Likewise.
16425 * elf/dl-version.c (make_string): Remove.
16426 (match_symbol): Use _dl_exception_create_format,
16427 _dl_signal_cexception, _dl_exception_free.
16428 (_dl_check_map_versions): Likewise.
16429 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
16430 _dl_catch_exception.
16431 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
16432 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
16433 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
16434 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
16435 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
16436 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
16437 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
16438 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
16440 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
16447 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
16448 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
16449 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
16451 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
16453 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
16455 2017-08-10 Florian Weimer <fweimer@redhat.com>
16457 * inet/net-internal.h (__inet6_scopeid_pton): Remove
16458 attribute_hidden, internal_function.
16459 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
16462 2017-08-10 Florian Weimer <fweimer@redhat.com>
16464 * malloc/malloc.c (get_max_fast): Reimplement as an inline
16465 function which calls __builtin_unreachable.
16467 2017-08-10 Mike FABIAN <mfabian@redhat.com>
16469 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
16470 Indian monetary formatting
16471 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
16474 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
16476 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
16477 Fix typo in comment.
16480 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
16481 PTRACE_SEIZE_DEVEL): Remove.
16482 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16483 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16484 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16485 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16488 2017-08-09 Joseph Myers <joseph@codesourcery.com>
16490 * posix/bits/types.h (__qaddr_t): Remove.
16493 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
16494 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16496 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
16497 (ucontext_t): Use __ctx with uc_flags.
16498 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
16499 (__ctxt): Likewise.
16500 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16502 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
16503 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16505 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
16506 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16508 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
16510 (ucontext_t): Use __ctx with uc_flags.
16511 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
16512 (ucontext_t): Use __ctx with uc_flags.
16513 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
16514 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
16515 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
16516 (ucontext_t): Use __ctx with uc_flags.
16517 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
16518 undefine further down.
16519 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16521 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
16522 undefine further down.
16523 (ucontext_t): Use __ctx with uc_flags.
16524 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
16525 undefine further down.
16526 (ucontext_t): Use __ctx with uc_flags.
16527 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
16528 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
16529 Rename uc_pad to __glibc_reserved1.
16530 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
16531 undefine further down.
16532 (ucontext_t): Use __ctx with uc_flags.
16533 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
16535 (ucontext_t): Use __ctx with uc_flags.
16536 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
16537 __ctx with uc_flags.
16538 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
16539 (ucontext_t): Use __ctx with uc_flags.
16540 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
16541 __ctx with uc_flags.
16543 2017-08-09 Florian Weimer <fweimer@redhat.com>
16546 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
16547 before early return.
16549 2017-08-09 Andreas Schwab <schwab@suse.de>
16552 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
16556 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
16557 tst-compat-forwarder.
16558 (modules-names): Add tst-compat-forwarder-mod.
16559 ($(objpfx)tst-compat-forwarder): Depend on
16560 $(objpfx)tst-compat-forwarder-mod.so.
16561 * nptl/tst-compat-forwarder.c: New file.
16562 * nptl/tst-compat-forwarder-mod.c: New file.
16564 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
16566 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
16569 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
16570 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
16572 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16574 (__libc_ifunc_impl_list): Add __memcpy_falkor.
16575 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
16576 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
16577 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
16579 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
16582 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16585 * manual/setjmp.texi (getcontex): Document uc_stack value
16586 compatibility differences.
16588 2017-08-08 Joseph Myers <joseph@codesourcery.com>
16590 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
16591 (old_malloc_hook): Likewise.
16592 (old_memalign_hook): Likewise.
16593 (old_realloc_hook): Likewise.
16594 (struct hdr): Likewise.
16596 (freehook): Likewise.
16597 (mallochook): Likewise.
16598 (memalignhook): Likewise.
16599 (reallochook): Likewise.
16600 (mprobe): Likewise.
16601 * malloc/mtrace.c (mallwatch): Likewise.
16602 (tr_old_free_hook): Likewise.
16603 (tr_old_malloc_hook): Likewise.
16604 (tr_old_realloc_hook): Likewise.
16605 (tr_old_memalign_hook): Likewise.
16606 (tr_where): Likewise.
16607 (lock_and_info): Likewise.
16608 (tr_freehook): Likewise.
16609 (tr_mallochook): Likewise.
16610 (tr_reallochook): Likewise.
16611 (tr_memalignhook): Likewise.
16612 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
16613 * misc/mmap.c (__mmap): Likewise.
16614 * misc/mmap64.c (__mmap64): Likewise.
16615 * misc/mprotect.c (__mprotect): Likewise.
16616 * misc/msync.c (msync): Likewise.
16617 * misc/munmap.c (__munmap): Likewise.
16618 * posix/posix_madvise.c (posix_madvise): Likewise.
16619 * socket/send.c (__send): Likewise.
16620 * socket/sendto.c (__sendto): Likewise.
16621 * socket/setsockopt.c (__setsockopt): Likewise.
16622 * string/memcmp.c (__ptr_t): Remove macro.
16623 (MEMCMP): Use void * instead of ptr_t.
16624 * string/memrchr.c (__ptr_t): Remove macro.
16625 (__memrchr): Use void * instead of ptr_t.
16626 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
16627 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
16628 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
16629 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
16630 * sysdeps/mach/msync.c (msync): Likewise.
16631 * sysdeps/mach/munmap.c (__munmap): Likewise.
16632 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
16634 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16635 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
16636 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
16637 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
16638 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16639 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16640 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
16641 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
16643 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16644 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
16645 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
16646 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
16647 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
16648 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
16649 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
16650 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
16651 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
16653 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
16654 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
16655 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
16656 (MEMCMP): Use void * instead of ptr_t.
16657 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
16658 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
16660 2017-08-08 Florian Weimer <fweimer@redhat.com>
16662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
16665 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
16668 * csu/libc-tls.c: Include <startup.h> first.
16669 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
16670 * elf/dl-tunables.c: Include <startup.h> first.
16671 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
16672 * sysdeps/generic/startup.h: New file.
16673 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
16674 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
16675 (I386_USE_SYSENTER): New. Defined to 0.
16677 2017-08-08 Andreas Schwab <schwab@suse.de>
16680 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
16681 * nptl/pt-system.c (system): Likewise.
16683 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16686 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
16688 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16689 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16690 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
16691 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16692 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16693 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16694 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
16696 2017-08-07 Joseph Myers <joseph@codesourcery.com>
16699 * bits/sigaction.h (struct sigaction): Define sa_handler and
16700 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
16701 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16702 [__USE_XOPEN_EXTENDED].
16703 (SA_RESTART): Likewise.
16704 (SA_NODEFER): Likewise.
16705 (SA_RESETHAND): Likewise.
16706 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
16707 (struct sigaction): Define sa_handler and sa_sigaction using union
16708 also for [__USE_XOPEN_EXTENDED].
16709 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16710 [__USE_XOPEN_EXTENDED].
16711 (SA_RESTART): Likewise.
16712 (SA_NODEFER): Likewise.
16713 (SA_RESETHAND): Likewise.
16714 * sysdeps/unix/sysv/linux/bits/sigaction.h
16715 (struct sigaction): Define sa_handler and sa_sigaction using union
16716 also for [__USE_XOPEN_EXTENDED].
16717 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16718 [__USE_XOPEN_EXTENDED].
16719 (SA_RESTART): Likewise.
16720 (SA_NODEFER): Likewise.
16721 (SA_RESETHAND): Likewise.
16722 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
16723 (struct sigaction): Define sa_handler and sa_sigaction using union
16724 also for [__USE_XOPEN_EXTENDED].
16725 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16726 [__USE_XOPEN_EXTENDED].
16727 (SA_RESTART): Likewise.
16728 (SA_NODEFER): Likewise.
16729 (SA_RESETHAND): Likewise.
16730 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
16731 (struct sigaction): Define sa_handler and sa_sigaction using union
16732 also for [__USE_XOPEN_EXTENDED].
16733 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16734 [__USE_XOPEN_EXTENDED].
16735 (SA_RESTART): Likewise.
16736 (SA_NODEFER): Likewise.
16737 (SA_RESETHAND): Likewise.
16738 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16739 (struct sigaction): Define sa_handler and sa_sigaction using union
16740 also for [__USE_XOPEN_EXTENDED].
16741 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16742 [__USE_XOPEN_EXTENDED].
16743 (SA_RESTART): Likewise.
16744 (SA_NODEFER): Likewise.
16745 (SA_RESETHAND): Likewise.
16746 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16747 (struct sigaction): Define sa_handler and sa_sigaction using union
16748 also for [__USE_XOPEN_EXTENDED].
16749 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16750 [__USE_XOPEN_EXTENDED].
16751 (SA_RESTART): Likewise.
16752 (SA_NODEFER): Likewise.
16753 (SA_RESETHAND): Likewise.
16754 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16755 (struct sigaction): Define sa_handler and sa_sigaction using union
16756 also for [__USE_XOPEN_EXTENDED].
16757 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16758 [__USE_XOPEN_EXTENDED].
16759 (SA_RESTART): Likewise.
16760 (SA_NODEFER): Likewise. Define directly rather than as alias.
16761 (SA_RESETHAND): Likewise.
16762 (SA_INTERRUPT): Define only for [__USE_MISC].
16763 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
16764 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
16766 (SA_STACK): Define only for [__USE_MISC].
16767 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
16768 (struct sigaction): Define sa_handler and sa_sigaction using union
16769 also for [__USE_XOPEN_EXTENDED].
16770 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16771 [__USE_XOPEN_EXTENDED].
16772 (SA_RESTART): Likewise.
16773 (SA_NODEFER): Likewise.
16774 (SA_RESETHAND): Likewise.
16775 (SA_NOPTRACE): Define only for [__USE_MISC].
16777 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
16778 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
16779 (struct catalog_info): Likewise.
16780 * inet/htontest.c (lo): Likewise.
16782 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16783 * inet/inet_net.c (inet_network): Likewise.
16784 * inet/inet_netof.c (inet_netof): Likewise.
16785 * inet/rcmd.c (__ivaliduser): Likewise.
16786 (iruserok): Likewise.
16787 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
16788 * locale/programs/locale-spec.c (locale_special): Likewise.
16789 * nis/nis_findserv.c (struct findserv_req): Likewise.
16790 (__nis_findfastest_with_timeout): Likewise.
16791 * nss/test-netdb.c (test_network): Likewise.
16792 * resolv/inet_neta.c (inet_neta): Likewise.
16793 * resolv/ns_date.c (ns_datetosecs): Likewise.
16794 (SECS_PER_DAY): Likewise.
16795 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
16797 * resolv/res_comp.c (__putlong): Likewise.
16798 (__putshort): Likewise.
16799 (_getlong): Likewise.
16800 (_getshort): Likewise.
16801 * resolv/res_debug.c (p_time): Likewise.
16802 (precsize_ntoa): Likewise.
16803 (precsize_aton): Likewise.
16804 (latlon2ul): Likewise.
16805 (loc_aton): Likewise.
16806 (loc_ntoa): Likewise.
16807 * resolv/res_hconf.c (struct netaddr): Likewise.
16808 (_res_hconf_reorder_addrs): Likewise.
16809 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16810 (clnttcp_control): Likewise.
16811 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16812 (clntudp_control): Likewise.
16813 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16814 (clntunix_control): Likewise.
16815 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16816 * sunrpc/rpc/auth.h (union des_block): Likewise.
16817 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
16818 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
16819 (xdrrec_create): Likewise.
16820 (xdrrec_endofrecord): Likewise.
16821 (flush_out): Likewise.
16822 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
16823 (xdrstdio_putlong): Likewise.
16824 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
16827 * misc/sys/cdefs.h (__long_double_t): Remove.
16828 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
16829 instead of __long_double_t,
16830 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
16832 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16834 * benchtests/scripts/compare_strings.py: Avoid display error when
16835 running on a text terminal.
16837 * benchtests/scripts/compare_strings.py (main): Add an
16838 optional -base option.
16839 (process_results): New argument base_func.
16841 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
16843 * benchtests/bench-memcpy-large.c (test_name): Likewise.
16844 * benchtests/bench-memcpy-random.c (test_name): Likewise.
16846 2017-08-07 Andreas Schwab <schwab@suse.de>
16848 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
16849 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16850 * intl/Makefile ($(objpfx)tst-gettext.out)
16851 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
16852 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
16853 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16855 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
16856 * posix/Makefile ($(objpfx)globtest.out)
16857 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
16858 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
16859 ($(objpfx)tst-printf.out): Likewise.
16860 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
16861 ($(objpfx)tst-setcontext3.out): Likewise.
16863 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
16865 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16866 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
16867 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
16868 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
16869 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
16871 (CFLAGS-doasin-fma.c): New.
16872 (CFLAGS-dosincos-fma.c): Likewise.
16873 (CFLAGS-e_asin-fma.c): Likewise.
16874 (CFLAGS-e_atan2-fma.c): Likewise.
16875 (CFLAGS-e_exp-fma.c): Likewise.
16876 (CFLAGS-e_log-fma.c): Likewise.
16877 (CFLAGS-e_pow-fma.c): Likewise.
16878 (CFLAGS-halfulp-fma.c): Likewise.
16879 (CFLAGS-mpa-fma.c): Likewise.
16880 (CFLAGS-mpatan-fma.c): Likewise.
16881 (CFLAGS-mpatan2-fma.c): Likewise.
16882 (CFLAGS-mpexp-fma.c): Likewise.
16883 (CFLAGS-mplog-fma.c): Likewise.
16884 (CFLAGS-mpsqrt-fma.c): Likewise.
16885 (CFLAGS-mptan-fma.c): Likewise.
16886 (CFLAGS-s_atan-fma.c): Likewise.
16887 (CFLAGS-sincos32-fma.c): Likewise.
16888 (CFLAGS-slowexp-fma.c): Likewise.
16889 (CFLAGS-slowpow-fma.c): Likewise.
16890 (CFLAGS-s_sin-fma.c): Likewise.
16891 (CFLAGS-s_tan-fma.c): Likewise.
16892 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
16893 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
16894 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
16895 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
16896 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
16897 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16898 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
16899 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
16900 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
16901 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
16902 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
16903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
16904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
16905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16906 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
16908 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
16909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
16910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
16911 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
16912 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
16913 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16914 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16915 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
16916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16917 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16918 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16919 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16924 2017-08-04 Joseph Myers <joseph@codesourcery.com>
16926 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
16927 (min_of_type_f): New macro.
16928 (min_of_type_): Likewise.
16929 (min_of_type_l): Likewise.
16930 (min_of_type_f128): Likewise.
16931 (min_of_type): Define using __MATH_TG and taking an expression
16933 (math_check_force_underflow): Pass expression instead of type to
16935 (math_check_force_underflow_nonneg): Likewise.
16937 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
16939 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
16940 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
16941 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
16943 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
16945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16946 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
16947 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
16948 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
16949 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
16950 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
16951 memcpy_chk-nonshared, mempcpy_chk-nonshared,
16952 memmove_chk-nonshared and memset_chk-nonshared
16953 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
16954 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
16955 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
16956 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
16957 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
16958 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
16959 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
16960 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
16961 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
16962 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
16963 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
16964 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
16965 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
16966 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
16967 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
16968 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
16969 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
16970 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
16971 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
16972 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
16973 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
16974 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
16975 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
16976 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
16977 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
16978 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
16979 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
16980 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
16981 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
16982 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
16983 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
16984 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
16985 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
16986 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
16987 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
16988 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
16989 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
16990 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
16991 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
16992 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
16993 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
16994 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
16995 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
16996 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
16997 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
16998 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
16999 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
17000 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
17001 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
17002 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
17003 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
17004 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
17005 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
17006 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
17007 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
17008 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
17009 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
17010 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
17011 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
17012 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
17013 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
17014 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
17015 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
17016 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
17017 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
17018 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
17019 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
17020 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
17021 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
17022 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
17023 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
17024 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17025 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17026 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17027 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17028 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17029 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17030 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17031 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17032 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17033 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17034 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17035 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17036 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17037 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17038 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17040 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17041 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17047 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17048 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17049 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17050 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17052 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17053 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17054 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17055 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17056 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17057 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17058 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17059 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17060 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17062 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17064 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
17065 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
17066 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
17067 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
17068 svml_d_log2_core-sse2, svml_d_log4_core-sse,
17069 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
17070 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
17071 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
17072 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
17073 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
17074 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
17075 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
17076 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
17077 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
17078 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
17079 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
17080 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
17081 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
17082 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
17083 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
17084 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
17085 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
17086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
17087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
17088 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
17089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
17090 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
17091 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
17092 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
17093 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
17094 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
17095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
17096 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
17097 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
17098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
17099 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
17100 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
17101 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
17102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
17103 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
17104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
17105 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
17106 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
17107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
17108 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
17109 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
17110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
17111 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
17112 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
17113 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
17114 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
17115 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
17116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
17117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
17118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
17119 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
17120 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
17121 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
17122 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
17124 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
17125 Don't include <sysdep.h> nor <init-arch.h>.
17126 (_ZGVbN2v_cos): Removed.
17127 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
17129 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
17130 Don't include <sysdep.h> nor <init-arch.h>.
17131 (_ZGVdN4v_cos): Removed.
17132 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
17134 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
17135 Don't include <sysdep.h> nor <init-arch.h>.
17136 (_ZGVeN8v_cos): Removed.
17137 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
17139 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
17140 Don't include <sysdep.h> nor <init-arch.h>.
17141 (_ZGVbN2v_exp): Removed.
17142 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
17144 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
17145 Don't include <sysdep.h> nor <init-arch.h>.
17146 (_ZGVdN4v_exp): Removed.
17147 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
17149 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
17150 Don't include <sysdep.h> nor <init-arch.h>.
17151 (_ZGVeN8v_exp): Removed.
17152 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
17154 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
17155 Don't include <sysdep.h> nor <init-arch.h>.
17156 (_ZGVbN2v_log): Removed.
17157 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
17159 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
17160 Don't include <sysdep.h> nor <init-arch.h>.
17161 (_ZGVdN4v_log): Removed.
17162 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
17164 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
17165 Don't include <sysdep.h> nor <init-arch.h>.
17166 (_ZGVeN8v_log): Removed.
17167 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
17169 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
17170 Don't include <sysdep.h> nor <init-arch.h>.
17171 (_ZGVbN2vv_pow): Removed.
17172 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
17174 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
17175 Don't include <sysdep.h> nor <init-arch.h>.
17176 (_ZGVdN4vv_pow): Removed.
17177 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
17179 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
17180 Don't include <sysdep.h> nor <init-arch.h>.
17181 (_ZGVeN8vv_pow): Removed.
17182 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
17184 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
17185 Don't include <sysdep.h> nor <init-arch.h>.
17186 (_ZGVbN2v_sin): Removed.
17187 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
17189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
17190 Don't include <sysdep.h> nor <init-arch.h>.
17191 (_ZGVbN4v_sin): Removed.
17192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
17194 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
17195 Don't include <sysdep.h> nor <init-arch.h>.
17196 (_ZGVbN8v_sin): Removed.
17197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
17199 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
17200 Don't include <sysdep.h> nor <init-arch.h>.
17201 (_ZGVbN2vvv_sincos): Removed.
17202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
17204 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
17205 Don't include <sysdep.h> nor <init-arch.h>.
17206 (_ZGVdN4vvv_sincos): Removed.
17207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
17209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
17210 Don't include <sysdep.h> nor <init-arch.h>.
17211 (_ZGVeN8vvv_sincos): Removed.
17212 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
17214 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
17215 Don't include <sysdep.h> nor <init-arch.h>.
17216 (_ZGVeN16v_cosf): Removed.
17217 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
17219 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
17220 Don't include <sysdep.h> nor <init-arch.h>.
17221 (_ZGVbN4v_cosf): Removed.
17222 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
17224 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
17225 Don't include <sysdep.h> nor <init-arch.h>.
17226 (_ZGVdN8v_cosf): Removed.
17227 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
17229 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
17230 Don't include <sysdep.h> nor <init-arch.h>.
17231 (_ZGVeN16v_expf): Removed.
17232 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
17234 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
17235 Don't include <sysdep.h> nor <init-arch.h>.
17236 (_ZGVbN4v_expf): Removed.
17237 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
17239 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
17240 Don't include <sysdep.h> nor <init-arch.h>.
17241 (_ZGVdN8v_expf): Removed.
17242 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
17244 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
17245 Don't include <sysdep.h> nor <init-arch.h>.
17246 (_ZGVeN16v_logf): Removed.
17247 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
17249 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
17250 Don't include <sysdep.h> nor <init-arch.h>.
17251 (_ZGVbN4v_logf): Removed.
17252 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
17254 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
17255 Don't include <sysdep.h> nor <init-arch.h>.
17256 (_ZGVdN8v_logf): Removed.
17257 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
17259 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
17260 Don't include <sysdep.h> nor <init-arch.h>.
17261 (_ZGVeN16vv_powf): Removed.
17262 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
17264 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
17265 Don't include <sysdep.h> nor <init-arch.h>.
17266 (_ZGVbN4vv_powf): Removed.
17267 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
17269 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
17270 Don't include <sysdep.h> nor <init-arch.h>.
17271 (_ZGVdN8vv_powf): Removed.
17272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
17274 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
17275 Don't include <sysdep.h> nor <init-arch.h>.
17276 (_ZGVeN16vvv_sincosf): Removed.
17277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
17279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
17280 Don't include <sysdep.h> nor <init-arch.h>.
17281 (_ZGVbN4vvv_sincosf): Removed.
17282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
17284 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
17285 Don't include <sysdep.h> nor <init-arch.h>.
17286 (_ZGVdN8vvv_sincosf): Removed.
17287 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
17289 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
17290 Don't include <sysdep.h> nor <init-arch.h>.
17291 (_ZGVeN16v_sinf): Removed.
17292 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
17294 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
17295 Don't include <sysdep.h> nor <init-arch.h>.
17296 (_ZGVbN4v_sinf): Removed.
17297 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
17299 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
17300 Don't include <sysdep.h> nor <init-arch.h>.
17301 (_ZGVdN8v_sinf): Removed.
17303 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17306 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
17307 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
17308 s_rint-sse4_1 and s_rintf-sse4_1.
17309 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
17310 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
17311 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
17312 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
17313 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
17314 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
17315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
17316 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
17317 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
17318 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
17319 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
17320 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17322 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
17323 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
17324 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17325 (__ceilf): Removed.
17326 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
17327 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
17328 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17329 (__floor): Removed.
17330 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
17331 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
17332 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17333 (__floorf): Removed.
17334 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
17335 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
17336 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17337 (__nearbyint): Removed.
17338 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
17339 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
17340 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17341 (__nearbyintf): Removed.
17342 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
17343 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
17344 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17346 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
17347 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
17348 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17349 (__rintf): Removed.
17351 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17353 * sysdeps/i386/start.S (_start): Check Check PIC instead of
17354 SHARED. Avoid dynamic relocation against main in static PIE.
17356 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17359 * elf/Makefile (CFLAGS-tst-prelink.c): New.
17360 (LDFLAGS-tst-prelink): Likewise.
17362 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17364 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
17365 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
17366 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
17367 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
17368 (INTERNAL_SYSCALL_NCS): Likewise.
17369 (LOADARGS_1): Likewise.
17370 (LOADARGS_5): Likewise.
17371 (RESTOREARGS_1): Likewise.
17372 (RESTOREARGS_5): Likewise.
17374 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17376 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
17377 (MEMPCPY_SYMBOL): Likewise.
17378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17379 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
17380 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
17382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17383 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17385 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
17386 (__hidden_ver1): Don't use in libc.a.
17387 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17388 (__mempcpy): Don't create a weak alias in libc.a.
17389 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
17391 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
17392 (__hidden_ver1): Don't use in libc.a.
17394 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17396 * config.make.in (have-insert): New.
17397 * configure.ac (libc_cv_insert): New. Set to yes if linker
17398 supports INSERT in linker script.
17399 (AC_SUBST(libc_cv_insert): New.
17400 * configure: Regenerated.
17401 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
17402 if $(have-insert) == yes.
17404 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17406 * elf/Makefile (tests): Add vismain only if
17407 $(have-protected-data) == yes.
17408 (tests-pie): Likewise.
17410 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17413 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17414 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
17416 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17419 * sysdeps/i386/i586/memset.S
17420 (__memset_zero_constant_len_parameter): Removed.
17421 * sysdeps/i386/i686/memset.S
17422 (__memset_zero_constant_len_parameter): Likewise.
17423 * sysdeps/i386/i686/multiarch/memset_chk.S
17424 (__memset_zero_constant_len_parameter): Likewise.
17425 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
17428 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
17430 * stdlib/getentropy.c (getentropy): Change return type to int.
17432 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
17434 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17436 2017-08-03 Joseph Myers <joseph@codesourcery.com>
17438 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
17440 * math/s_nexttowardf.c (__nexttowardf): Likewise.
17441 * sysdeps/generic/math_private.h (ieee_double_shape_type):
17443 (ieee_float_shape_type): Likewise.
17444 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
17445 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
17446 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17447 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17448 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17449 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
17450 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
17451 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17452 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17454 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17455 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17456 (__ieee754_yn): Likewise.
17457 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17458 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17459 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
17461 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17462 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
17463 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
17464 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
17465 (__erfc): Likewise.
17466 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17467 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
17468 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
17469 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
17470 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
17471 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
17473 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17474 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
17475 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17476 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
17477 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17478 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
17479 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
17480 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
17481 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
17482 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17483 (__issignaling): Likewise.
17484 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
17485 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
17486 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17488 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17489 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
17490 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17491 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
17493 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
17495 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
17496 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
17497 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
17498 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17499 (__erfcf): Likewise.
17500 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17501 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17502 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
17503 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
17505 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
17506 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
17508 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17509 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
17510 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17511 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
17512 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
17513 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17514 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
17515 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
17517 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
17519 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17521 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
17522 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17524 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17526 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17527 (__ieee754_ynl): Likewise.
17528 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17529 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
17531 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
17533 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17534 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
17535 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17537 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17538 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
17540 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
17541 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
17542 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
17544 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
17546 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17547 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
17548 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
17550 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
17551 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
17552 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17553 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17554 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
17555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17557 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17559 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17563 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
17564 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17565 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17566 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
17567 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17568 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
17569 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
17571 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17573 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17577 (__ieee754_remainderl): Likewise.
17578 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17581 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17583 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17586 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17587 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
17588 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17589 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17590 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17591 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17593 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17594 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17595 (__ieee754_y0l): Likewise.
17598 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17599 (__ieee754_y1l): Likewise.
17602 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17603 (__ieee754_ynl): Likewise.
17604 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
17605 (__ieee754_lgammal_r): Likewise.
17606 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
17608 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17609 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
17610 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17611 (__erfcl): Likewise.
17612 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17613 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
17615 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
17616 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17618 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
17620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17623 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17625 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
17627 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17629 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
17630 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
17632 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
17633 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
17634 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
17635 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17636 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
17638 2017-08-03 Florian Weimer <fweimer@redhat.com>
17641 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
17642 on memory allocation failure.
17644 2017-08-03 Alan Modra <amodra@gmail.com>
17646 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
17647 tst-tlsopt-powerpc.c with function name change and no test harness.
17648 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
17649 Call tls_get_addr_opt_test.
17650 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
17651 (modules-names): Add mod-tlsopt-powerpc.
17652 (mod-tlsopt-powerpc.so-no-z-defs): Define.
17653 (tst-tlsopt-powerpc): Depend on .so.
17654 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
17655 define. Expand use in TLS_GD and TLS_LD.
17657 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17659 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
17661 * sysdeps/posix/shm_open.c: Include <pthread.h>.
17663 2017-08-02 Joseph Myers <joseph@codesourcery.com>
17666 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
17667 comparing size with that of double.
17668 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
17669 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
17670 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
17671 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
17672 (__TGMATH_BINARY_REAL_IMAG): Likewise.
17673 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
17674 unsigned __int128 types.
17676 2017-08-02 Steve Ellcey <sellcey@cavium.com>
17678 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
17679 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
17680 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
17681 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
17682 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
17684 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
17686 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
17688 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
17690 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
17692 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17693 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17694 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17696 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17697 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17700 2017-08-02 Joseph Myers <joseph@codesourcery.com>
17703 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
17704 bit-field expressions passed to sizeof or typeof.
17705 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
17706 (__TGMATH_F128): Likewise.
17707 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
17708 (__TGMATH_CF128): Likewise.
17709 (__TGMATH_UNARY_REAL_ONLY): Likewise.
17710 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
17711 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
17712 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
17713 (__TGMATH_BINARY_REAL_ONLY): Likewise.
17714 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
17715 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
17716 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
17717 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
17718 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
17719 (__TGMATH_UNARY_REAL_IMAG): Likewise.
17720 (__TGMATH_UNARY_IMAG): Likewise.
17721 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
17722 (__TGMATH_BINARY_REAL_IMAG): Likewise.
17723 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
17725 (define_vars_for_type): Handle bit_field type specially.
17726 (Tests.__init__): Declare structure with bit-field element.
17728 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
17731 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
17732 (MEMCPY_CHK): Define only if SHARED is defined.
17733 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
17735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
17738 See ChangeLog.18 for earlier changes.