1 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3 * benchtests/bench-strstr.c (test_hard_needle): New function.
5 2019-06-10 Joseph Myers <joseph@codesourcery.com>
7 * malloc/tst-calloc.c: Include <libc-diag.h>.
8 (null_test): Ignore -Wunused-result around calls to calloc.
9 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
10 (do_test): Ignore -Wunused-result around call to malloc.
12 2019-06-07 Florian Weimer <fweimer@redhat.com>
14 Linux: Add getdents64 system call.
15 * include/dirnent.h (getdents): Add comment and change buffer
16 argument type to void *.
17 (getdents64): Likewise. Add hidden prototype.
18 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
20 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
22 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
23 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
24 argument type to void *.
25 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
26 Add hidden definition and getdents64 alias.
27 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
29 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
30 * manual/filesys.texi (Accessing Directories): Add Low-level
31 Directory Access node reference.
32 (Opening a Directory): Cross-reference it.
33 (Low-level Directory Access): New node.
34 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
36 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
38 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
39 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
41 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
43 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
45 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
47 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
49 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
51 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
53 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
54 (GLIBC_2.30): Likewise.
55 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
56 (GLIBC_2.30): Likewise.
57 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
58 (GLIBC_2.30): Likewise.
59 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
60 (GLIBC_2.30): Likewise.
61 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
63 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
64 (GLIBC_2.30): Likewise.
65 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
66 (GLIBC_2.30): Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
68 (GLIBC_2.30): Likewise.
69 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
70 (GLIBC_2.30): Likewise.
71 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
73 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
75 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
77 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
78 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
80 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
82 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
84 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
87 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
89 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
93 (_FPU_GETCW): Use __FPU_MFFS().
94 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
96 2019-06-06 Florian Weimer <fweimer@redhat.com>
98 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
99 internal GCC preprocessor identifier __has_include__.
101 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
103 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
104 with call to equivalent function.
106 2019-06-04 Florian Weimer <fweimer@redhat.com>
108 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
109 (do_release_shlib): Adjust for __twalk_r.
110 (__gconv_release_shlib): Call __twalk_r.
112 2019-06-04 Andreas Schwab <schwab@suse.de>
115 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
116 no irreversible characters occurred.
117 * iconv/gconv_simple.c (internal_ucs4_loop)
118 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
119 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
120 (ucs4_internal_loop_single, internal_ucs4le_loop)
121 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
122 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
123 (ucs4le_internal_loop_single): Add const to outend.
124 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
125 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
126 * iconv/Makefile (tests): Add tst-iconv7.
127 * iconv/tst-iconv7.c: New file.
129 2019-06-03 Joseph Myers <joseph@codesourcery.com>
131 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
133 2019-06-01 Florian Weimer <fweimer@redhat.com>
135 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
136 * sysdeps/unix/sysv/linux/arm/Makefile
137 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
138 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
139 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
140 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
141 compatibility symbols.
143 2019-05-31 Florian Weimer <fweimer@redhat.com>
145 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
146 system calls for the arm architecture: breakpoint, get_tls,
147 set_tls, usr26, usr32.
149 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
151 * sysdeps/powerpc/Makefile
152 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
153 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
154 Declare '.machine power7' to get support for ldbrx.
155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
156 directive based on the directory of the file.
157 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
158 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
159 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
160 '.machine' directive.
161 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
162 (VADDUQM_V7_V8): Remove.
163 (__STRCASECMP): Replace macros with actual instructions.
164 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
165 '.machine' directive.
166 (VCLZD_V8_v7): Remove.
167 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
169 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
171 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
173 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
175 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
177 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
179 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
180 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
186 2019-05-28 mansayk <6688000@gmail.com>
189 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
191 2019-05-28 mansayk <6688000@gmail.com>
194 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
195 (abmon): Likewise, but remove the trailing dots.
197 2019-05-28 Joseph Myers <joseph@codesourcery.com>
199 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
201 2019-05-27 Florian Weimer <fweimer@redhat.com>
203 * nptl/nptl-init.c: Add comment.
205 2019-05-24 Florian Weimer <fweimer@redhat.com>
207 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
208 struct in_addr/struct in6_addr alignment.
210 2019-05-23 Joseph Myers <joseph@codesourcery.com>
212 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
213 (F_SEAL_FUTURE_WRITE): New macro.
215 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
217 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
218 * elf/tst-ldconfig-bad-aux-cache.c: New file.
219 * elf/tst-ldconfig_aux-cache.root: New directory.
220 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
221 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
222 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
224 2019-05-22 Zack Weinberg <zackw@panix.com>
226 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
228 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
229 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
231 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
236 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
237 Issue an #error if used with a compiler in SPE-float mode.
238 * sysdeps/powerpc/powerpc32/__longjmp_common.S
239 * sysdeps/powerpc/powerpc32/setjmp_common.S
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
246 Remove code to preserve SPE register state.
248 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
249 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
250 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
251 Remove __SPE__ ifndefs.
253 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
255 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
256 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
257 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
258 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
259 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
260 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
261 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
262 (INNER_LOOP_ITERS_MEDIUM): New define.
263 (INNER_LOOP_ITERS_SMALL): New define.
264 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
265 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
266 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
267 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
268 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
270 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
272 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
274 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
275 (SEMTIMEDOP_IPC_ARGS): Likewise.
277 2019-05-21 Florian Weimer <fweimer@redhat.com>
280 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
281 before updating __counter field and release it afterwards. Add
283 * iconv/gconv.h (struct __gconv_step): Mention synchronization
284 requirement for __counter member.
286 2019-05-21 Florian Weimer <fweimer@redhat.com>
289 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
290 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
291 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
292 instead of __gconv_release_step.
293 * libio/Makefile (tests): Add tst-wfile-gconv.
294 (tests-container): Add tst-wfile-ascii.
295 (tst-wfile-gconv-ENV): Enable mtrace.
296 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
297 (tests-special): Add tst-wfile-gconv-mem.out.
298 (tst-wfile-gconv.out): Depend on locales.
299 (tst-wfile-gconv-mem.out): Add mtrace rule.
300 * libio/tst-wfile-ascii.c: New file.
301 * libio/tst-wfile-gconv.c: Likewise.
303 2019-05-20 Florian Weimer <fweimer@redhat.com>
306 libio: Remove codecvt vtable.
307 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
309 * libio/iofgetpos.c (_IO_new_fgetpos): Call
310 __libio_codecvt_encoding.
311 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
312 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
313 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
314 * libio/iofwide.c (__libio_codecvt): Remove variable.
315 (_IO_fwide): Do not copy __libio_codecvt.
316 (__libio_codecvt_out): Rename from do_out and export.
317 (do_unshift): Remove function.
318 (__libio_codecvt_in): Rename from do_in and export.
319 (__libio_codecvt_encoding): Rename from do_encoding and export.
320 (do_always_noconv): Remove function.
321 (__libio_codecvt_length): Rename from do_length and export.
322 (do_max_length): Remove function.
323 * libio/libio.h (enum __codecvt_result): Remove definition; moved
325 (struct _IO_codecvt): Remove fields __codecvt_destr,
326 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
327 __codecvt_do_encoding, __codecvt_do_always_noconv,
328 __codecvt_do_length, __codecvt_do_max_length.
329 * libio/libioP.h (enum __codecvt_result): Define; moved from
331 (__libio_codecvt_out, __libio_codecvt_in)
332 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
334 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
335 (_IO_wfile_underflow): Call __libio_codecvt_in.
336 (_IO_wfile_underflow): Likewise.
337 (_IO_wfile_underflow_mmap): Likewise.
338 (_IO_wfile_sync): Call __libio_codecvt_encoding,
339 __libio_codecvt_length.
340 (adjust_wide_data): Call __libio_codecvt_encoding,
342 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
343 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
344 __libio_codecvt_length.
346 2019-05-20 Florian Weimer <fweimer@redhat.com>
348 * support/support.h (support_sbindir_prefix): Declare.
349 (support_install_rootsbindir): Update comment.
350 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
351 * support/support_paths.c (support_sbindir_prefix): Define.
353 2019-05-20 Mike Crowe <mac@mcrowe.com>
355 * support/timespec.c: Add backslash to correct newline in failure
358 * support/timespec.h: Correct confusing comment.
360 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
362 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
364 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
365 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
366 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
367 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
370 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
373 2019-05-20 Joseph Myers <joseph@codesourcery.com>
375 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
376 (NT_ARM_PACG_KEYS): Likewise.
378 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
380 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
381 (tcache_put): Remove redundant assert.
382 (tcache_get): Remove redundant asserts.
383 (__libc_malloc): Check tcache count is not zero.
384 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
386 2019-05-17 Florian Weimer <fweimer@redhat.com>
388 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
390 2019-05-16 Joseph Myers <joseph@codesourcery.com>
392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
393 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
395 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
397 * sysdeps/unix/sysv/linux/sh/kernel-features.h
398 (__ASSUME_STATX): Likewise.
400 2019-05-16 Florian Weimer <fweimer@redhat.com>
402 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
404 (LINE_PARSER): Do not map IPv4 addresses.
405 (internal_nis_gethostent_r): Remove flags argument. Adjust call
407 (_nss_nis_gethostent_r): Always pass AF_INET to
408 internal_nis_gethostent_r.
409 (internal_gethostbyname2_r): Remove flags argument. Adjust call
411 (_nss_nis_gethostbyname2_r): Adjust call to
412 internal_nis_gethostent_r.
413 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
414 call to internal_nis_gethostent_r.
415 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
417 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
418 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
419 Remove flags argument. Do not map IPv4 addresses.
420 (internal_nisplus_gethostent_r): Adjust call to
421 _nss_nisplus_parse_hostent.
422 (internal_gethostbyname2_r): Remove flags argument. Adjust call
423 to _nss_nisplus_parse_hostent.
424 (_nss_nisplus_gethostbyname2_r): Adjust call to
425 internal_gethostbyname2_r.
426 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
427 Adjust call to internal_gethostbyname2_r.
428 (_nss_nisplus_gethostbyaddr_r): Adjust call to
429 _nss_nisplus_parse_hostent.
430 (_nss_nisplus_gethostbyname4_r): Adjust call to
431 internal_gethostbyname2_r.
433 2019-05-16 Florian Weimer <fweimer@redhat.com>
435 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
437 (LINE_PARSER): Remove address mapping.
438 (EXTRA_ARGS_VALUE): Remove flags argument.
439 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
440 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
441 gethostbyname3_multi.
442 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
443 _nss_files_gethostbyname3_r.
444 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
446 2019-05-16 Florian Weimer <fweimer@redhat.com>
448 * support/support_test_compare_blob.c (report_blob): Report
449 incorrect NULL blobs.
451 2019-05-15 Mark Wielaard <mark@klomp.org>
454 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
455 __libc_once_get (once) and static_buf == NULL.
456 (__dlerror): Check we have a valid key, set result to static_buf
459 2019-05-15 Andreas Schwab <schwab@suse.de>
462 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
464 * libio/Makefile (tests): Add tst-wfile-sync.
465 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
466 * libio/tst-wfile-sync.c: New file.
467 * libio/tst-wfile-sync.input: New file.
469 2019-05-15 Florian Weimer <fweimer@redhat.com>
471 nss: Turn __nss_database_lookup into a compatibility symbol.
472 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
473 __nss_database_lookup.
474 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
475 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
476 __nss_database_lookup.
477 (__nss_next): Move to …
478 * nss/compat-lookup.c (nss_next): … here. Change it to fail
480 (__nss_database_lookup): New function.
481 * nss/Versions (GLIBC_2.0): Update comment.
482 (GLIBC_PRIVATE): Export __nss_database_lookup2.
483 * grp/initgroups.c (internal_getgrouplist): Call
484 __nss_database_lookup2 instead of __nss_database_lookup.
485 * nscd/aicache.c (addhstaiX): Likewise.
486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
487 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
488 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
489 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
490 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
492 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
493 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
496 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
498 * support/support.h (support_install_rootsbindir): New variable.
499 * support/support_paths.c: Likewise.
500 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
502 2019-05-15 Florian Weimer <fweimer@redhat.com>
504 * iconv/gconv.h (__gconv_transliterate): Move declaration …
505 * iconv/gconv_int.h (__gconv_transliterate): … here.
506 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
507 * iconv/skeleton.c: Likewise.
509 2019-05-14 Florian Weimer <fweimer@redhat.com>
511 Linux: Add the tgkill function.
512 * bits/signal_ext.h: New file.
513 * manual/signal.texi (Signaling Another Process): Document tgkill.
514 * signal/Makefile (headers): Add bits/signal_ext.h.
515 * signal/signal.h: Include <bits/signal_ext.h>.
516 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
517 (tst-tgkill): Link with libpthread.
518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
519 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
520 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
521 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
523 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
524 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
525 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
526 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
527 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
528 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
529 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
530 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
531 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
532 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
533 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
535 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
536 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
537 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
546 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
547 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
548 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
549 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
550 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
551 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
552 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
553 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
555 2019-05-14 Carlos O'Donell <carlos@redhat.com>
557 * manual/search.texi (Tree Search Function): Adjust twalk_r
560 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
563 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
566 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
567 * support/support.h (support_bindir_prefix): New variable.
568 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
570 * config.make.in (bindir): New variable.
572 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
573 (lll_trylock): Call __lll_trylock.
574 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
575 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
576 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
577 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
580 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
582 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
583 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
584 lowlevellock-futex.h.
586 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
587 initialization for LLL_LOCK_INITIALIZER different than 0.
588 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
589 Assume LLL_LOCK_INITIALIZER being 0.
590 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
591 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
593 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
594 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
596 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
597 Optimize futex call and add systemtap probe.
599 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
600 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
601 __libc_disable_asynccancel, __librt_enable_asynccancel,
602 __libc_disable_asynccancel, __librt_enable_asynccancel,
603 __librt_disable_asynccancel): Move to ...
604 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
605 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
606 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
607 * sysdeps/generic/single-thread.h: New file.
608 * sysdeps/unix/sysdep.h: Include single-thread.h.
609 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
610 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
612 2019-05-08 Mike FABIAN <mfabian@redhat.com>
615 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
616 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
618 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
619 * localedata/unicode-gen/PropList.txt: Likewise.
620 * localedata/unicode-gen/UnicodeData.txt: Likewise.
621 * localedata/charmaps/UTF-8: Regenerate.
622 * localedata/locales/i18n_ctype: Likewise.
623 * localedata/locales/tr_TR: Likewise.
624 * localedata/locales/translit_circle: Likewise.
625 * localedata/locales/translit_cjk_compat: Likewise.
626 * localedata/locales/translit_combining: Likewise.
627 * localedata/locales/translit_compat: Likewise.
628 * localedata/locales/translit_font: Likewise.
629 * localedata/locales/translit_fraction: Likewise.
631 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
634 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
635 (do_set_tcache_count): Only update if count is small enough.
636 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
638 2019-05-10 Florian Weimer <fweimer@redhat.com>
640 * nptl/sem_close.c (struct walk_closure): Define.
641 (walker): Adjust for __twalk_r.
642 (sem_close): Call __twalk_r.
644 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
646 * support/timespec.c (test_timespec_before_impl,
647 test_timespec_equal_or_after_impl): print timespec member as intmax_t
650 2019-05-09 Mike Crowe <mac@mcrowe.com>
652 * nptl/tst-abstime.c: Use libsupport.
654 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
655 small bug where only tv.tv_usec was checked which could cause an
656 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
659 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
662 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
663 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
665 * nptl/tst-cond11.c: Use libsupport.
667 * support/timespec.h: New file. Provide timespec helper functions
668 along with macros in the style of those in check.h.
669 * support/timespec.c: New file. Implement check functions declared
670 in support/timespec.h.
671 * support/timespec-add.c: New file from gnulib containing
672 timespec_add implementation that handles overflow.
673 * support/timespec-sub.c: New file from gnulib containing
674 timespec_sub implementation that handles overflow.
675 * support/README: Mention timespec.h.
677 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
680 * nptl/Makefile: Move tst-eintr1 to xtests.
682 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
684 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
686 (round_mode): Add definition for TRUNC.
687 * sysdeps/powerpc/fpu/s_trunc.c: New file.
688 * sysdeps/powerpc/fpu/s_truncf.c: New file.
689 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
690 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
691 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
693 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
695 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
697 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
699 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
701 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
703 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
705 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
707 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
708 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
709 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
710 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
711 s_truncf-power5+, and s_truncf-ppc64.
712 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
713 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
715 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
717 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
718 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
720 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
723 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
725 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
726 s_truncf-power5+, and s_truncf-ppc64.
727 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
729 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
730 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
732 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
733 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
734 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
735 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
736 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
738 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
740 (round_mode): Add definition for ROUND.
741 (round_to_integer_float): Likewise.
742 * sysdeps/powerpc/fpu/s_round.c: New file.
743 * sysdeps/powerpc/fpu/s_roundf.c: New file.
744 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
745 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
746 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
748 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
750 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
752 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
754 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
756 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
758 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
760 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
762 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
763 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
764 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
765 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
766 s_roundf-power5+, and s_roundf-ppc64.
767 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
768 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
770 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
772 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
773 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
775 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
778 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
780 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
781 s_roundf-power5+, and s_roundf-ppc64.
782 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
784 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
785 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
787 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
788 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
789 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
790 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
791 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
793 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
795 (round_mode): Add definition for FLOOR.
796 * sysdeps/powerpc/fpu/s_floor.c: New file.
797 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
798 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
799 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
816 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
817 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
818 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
819 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
820 s_floorf-power5+, and s_floorf-ppc64.
821 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
822 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
824 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
826 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
827 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
829 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
832 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
834 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
835 s_floorf-power5+, and s_floorf-ppc64.
836 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
844 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
845 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
846 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
847 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
849 2019-05-08 Mike Crowe <mac@mcrowe.com>
851 * support/xclock_gettime.c (xclock_gettime): New file. Provide
852 clock_gettime wrapper for use in tests that fails the test rather
853 than returning failure.
855 * support/xtime.h: New file to declare xclock_gettime.
857 * support/Makefile: Add xclock_gettime.c.
859 * support/README: Mention xtime.h.
861 2019-05-08 Florian Weimer <fweimer@redhat.com>
863 malloc/tst-mallocfork2: Use process-shared barriers.
864 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
865 (signal_count, sigusr1_sender_pid): Remove.
866 (iterations): Define constant.
867 (shared): New variable.
868 (sigusr1_received): Update comment.
869 (sigusr1_handler): Do not send SIGSTOP to the sender process.
870 (signal_sender): Optional use barriers to avoid sending signals
871 during irrelevant times.
872 (do_it): Initialize variable shared. Use xfork for error
873 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
874 the iteration count, independent of signal delivery. Check for
875 deadlocks in fork. Introduce barriers for reducing signal
876 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
877 replaced by the barriers. Count signals during fork/free/malloc
879 * malloc/Makefile (tst-mallocfork): Link with libpthread.
881 2019-05-07 Joseph Myers <joseph@codesourcery.com>
883 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
885 (clock_adjtime64) New syscall.
886 (clock_getres_time64) Likewise.
887 (clock_gettime64) Likewise.
888 (clock_nanosleep_time64) Likewise.
889 (clock_settime64) Likewise.
890 (futex_time64) Likewise.
891 (io_pgetevents_time64) Likewise.
892 (io_uring_enter) Likewise.
893 (io_uring_register) Likewise.
894 (io_uring_setup) Likewise.
895 (mq_timedreceive_time64) Likewise.
896 (mq_timedsend_time64) Likewise.
897 (pidfd_send_signal) Likewise.
898 (ppoll_time64) Likewise.
899 (pselect6_time64) Likewise.
900 (recvmmsg_time64) Likewise.
901 (rt_sigtimedwait_time64) Likewise.
902 (sched_rr_get_interval_time64) Likewise.
903 (semtimedop_time64) Likewise.
904 (timer_gettime64) Likewise.
905 (timer_settime64) Likewise.
906 (timerfd_gettime64) Likewise.
907 (timerfd_settime64) Likewise.
908 (utimensat_time64) Likewise.
910 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
913 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
915 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
916 __memmove_thunderx2 to the list of implementations
917 * sysdeps/aarch64/multiarch/memmove.c: Likewise
918 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
919 (__memmove_thunderx2): Rewritten using SIMD ld/st
920 (__memcpy_thunderx2): Fixed handling overlapping cases.
921 Used ldp/stp instead of ldr/str if possible. Made loops
924 2019-05-03 Florian Weimer <fweimer@redhat.com>
926 * misc/tst-tsearch.c (walk_tree): Add more error checking.
928 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
931 * elf/tst-pldd.c (in_str_list): New function.
932 (do_test): Add default names for ld and libc as one option.
934 2019-05-02 Florian Weimer <fweimer@redhat.com>
936 misc: Add twalk_r function.
937 * include/search.h (__twalk_r): Declare.
938 * manual/examples/twalk.c: New file.
939 * manual/search.texi (Tree Search Function): Document twalk_r.
940 * misc/Versions (2.30): Export twalk_r.
941 (GLIBC_PRIVATE): Export __twalk_r.
942 * misc/search.h [__USE_GNU] (twalk_r): Declare.
943 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
944 (twalk_r): Add weak alias.
945 * misc/tst-tsearch.c (struct walk_trace_element): Define.
946 (walk_trace): New variable.
947 (struct twalk_with_twalk_r_closure): Define.
948 (twalk_with_twalk_r_action): New function.
949 (twalk_with_twalk_r): Likewise.
950 (walk_action): Call walk_trace_add.
951 (walk_tree_with): Rename from walk_tree. Add walk argument.
952 (walk_tree): New function.
953 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
954 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
956 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
958 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
959 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
960 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
961 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
962 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
963 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
965 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
967 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
969 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
970 (GLIBC_2.30): Likewise.
971 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
972 (GLIBC_2.30): Likewise.
973 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
974 (GLIBC_2.30): Likewise.
975 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
976 (GLIBC_2.30): Likewise.
977 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
980 (GLIBC_2.30): Likewise.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
982 (GLIBC_2.30): Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
984 (GLIBC_2.30): Likewise.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
986 (GLIBC_2.30): Likewise.
987 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
989 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
991 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
993 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
994 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
996 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
998 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1000 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1003 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1005 Make mktime etc. compatible with __time64_t
1006 Keep these functions compatible with Gnulib while adding
1007 __time64_t support. The basic idea is to move private API
1008 declarations from include/time.h to time/mktime-internal.h, since
1009 the former file cannot easily be shared with Gnulib whereas the
1011 Also, do some other minor cleanup while in the neighborhood.
1012 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1013 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1014 since Gnulib needs it.
1015 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1016 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1017 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1018 (in_time_t_range): New static function.
1019 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1020 so that glibc users are not tempted to use __time64_t.
1021 * time/mktime-internal.h: Rewrite so that it does both glibc
1022 and Gnulib work. Include time.h if not _LIBC.
1023 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1024 (__time64_t): New type or macro, moved here from
1026 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1027 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1028 from include/time.h.
1029 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1030 New macros, taken from GNulib.
1031 (__mktime_internal): New prototype, moved here from include/time.h.
1032 * time/mktime.c (mktime_min, mktime_max, convert_time)
1033 (ranged_convert, __mktime_internal, __mktime64):
1034 * time/timegm.c (__timegm64):
1035 Use __time64_t, not time_t.
1036 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1037 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1039 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1040 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1041 for libc_hidden_def.
1043 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1045 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1047 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1050 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1051 from `-Wmaybe-uninitialized'.
1052 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1054 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1056 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1058 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1059 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1060 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1061 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1062 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1064 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1082 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1083 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1084 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1086 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1089 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1090 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1092 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1095 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1098 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1099 s_ceilf-power5+, and s_ceilf-ppc64.
1100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1105 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1106 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1107 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1108 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1110 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1111 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1112 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1114 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1116 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1117 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1118 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1119 (sem_getvalue): Likewise.
1121 2019-04-26 Florian Weimer <fweimer@redhat.com>
1123 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1124 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1126 2019-04-26 Florian Weimer <fweimer@redhat.com>
1128 Makeconfig: Move -Wl,-rpath-link options before library references.
1129 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1130 (link-libc): Remove $(link-libc-rpath-link).
1132 2019-04-25 Florian Weimer <fweimer@redhat.com>
1134 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1135 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1136 (+link-static-before-libc): Remove $(CC).
1137 (+link-static, +link-static-tests): Add $(CC).
1138 (+link-before-libc): Remove $(CC).
1139 (+link, +link-pie, +link-pie-printers): Add $(CC).
1141 2019-04-26 Florian Weimer <fweimer@redhat.com>
1143 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1144 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1145 (+link-static-before-libc): Remove $(CC).
1146 (+link-static, +link-static-tests): Add $(CC).
1147 (+link-before-libc): Remove $(CC).
1148 (+link, +link-pie, +link-pie-printers): Add $(CC).
1150 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1153 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1155 2019-04-25 Florian Weimer <fweimer@redhat.com>
1157 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1158 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1159 (bench-link-targets): New variable.
1160 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1162 2019-04-25 Florian Weimer <fweimer@redhat.com>
1164 Also enable BIND_NOW for programs if --enable-bind-now.
1165 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1166 (+link-pie): Use $(link-extra-flags).
1167 (+link-static): Likewise.
1168 [! $(build-pie-default)] (+link): Likewise.
1169 * manual/install.texi (Configuring and compiling): Update
1170 --enable-bind-now description.
1171 * INSTALL: Regenerated.
1173 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1175 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1176 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1178 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1181 * malloc/Makefile (others): Add memusagestat.
1182 ($(objpfx)memusagestat): Delete rule.
1183 (LDLIBS-memusagestat): New variable.
1185 2019-04-24 Florian Weimer <fweimer@redhat.com>
1187 * locale/Makefile (tests-special): Guard setting by
1188 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1189 to run while cross-compiling.
1191 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1194 * elf/Makefile (tests-container): Add tst-pldd.
1195 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1196 (E(find_maps)): Avoid use alloca, use default read file operations
1197 instead of explicit LFS names, and fix infinite loop.
1198 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1199 (get_process_info): Use _Static_assert instead of assert, use default
1200 directory operations instead of explicit LFS names, and free some
1202 * elf/tst-pldd.c: New file.
1204 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1206 * malloc/arena.c (do_set_mallopt_check): Removed.
1208 2019-04-23 Florian Weimer <fweimer@redhat.com>
1210 locale: Add LOCPATH diagnostics to the locale program.
1211 * locale/programs/locale.c (setlocale_failed): New variable.
1212 (try_setlocale): New function.
1213 (quote_string): Likewise.
1214 (setlocale_diagnostics): Likewise.
1215 (main): Call try_setlocale instead of setlocale. Call
1216 setlocale_diagnostics.
1217 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1218 (tst-locale-locpath.out): New target.
1219 * locale/tst-locale-locpath.sh: New file.
1221 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1223 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1226 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1229 * malloc/hooks.c (malloc_check, realloc_check): Use
1230 __builtin_add_overflow on overflow check and adapt to
1231 checked_request2size change.
1232 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1233 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1234 allocation size to PTRDIFF_MAX.
1235 (REQUEST_OUT_OF_RANGE): Remove macro.
1236 (checked_request2size): Change to inline function and limit maximum
1237 requested size to PTRDIFF_MAX.
1238 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1239 maximum allocation size to PTRDIFF_MAX.
1240 (_mid_memalign): Use _int_memalign call for overflow check.
1241 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1242 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1243 limit maximum requested size to PTRDIFF_MAX.
1244 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1245 valloc, pvalloc): Add __attribute_alloc_size__.
1246 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1247 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1248 larger than PTRDIFF_MAX.
1249 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1250 around tests of malloc with negative sizes.
1251 * malloc/tst-posix_memalign.c (do_test): Likewise.
1252 * malloc/tst-pvalloc.c (do_test): Likewise.
1253 * malloc/tst-valloc.c (do_test): Likewise.
1254 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1255 with resulting size allocation larger than PTRDIFF_MAX with
1256 reallocarray_nowarn.
1257 (reallocarray_nowarn): New function.
1258 * NEWS: Mention the malloc function semantic change.
1260 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1262 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1263 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1265 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1266 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1267 * sysdeps/powerpc/fpu/s_fma.c: New file.
1268 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1270 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1271 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1273 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1274 the magic flag store.
1275 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1277 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1279 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1280 Remove rt_sigreturn call.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1283 Remove rt_sigreturn call.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1289 * support/Makefile (libsupport-routines): Add support_subprocess,
1290 xposix_spawn, xposix_spawn_file_actions_addclose, and
1291 xposix_spawn_file_actions_adddup2.
1292 (tst-support_capture_subprocess-ARGS): New rule.
1293 * support/capture_subprocess.h (support_capture_subprogram): New
1295 * support/support_capture_subprocess.c (support_capture_subprocess):
1296 Refactor to use support_subprocess and support_capture_poll.
1297 (support_capture_subprogram): New function.
1298 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1299 str_to_write_mode, test_common, parse_int, handle_restart,
1300 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1301 (do_test): Add support_capture_subprogram tests.
1302 * support/subprocess.h: New file.
1303 * support/support_subprocess.c: Likewise.
1304 * support/xposix_spawn.c: Likewise.
1305 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1306 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1307 * support/xspawn.h: Likewise.
1309 2019-04-17 Mike Gerow <gerow@google.com>
1311 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1314 2019-04-11 Florian Weimer <fweimer@redhat.com>
1316 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1317 domain with empty string.
1318 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1320 2019-04-11 Florian Weimer <fweimer@redhat.com>
1322 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1324 (alloc_buffer_next): Change return type to non-const. Update
1327 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1329 * manual/time.texi (Formatting Calendar Time): Add missing percent
1330 sign to conversion specifier.
1332 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1333 Kwok Cheung Yeung <kcy@codesourcery.com>
1336 * malloc/mtrace.c: Define prototypes for all hooks.
1337 (set_default_hooks): New function.
1338 (set_trace_hooks): Likewise.
1339 (save_default_hooks): Likewise.
1340 (tr_freehook): Use new s*_hooks functions.
1341 (tr_mallochook): Likewise.
1342 (tr_reallochook): Likewise.
1343 (tr_memalignhook): Likewise.
1345 (muntrace): Likewise.
1347 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1349 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1350 (generic_stpcpy): New function.
1351 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1352 (generic_stpncpy): New function.
1353 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1354 (generic_strcat): New function.
1355 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1356 (generic_strcpy): New function.
1357 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1358 (STUPID_STRNCAT): Remove function.
1359 (generic_strncat): New function.
1360 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1361 (STUPID_STRNCPY): Remove function.
1362 (generic_strncpy): New function.
1363 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1364 (generic_strnlen): New function.
1365 (memchr_strnlen): New function.
1366 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1367 (memchr_strlen): Likewise.
1369 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1371 * benchtests/bench-strstr.c (input): Add realistic input text.
1372 (stupid_strstr): Remove function.
1373 (basic_strstr): Add function.
1374 (twoway_strstr): Add function.
1375 (do_one_test): Add result checking.
1376 (do_test): Use new input text. Remove accidental early matches.
1377 (test_main): Improve range of tests, reduce unaligned cases.
1379 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1381 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1382 (basic_memmem): Add function.
1383 (twoway_memmem): Add function.
1385 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1387 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1388 * benchtests/bench-malloc-thread.c: Likewise.
1389 * benchtests/bench-skeleton.c: Likewise.
1390 * benchtests/bench-strtod.c: Likewise.
1391 * benchtests/bench-timing.h: Likewise.
1393 2019-04-08 Florian Weimer <fweimer@redhat.com>
1395 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1397 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1398 RES_INSECURE2 security checks.
1399 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1400 RES_INSECURE2 handling.
1402 2019-04-08 Florian Weimer <fweimer@redhat.com>
1404 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1405 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1406 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1408 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1409 (tests-internal): Update justification for tst-resolv-res_init,
1410 tst-resolv-res_init-thread.
1411 (tst-res_use_inet6): Remove target.
1412 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1413 * resolv/res_debug.c (p_option): Remove "inet6" support.
1414 * resolv/res_init.c (res_setoptions): Likewise.
1415 * resolv/res_use_inet6.h: Remove file.
1416 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1418 (res_use_inet6): Always return false.
1419 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1420 * resolv/resolv_context.h: Adjust file comment.
1421 (struct resolv_context): Update comment on __next field.
1422 (__resolv_context_put): Update comment.
1423 * resolv/tst-res_use_inet6.c: Remove file.
1424 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1426 (test_cases): Adjust test case.
1427 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1428 (thread_byname2_af_inet6): Use old byname_inet6 code.
1429 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1430 (gai): Remove do_inet6 argument.
1431 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1432 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1433 (thread_gai_unspec_inet6): Remove functions.
1434 (do_test): Adjust thread_funcs.
1435 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1437 (gaih_inet): Do not disable RES_USE_INET6 flag.
1439 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1441 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1442 and remove redundant code.
1444 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1446 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1448 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1451 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1453 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1456 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1457 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1458 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1459 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1460 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1462 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1464 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1467 Remove wcsrchr optimizations.
1468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1470 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1473 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1475 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1483 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1484 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1485 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1486 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1487 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1489 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1491 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1494 Remove wcschr optimizations.
1495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1497 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1500 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1502 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1510 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1511 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1512 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1513 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1514 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1515 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1516 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1518 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1521 Remove wcscpy optimizations.
1522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1524 * include/loop_unroll.h: New file.
1525 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1526 besides generic implementation.
1528 2019-04-03 DJ Delorie <dj@redhat.com>
1530 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1531 snprintf truncating output.
1533 2019-04-02 DJ Delorie <dj@redhat.com>
1535 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1538 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1541 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1543 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1544 (mkreftable): Add rules for the new Japanese era and the new dates.
1546 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1547 Rafal Luzynski <digitalfreak@lingonborough.com>
1549 * time/tst-strftime2.c (date_t): Explicitly define the type.
1550 (dates): Use natural month and year numbers to express a date.
1551 (is_before): New function to compare dates.
1552 (mkreftable): Minor improvements to simplify maintenance.
1553 (do_test): Reflect the changes in dates array.
1556 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1557 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1558 * time/tst-strftime2.c (locales): Likewise.
1559 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1560 2010-04-01, and 2011-04-01.
1561 (mkreftable): Add rules for the new locales and the new dates.
1563 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1565 * localedata/locales/ja_JP: Add comments to era entries.
1567 2019-04-01 DJ Delorie <dj@redhat.com>
1570 * time/strptime_l.c (%Ey): Fix fencepost error.
1571 * time/tst-strftime3.c: New.
1572 * time/Makefile (tests): Add tst-strftime3.
1574 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1576 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1577 conditional branch to DIVBYZERO. Fix unwind info.
1578 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1579 excb after conditional branch to $powerof2. Add missing unop
1580 instructions and .align directives and reorder instructions to
1583 2019-04-01 Richard Henderson <rth@twiddle.net>
1585 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1587 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1590 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1592 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1593 $libc_cv_riscv_float_abi in `test' invocation.
1594 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1596 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1598 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1600 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1602 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1603 (_GET_SI_FPSCR): Likewise.
1604 (_SET_SI_FPSCR): Likewise.
1606 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1608 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1610 (signbit): Use builtin for clang 3.3.
1611 (isinf): Use builtin for clang 3.7.
1613 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1615 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1617 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1619 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1622 2019-03-25 Mike Crowe <mac@mcrowe.com>
1624 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1625 pthread_rwlock_timedrdlock with calls to
1626 pthread_rwlock_timedwrlock to ensure that the latter is tested
1627 too. Use new function name in diagnostic messages too.
1629 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1630 (do_test) Use libsupport test macros rather than hand-coded
1631 conditionals and error messages. Ensure that sem_init returns zero
1632 rather than not -1. Use <support/test-driver.c> rather than
1635 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1636 test macros rather than hand-coded conditionals and error messages.
1637 Use <support/test-driver.c> rather than test-skeleton.c.
1639 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1641 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1643 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1644 (NT_MIPS_MSA): Likewise.
1646 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1648 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1649 * benchtests/README: Update description.
1650 * benchtests/bench-timing.h: Default to hp-timing.
1651 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1652 HP_TIMING_PRINT): Remove.
1653 (HP_TIMING_NOW): Add generic implementation.
1654 (hp_timing_t): Change to uint64_t.
1656 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1658 * nptl/descr.h: Likewise.
1659 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1660 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1661 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1662 Abstract hp-timing usage with RTLD_* macros.
1663 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1664 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1665 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1666 HP_TIMING_NONAVAIL): Likewise.
1667 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1670 HP_SMALL_TIMING_AVAIL): Likewise.
1671 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1672 HP_SMALL_TIMING_AVAIL): Likewise.
1673 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1674 HP_SMALL_TIMING_AVAIL): Likewise.
1675 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1676 HP_SMALL_TIMING_AVAIL): Likewise.
1677 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1679 * sysdeps/generic/hp-timing-common.h: Update comment with
1680 HP_TIMING_AVAIL removal.
1682 * include/random-bits.h: New file.
1683 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1684 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1686 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1687 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1690 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1691 * rt/Makefile (clock-routines): Remove get_clockfreq.
1692 * rt/get_clockfreq.c: Remove file.
1693 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1694 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1696 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1697 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1699 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1700 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1701 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1702 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1703 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1705 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1706 pthread_clock_settime.
1707 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1708 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1709 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1710 * elf/rtld.c (_dl_start_final): Likewise.
1711 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1712 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1714 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1715 (_dl_cpuclock_offset): Remove.
1716 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1717 cpuclock_offset_ununsed.
1718 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1719 cpuclock_offset set.
1720 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1721 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1722 * nptl/pthread_clock_gettime.c: Remove file.
1723 * nptl/pthread_clock_settime.c: Likewise.
1724 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1725 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1726 and CLOCK_PROCESS_CPUTIME_ID support.
1727 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1728 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1729 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1730 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1731 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1733 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1735 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1737 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1738 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1739 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1741 * sysdeps/s390/memmem-arch13.S: New file.
1742 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1743 if it is only used as fallback.
1744 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1745 * sysdeps/s390/multiarch/ifunc-impl-list.c
1746 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1748 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1750 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1751 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1752 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1754 * sysdeps/s390/multiarch/ifunc-impl-list.c
1755 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1756 * sysdeps/s390/strstr-arch13.S: New file.
1757 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1758 if it is only used as fallback.
1759 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1761 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1763 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1764 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1765 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1766 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1768 * sysdeps/s390/multiarch/ifunc-impl-list.c
1769 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1770 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1771 S390_IS_ARCH13_MIE3): New defines.
1773 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1775 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1776 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1777 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1778 * sysdeps/s390/configure: Regenerated.
1780 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1782 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1783 Add vxe2, vxp, dflt, sort flags.
1784 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1785 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1787 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1788 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1789 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1790 HWCAP_S390_DFLT): Define.
1792 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1795 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1796 of compiler warning.
1797 * locale/programs/ld-collate.c (collate_output): Likewise.
1799 2019-03-21 DJ Delorie <dj@redhat.com>
1802 * iconv/iconvconfig.c (write_output): Replace floating point math
1803 with integer math to avoid imprecise results.
1804 * locale/programs/ld-collate.c (collate_output): Likewise.
1806 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1808 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1809 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1811 2019-03-20 mansayk <6688000@gmail.com>
1814 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1815 (abday): Likewise, but remove the trailing dots.
1817 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1819 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1821 (HWCAP_PACA): Likewise.
1822 (HWCAP_PACG): Likewise.
1823 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1825 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1827 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1829 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1832 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1834 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1836 (old_getpagesize): New syscall.
1838 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1841 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1842 * localedata/locales/cmn_TW (era): Likewise.
1843 * localedata/locales/hak_TW (era): Likewise.
1844 * localedata/locales/lzh_TW (era): Likewise.
1845 * localedata/locales/nan_TW (era): Likewise.
1847 2019-03-14 Adam Maris <amaris@redhat.com>
1849 * malloc/malloc.c (_int_malloc): Check for large bin list
1850 corruption when inserting unsorted chunk.
1852 2019-03-14 Florian Weimer <fweimer@redhat.com>
1854 Remove obsolete, never-implemented XSI STREAMS declarations.
1855 * manual/terminal.texi (Allocation): Remove portability note and
1857 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1859 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1860 * sysdeps/unix/inet/Subdirs (streams): Remove.
1861 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1862 (conformtest-headers-UNIX98): Likewise.
1863 (conformtest-headers-XOPEN2K): Likewise.
1864 (conformtest-headers-POSIX2008): Likewise.
1865 * posix/compat-streams.c: New file.
1866 * posix/Makefile (routines): Add it.
1867 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1868 getpmsg, isastream, putmsg, putpmsg.
1869 (GLIBC_2.30): New section.
1870 * bits/stropts.h: Remove file.
1871 * bits/xtitypes.h: Likewise.
1872 * conform/data/stropts.h-data: Likewise.
1873 * include/stropts.h: Likewise.
1874 * include/sys/stropts.h: Likewise.
1875 * include/xtitypes.h: Likewise.
1876 * streams/Makefile: Likewise.
1877 * streams/fattach.c: Likewise.
1878 * streams/fdetach.c: Likewise.
1879 * streams/getmsg.c: Likewise.
1880 * streams/getpmsg.c: Likewise.
1881 * streams/isastream.c: Likewise.
1882 * streams/putmsg.c: Likewise.
1883 * streams/putpmsg.c: Likewise.
1884 * streams/stropts.h: Likewise.
1885 * streams/sys/stropts.h: Likewise.
1886 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1887 * sysdeps/s390/bits/xtitypes.h: Likewise.
1888 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1889 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1890 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1891 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1892 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1893 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1894 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1896 * sysdeps/x86/bits/xtitypes.h: Likewise.
1898 2019-03-14 Florian Weimer <fweimer@redhat.com>
1900 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1902 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1903 but not with libnss_files.
1904 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1906 2019-03-14 Zack Weinberg <zackw@panix.com>
1908 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1909 Specify encoding="utf-8" when opening headers to check.
1911 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1913 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1915 (Context.checkout_tar): Handle variable major version for Linux
1918 2019-03-13 Florian Weimer <fweimer@redhat.com>
1921 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1923 2019-03-13 Zack Weinberg <zackw@panix.com>
1925 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1927 * include/inttypes.h: Adjust to match.
1928 * include/stdint.h: New wrapper.
1930 2019-03-13 Zack Weinberg <zackw@panix.com>
1932 * scripts/check-obsolete-constructs.py: New test script.
1933 * scripts/check-installed-headers.sh: Remove tests for
1934 obsolete typedefs, superseded by check-obsolete-constructs.py.
1935 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1936 as a special test. Update commentary.
1937 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1938 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1940 * posix/sys/types.h (__u_intN_t): Remove.
1941 (u_int8_t): Typedef using __uint8_t.
1942 (u_int16_t): Typedef using __uint16_t.
1943 (u_int32_t): Typedef using __uint32_t.
1944 (u_int64_t): Typedef using __uint64_t.
1946 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1948 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1950 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1951 Ignore types other than AT_HWCAP.
1952 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1953 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1955 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1956 in the case of falling back to generic output mechanism.
1957 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1960 2019-03-12 Florian Weimer <fweimer@redhat.com>
1962 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1964 2019-03-12 Florian Weimer <fweimer@redhat.com>
1967 resolv: Enable full ICMP errors for UDP DNS sockets
1968 * resolv/res_enable_icmp.c: New file.
1969 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1970 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1971 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1974 2019-03-11 Mao Han <han_mao@c-sky.com>
1976 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1977 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1979 2019-03-11 Mao Han <han_mao@c-sky.com>
1981 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1982 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1983 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1985 2019-03-11 Mao Han <han_mao@c-sky.com>
1987 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1989 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1992 2019-03-11 Mao Han <han_mao@c-sky.com>
1994 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1995 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1998 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2001 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2002 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2004 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2005 * localedata/unicode-gen/PropList.txt: Likewise.
2006 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2007 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2008 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2009 * localedata/charmaps/UTF-8: Regenerate.
2010 * localedata/locales/i18n_ctype: Likewise.
2011 * localedata/locales/tr_TR: Likewise.
2012 * localedata/locales/translit_circle: Likewise.
2013 * localedata/locales/translit_cjk_compat: Likewise.
2014 * localedata/locales/translit_combining: Likewise.
2015 * localedata/locales/translit_compat: Likewise.
2016 * localedata/locales/translit_font: Likewise.
2017 * localedata/locales/translit_fraction: Likewise.
2019 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2021 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2022 than after operators.
2023 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2024 (setitimer_locked): Likewise.
2025 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2026 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2027 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2028 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2029 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2030 (PPC_CPU_SUPPORTED): Likewise.
2031 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2032 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2033 (stat_overflow): Likewise.
2034 (statfs_overflow): Likewise.
2035 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2036 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2037 (eq_ttyname_r): Likewise.
2038 (run_chroot_tests): Likewise.
2040 2019-03-07 Florian Weimer <fweimer@redhat.com>
2042 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2045 2019-03-07 Martin Liska <mliska@suse.cz>
2047 * math/Makefile: Change location where math-vector-fortran.h is
2049 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2050 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2051 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2052 * scripts/check-installed-headers.sh: Skip Fortran header files.
2053 * scripts/check-wrapper-headers.py: Likewise.
2055 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2057 * nptl/nptl-init.c (__have_futex_clock_realtime,
2058 __have_futex_clock_realtime): Remove definition.
2059 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2060 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2061 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2062 __ASSUME_FUTEX_CLOCK_REALTIME support.
2063 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2064 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2065 * sysdeps/unix/sysv/linux/kernel-features.h
2066 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2067 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2070 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2072 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2073 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2074 __GI___wcscpy and wcscpy.
2076 2019-03-04 Florian Weimer <fweimer@redhat.com>
2078 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2080 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2083 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2085 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2088 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2091 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2092 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2094 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2096 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2098 (do_test): Likewise.
2099 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2100 (do_test_call_varg): Likewise.
2101 (do_test_call_rarg): Likewise.
2102 * sysdeps/ieee754/ldbl-opt/Makefile
2103 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2105 ($(objpfx)tst-nldbl-warn.c): New rule.
2106 ($(objpfx)tst-nldbl-error.c): Likewise.
2107 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2110 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2113 * include/bits/error-ldbl.h: New file.
2114 * include/error.h: Include stdarg.h. Declare internal functions
2115 __error_internal and __error_at_line_internal.
2116 * misc/Makefile (headers): Add bits/error-ldbl.h.
2117 * misc/bits/error-ldbl.h: New file.
2118 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2119 avoid the inclusion of bits/error.h.
2120 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2121 and __nldbl_error_at_line.
2122 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2123 (__nldbl_error, __ndlbl_error_at_line): New functions.
2124 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2125 Redirect error and error_at_line.
2126 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2135 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2136 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2139 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2142 * include/bits/err-ldbl.h: New file.
2143 * include/err.h: Add prototypes for the internal functions:
2144 __vwarnx_internal and __vwarn_internal.
2145 * misc/Makefile (headers): Add bits/err-ldbl.h.
2146 * misc/bits/err-ldbl.h: New file.
2147 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2148 defined, i.e.: when -mlong-double-64 is in use.
2149 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2150 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2151 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2152 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2153 (VA_CALL): New macro.
2154 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2155 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2158 declare prototypes for the new functions.
2159 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2168 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2169 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2170 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2172 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2174 * sysdeps/ieee754/ldbl-opt/Makefile
2175 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2176 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2177 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2179 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2182 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2183 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2184 * argp/bits/argp-ldbl.h: New file.
2185 * include/argp.h: Include stdarg.h. Add prototypes for internal
2186 functions: __argp_error_internal and __argp_failure_internal.
2187 * include/bits/argp-ldbl.h: New file.
2188 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2189 __nldbl_argp_error and __nldbl_argp_failure.
2190 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2191 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2192 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2193 Redirect argp_error and argp_failure calls.
2194 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2204 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2205 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2207 2019-03-01 Florian Weimer <fweimer@redhat.com>
2210 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2211 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2212 code, to avoid creating an ABI tag note.
2213 (modules-names-nobuild): Add tst-big-note-lib.
2215 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2217 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2218 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2220 2019-03-01 Florian Weimer <fweimer@redhat.com>
2223 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2224 (__netlink_assert_response): Add additional missing newlines.
2226 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2228 * sysdeps/powerpc/powerpc32/dl-machine.c
2229 (__elf_machine_fixup_plt): Use space before '('.
2230 (__process_machine_rela): Likewise.
2231 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2233 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2235 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2237 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2238 (pattern): Likewise.
2240 (check_result): Likewise.
2241 (check_excepts): Likewise.
2242 (check_op): Likewise.
2243 (fail_xr): Likewise.
2244 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2245 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2247 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2250 (__makecontext): Likewise.
2251 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2254 2019-02-28 Florian Weimer <fweimer@redhat.com>
2257 elf: Add test with a local IFUNC resolver.
2258 * elf/ifuncmain9.c: New file.
2259 * elf/ifuncmain9pic.c: Likewise.
2260 * elf/ifuncmain9picstatic.c: Likewise.
2261 * elf/ifuncmain9pie.c: Likewise.
2262 * elf/ifuncmain9static.c: Likewise.
2263 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2264 ifuncmain9static, ifuncmain9picstatic.
2265 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2266 Add ifuncmain9, ifuncmain9pic.
2267 * elf/Makefile [multi-arch && build-shared && have-fpie]
2268 (ifunc-pie-tests): Add ifuncmain9pie.
2269 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2270 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2271 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2273 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2275 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2276 * configure: Regenerated.
2277 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2279 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2282 symbol as __wcspcy instead of wcscpy.
2284 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2286 * include/stdio.h (__renameat2): New hidden prototype.
2287 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2288 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2289 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2290 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2292 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2294 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2297 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2298 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2299 * benchtests/bench-strlen.c (do_test): Likewise.
2300 (test_main): Likewise.
2301 * catgets/gencat.c (read_old): Likewise.
2302 * elf/cache.c (load_aux_cache): Likewise.
2303 * iconvdata/bug-iconv8.c (do_test): Likewise.
2304 * math/test-tgmath-ret.c (do_test): Likewise.
2305 * nis/nis_call.c (rec_dirsearch): Likewise.
2306 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2307 * nptl/tst-audit-threads.c (do_test): Likewise.
2308 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2309 * nss/nss_test1.c (init): Likewise.
2310 * nss/test-netdb.c (test_hosts): Likewise.
2311 * posix/execvpe.c (maybe_script_execute): Likewise.
2312 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2313 * stdio-common/tst-printf.c (do_test): Likewise.
2314 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2315 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2316 * stdlib/qsort.c (STACK_SIZE): Likewise.
2317 * stdlib/test-canon.c (do_test): Likewise.
2318 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2319 * string/memcmp.c (OPSIZ): Likewise.
2320 * string/test-strcpy.c (do_test): Likewise.
2321 (do_random_tests): Likewise.
2322 * string/test-strlen.c (do_test): Likewise.
2323 (test_main): Likewise.
2324 * string/test-strrchr.c (do_test): Likewise.
2325 (do_random_tests): Likewise.
2326 * string/tester.c (test_memrchr): Likewise.
2327 (test_memchr): Likewise.
2328 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2329 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2330 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2331 (read_encoded_value_with_base): Likewise.
2332 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2333 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2334 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2335 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2336 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2337 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2339 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2341 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2342 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2343 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2345 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2347 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2349 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2351 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2352 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2353 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2354 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2355 * time/test_time.c (main): Likewise.
2357 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2359 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2361 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2364 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2367 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2369 * include/wchar.h (__wcscpy): New prototype.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2371 (__wcscpy): Route internal symbol to generic implementation.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2373 Add internal __wcscpy alias.
2374 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2375 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2376 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2377 * wcsmbs/wcscpy.c (wcscpy): Add
2378 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2379 use generic implementation.
2380 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2382 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2385 * sysdeps/m68k/wcpcpy.c: Remove file.
2386 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2388 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2390 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2391 than after operators.
2392 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2393 * sysdeps/mach/hurd/getcwd.c
2394 (__hurd_canonicalize_directory_name_internal): Likewise.
2395 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2396 (pthread_mutex_consistent): Likewise.
2397 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2399 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2400 (__pthread_mutex_transfer_np): Likewise.
2401 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2402 (__pthread_mutex_unlock): Likewise.
2403 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2404 (mtx_owned_p): Likewise.
2405 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2406 (pthread_mutexattr_getrobust): Likewise.
2407 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2408 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2410 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2411 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2412 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2413 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2414 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2418 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2420 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2421 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2422 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2423 (____longjmp_chk): Likewise.
2424 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2427 (INTERNAL_SYSCALL): Likewise.
2428 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2429 (INTERNAL_SYSCALL): Likewise.
2430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2431 (__get_clockfreq_via_cpuinfo): Likewise.
2433 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2435 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2436 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2437 (WORD_COPY_BWD): Likewise.
2438 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2441 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2442 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2444 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2446 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2448 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2449 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2450 rather than after operators.
2451 * elf/cache.c (print_cache): Likewise.
2452 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2453 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2454 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2455 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2456 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2457 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2458 (reauth_proc): Likewise.
2459 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2460 (__file_name_split_at): Likewise.
2461 (__directory_name_split_at): Likewise.
2462 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2463 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2464 * iconv/gconv_dl.c (do_print): Likewise.
2465 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2466 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2467 * locale/setlocale.c (new_composite_name): Likewise.
2468 * malloc/memusagestat.c (main): Likewise.
2469 * misc/fstab.c (fstab_convert): Likewise.
2470 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2472 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2473 (getgrent_next_file): Likewise.
2474 (internal_getgrnam_r): Likewise.
2475 (internal_getgrgid_r): Likewise.
2476 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2478 (internal_getgrent_r): Likewise.
2479 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2480 (getpwent_next_nss): Likewise.
2481 (getpwent_next_file): Likewise.
2482 (internal_getpwnam_r): Likewise.
2483 (internal_getpwuid_r): Likewise.
2484 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2486 (getspent_next_nss): Likewise.
2487 (internal_getspnam_r): Likewise.
2488 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2489 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2490 * string/strchr.c (STRCHR): Likewise.
2491 * string/strchrnul.c (STRCHRNUL): Likewise.
2492 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2493 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2494 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2495 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2496 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2498 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2499 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2500 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2501 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2502 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2503 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2504 (open_file): Likewise.
2505 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2506 (pthread_mutexattr_setprotocol): Likewise.
2507 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2508 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2509 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2510 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2511 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2513 (elf_machine_rela): Likewise.
2514 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2515 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2516 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2517 * sysdeps/posix/rename.c (rename): Likewise.
2518 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2519 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2520 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2521 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2522 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2523 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2524 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2526 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2528 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2529 * time/tzfile.c (__tzfile_compute): Likewise.
2531 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2533 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2534 rather than after operators.
2535 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2536 * crypt/md5.c (md5_finish_ctx): Likewise.
2537 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2538 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2539 * elf/cache.c (load_aux_cache): Likewise.
2540 * elf/dl-load.c (open_verify): Likewise.
2541 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2542 * elf/readelflib.c (process_elf_file): Likewise.
2543 * elf/rtld.c (dl_main): Likewise.
2544 * elf/sprof.c (generate_call_graph): Likewise.
2545 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2546 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2547 * hurd/dtable.c (reauth_dtable): Likewise.
2548 * hurd/getdport.c (__getdport): Likewise.
2549 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2550 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2551 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2553 * hurd/hurdioctl.c (fioctl): Likewise.
2554 * hurd/hurdselect.c (_hurd_select): Likewise.
2555 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2556 (STOPSIGS): Likewise.
2557 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2558 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2559 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2560 * hurd/msgportdemux.c (msgport_server): Likewise.
2561 * hurd/setauth.c (_hurd_setauth): Likewise.
2562 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2563 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2564 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2565 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2566 * login/tst-utmp.c (do_check): Likewise.
2567 (simulate_login): Likewise.
2568 * mach/lowlevellock.h (lll_lock): Likewise.
2569 (lll_trylock): Likewise.
2570 * math/test-fenv.c (ALL_EXC): Likewise.
2571 * math/test-fenvinline.c (ALL_EXC): Likewise.
2572 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2573 * nis/nis_call.c (__do_niscall3): Likewise.
2574 * nis/nis_callback.c (cb_prog_1): Likewise.
2575 * nis/nis_defaults.c (searchaccess): Likewise.
2576 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2577 * nis/nis_ismember.c (internal_ismember): Likewise.
2578 * nis/nis_local_names.c (nis_local_principal): Likewise.
2579 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2580 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2582 * nis/ypclnt.c (yp_match): Likewise.
2583 (yp_first): Likewise.
2584 (yp_next): Likewise.
2585 (yp_master): Likewise.
2586 (yp_order): Likewise.
2587 * nscd/hstcache.c (cache_addhst): Likewise.
2588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2589 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2590 (internal_getpwuid_r): Likewise.
2591 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2592 * posix/glob.h (__GLOB_FLAGS): Likewise.
2593 * posix/regcomp.c (peek_token): Likewise.
2594 (peek_token_bracket): Likewise.
2595 (parse_expression): Likewise.
2596 * posix/regexec.c (sift_states_iter_mb): Likewise.
2597 (check_node_accept_bytes): Likewise.
2598 * posix/tst-spawn3.c (do_test): Likewise.
2599 * posix/wordexp-test.c (testit): Likewise.
2600 * posix/wordexp.c (parse_tilde): Likewise.
2601 (exec_comm): Likewise.
2602 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2603 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2604 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2605 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2606 * stdio-common/tst-fileno.c (do_test): Likewise.
2607 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2608 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2609 * stdlib/strtod_l.c (round_and_return): Likewise.
2610 (____STRTOF_INTERNAL): Likewise.
2611 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2612 * string/strcspn.c (STRCSPN): Likewise.
2613 * string/test-memmem.c (simple_memmem): Likewise.
2614 * termios/tcsetattr.c (tcsetattr): Likewise.
2615 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2616 * time/asctime.c (asctime_internal): Likewise.
2617 * time/strptime_l.c (__strptime_internal): Likewise.
2618 * time/sys/time.h (timercmp): Likewise.
2619 * time/tzfile.c (__tzfile_compute): Likewise.
2621 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2624 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2626 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2628 * argp/argp-help.c (__argp_error_internal): New function,
2629 renamed from __argp_error, but that takes a 'mode_flags'
2630 parameter to control the format of long double parameters.
2631 (__argp_error): Converted into a call __argp_error_internal.
2632 (__argp_failure_internal): New function, renamed from
2633 __argp_failure, but that takes a 'mode_flags' parameter.
2634 (__argp_failure): Converted into a call __argp_failure_internal.
2635 * misc/err.c (__vwarnx_internal): New function, renamed from
2636 vwarnx, but that takes a 'mode_flags' parameter.
2637 (vwarnx): Converted into a call to __vwarnx_internal.
2638 (__vwarn_internal): New function, renamed from vwarn, but that
2639 takes a 'mode_flags' parameter.
2640 (vwarn): Converted into a call to __vwarn_internal.
2641 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2642 call to __vfxprintf with 'mode_flags'.
2643 (__error_internal): New function, renamed from error, but that
2644 takes a 'mode_flags' parameter.
2645 (error): Converted into a call to __error_internal.
2646 (__error_at_line_internal): New function, renamed from
2647 error_at_line, but that takes a 'mode_flags' parameter.
2648 (error_at_line): Converted into a call to
2649 __error_at_line_internal.
2650 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2651 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2654 2019-02-20 Martin Liska <mliska@suse.cz>
2656 * math/Makefile: Install math-vector-fortran.h.
2657 * bits/math-vector-fortran.h: New file.
2658 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2660 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2662 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2663 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2665 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2667 * nptl/pthread_mutex_trylock.c: Fix comment.
2669 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2671 * nptl/pthread_tryjoin.c: Fix comment.
2673 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2677 after R_SPARC_H34 case.
2679 2019-02-18 Florian Weimer <fweimer@redhat.com>
2681 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2682 (getanswer): Do not call Dprintf.
2683 (res_gethostbyname2_context): Likewise.
2684 (res_gethostbyaddr_context): Likewise.
2686 2019-02-18 Florian Weimer <fweimer@redhat.com>
2688 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2690 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2692 * libio/stdfiles.c: Update comment.
2693 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2694 set _IO_stdin, _IO_stdout, _IO_stderr.
2695 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2696 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2698 (_IO_deallocate_file): New inline function.
2699 * libio/iolibio.h (_IO_vprintf): Remove definition.
2700 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2701 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2702 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2704 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2705 __builtin_expect. Use _IO_legacy_file.
2707 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2709 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2710 Initialize ctid with a known value and remove update of ctid
2712 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2713 as assumed current value of ctid_ptr.
2715 2019-02-16 Florian Weimer <fweimer@redhat.com>
2717 Check that non-sysdeps headers have wrapper headers.
2718 * scripts/check-wrapper-headers.py: New file.
2719 * Makefile (tests-special): Add check-wrapper-headers.out.
2720 (check-wrapper-headers.out): New target.
2721 * Rules (tests-special): Add check-wrapper-headers.out.
2722 (check-wrapper-headers.out): New target.
2724 2019-02-16 Florian Weimer <fweimer@redhat.com>
2726 Add missing header wrappers under include/.
2727 * include/ar.h: New file.
2728 * include/bits/mqueue2.h: Likewise.
2729 * include/bits/stdio.h: Likewise.
2730 * include/bits/stdio2.h: Likewise.
2731 * include/fstab.h: Likewise.
2732 * include/fts.h: Likewise.
2733 * include/lastlog.h: Likewise.
2734 * include/netinet/icmp6.h: Likewise.
2735 * include/netinet/igmp.h: Likewise.
2736 * include/netinet/ip6.h: Likewise.
2737 * include/re_comp.h: Likewise.
2738 * include/regexp.h: Likewise.
2739 * include/rpcsvc/bootparam.h: Likewise.
2740 * include/rpcsvc/yp_prot.h: Likewise.
2741 * include/sys/random.h: Likewise.
2742 * include/sys/stropts.h: Likewise.
2743 * include/sys/ttychars.h: Likewise.
2744 * include/sys/vfs.h: Likewise.
2745 * include/wait.h: Likewise.
2747 2019-02-16 Florian Weimer <fweimer@redhat.com>
2749 * nptl_db/proc_service.h: Move to ...
2750 * sysdeps/nptl/proc_service.h: ... here.
2751 * nptl_db/thread_db.h: Move to ...
2752 * sysdeps/nptl/thread_db.h: ... here.
2753 * nptl/descr.h: Include <thread_db.h>.
2755 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2757 * io/Makefile (tests): Add tst-lockf.
2758 * io/lockf.c (lockf): Use __fcntl and only define for
2759 !__OFF_T_MATCHES_OFF64_T.
2760 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2761 __OFF_T_MATCHES_OFF64_T case.
2762 * io/tst-lockf.c: New file.
2763 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2764 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2765 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2766 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2767 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2769 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2770 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2773 2019-02-15 Florian Weimer <fweimer@redhat.com>
2776 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2777 pd->result after the thread descriptor has been freed.
2779 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2781 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2782 from function return type.
2784 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2786 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2788 * scripts/test_printers_common.py: Set TERM to a known harmless
2791 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2793 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2794 (xdr_u_int): Likewise.
2795 (xdr_enum): Likewise.
2796 (xdr_bytes): Reword fall-through comment.
2797 (xdr_string): Likewise.
2799 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2802 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2803 (tests): Add tst-join8 tst-join9.
2804 * nptl/lll_timedwait_tid.c: Remove file.
2805 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2806 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2807 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2808 * nptl/pthread_join_common.c (timedwait_tid): New function.
2809 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2811 * nptl/tst-join5.c (thread_join): New function.
2812 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2814 * nptl/tst-join8.c: New file.
2815 * nptl/tst-join9.c: Likewise.
2816 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2817 lll_futex_timed_wait_cancel): Add generic macros.
2818 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2820 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2821 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2822 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2823 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2825 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2827 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2828 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2829 (lll_futex_timed_wait_cancel): New macro.
2831 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2833 * benchtests/Makefile: Add malloc-simple benchmark.
2834 * benchtests/bench-malloc-simple.c: New benchmark.
2836 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2838 * benchtests/bench-memmove.c (do_one_test): Remove unused
2841 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2845 2019-01-13 Jim Wilson <jimw@sifive.com>
2848 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2849 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2851 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2853 * nptl/Makefile (tests): Add tst-unwind-thread.
2854 (CFLAGS-tst-unwind-thread.c): Define.
2855 * nptl/tst-unwind-thread.c: New file.
2856 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2859 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2861 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2863 * nis/nis_call.c (__do_niscall3): Likewise.
2865 * catgets/gencat.c (normalize_line): Use braces around empty
2867 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2868 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2869 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2870 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2871 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2872 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2873 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2876 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2879 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2881 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2882 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2883 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2884 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2885 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2886 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2887 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2888 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2889 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2890 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2891 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2892 * benchtests/bench-bcopy.c: Delete file.
2893 * benchtests/bench-bzero.c: Likewise.
2894 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2895 (simple_memccpy): Remove.
2896 (generic_memccpy): Add function.
2897 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2898 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2899 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2900 (generic_mempcpy): Add new function.
2901 * benchtests/bench-memset.c (simple_bzero): Remove.
2902 (builtin_bzero): Remove.
2903 (builtin_memset): Remove.
2904 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2905 (generic_rawmemchr): Add new function.
2907 2019-02-12 Florian Weimer <fweimer@redhat.com>
2909 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2911 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2914 * elf/Makefile (tests): Add tst-audit13.
2915 (modules-names): Add tst-audit13mod1.
2916 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2918 * elf/tst-audit13.c: New file.
2919 * elf/tst-audit13mod1.c: Likewise.
2921 2019-02-12 Florian Weimer <fweimer@redhat.com>
2924 * elf/rtld.c (unload_audit_module): New function.
2925 (report_audit_module_load_error): Likewise.
2926 (load_audit_module): Likewise. Extracted from dl_main. Call
2927 _dl_close if the laversion symbol cannot be found. Use early
2928 returns for error handling. Add malloc error check. Check for a
2929 zero return value from la_version. Remove spurious comment about
2930 static TLS initialization. Remove useless casts.
2931 (notify_audit_modules_of_loaded_object): New function. Extracted
2933 (load_audit_module): Likewise.
2934 (dl_main): Call load_audit_modules.
2936 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2938 * elf/dl-exception.c (_dl_exception_create_format): Add
2939 fall-through comments.
2940 * elf/ldconfig.c (parse_conf_include): Likewise.
2941 * elf/rtld.c (print_statistics): Likewise.
2942 * locale/programs/charmap.c (parse_charmap): Likewise.
2943 * misc/mntent_r.c (__getmntent_r): Likewise.
2944 * posix/wordexp.c (parse_arith): Likewise.
2945 (parse_backtick): Likewise.
2946 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2947 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2950 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2952 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2953 Use float instead of double.
2955 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2957 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2959 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2961 * sysdeps/powerpc/bits/mathinline.h: Remove.
2963 2019-02-08 Florian Weimer <fweimer@redhat.com>
2965 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2966 * math/bits/math-finite.h: Move to ...
2967 * bits/math-finite.h: ... here.
2969 2019-02-08 Florian Weimer <fweimer@redhat.com>
2971 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2972 * bits/unistd_ext.h: here.
2974 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2977 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2978 * nss/tst-nss-files-hosts-long.c: New file.
2979 * nss/tst-nss-files-hosts-long.root: New directory.
2980 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2981 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2983 2019-02-08 Florian Weimer <fweimer@redhat.com>
2985 * include/bits/unistd_ext.h: Remove file.
2986 * posix/bits/unistd_ext.h: Move to ...
2987 * sysdeps/generic/bits/unistd_ext.h: ... here.
2989 2019-02-08 Florian Weimer <fweimer@redhat.com>
2991 * include/bits/unistd_ext.h: New file.
2993 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2995 * time/tst-strftime2.c: Use array_length macros instead of magic
2998 2019-02-08 Florian Weimer <fweimer@redhat.com>
3001 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3003 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3004 locking if the new do_locking argument is true.
3005 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3006 __run_fork_handlers.
3008 2019-02-08 Florian Weimer <fweimer@redhat.com>
3011 Linux: Add gettid system call wrapper.
3012 * posix/Makefile (headers): Add bits/unistd_ext.h.
3013 * posix/bits/unistd_ext.h: New file.
3014 * posix/unistd.h: Include it.
3015 * manual/process.texi (Process Identification): Document gettid.
3016 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3017 tst-gettid, tst-gettid-kill.
3018 (tst-gettid): Link with $(shared-thread-library).
3019 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3020 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3021 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3022 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3023 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3024 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3026 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3028 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3029 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3031 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3033 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3035 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3037 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3039 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3041 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3043 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3044 (GLIBC_2.30): Likewise.
3045 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3046 (GLIBC_2.30): Likewise.
3047 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3048 (GLIBC_2.30): Likewise.
3049 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3050 (GLIBC_2.30): Likewise.
3051 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3054 (GLIBC_2.30): Likewise.
3055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3056 (GLIBC_2.30): Likewise.
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3058 (GLIBC_2.30): Likewise.
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3060 (GLIBC_2.30): Likewise.
3061 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3063 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3065 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3067 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3070 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3072 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3074 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3076 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3078 2019-02-08 Florian Weimer <fweimer@redhat.com>
3080 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3081 compatibility symbols.
3083 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3086 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3087 Add compiler barriers and comments.
3089 2019-02-07 Florian Weimer <fweimer@redhat.com>
3091 * include/array_length.h (array_length): Do not use a statement
3092 expression and _Static_assert, so that array_length can be used at
3093 file scope and as a constant expression.
3095 2019-02-07 Florian Weimer <fweimer@redhat.com>
3097 * support/xdlfcn.h (xdlmopen): Declare.
3098 * support/xdlmopen.c: New file.
3099 * support/Makefile (libsupport-routines): Add xdlmopen.
3101 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3103 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3104 before return type, without separate inline.
3105 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3106 * elf/dl-tunables.h (tunable_is_name): Likewise.
3107 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3108 (do_set_top_pad): Likewise.
3109 (do_set_mmap_threshold): Likewise.
3110 (do_set_mmaps_max): Likewise.
3111 (do_set_mallopt_check): Likewise.
3112 (do_set_perturb_byte): Likewise.
3113 (do_set_arena_test): Likewise.
3114 (do_set_arena_max): Likewise.
3115 (do_set_tcache_max): Likewise.
3116 (do_set_tcache_count): Likewise.
3117 (do_set_tcache_unsorted_limit): Likewise.
3118 * nis/nis_subr.c (count_dots): Likewise.
3119 * nptl/allocatestack.c (advise_stack_range): Likewise.
3120 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3122 (reduce_sincos): Likewise.
3123 (do_sincos): Likewise.
3124 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3125 (do_set_elision_enable): Likewise.
3126 (TUNABLE_CALLBACK_FNDECL): Likewise.
3128 2019-02-06 Florian Weimer <fweimer@redhat.com>
3130 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3131 (xdlsym): Use dlerror to detect a NULL symbol.
3133 2019-02-06 Florian Weimer <fweimer@redhat.com>
3135 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3137 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3139 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3141 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3143 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3145 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3146 __wmemcmp and weak alias to wmemcmp.
3148 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3151 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3152 TLS_TCB_AT_TP tls variant.
3153 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3154 Add alignment checks.
3155 * support/Makefile (libsupport-routines): Add xposix_memalign and
3157 * support/support.h: Add xposix_memalign.
3158 * support/xthread.h: Add xpthread_attr_setstack.
3159 * support/xposix_memalign.c: New File.
3160 * support/xpthread_attr_setstack.c: Likewise.
3162 2019-02-05 Florian Weimer <fweimer@redhat.com>
3165 arm: Use "nr" constraint for Systemtap probes, to avoid the
3166 compiler using memory operands for constants, due to the "o"
3167 alternative in the default "nor" constraint.
3168 * include/stap-probe.h [USE_STAP_PROBE]: Include
3169 <stap-probe-machine.h>
3170 * sysdeps/generic/stap-probe-machine.h: New file.
3171 * sysdeps/arm/stap-probe-machine.h: Likewise.
3173 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3175 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3176 with 0, not tcache->entries[tc_idx].
3178 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3181 2019-02-04 Andreas Schwab <schwab@suse.de>
3185 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3186 looking up collating elements match against (wide) character
3187 sequence instead of name. Correct alignment adjustment.
3188 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3189 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3190 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3191 (LOCALES): Add cs_CZ.ISO-8859-2.
3192 * posix/tst-fnmatch4.c: New file.
3193 * posix/tst-fnmatch5.c: New file.
3194 * include/wchar.h (__wmemcmp): Declare.
3195 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3196 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3197 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3198 * sysdeps/s390/wmemcmp.c: Likewise.
3200 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3204 * NEWS: Updated for CVE-2019-7309.
3205 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3206 upper 32 bits of RDX register for x32. Use unsigned Jcc
3207 instructions, instead of signed.
3208 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3209 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3211 2019-02-04 Florian Weimer <fweimer@redhat.com>
3213 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3214 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3215 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3217 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3218 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3219 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3220 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3222 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3224 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3226 (posix_spawn_file_actions_addopen): Likewise.
3227 (posix_spawn_file_actions_addclose): Likewise.
3228 (posix_spawn_file_actions_adddup2): Likewise.
3229 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3231 (posix_spawn_file_actions_addfchdir_np): Likewise.
3233 2019-02-04 David Newall <glibc@davidnewall.com>
3235 elf: Implement --preload option for the dynamic linker.
3236 * elf/rtld.c (preloadarg): New variable.
3237 (handle_preload_list): Pass through “where” argument to
3239 (dl_main): Handle "--preload" and add second call to
3240 handle_preload_list.
3241 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3242 (tst-rtld-preload-OBJS): Set variable.
3243 (tst-rtld-preload.out): New target.
3244 * elf/tst-rtld-preload.sh: New file.
3246 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3248 * Makefile (testrun.sh): Exit in case of incorrect argument.
3250 2019-02-04 Florian Weimer <fweimer@redhat.com>
3252 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3255 2019-02-03 Florian Weimer <fweimer@redhat.com>
3257 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3258 implicit overflow checks.
3260 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3262 * stdlib/isomac.c: Include <unistd.h>.
3264 2019-02-03 Florian Weimer <fweimer@redhat.com>
3266 * include/time.h (__tzfile_default): Use int, not long int, for
3268 * time/tzfile.c (struct ttinfo): Change type of the offset member
3270 (__tzfile_read): Remove useless cast.
3271 (__tzfile_default): Adjust prototype.
3272 * time/tzset.c (tz_rule): Change type of the offset member to int.
3273 (parse_offset): Change the type of the sign variable to int.
3275 2019-02-03 Florian Weimer <fweimer@redhat.com>
3278 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3279 * libio/getchar.c (getchar): Likewise.
3280 * libio/getchar_u.c (getchar_unlocked): Likewise.
3281 * libio/getwchar.c (getwchar): Likewise.
3282 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3283 * libio/iogets.c (_IO_gets): Likewise.
3284 * libio/vscanf.c (_IO_vscanf): Likewise.
3285 * libio/vwscanf.c (__vwscanf): Likewise.
3286 * libio/tst-bz24153.c: New file.
3287 * libio/Makefile (tests): Add it.
3289 2019-02-02 Florian Weimer <fweimer@redhat.com>
3292 * manual/resource.texi (Basic Scheduling Functions): Add
3293 portability note. Change process to task throughout the section.
3294 Remove incorrect comment about sched_yield as it affects
3295 tasks/threads, not entire processes.
3296 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3297 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3299 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3301 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3302 * configure: Regenerated.
3303 * manual/install.texi (Tools for Compilation): Update minimum GCC
3305 * INSTALL: Regenerated.
3307 2019-02-01 Florian Weimer <fweimer@redhat.com>
3309 * support/support_test_compare_string.c
3310 (support_test_compare_string): Use "string" in error message.
3311 * support/tst-test_compare_string.c (do_test): Adjust.
3313 2019-02-01 Florian Weimer <fweimer@redhat.com>
3315 * support/support_format_address_family.c
3316 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3318 2019-02-01 Florian Weimer <fweimer@redhat.com>
3320 * manual/socket.texi (Internet Address Formats): Clarify the byte
3321 order of struct sockaddr_in, struct sockaddr_in6. Document
3322 sin6_flowinfo and sin6_scope_id.
3324 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3326 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3327 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3328 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3329 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3330 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3331 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3333 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3335 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3336 [!MEMCHR](MEMCHR): Set to __memchr.
3337 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3338 Add memchr_generic and memchr_nosimd.
3339 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3340 (__libc_ifunc_impl_list): Add memchr ifuncs.
3341 * sysdeps/aarch64/multiarch/memchr.c: New file.
3342 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3343 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3345 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3347 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3349 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3350 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3351 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3352 Add IS_EMAG check for ifunc dispatch.
3353 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3354 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3356 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3358 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3359 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3361 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3364 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3366 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3368 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3370 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3371 syscall-template file.
3373 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3374 Torvald Riegel <triegel@redhat.com>
3375 Rik Prohaska <prohaska7@gmail.com>
3378 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3379 tst-rwlock-trywrlock-stall.
3380 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3381 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3382 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3383 Set __wrphase_fute to 1 only if we started the write phase.
3384 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3385 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3386 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3387 * support/xpthread_rwlock_destroy.c: New file.
3388 * support/xthread.h: Declare xpthread_rwlock_destroy.
3390 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3392 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3395 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3398 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3399 * libio/fileops.c (_IO_new_file_underflow): Likewise
3400 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3401 * libio/putchar.c (putchar): Likewise.
3402 * libio/putchar_u.c (putchar_unlocked): Likewise.
3403 * libio/putwchar.c (putchar): Likewise.
3404 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3405 * libio/tst-bz24051.c: New test.
3406 * libio/Makefile (tests): Add tst-bz24051
3408 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3411 regex: fix read overrun [BZ #24114]
3412 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3413 https://debbugs.gnu.org/34140
3414 * posix/regexec.c (proceed_next_node):
3415 Do not read past end of input buffer.
3417 2019-01-31 Florian Weimer <fweimer@redhat.com>
3420 * nss/nss_files/files-alias.c (get_next_alias): Handle
3421 continuation line without newline at the end.
3422 * nss/tst-nss-files-alias-truncated.c: New file.
3423 * nss/Makefile [$(build-shared)] (tests): Add
3424 tst-nss-files-alias-truncated.
3425 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3426 * support/namespace.h (struct support_chroot_configuration): Add
3428 (struct support_chroot): Add path_aliases member.
3429 * support/support_chroot.c (support_chroot_create): Handle
3431 (support_chroot_free): Free path_aliases.
3433 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3435 * version.h (RELEASE): Set to "development".
3436 (VERSION): Set to "2.29.9000".
3437 * NEWS: Add section for 2.30.
3439 * version.h (RELEASE): Set to "stable".
3440 (VERSION): Set to "2.29".
3441 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3443 * NEWS: Add the list of bugs fixed in 2.29.
3444 * manual/contrib.texi: Update contributors list with some more
3446 * manual/install.texi: Update latest versions of packages
3448 * INSTALL: Regenerated.
3450 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3452 * po/be.po: Update translations.
3453 * po/bg.po: Likewise.
3454 * po/ca.po: Likewise.
3455 * po/cs.po: Likewise.
3456 * po/da.po: Likewise.
3457 * po/de.po: Likewise.
3458 * po/el.po: Likewise.
3459 * po/eo.po: Likewise.
3460 * po/es.po: Likewise.
3461 * po/fi.po: Likewise.
3462 * po/fr.po: Likewise.
3463 * po/gl.po: Likewise.
3464 * po/hr.po: Likewise.
3465 * po/hu.po: Likewise.
3466 * po/ia.po: Likewise.
3467 * po/id.po: Likewise.
3468 * po/it.po: Likewise.
3469 * po/ja.po: Likewise.
3470 * po/ko.po: Likewise.
3471 * po/lt.po: Likewise.
3472 * po/nb.po: Likewise.
3473 * po/nl.po: Likewise.
3474 * po/pl.po: Likewise.
3475 * po/pt_BR.po: Likewise.
3476 * po/ru.po: Likewise.
3477 * po/rw.po: Likewise.
3478 * po/sk.po: Likewise.
3479 * po/sl.po: Likewise.
3480 * po/sv.po: Likewise.
3481 * po/tr.po: Likewise.
3482 * po/uk.po: Likewise.
3483 * po/vi.po: Likewise.
3484 * po/zh_CN.po: Likewise.
3485 * po/zh_TW.po: Likewise.
3487 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3490 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3491 of $f3 register on $y_is_neg path.
3493 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3496 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3497 sigaltstack.ss_flags.
3499 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3502 * manual/time.texi (strftime): Document "%Ey".
3503 * time/strftime_l.c (__strftime_internal): Set the default width
3504 padding with zero of "%Ey" to 2.
3507 * manual/time.texi (strftime): Document "%EC" and "%EY".
3508 * time/Makefile (tests): Add tst-strftime2.
3509 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3510 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3511 override padding for "%Ey".
3512 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3513 "%Ey" in the subformat as if decorated with that flag.
3514 * time/tst-strftime2.c: New file.
3516 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3518 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3522 * elf/Makefile (tests): Add tst-audit13.
3523 (modules-names): Add tst-audit13mod1.
3524 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3526 * elf/rtld.c (dl_main): Handle invalid audit module version.
3527 * elf/tst-audit13.c: New file.
3528 * elf/tst-audit13mod1.c: Likewise.
3530 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3532 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3533 returned by __hurd_at_flags.
3534 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3535 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3536 directly instead of __hurd_file_name_lookup.
3538 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3540 * scripts/build-many-glibcs.py (Context.checkout): Default
3541 binutils version to 2.32 branch.
3543 2019-01-21 Florian Weimer <fweimer@redhat.com>
3547 resolv: Reject trailing characters in host names
3548 * include/arpa/inet.h (__inet_aton_exact): Declare.
3549 (inet_aton): Remove hidden prototype. No longer used internally.
3550 * nscd/gai.c (__inet_aton): Do not define.
3551 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3552 * nss/digits_dots.c (__inet_aton): Likewise.
3553 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3554 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3555 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3556 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3557 (tst-resolv-trailing): Likewise.
3558 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3560 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3561 Make static. Add endp parameter.
3562 (__inet_aton_exact): New function.
3563 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3564 (__inet_addr): Call inet_aton_end.
3565 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3566 not just IPv6. Call __inet_aton_exact.
3567 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3568 (tests): Make const. Add additional test cases with trailing
3570 (do_test): Use array_length.
3571 * resolv/tst-inet_aton_exact.c: New file.
3572 * resolv/tst-resolv-trailing.c: Likewise.
3573 * resolv/tst-resolv-nondecimal.c: Likewise.
3574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3576 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3580 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3581 Clear the upper 32 bits of RSI register.
3582 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3583 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3584 and tst-size_t-wcsnlen.
3585 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3586 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3588 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3592 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3593 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3595 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3596 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3598 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3602 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3604 * sysdeps/x86_64/strcmp.S: Likewise.
3605 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3606 tst-size_t-strncmp and tst-size_t-wcsncmp.
3607 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3608 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3609 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3611 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3615 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3616 RDX_LP for length. Clear the upper 32 bits of RDX register.
3617 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3618 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3619 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3620 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3622 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3626 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3627 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3628 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3629 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3631 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3635 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3636 length. Clear the upper 32 bits of RDX register.
3637 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3638 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3640 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3642 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3644 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3646 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3650 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3651 length. Clear the upper 32 bits of RDX register.
3652 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3653 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3654 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3656 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3657 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3659 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3663 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3664 upper 32 bits of RDX register.
3665 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3666 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3668 * sysdeps/x86_64/x32/test-size_t.h: New file.
3669 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3670 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3672 2019-01-18 Florian Weimer <fweimer@redhat.com>
3675 resolv: Do not send queries for non-host-names in nss_dns.
3676 * resolv/nss_dns/dns-host.c (check_name): New function.
3677 (_nss_dns_gethostbyname2_r): Use it.
3678 (_nss_dns_gethostbyname_r): Likewise.
3679 (_nss_dns_gethostbyname4_r): Likewise.
3681 2019-01-21 Florian Weimer <fweimer@redhat.com>
3683 * resolv/inet_addr.c: Reformat to GNU style.
3684 (__inet_addr, __inet_aton): Update comment.
3686 2019-01-18 Florian Weimer <fweimer@redhat.com>
3688 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3689 ("malloc: Use current (C11-style) atomics for fastbin access").
3690 This commit introduces a substantial performance regression on
3692 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3693 (REMOVE_FB): Define.
3694 (_int_malloc): Use it and reindent.
3695 (_int_free): Use CAS loop with
3696 catomic_compare_and_exchange_val_rel.
3697 (malloc_consolidate): Use atomic_exchange_acq.
3700 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3702 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3704 (LDFLAGS-tst-minsigstksz-2): Likewise.
3705 (LDFLAGS-tst-minsigstksz-3): Likewise.
3706 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3707 (LDFLAGS-tst-minsigstksz-4): Likewise.
3709 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3711 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3714 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3716 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3718 2019-01-16 Zack Weinberg <zackw@panix.com>
3720 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3721 (xget_sigstack_location): New test support functions.
3722 * support/xsigstack.c: New file, implementing them.
3723 * support/tst-xsigstack.c: New test for them.
3724 * support/Makefile: Update.
3726 * signal/tst-minsigstksz-1.c
3727 * signal/tst-minsigstksz-2.c
3728 * signal/tst-minsigstksz-3.c
3729 * signal/tst-minsigstksz-3a.c
3730 * signal/tst-minsigstksz-4.c: New tests.
3731 * signal/Makefile: Run them.
3733 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3735 * po/libc.pot: Regenerate.
3737 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3739 * math/libm-test-fma.inc (fma_test_data): Set
3740 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3742 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3744 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3745 (do_test): Changed __vector __int128_t to __vector unsigned int.
3747 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3750 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3751 stpcpy-avx2 and stpncpy-avx2.
3752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3753 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3754 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3756 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3757 ifunc-strcpy.h}: rename header for a more generic name.
3758 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3759 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3760 AVX unaligned load is fast and vzeroupper is preferred.
3761 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3762 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3763 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3764 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3765 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3766 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3768 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3770 * argp/argp-help.c: Fix typo in comment.
3771 * misc/sys/cdefs.h: Likewise.
3772 * posix/regexec.c (sift_states_iter_mb): Likewise.
3773 * socket/sockatmark.c: Likewise.
3774 * socket/sys/socket.h: Likewise.
3775 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3776 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3777 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3778 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3779 * sysdeps/unix/sockatmark.c: Likewise.
3780 * time/strptime_l.c: Likewise.
3782 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3784 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3785 missing space after the cast of "_NL_CURRENT".
3787 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3789 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3790 ifdef to fix read of VSCR.
3791 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3792 tst-ucontext-ppc64-vscr.c to test list.
3793 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3795 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3797 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3800 2019-01-09 Jim Wilson <jimw@sifive.com>
3802 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3804 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3806 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3807 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3808 __memcpy_falkor for ares.
3809 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3811 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3814 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3817 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3818 4_FP_W_TYPEs are used for IEEE quad precision.
3819 * soft-fp/extendhftf2.c: Likewise.
3820 * soft-fp/extendsftf2.c: Likewise.
3821 * soft-fp/extendxftf2.c: Likewise.
3822 * soft-fp/trunctfdf2.c: Likewise.
3823 * soft-fp/trunctfhf2.c: Likewise.
3824 * soft-fp/trunctfsf2.c: Likewise.
3825 * soft-fp/trunctfxf2.c: Likewise.
3826 * sysdeps/alpha/ots_cvttx.c: Likewise.
3827 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3828 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3829 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3830 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3831 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3832 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3833 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3834 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3835 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3836 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3837 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3838 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3839 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3840 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3841 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3842 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3843 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3845 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3848 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3849 code with -fmath-errno.
3850 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3851 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3852 * string/test-strerror-errno.c: New file.
3854 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3857 * localedata/locales/en_US (date_fmt): Add, set to
3858 "%a %d %b %Y %r %Z".
3860 2019-01-07 Florian Weimer <fweimer@redhat.com>
3863 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3864 instead of @var{errno}.
3865 (Parsing of Integers): Likewise.
3866 (Parsing of Floats): Likewise.
3867 * manual/filesys.texi (Working with Directory Trees): Likewise.
3868 (Temporary Files): Likewise.
3869 * manual/job.texi (Terminal Access Functions): Likewise.
3870 * manual/llio.texi (Synchronizing I/O): Likewise.
3871 * manual/math.texi (SVID Random): Likewise.
3872 * manual/message.texi (The catgets Functions): Likewise.
3873 (Translation with gettext): Likewise.
3874 (Locating gettext catalog): Likewise.
3875 (Charset conversion in gettext): Likewise.
3876 * manual/nss.texi (NSS Module Function Internals): Likewise.
3877 * manual/search.texi (Hash Search Function): Likewise.
3878 * manual/setjmp.texi (System V contexts): Likewise.
3879 * manual/time.texi (Sleeping): Likewise.
3880 * manual/users.texi (Lookup User): Likewise.
3881 (Lookup Group): Likewise.
3883 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3885 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3888 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3891 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3892 __builtin_unreachable for default case in switch.
3893 (__ieee754_yn): Likewise.
3894 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3895 (__ieee754_ynl): Likewise.
3896 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3897 (__ieee754_ynl): Likewise.
3898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3899 (__ieee754_ynl): Likewise.
3901 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3903 * manual/maint.texi: Use @{ and @}.
3905 2019-01-04 Florian Weimer <fweimer@redhat.com>
3907 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3909 (do_in_chroot_1): Call it.
3911 Improve error reporting in case it is not possible to create a
3912 collision for the PTY name required by the test.
3914 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3916 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3917 lll_wait_tid with timeout.
3918 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3919 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3920 futex_reltimed_wait_cancelable for cancelabla mode.
3921 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3922 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3924 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3925 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3926 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3927 SYSCALL_CANCEL_NCS): New macro.
3928 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3929 (lll_timedwait_tid): Remove macro.
3930 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3932 (lll_timedwait_tid): Likewise.
3933 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3935 (lll_timedwait_tid): Likewise.
3936 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3938 (lll_timedwait_tid): Likewise.
3939 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3940 Use INTERNAL_SYSCALL_CANCEL.
3941 * sysdeps/unix/sysv/linux/futex-internal.h
3942 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3943 instead of __pthread_{enable,disable}_asynccancel.
3944 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3945 (lll_futex_wait_cancel): New macro.
3947 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3948 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3950 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3951 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3953 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3954 in backtrace analysis.
3955 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3957 (tf_send): Likewise.
3959 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3960 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3961 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3962 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3963 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3964 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3965 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3966 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3967 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3968 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3969 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3970 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3972 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3973 tst-cancel-wrappers.sh.
3974 (generated): Remove tst-cancel-wrappers.out.
3975 (tst-cancel-wrappers.out): Remove rule.
3976 * nptl/tst-cancel-wrappers.sh: Remove file.
3978 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3980 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3981 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3984 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3987 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3988 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3989 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3990 close-on-exec reset for adddup2 file action.
3991 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3993 2019-01-03 Zack Weinberg <zackw@panix.com>
3995 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3996 parameter. Only use deprecated scanf when __USE_GNU is defined
3997 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3998 than 201103L, whichever is relevant for the language being compiled.
4000 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4001 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4002 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4003 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4004 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4008 * libio/iovswscanf.c
4013 * stdio-common/fscanf.c
4014 * stdio-common/scanf.c
4015 * stdio-common/vfscanf.c
4016 * stdio-common/vfwscanf.c
4017 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4018 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4019 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4020 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4021 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4022 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4023 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4024 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4025 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4026 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4027 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4028 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4029 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4030 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4031 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4033 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4034 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4035 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4037 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4038 with a preprocessor macro.
4040 * stdio-common/bug21.c, stdio-common/scanf14.c:
4041 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4042 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4043 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4044 to xscanf, xfscanf, xsscanf.
4046 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4047 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4048 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4049 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4051 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4052 override feature selection macros or provide definitions of u_char etc.
4053 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4054 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4055 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4058 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4061 bits/termios-misc.h.
4062 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4063 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4064 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4065 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4066 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4067 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4069 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4070 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4071 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4072 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4073 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4074 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4076 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4077 (sysdep_headers): Add termios-misc.h.
4079 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4080 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4081 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4085 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4086 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4087 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4088 TCSAFLUSH): Move to termios-tcflow.h.
4089 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4090 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4091 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4096 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4097 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4098 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4099 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4100 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4101 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4102 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4103 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4105 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4106 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4107 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4108 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4112 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4113 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4114 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4115 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4116 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4118 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4119 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4121 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4126 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4127 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4128 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4129 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4130 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4131 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4132 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4133 __MAX_BAUD): Move to termios-baud.h.
4134 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4135 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4136 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4138 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4140 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4142 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4143 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4144 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4145 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4146 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4147 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4149 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4150 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4152 [USE_MISC] (XTABS): Likewise.
4153 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4154 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4155 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4158 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4160 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4161 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4162 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4163 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4164 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4165 IUTF8): Move to termios-c_iflag.h.
4166 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4167 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4169 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4171 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4173 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4174 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4175 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4176 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4177 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4178 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4179 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4180 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4181 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4182 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4184 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4186 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4187 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4188 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4192 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4194 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4196 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4198 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4202 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4203 _HAVE_C_OSPEED): Define.
4204 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4205 _HAVE_C_OSPEED): Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4207 _HAVE_C_OSPEED): Likewise.
4208 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4209 (cfsetospeed): Check for define value instead of existence.
4210 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4211 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4212 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4213 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4214 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4217 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4220 (TIOCSER_TEMT): Likewise.
4221 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4222 (TEOCSER_TEMT): Likewise.
4224 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4227 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4229 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4231 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4233 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4235 * sysdeps/htl/pt-barrierattr-setpshared.c
4236 (pthread_barrierattr_setpshared): Add stub warning.
4237 * sysdeps/htl/pt-condattr-setpshared.c
4238 (pthread_condattr_setpshared): Likewise.
4239 * sysdeps/htl/pt-mutexattr-setpshared.c
4240 (pthread_mutexattr_setpshared): Likewise.
4241 * sysdeps/htl/pt-rwlockattr-setpshared.c
4242 (pthread_rwlockattr_setpshared): Likewise.
4243 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4244 (pthread_mutexattr_setpshared): Likewise.
4246 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4248 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4249 constants to match with Linux 4.20.
4251 * sysdeps/mips/mips32/libm-test-ulps: Update.
4252 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4254 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4257 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4258 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4259 than __typeof (...) for the a_ptr variable.
4261 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4263 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4264 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4265 * libio/Makefile (tests): Add tst-sprintf-ub and
4267 (CFLAGS-tst-sprintf-ub.c): New variable.
4268 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4269 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4270 destination buffer and check for overflows in fortified mode.
4271 * libio/libioP.h (PRINTF_CHK): New macro.
4272 * libio/tst-sprintf-chk-ub.c: New file.
4273 * libio/tst-sprintf-ub.c: Likewise.
4275 2019-01-02 Florian Weimer <fweimer@redhat.com>
4278 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4281 2019-01-02 Florian Weimer <fweimer@redhat.com>
4283 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4285 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4287 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4290 * sysdeps/unix/sysv/linux/netpacket/packet.h
4291 (PACKET_IGNORE_OUTGOING): New macro.
4293 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4296 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4298 (riscv_flush_icache): New syscall.
4300 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4301 trailing whitespace removed.
4302 * scripts/config.guess: Update to version 2019-01-01.
4303 * scripts/config.sub: Update to version 2019-01-01.
4304 * scripts/move-if-change: Update from gnulib.
4306 * NEWS: Update copyright dates.
4307 * catgets/gencat.c (print_version): Likewise.
4308 * csu/version.c (banner): Likewise.
4309 * debug/catchsegv.sh: Likewise.
4310 * debug/pcprofiledump.c (print_version): Likewise.
4311 * debug/xtrace.sh (do_version): Likewise.
4312 * elf/ldconfig.c (print_version): Likewise.
4313 * elf/ldd.bash.in: Likewise.
4314 * elf/pldd.c (print_version): Likewise.
4315 * elf/sotruss.sh: Likewise.
4316 * elf/sprof.c (print_version): Likewise.
4317 * iconv/iconv_prog.c (print_version): Likewise.
4318 * iconv/iconvconfig.c (print_version): Likewise.
4319 * locale/programs/locale.c (print_version): Likewise.
4320 * locale/programs/localedef.c (print_version): Likewise.
4321 * login/programs/pt_chown.c (print_version): Likewise.
4322 * malloc/memusage.sh (do_version): Likewise.
4323 * malloc/memusagestat.c (print_version): Likewise.
4324 * malloc/mtrace.pl: Likewise.
4325 * manual/libc.texinfo: Likewise.
4326 * nptl/version.c (banner): Likewise.
4327 * nscd/nscd.c (print_version): Likewise.
4328 * nss/getent.c (print_version): Likewise.
4329 * nss/makedb.c (print_version): Likewise.
4330 * posix/getconf.c (main): Likewise.
4331 * scripts/test-installation.pl: Likewise.
4332 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4334 * All files with FSF copyright notices: Update copyright dates
4335 using scripts/update-copyrights.
4336 * locale/programs/charmap-kw.h: Regenerated.
4337 * locale/programs/locfile-kw.h: Likewise.
4339 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4341 * timezone/zdump.c: Update from tzcode 2018i.
4342 * timezone/zic.c: Likewise.
4344 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4346 regex: improve Gnulib port to AIX
4347 From the glibc point of view, this removes duplicate macro
4348 definitions and is obviously safe.
4349 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4350 * posix/regex_internal.h:
4351 (__attribute__, __attribute_warn_unused_result__):
4352 Remove; already defined elsewhere.
4354 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4357 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4358 copying operation. (ncopies had the wrong type, resulting in an
4359 integer wraparound and too few elements being copied.)
4361 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4364 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4365 <asm/syscalls.h> exists with __has_include__ before including it.
4367 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4369 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4372 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4374 * hurd/lookup-retry: Include <unistd.h>.
4375 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4376 Release it on return. Handle "pid" magical lookup retry.
4378 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4381 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4382 (t_fmt_ampm): Likewise.
4383 * localedata/locales/aa_ER (t_fmt): Likewise.
4384 (t_fmt_ampm): Likewise.
4385 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4386 (t_fmt_ampm): Likewise.
4387 * localedata/locales/aa_ET (t_fmt): Likewise.
4388 (t_fmt_ampm): Likewise.
4389 * localedata/locales/am_ET (t_fmt): Likewise.
4390 (t_fmt_ampm): Likewise.
4391 * localedata/locales/byn_ER (t_fmt): Likewise.
4392 (t_fmt_ampm): Likewise.
4393 * localedata/locales/om_ET (t_fmt): Likewise.
4394 (t_fmt_ampm): Likewise.
4395 * localedata/locales/sid_ET (t_fmt): Likewise.
4396 (t_fmt_ampm): Likewise.
4397 * localedata/locales/so_DJ (t_fmt): Likewise.
4398 (t_fmt_ampm): Likewise.
4399 * localedata/locales/so_ET (t_fmt): Likewise.
4400 (t_fmt_ampm): Likewise.
4401 * localedata/locales/so_SO (t_fmt): Likewise.
4402 (t_fmt_ampm): Likewise.
4403 * localedata/locales/ti_ER (t_fmt): Likewise.
4404 (t_fmt_ampm): Likewise.
4405 * localedata/locales/ti_ET (t_fmt): Likewise.
4406 (t_fmt_ampm): Likewise.
4407 * localedata/locales/tig_ER (t_fmt): Likewise.
4408 (t_fmt_ampm): Likewise.
4409 * localedata/locales/wal_ET (t_fmt): Likewise.
4410 (t_fmt_ampm): Likewise.
4412 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4413 * localedata/locales/ar_IN (t_fmt): Likewise.
4414 * localedata/locales/bhb_IN (t_fmt): Likewise.
4415 * localedata/locales/bho_IN (t_fmt): Likewise.
4416 * localedata/locales/bi_VU (t_fmt): Likewise.
4417 * localedata/locales/bn_BD (t_fmt): Likewise.
4418 * localedata/locales/bn_IN (t_fmt): Likewise.
4419 * localedata/locales/brx_IN (t_fmt): Likewise.
4420 * localedata/locales/doi_IN (t_fmt): Likewise.
4421 * localedata/locales/en_HK (t_fmt): Likewise.
4422 (t_fmt_ampm): Likewise.
4423 * localedata/locales/en_IN (t_fmt): Likewise.
4424 * localedata/locales/en_PH (t_fmt): Likewise.
4425 * localedata/locales/gu_IN (t_fmt): Likewise.
4426 * localedata/locales/hi_IN (t_fmt): Likewise.
4427 * localedata/locales/hif_FJ (t_fmt): Likewise.
4428 * localedata/locales/hne_IN (t_fmt): Likewise.
4429 * localedata/locales/kn_IN (t_fmt): Likewise.
4430 * localedata/locales/kok_IN (t_fmt): Likewise.
4431 * localedata/locales/ks_IN (t_fmt): Likewise.
4432 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4433 * localedata/locales/mag_IN (t_fmt): Likewise.
4434 * localedata/locales/mai_IN (t_fmt): Likewise.
4435 * localedata/locales/mjw_IN (t_fmt): Likewise.
4436 * localedata/locales/ml_IN (t_fmt): Likewise.
4437 * localedata/locales/mni_IN (t_fmt): Likewise.
4438 * localedata/locales/mr_IN (t_fmt): Likewise.
4439 * localedata/locales/ms_MY (t_fmt): Likewise.
4440 * localedata/locales/pa_IN (t_fmt): Likewise.
4441 * localedata/locales/raj_IN (t_fmt): Likewise.
4442 * localedata/locales/sa_IN (t_fmt): Likewise.
4443 * localedata/locales/sat_IN (t_fmt): Likewise.
4444 * localedata/locales/sd_IN (t_fmt): Likewise.
4445 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4446 * localedata/locales/tcy_IN (t_fmt): Likewise.
4447 * localedata/locales/the_NP (t_fmt): Likewise.
4448 * localedata/locales/to_TO (t_fmt): Likewise.
4449 * localedata/locales/ur_IN (t_fmt): Likewise.
4451 * localedata/locales/hif_FJ (d_t_fmt): Set to
4452 "%A %d %b %Y %I:%M:%S %p".
4453 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4455 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4456 * localedata/locales/ar_BH (t_fmt): Likewise.
4457 * localedata/locales/ar_DZ (t_fmt): Likewise.
4458 * localedata/locales/ar_EG (t_fmt): Likewise.
4459 * localedata/locales/ar_IQ (t_fmt): Likewise.
4460 * localedata/locales/ar_JO (t_fmt): Likewise.
4461 * localedata/locales/ar_KW (t_fmt): Likewise.
4462 * localedata/locales/ar_LB (t_fmt): Likewise.
4463 * localedata/locales/ar_LY (t_fmt): Likewise.
4464 * localedata/locales/ar_OM (t_fmt): Likewise.
4465 * localedata/locales/ar_QA (t_fmt): Likewise.
4466 * localedata/locales/ar_SD (t_fmt): Likewise.
4467 * localedata/locales/ar_SS (t_fmt): Likewise.
4468 * localedata/locales/ar_SY (t_fmt): Likewise.
4469 * localedata/locales/ar_TN (t_fmt): Likewise.
4470 * localedata/locales/ar_YE (t_fmt): Likewise.
4472 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4473 (t_fmt_ampm): Likewise.
4474 * localedata/locales/gez_ET (t_fmt): Likewise.
4475 (t_fmt_ampm): Likewise.
4477 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4478 (t_fmt_ampm): Likewise.
4479 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4481 * localedata/locales/zh_HK (t_fmt):
4482 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4484 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4485 because this locale does not use the 12-hour clock.
4486 (t_fmt): Set to "%Z %H:%M:%S".
4487 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4489 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4490 because this locale does not use the 12-hour clock.
4491 (t_fmt): Set to "%H:%M:%S %Z".
4492 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4494 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4495 because this locale does not use the 12-hour clock.
4496 (t_fmt): Set to "%T".
4497 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4498 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4500 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4501 because this locale does not use the 12-hour clock.
4502 (t_fmt): Set to "%H:%M:%S %Z".
4503 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4505 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4506 because this locale does not use the 12-hour clock.
4507 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4508 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4510 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4514 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4515 (t_fmt_ampm): Likewise.
4516 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4517 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4518 (d_fmt): Set to "%-d.%-m.%y".
4520 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4522 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4523 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4524 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4526 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4527 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4528 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4530 * support/blob_repeat.c (check_mul_overflow_size_t,
4531 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4533 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4535 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4537 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4539 regex: simplify Gnulib port
4540 This simplifies the code, by removing stuff intended for porting
4541 to Gnulib but no longer needed there.
4542 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4543 uses of libc_hidden_def, weak_alias.
4544 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4545 _Restrict_ except for public-facing headers.
4546 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4547 Remove; already defined elsewhere.
4548 * posix/regex.c, posix/regex_internal.h:
4549 Use __GNUC_PREREQ instead of rolling our own.
4550 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4552 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4554 * benchtests/bench-strlen.c (generic_strlen): New function.
4555 (memchr_strlen): New function.
4557 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4559 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4560 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4561 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4563 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4565 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4567 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4569 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4570 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4571 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4572 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4573 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4574 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4575 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4577 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4580 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4581 PLT reference in libc.so.
4582 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4583 _Q_lltoq and _Q_qtod PLT references in libc.so.
4585 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4587 * benchtests/bench-memchr.c: Cleanup defines.
4588 * benchtests/bench-memcmp.c: Likewise.
4589 * benchtests/bench-memset.c: Likewise.
4590 * benchtests/bench-memset-large.c: Likewise.
4591 * benchtests/bench-memset-walk.c: Likewise.
4592 * benchtests/bench-stpcpy.c: Likewise.
4593 * benchtests/bench-stpncpy.c: Likewise.
4594 * benchtests/bench-strcat.c: Likewise.
4595 * benchtests/bench-strchr.c: Likewise.
4596 * benchtests/bench-strcmp.c: Likewise.
4597 * benchtests/bench-strcpy.c: Likewise.
4598 * benchtests/bench-strcspn.c: Likewise.
4599 * benchtests/bench-string.h: Likewise.
4600 * benchtests/bench-strlen.c: Likewise.
4601 * benchtests/bench-strncat.c: Likewise.
4602 * benchtests/bench-strncmp.c: Likewise.
4603 * benchtests/bench-strncpy.c: Likewise.
4604 * benchtests/bench-strnlen.c: Likewise.
4605 * benchtests/bench-strpbrk.c: Likewise.
4606 * benchtests/bench-strrchr.c: Likewise.
4607 * benchtests/bench-strspn.c: Likewise.
4609 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4611 * stdlib/longlong.h: Update from GCC.
4614 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4615 * configure: Regenerated.
4616 * manual/install.texi (Tools for Compilation): Update minimum GCC
4618 * INSTALL: Regenerated.
4620 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4622 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4624 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4626 * malloc/malloc.c (mremap_chunk): Additional checks.
4628 2018-12-21 Mao Han <han_mao@c-sky.com>
4630 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4631 * scripts/build-many-glibcs.py: Add C-SKY targets.
4632 * sysdeps/csky/Implies: New file.
4633 * sysdeps/csky/Makefile: Likewise.
4634 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4635 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4636 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4637 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4638 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4639 * sysdeps/csky/abiv2/memmove.S: Likewise.
4640 * sysdeps/csky/abiv2/memset.S: Likewise.
4641 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4642 * sysdeps/csky/abiv2/start.S: Likewise.
4643 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4644 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4645 * sysdeps/csky/abiv2/strlen.S: Likewise.
4646 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4647 * sysdeps/csky/abort-instr.h: Likewise.
4648 * sysdeps/csky/atomic-machine.h: Likewise.
4649 * sysdeps/csky/bits/endian.h: Likewise.
4650 * sysdeps/csky/bits/fenv.h: Likewise.
4651 * sysdeps/csky/bits/link.h: Likewise.
4652 * sysdeps/csky/bits/setjmp.h: Likewise.
4653 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4654 * sysdeps/csky/bsd-setjmp.S: Likewise.
4655 * sysdeps/csky/configure: Likewise.
4656 * sysdeps/csky/configure.ac: Likewise.
4657 * sysdeps/csky/dl-machine.h: Likewise.
4658 * sysdeps/csky/dl-procinfo.c: Likewise.
4659 * sysdeps/csky/dl-procinfo.h: Likewise.
4660 * sysdeps/csky/dl-sysdep.h: Likewise.
4661 * sysdeps/csky/dl-tls.h: Likewise.
4662 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4663 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4664 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4665 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4666 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4667 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4668 * sysdeps/csky/fpu/fegetround.c: Likewise.
4669 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4670 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4671 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4672 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4673 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4674 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4675 * sysdeps/csky/fpu/fesetround.c: Likewise.
4676 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4677 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4678 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4679 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4680 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4681 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4682 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4683 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4684 * sysdeps/csky/fpu_control.h: Likewise.
4685 * sysdeps/csky/gccframe.h: Likewise.
4686 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4687 * sysdeps/csky/ldsodefs.h: Likewise.
4688 * sysdeps/csky/libc-tls.c: Likewise.
4689 * sysdeps/csky/linkmap.h: Likewise.
4690 * sysdeps/csky/machine-gmon.h: Likewise.
4691 * sysdeps/csky/memusage.h: Likewise.
4692 * sysdeps/csky/nofpu/Implies: Likewise.
4693 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4694 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4695 * sysdeps/csky/nptl/Makefile: Likewise.
4696 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4697 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4698 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4699 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4700 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4701 * sysdeps/csky/nptl/tls.h: Likewise.
4702 * sysdeps/csky/preconfigure: Likewise.
4703 * sysdeps/csky/sfp-machine.h: Likewise.
4704 * sysdeps/csky/sotruss-lib.c: Likewise.
4705 * sysdeps/csky/stackinfo.h: Likewise.
4706 * sysdeps/csky/sysdep.h: Likewise.
4707 * sysdeps/csky/tininess.h: Likewise.
4708 * sysdeps/csky/tst-audit.h: Likewise.
4709 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4710 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4711 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4712 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4713 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4714 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4715 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4716 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4717 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4718 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4719 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4720 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4721 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4722 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4723 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4724 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4725 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4726 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4727 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4728 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4729 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4730 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4731 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4732 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4733 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4734 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4735 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4736 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4737 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4738 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4739 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4740 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4741 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4742 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4743 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4744 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4745 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4746 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4747 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4748 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4749 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4750 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4751 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4752 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4754 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4756 * include/time.h (__difftime64): Add.
4757 * time/difftime.c (subtract): convert to 64-bit time.
4758 * time/difftime.c (__difftime64): Add.
4759 * time/difftime.c (__difftime): Wrap around __difftime64.
4761 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4763 * manual/examples/add.c: Remove redundant "if not".
4764 * manual/examples/argp-ex1.c: Likewise.
4765 * manual/examples/argp-ex2.c: Likewise.
4766 * manual/examples/argp-ex3.c: Likewise.
4767 * manual/examples/argp-ex4.c: Likewise.
4768 * manual/examples/atexit.c: Likewise.
4769 * manual/examples/db.c: Likewise.
4770 * manual/examples/dir.c: Likewise.
4771 * manual/examples/dir2.c: Likewise.
4772 * manual/examples/execinfo.c: Likewise.
4773 * manual/examples/filecli.c: Likewise.
4774 * manual/examples/filesrv.c: Likewise.
4775 * manual/examples/fmtmsgexpl.c: Likewise.
4776 * manual/examples/genpass.c: Likewise.
4777 * manual/examples/inetcli.c: Likewise.
4778 * manual/examples/inetsrv.c: Likewise.
4779 * manual/examples/isockad.c: Likewise.
4780 * manual/examples/longopt.c: Likewise.
4781 * manual/examples/memopen.c: Likewise.
4782 * manual/examples/memstrm.c: Likewise.
4783 * manual/examples/mkdirent.c: Likewise.
4784 * manual/examples/mkfsock.c: Likewise.
4785 * manual/examples/mkisock.c: Likewise.
4786 * manual/examples/mygetpass.c: Likewise.
4787 * manual/examples/pipe.c: Likewise.
4788 * manual/examples/popen.c: Likewise.
4789 * manual/examples/rprintf.c: Likewise.
4790 * manual/examples/search.c: Likewise.
4791 * manual/examples/select.c: Likewise.
4792 * manual/examples/setjmp.c: Likewise.
4793 * manual/examples/sigh1.c: Likewise.
4794 * manual/examples/sigusr.c: Likewise.
4795 * manual/examples/stpcpy.c: Likewise.
4796 * manual/examples/strdupa.c: Likewise.
4797 * manual/examples/strftim.c: Likewise.
4798 * manual/examples/subopt.c: Likewise.
4799 * manual/examples/swapcontext.c: Likewise.
4800 * manual/examples/termios.c: Likewise.
4801 * manual/examples/testopt.c: Likewise.
4802 * manual/examples/testpass.c: Likewise.
4803 * manual/examples/timeval_subtract.c: Likewise.
4805 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4807 * sysdeps/x86/fpu/math_private.h: New file.
4808 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4810 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4815 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4817 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4818 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4819 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4820 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4822 (_dl_show_auxv): Give a special treatment to
4823 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4824 and AT_L3_CACHEGEOMETRY.
4825 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4826 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4827 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4828 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4830 2018-12-19 Andreas Schwab <schwab@suse.de>
4832 * nscd/connections.c (check_use): Don't abort on invalid len.
4834 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4836 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4837 values in the 64bit value cases.
4839 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4845 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4851 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4854 (__gmtime64_r): Add.
4856 (__gmtime64_r): Add.
4857 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4863 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4866 (__localtime64_r): Add.
4868 (__localtime64_r): Add.
4869 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4871 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4873 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4874 kernel_sigction definition.
4876 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4878 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4880 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4881 __syscall_rt_sigaction.
4882 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4883 (kernel_sigaction): Use Linux generic defintion.
4885 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4886 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4887 (__syscall_rt_sigaction): Remove implementation.
4888 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4890 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4891 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4892 INTERNAL_SYSCALL): Remove definitions.
4893 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4894 action and signal set size.
4895 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4896 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4898 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4899 James Clarke <jrtc27@jrtc27.com>
4902 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4903 Define if SA_RESTORER is defined.
4904 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4905 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4907 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4908 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4910 (HAS_SA_RESTORER): Define.
4911 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4912 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4913 (HAS_SA_RESTORER): Define.
4914 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4915 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4916 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4917 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4918 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4920 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4922 * sysdeps/unix/sysv/linux/kernel-features.h
4923 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4924 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4925 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4926 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4927 (__ASSUME_ST_INO_64_BIT): Likewise.
4928 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4929 <kernel-features.h>.
4930 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4931 Remove conditional code.
4932 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4933 <kernel-features.h>.
4934 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4935 Remove conditional code.
4936 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4937 <kernel-features.h>.
4938 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4939 Remove conditional code.
4940 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4941 <kernel-features.h>.
4942 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4943 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4947 * sysdeps/s390/multiarch/ifunc-resolve.h
4948 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4949 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4950 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4951 Delete macro definition.
4952 (s390_libc_ifunc_init): Rename to
4953 s390_libc_ifunc_expr_stfle_init.
4954 * sysdeps/s390/bzero: Use
4955 s390_libc_ifunc_expr_stfle_init instead of
4956 s390_libc_ifunc_init.
4957 * sysdeps/s390/memcmp.c: Likewise.
4958 * sysdeps/s390/memcpy.c: Likewise.
4959 * sysdeps/s390/mempcpy.c: Likewise.
4960 * sysdeps/s390/memset.c: Likewise.
4962 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4964 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4965 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4967 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4969 * sysdeps/s390/multiarch/Makefile
4970 (sysdep_routines): Remove wmemcmp variants.
4971 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4972 * sysdeps/s390/multiarch/ifunc-impl-list.c
4973 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4974 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4975 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4976 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4977 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4978 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4979 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4980 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4982 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4984 * sysdeps/s390/multiarch/Makefile
4985 (sysdep_routines): Remove wmemset variants.
4986 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4987 * sysdeps/s390/multiarch/ifunc-impl-list.c
4988 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4989 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4990 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4991 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4992 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4993 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4994 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4995 * sysdeps/s390/ifunc-wmemset.h: New file.
4997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4999 * sysdeps/s390/multiarch/Makefile
5000 (sysdep_routines): Remove wmemchr variants.
5001 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5002 * sysdeps/s390/multiarch/ifunc-impl-list.c
5003 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5004 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5005 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5006 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5007 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5008 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5009 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5010 * sysdeps/s390/ifunc-wmemchr.h: New file.
5012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5014 * sysdeps/s390/multiarch/Makefile
5015 (sysdep_routines): Remove wcscspn variants.
5016 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5017 * sysdeps/s390/multiarch/ifunc-impl-list.c
5018 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5019 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5020 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5021 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5022 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5023 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5024 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5025 * sysdeps/s390/ifunc-wcscspn.h: New file.
5027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5029 * sysdeps/s390/multiarch/Makefile
5030 (sysdep_routines): Remove wcspbrk variants.
5031 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5032 * sysdeps/s390/multiarch/ifunc-impl-list.c
5033 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5034 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5035 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5036 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5037 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5038 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5039 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5040 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5044 * sysdeps/s390/multiarch/Makefile
5045 (sysdep_routines): Remove wcsspn variants.
5046 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5047 * sysdeps/s390/multiarch/ifunc-impl-list.c
5048 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5049 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5050 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5051 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5052 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5053 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5054 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5055 * sysdeps/s390/ifunc-wcsspn.h: New file.
5057 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5059 * sysdeps/s390/multiarch/Makefile
5060 (sysdep_routines): Remove wcsrchr variants.
5061 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5062 * sysdeps/s390/multiarch/ifunc-impl-list.c
5063 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5064 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5065 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5066 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5067 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5068 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5069 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5070 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5072 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5074 * sysdeps/s390/multiarch/Makefile
5075 (sysdep_routines): Remove wcschrnul variants.
5076 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5077 * sysdeps/s390/multiarch/ifunc-impl-list.c
5078 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5079 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5080 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5081 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5082 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5083 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5084 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5085 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5087 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5089 * sysdeps/s390/multiarch/Makefile
5090 (sysdep_routines): Remove wcschr variants.
5091 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5092 * sysdeps/s390/multiarch/ifunc-impl-list.c
5093 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5094 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5095 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5096 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5097 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5098 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5099 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5100 * sysdeps/s390/ifunc-wcschr.h: New file.
5102 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5104 * sysdeps/s390/multiarch/Makefile
5105 (sysdep_routines): Remove wcsncmp variants.
5106 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5107 * sysdeps/s390/multiarch/ifunc-impl-list.c
5108 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5109 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5110 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5111 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5112 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5113 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5114 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5115 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5119 * sysdeps/s390/multiarch/Makefile
5120 (sysdep_routines): Remove wcscmp variants.
5121 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5122 * sysdeps/s390/multiarch/ifunc-impl-list.c
5123 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5124 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5125 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5126 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5127 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5128 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5129 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5130 * sysdeps/s390/ifunc-wcscmp.h: New file.
5132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5134 * sysdeps/s390/multiarch/Makefile
5135 (sysdep_routines): Remove wcsncat variants.
5136 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5137 * sysdeps/s390/multiarch/ifunc-impl-list.c
5138 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5139 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5140 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5141 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5142 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5143 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5144 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5145 * sysdeps/s390/ifunc-wcsncat.h: New file.
5147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5149 * sysdeps/s390/multiarch/Makefile
5150 (sysdep_routines): Remove wcscat variants.
5151 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5152 * sysdeps/s390/multiarch/ifunc-impl-list.c
5153 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5154 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5155 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5156 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5157 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5158 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5159 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5160 * sysdeps/s390/ifunc-wcscat.h: New file.
5162 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5164 * sysdeps/s390/multiarch/Makefile
5165 (sysdep_routines): Remove wcpncpy variants.
5166 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5167 * sysdeps/s390/multiarch/ifunc-impl-list.c
5168 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5169 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5170 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5171 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5172 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5173 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5174 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5175 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5179 * sysdeps/s390/multiarch/Makefile
5180 (sysdep_routines): Remove wcsncpy variants.
5181 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5182 * sysdeps/s390/multiarch/ifunc-impl-list.c
5183 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5184 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5185 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5186 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5187 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5188 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5189 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5190 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5194 * sysdeps/s390/multiarch/Makefile
5195 (sysdep_routines): Remove wcpcpy variants.
5196 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5197 * sysdeps/s390/multiarch/ifunc-impl-list.c
5198 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5199 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5200 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5201 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5202 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5203 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5204 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5205 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5209 * sysdeps/s390/multiarch/Makefile
5210 (sysdep_routines): Remove wcscpy variants.
5211 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5212 * sysdeps/s390/multiarch/ifunc-impl-list.c
5213 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5214 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5215 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5216 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5217 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5218 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5219 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5220 * sysdeps/s390/ifunc-wcscpy.h: New file.
5222 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5224 * sysdeps/s390/multiarch/Makefile
5225 (sysdep_routines): Remove wcsnlen variants.
5226 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5227 * sysdeps/s390/multiarch/ifunc-impl-list.c
5228 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5229 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5230 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5231 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5232 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5233 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5234 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5235 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5239 * sysdeps/s390/multiarch/Makefile
5240 (sysdep_routines): Remove wcslen variants.
5241 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5242 * sysdeps/s390/multiarch/ifunc-impl-list.c
5243 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5244 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5245 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5246 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5247 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5248 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5249 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5250 * sysdeps/s390/ifunc-wcslen.h: New file.
5252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5254 * sysdeps/s390/multiarch/Makefile
5255 (sysdep_routines): Remove memrchr variants.
5256 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5257 * sysdeps/s390/multiarch/ifunc-impl-list.c
5258 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5259 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5260 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5261 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5262 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5263 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5264 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5265 * sysdeps/s390/ifunc-memrchr.h: New file.
5267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5269 * sysdeps/s390/multiarch/Makefile
5270 (sysdep_routines): Remove memccpy variants.
5271 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5272 * sysdeps/s390/multiarch/ifunc-impl-list.c
5273 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5274 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5275 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5276 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5277 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5278 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5279 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5280 * sysdeps/s390/ifunc-memccpy.h: New file.
5282 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5284 * sysdeps/s390/multiarch/Makefile
5285 (sysdep_routines): Remove rawmemchr variants.
5286 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5287 * sysdeps/s390/multiarch/ifunc-impl-list.c
5288 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5289 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5290 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5291 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5292 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5293 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5294 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5295 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5299 * sysdeps/s390/multiarch/Makefile
5300 (sysdep_routines): Remove memchr variants.
5301 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5302 * sysdeps/s390/multiarch/ifunc-impl-list.c
5303 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5304 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5305 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5306 * sysdeps/s390/multiarch/memchr.c: Move to ...
5307 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5308 * sysdeps/s390/ifunc-memchr.h: New file.
5309 * sysdeps/s390/s390-64/memchr.S: Move to ...
5310 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5311 for 31/64bit and ifunc handling.
5312 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5313 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5314 * sysdeps/s390/s390-32/memchr.S: Likewise.
5316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5318 * sysdeps/s390/multiarch/Makefile
5319 (sysdep_routines): Remove strcspn variants.
5320 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5321 * sysdeps/s390/multiarch/ifunc-impl-list.c
5322 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5323 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5324 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5325 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5326 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5327 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5328 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5329 * sysdeps/s390/ifunc-strcspn.h: New file.
5331 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5333 * sysdeps/s390/multiarch/Makefile
5334 (sysdep_routines): Remove strpbrk variants.
5335 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5336 * sysdeps/s390/multiarch/ifunc-impl-list.c
5337 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5338 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5339 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5340 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5341 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5342 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5343 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5344 * sysdeps/s390/ifunc-strpbrk.h: New file.
5346 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5348 * sysdeps/s390/multiarch/Makefile
5349 (sysdep_routines): Remove strspn variants.
5350 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5351 * sysdeps/s390/multiarch/ifunc-impl-list.c
5352 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5353 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5354 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5355 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5356 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5357 * sysdeps/s390/multiarch/strspn.c: Move to ...
5358 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5359 * sysdeps/s390/ifunc-strspn.h: New file.
5361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5363 * sysdeps/s390/multiarch/Makefile
5364 (sysdep_routines): Remove strrchr variants.
5365 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5366 * sysdeps/s390/multiarch/ifunc-impl-list.c
5367 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5368 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5369 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5370 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5371 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5372 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5373 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5374 * sysdeps/s390/ifunc-strrchr.h: New file.
5376 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5378 * sysdeps/s390/multiarch/Makefile
5379 (sysdep_routines): Remove strchrnul variants.
5380 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5381 * sysdeps/s390/multiarch/ifunc-impl-list.c
5382 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5383 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5384 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5385 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5386 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5387 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5388 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5389 * sysdeps/s390/ifunc-strchrnul.h: New file.
5391 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5393 * sysdeps/s390/multiarch/Makefile
5394 (sysdep_routines): Remove strchr variants.
5395 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5396 * sysdeps/s390/multiarch/ifunc-impl-list.c
5397 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5398 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5399 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5400 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5401 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5402 * sysdeps/s390/multiarch/strchr.c: Move to ...
5403 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5404 * sysdeps/s390/ifunc-strchr.h: New file.
5406 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5408 * sysdeps/s390/multiarch/Makefile
5409 (sysdep_routines): Remove strncmp variants.
5410 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5411 * sysdeps/s390/multiarch/ifunc-impl-list.c
5412 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5413 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5414 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5415 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5416 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5417 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5418 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5419 * sysdeps/s390/ifunc-strncmp.h: New file.
5421 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5423 * sysdeps/s390/multiarch/Makefile
5424 (sysdep_routines): Remove strcmp variants.
5425 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5426 * sysdeps/s390/multiarch/ifunc-impl-list.c
5427 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5428 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5429 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5430 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5431 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5432 * sysdeps/s390/ifunc-strcmp.h: New file.
5433 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5434 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5435 for 31/64bit and ifunc handling.
5436 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5437 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5438 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5442 * sysdeps/s390/multiarch/Makefile
5443 (sysdep_routines): Remove strncat variants.
5444 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5445 * sysdeps/s390/multiarch/ifunc-impl-list.c
5446 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5447 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5448 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5449 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5450 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5451 * sysdeps/s390/multiarch/strncat.c: Move to ...
5452 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5453 * sysdeps/s390/ifunc-strncat.h: New file.
5455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5457 * sysdeps/s390/multiarch/Makefile
5458 (sysdep_routines): Remove strcat variants.
5459 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5460 * sysdeps/s390/multiarch/ifunc-impl-list.c
5461 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5462 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5463 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5464 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5465 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5466 * sysdeps/s390/multiarch/strcat.c: Move to ...
5467 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5468 * sysdeps/s390/ifunc-strcat.h: New file.
5470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5472 * sysdeps/s390/multiarch/Makefile
5473 (sysdep_routines): Remove stpncpy variants.
5474 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5475 * sysdeps/s390/multiarch/ifunc-impl-list.c
5476 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5477 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5478 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5479 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5480 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5481 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5482 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5483 * sysdeps/s390/ifunc-stpncpy.h: New file.
5485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5487 * sysdeps/s390/multiarch/Makefile
5488 (sysdep_routines): Remove strncpy variants.
5489 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5490 * sysdeps/s390/multiarch/ifunc-impl-list.c
5491 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5492 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5493 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5494 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5495 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5496 * sysdeps/s390/ifunc-strncpy.h: New file.
5497 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5498 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5499 and adjust ifunc handling.
5500 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5501 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5502 and adjust ifunc handling.
5503 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5504 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5508 * sysdeps/s390/multiarch/Makefile
5509 (sysdep_routines): Remove stpcpy variants.
5510 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5511 * sysdeps/s390/multiarch/ifunc-impl-list.c
5512 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5513 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5514 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5515 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5516 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5517 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5518 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5519 * sysdeps/s390/ifunc-stpcpy.h: New file.
5521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5523 * sysdeps/s390/multiarch/Makefile
5524 (sysdep_routines): Remove strcpy variants.
5525 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5526 * sysdeps/s390/multiarch/ifunc-impl-list.c
5527 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5528 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5529 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5530 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5531 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5532 * sysdeps/s390/ifunc-strcpy.h: New file.
5533 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5534 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5535 for 31/64bit and ifunc handling.
5536 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5537 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5538 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5542 * sysdeps/s390/multiarch/Makefile
5543 (sysdep_routines): Remove strnlen variants.
5544 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5545 * sysdeps/s390/multiarch/ifunc-impl-list.c
5546 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5547 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5548 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5549 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5550 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5551 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5552 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5553 * sysdeps/s390/ifunc-strnlen.h: New file.
5555 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5557 * sysdeps/s390/multiarch/Makefile
5558 (sysdep_routines): Remove strlen variants.
5559 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5560 * sysdeps/s390/multiarch/ifunc-impl-list.c
5561 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5562 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5563 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5564 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5565 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5566 * sysdeps/s390/multiarch/strlen.c: Move to ...
5567 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5568 * sysdeps/s390/ifunc-strlen.h: New file.
5570 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5572 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5573 * sysdeps/s390/multiarch/ifunc-impl-list.c
5574 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5575 * sysdeps/s390/ifunc-memmem.h: New file.
5576 * sysdeps/s390/memmem.c: Likewise.
5577 * sysdeps/s390/memmem-c.c: Likewise.
5578 * sysdeps/s390/memmem-vx.c: Likewise.
5580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5582 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5583 * sysdeps/s390/multiarch/ifunc-impl-list.c
5584 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5585 * sysdeps/s390/ifunc-strstr.h: New file.
5586 * sysdeps/s390/strstr.c: Likewise.
5587 * sysdeps/s390/strstr-c.c: Likewise.
5588 * sysdeps/s390/strstr-vx.c: Likewise.
5590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5592 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5593 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5594 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5595 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5597 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5598 * sysdeps/s390/memmove-c.c: New file.
5599 * sysdeps/s390/memmove.c: Likewise.
5600 * sysdeps/s390/multiarch/ifunc-impl-list.c
5601 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5603 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5605 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5606 * sysdeps/s390/configure.ac: Add check for z13 support.
5607 * sysdeps/s390/configure: Regenerated.
5609 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5611 * sysdeps/s390/memcopy.h: New file.
5613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5615 * sysdeps/s390/s390-32/bcopy.S: Remove.
5616 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5620 * sysdeps/s390/ifunc-memcpy.h: New File.
5621 * sysdeps/s390/memcpy.S: Move to ...
5622 * sysdeps/s390/memcpy-z900.S ... here.
5623 Move implementations from memcpy-s390x.s to here.
5624 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5625 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5626 Remove memcpy/mempcpy variants.
5627 * sysdeps/s390/Makefile (sysdep_routines):
5628 Add memcpy/mempcpy variants.
5629 * sysdeps/s390/multiarch/ifunc-impl-list.c
5630 (__libc_ifunc_impl_list): Adjust ifunc variants for
5632 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5634 * sysdeps/s390/memcpy.c: ... here.
5635 Adjust ifunc variants for memcpy.
5636 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5637 * sysdeps/s390/mempcpy.c: ... here.
5638 Adjust ifunc variants for mempcpy.
5639 * sysdeps/s390/mempcpy.S: Delete file.
5641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5643 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5644 * sysdeps/s390/memcpy.S: ... here.
5645 Adjust to be usable for 31/64bit.
5646 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5647 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5648 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5649 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5650 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5651 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5652 Adjust to be usable for 31/64bit.
5653 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5654 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5655 * sysdeps/s390/multiarch/memcpy.c: ... here.
5656 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5658 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5660 * sysdeps/s390/ifunc-memcmp.h: New File.
5661 * sysdeps/s390/memcmp.S: Move to ...
5662 * sysdeps/s390/memcmp-z900.S ... here.
5663 Move implementations from memcmp-s390x.s to here.
5664 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5665 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5666 Remove memcmp variants.
5667 * sysdeps/s390/Makefile (sysdep_routines):
5668 Add memcmp variants.
5669 * sysdeps/s390/multiarch/ifunc-impl-list.c
5670 (__libc_ifunc_impl_list): Adjust ifunc variants for
5672 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5674 * sysdeps/s390/memcmp.c: ... here.
5675 Adjust ifunc variants for memcmp.
5677 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5679 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5680 * sysdeps/s390/memcmp.S: ... here.
5681 Adjust to be usable for 31/64bit.
5682 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5683 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5684 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5686 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5687 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5688 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5689 Adjust to be usable for 31/64bit.
5690 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5691 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5692 * sysdeps/s390/multiarch/memcmp.c: ... here.
5693 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5695 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5697 * sysdeps/s390/s390-32/bzero.S: Delete file.
5698 * sysdeps/s390/s390-64/bzero.S: Likewise.
5699 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5700 * sysdeps/s390/bzero.c: New file.
5701 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5702 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5703 * sysdeps/s390/multiarch/ifunc-impl-list.c
5704 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5706 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5708 * sysdeps/s390/ifunc-memset.h: New File.
5709 * sysdeps/s390/memset.S: Move to ...
5710 * sysdeps/s390/memset-z900.S ... here.
5711 Move implementations from memset-s390x.s to here.
5712 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5713 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5714 Remove memset variants.
5715 * sysdeps/s390/Makefile (sysdep_routines):
5716 Add memset variants.
5717 * sysdeps/s390/multiarch/ifunc-impl-list.c
5718 (__libc_ifunc_impl_list): Adjust ifunc variants for
5720 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5722 * sysdeps/s390/memset.c: ... here.
5723 Adjust ifunc variants for memset.
5725 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5727 * sysdeps/s390/s390-64/memset.S: Move to ...
5728 * sysdeps/s390/memset.S: ... here.
5729 Adjust to be usable for 31/64bit.
5730 * sysdeps/s390/s390-32/memset.S: Delete File.
5731 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5732 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5734 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5735 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5736 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5737 Adjust to be usable for 31/64bit.
5738 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5739 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5740 * sysdeps/s390/multiarch/memset.c: ... here.
5741 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5745 * sysdeps/s390/multiarch/ifunc-resolve.h
5746 (s390_libc_ifunc_init, s390_libc_ifunc,
5747 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5751 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5752 * sysdeps/s390/configure.ac: Add check for z10 support.
5753 * sysdeps/s390/configure: Regenerated.
5755 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5757 * sysdeps/i386/atomic-machine.h: Merged with ...
5758 * sysdeps/x86_64/atomic-machine.h: To ...
5759 * sysdeps/x86/atomic-machine.h: This. New file.
5761 2018-12-18 Florian Weimer <fweimer@redhat.com>
5763 Rewrite locale/gen-translit.pl in Python.
5764 * locale/Makefile (generated): Add C-translit.h.
5765 (before-compile): Add $(objpfx)C-translit.h.
5766 (C-translit.h): Move to $(objpfx). Create target directory.
5767 Build using Python script.
5768 * locale/gen-translit.py: New file.
5769 * locale/gen-translit.pl: Remove file.
5770 * locale/C-translit.h.in: Change comment character to '#' for
5771 easier parsing without a C preprocessor.
5772 * locale/C-translit.h: Remove generated file.
5773 * manual/install.texi (Tools for Compilation): Do not mention
5775 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5776 Remove locale/C-translit.h.
5777 * scripts/update-copyrights: Likewise.
5778 * INSTALL: Regenerate.
5780 2018-12-18 Florian Weimer <fweimer@redhat.com>
5783 * localedata/locales/bi_VU: Remove executable bit from file.
5785 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5788 (__localtime64): Add.
5789 * manual/maint.texi: Document Y2038 symbol handling.
5791 (__localtime64): Add.
5792 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5794 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5796 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5799 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5800 to allow extra macros from first or second sources.
5801 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5802 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5803 (tests-special): Add $(objpfx)tst-mman-consts.out.
5804 ($(objpfx)tst-mman-consts.out): New makefile target.
5806 2018-12-17 Mao Han <han_mao@c-sky.com>
5808 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5809 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5810 without stat64 system call support.
5811 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5812 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5813 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5814 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5815 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5816 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5817 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5818 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5819 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5820 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5821 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5823 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5825 regex: fix storage-exhaustion error
5827 * posix/regexec.c (get_subexp):
5828 Do not continue if storage is exhausted.
5830 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5832 regex: fix heap-use-after-free error
5834 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5835 https://debbugs.gnu.org/32592
5836 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5837 call extend_buffers which reallocates the re_string_t internal buffer.
5838 Local variable 'buf' was not updated in such case, resulting in
5840 * posix/regexec.c (get_subexp): Update 'buf' after call to
5843 2018-12-15 Florian Weimer <fweimer@redhat.com>
5845 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5846 (minimum_stride_size): Use it.
5847 (support_blob_repeat_allocate): Likewise.
5849 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5851 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5856 2018-12-14 Florian Weimer <fweimer@redhat.com>
5858 * manual/process.texi (Process Creation Concepts): Remove
5859 documentation of process (ID) lifetime. List more process
5860 creation functions. Reference Process Identification section.
5861 (Process Identification): Add information about process ID
5862 lifetime. Describe Linux thread/task IDs.
5863 * manual/signal.texi (Signaling Another Process): Mention that the
5864 signal is always sent to the process.
5866 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5868 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5869 and tst-ldbl-efgcvt.
5870 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5871 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5872 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5873 (fcvt_tests, output_error, output_r_error, do_test): Use the
5874 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5875 select the type of floating-point variables and arguments; to
5876 produce extra tests for double and conversion specifiers for
5877 printf; and to set the names of called functions.
5878 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5879 in tst-efgcvt-template.c.
5880 * misc/tst-ldbl-efgcvt.c: Likewise.
5882 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5884 * nss/Makefile (tst-nss-test3.out): New rule.
5886 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5888 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5891 2018-12-13 fanjinke <fanjinke@hygon.cn>
5893 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5896 2018-12-13 Andreas Schwab <schwab@suse.de>
5899 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5900 (__pthread_rwlock_rdlock_full): Update expected value for
5901 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5902 * nptl/tst-rwlock-pwn.c: New file.
5903 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5905 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5907 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5910 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5912 * benchtests/scripts/compare_bench.py (do_compare): write to
5913 stderr in casestat is not present.
5914 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5915 stderr in case timings field is not present. Also string showing
5916 the output filename goes into the stderr.
5918 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5920 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5921 and ZeroDivisorError exceptions.
5922 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5923 argument to loop through user provided statistics.
5924 * benchtests/scripts/compare_bench.py (main): Include the --stats
5927 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5929 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5932 2018-12-12 Florian Weimer <fweimer@redhat.com>
5934 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5935 clause to copyright header.
5937 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5940 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5941 registers saved in the stack frame.
5942 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5943 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5945 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5947 * include/bits/monetary-ldbl.h: New file.
5948 * include/bits/printf-ldbl.h: Likewise.
5949 * include/bits/stdio-ldbl.h: Likewise.
5950 * include/bits/stdlib-ldbl.h: Likewise.
5951 * include/bits/syslog-ldbl.h: Likewise.
5952 * include/bits/wchar-ldbl.h: Likewise.
5954 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5956 * libio/libio.h: Remove redirection for _IO_vfprintf.
5958 2018-12-11 Andreas Schwab <schwab@suse.de>
5960 * Makerules: Remove all references to abilist-pattern.
5961 (update-all-abi): Simplify find expression.
5963 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5966 * math/auto-libm-test-in: Add new test case.
5967 * math/auto-libm-test-out-pow: Regenerated.
5968 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5970 2018-12-10 DJ Delorie <dj@redhat.com>
5973 * support/test-container.c: Move postclean step to before we
5976 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5978 * scripts/gen-as-const.py (main): Handle --python option.
5979 * scripts/gen-py-const.awk: Remove.
5980 * Makerules (py-const-script): Use gen-as-const.py.
5981 ($(py-const)): Likewise.
5982 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5983 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5984 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5985 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5986 ~PTHREAD_MUTEX_NO_ELISION_NP.
5987 * manual/README.pretty-printers: Update reference to
5990 * scripts/glibcextract.py: New file.
5991 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5992 or tempfile. Import glibcexctract.
5993 (compute_c_consts): Remove. Moved to glibcextract.py.
5994 (gen_test): Update reference to compute_c_consts.
5996 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5997 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5998 * sysdeps/unix/sysv/linux/Makefile
5999 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6000 Redirect stderr as well as stdout.
6002 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6005 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6006 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6007 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6008 ALWAYS_USE_VSYSCALL.
6009 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6010 ALWAYS_USE_VSYSCALL.
6011 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6012 ALWAYS_USE_VSYSCALL.
6014 2018-12-10 Florian Weimer <fweimer@redhat.com>
6017 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6018 offset instead of count for clarity. Fix typo in comment.
6019 (__old_getdents64): Keep track of previous offset. Use it to call
6021 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6022 that d_off is never zero.
6024 2018-12-10 Andreas Schwab <schwab@suse.de>
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6027 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6029 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6030 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6032 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6034 * timezone/private.h: Update from tzcode 2018g.
6035 * timezone/tzfile.h: Likewise.
6036 * timezone/tzselect.ksh: Likewise.
6037 * timezone/zdump.c: Likewise.
6038 * timezone/zic.c: Likewise.
6040 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6043 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6044 (do_test): Adjust buffer size and fix format.
6046 2018-12-07 DJ Delorie <dj@redhat.com>
6049 * malloc/tst-tcfree3.c: New.
6050 * malloc/Makefile: Add it.
6052 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6054 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6056 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6058 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6059 used as a mask for the mode argument of __vfscanf_internal and
6060 __vfwscanf_internal.
6061 * stdio-common/vfscanf-internal.c
6062 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6063 (__strtof128_internal): Define to __wcstof128_internal.
6064 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6065 __strtof128_internal or __wcstof128_internal when the format of
6066 long double is the same as _Float128.
6068 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6070 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6071 * posix/confstr.c (confstr): Rename to __confstr.
6072 (__confstr): Add hidden def.
6073 (confstr): Add weak alias for __confstr.
6074 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6077 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6079 * NEWS: Mention getcpu.
6080 * include/sched.h (__getcpu): New libc_hidden_proto.
6081 * manual/resource.texi: Document getcpu.
6082 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6084 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6085 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6086 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6087 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6088 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6089 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6090 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6091 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6092 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6093 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6094 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6096 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6097 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6098 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6107 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6108 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6109 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6110 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6111 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6112 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6113 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6114 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6115 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6116 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6117 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6120 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6122 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6124 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6126 2018-12-07 Florian Weimer <fweimer@redhat.com>
6129 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6130 * posix/Versions (GLIBC_2.29): Export
6131 posix_spawn_file_actions_addfchdir_np.
6132 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6133 * posix/spawn_faction_destroy.c
6134 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6135 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6136 and the field action.fchdir_action.
6137 * posix/tst-spawn-chdir.c (add_chdir): New function.
6138 (do_test): Add do_fchdir loop. Call add_chdir.
6139 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6140 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6141 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6142 posix_spawn_file_actions_addfchdir_np.
6143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6145 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6147 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6148 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6150 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6152 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6154 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6156 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6158 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6160 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6161 (GLIBC_2.29): Likewise.
6162 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6163 (GLIBC_2.29): Likewise.
6164 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6165 (GLIBC_2.29): Likewise.
6166 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6167 (GLIBC_2.29): Likewise.
6168 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6171 (GLIBC_2.29): Likewise.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6173 (GLIBC_2.29): Likewise.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6175 (GLIBC_2.29): Likewise.
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6177 (GLIBC_2.29): Likewise.
6178 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6180 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6182 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6184 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6185 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6189 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6191 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6194 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6196 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6197 trailing whitespace removed.
6198 * scripts/config.guess: Update to version 2018-11-28.
6199 * scripts/config.sub: Update to version 2018-11-28.
6200 * scripts/install-sh: Update to version 2018-03-11.20.
6201 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6202 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6204 2018-12-07 Florian Weimer <fweimer@redhat.com>
6208 * inet/tst-if_index-long.c: New file.
6209 * inet/Makefile (tests): Add tst-if_index-long.
6211 2018-12-07 Florian Weimer <fweimer@redhat.com>
6213 * support/check.h (support_record_failure_is_failed): Declare.
6214 * support/descriptors.h: New file.
6215 * support/support_descriptors.c: Likewise.
6216 * support/tst-support_descriptors.c: Likewise.
6217 * support/support_record_failure.c
6218 (support_record_failure_is_failed): New function.
6219 * support/Makefile (libsupport-routines): Add support_descriptors.
6220 (tests): Add tst-support_descriptors.
6222 2018-12-05 Zack Weinberg <zackw@panix.com>
6223 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6225 * stdio-common/vfprintf-internal.c
6226 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6227 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6229 and __no_long_double.
6230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6231 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6232 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6233 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6234 and __nldbl_*syslog* functions.
6235 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6236 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6237 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6238 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6239 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6240 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6241 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6242 (__nldbl_vwprintf, __nldbl_wprintf):
6243 Directly call the appropriate __v*printf_internal routine, passing
6244 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6246 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6247 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6248 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6249 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6250 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6251 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6252 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6253 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6254 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6255 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6256 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6257 (__nldbl_syslog, __nldbl_vsyslog):
6258 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6259 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6261 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6264 2018-12-05 Zack Weinberg <zackw@panix.com>
6265 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6268 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6269 Moved here from debug/vsprintf_chk.c.
6270 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6271 and completion logic for the strfile to match exactly what
6272 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6273 _IO_str_init_static_internal instead of maxlen-1.
6274 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6275 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6276 __vsprintf_internal.
6278 * debug/vsprintf_chk.c (__vsprintf_chk)
6279 * debug/sprintf_chk.c (__sprintf_chk):
6280 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6281 'flags' argument is positive, and slen as maxlen. No need to lock
6282 the FILE and/or construct a temporary FILE. Minimize and normalize
6283 header inclusions and variable names. Do not libc_hidden_def anything.
6285 * debug/asprintf_chk.c (__asprintf_chk)
6286 * debug/dprintf_chk.c (__dprintf_chk)
6287 * debug/fprintf_chk.c (__fprintf_chk)
6288 * debug/fwprintf_chk.c (__fwprintf_chk)
6289 * debug/printf_chk.c (__printf_chk)
6290 * debug/snprintf_chk.c (__snprintf_chk)
6291 * debug/swprintf_chk.c (__swprintf_chk)
6292 * debug/vasprintf_chk.c (__vasprintf_chk)
6293 * debug/vdprintf_chk.c (__vdprintf_chk)
6294 * debug/vfprintf_chk.c (__vfprintf_chk)
6295 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6296 * debug/vprintf_chk.c (__vprintf_chk)
6297 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6298 * debug/vswprintf_chk.c (__vswprintf_chk)
6299 * debug/vwprintf_chk.c (__vwprintf_chk)
6300 * debug/wprintf_chk.c (__wprintf_chk):
6301 Directly call the corresponding vxxprintf_internal function, passing
6302 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6303 the FILE and/or construct a temporary FILE. Minimize and normalize
6304 header inclusions and variable names. Do not libc_hidden_def anything.
6306 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6307 __obstack_vprintf_internal.
6308 (__obstack_vprintf_chk): Convert into a wrapper that calls
6309 __obstack_vprintf_internal (these two functions already had the
6310 same code) and move to new file...
6311 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6313 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6314 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6315 * debug/Makefile (routines): Add vobprintf_chk.
6317 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6318 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6319 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6320 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6321 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6322 (__nldbl___obstack_vfprintf_chk):
6323 Directly call the corresponding vxxprintf_internal function,
6324 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6325 duplicate comparison of slen with 0 or maxlen from the corresponding
6326 non-__nldbl function.
6328 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6329 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6330 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6331 Remove libc_hidden_proto.
6333 * stdio-common/vfprintf-internal.c
6334 (__vfprintf_internal, __vfwprintf_internal):
6335 Do not check _IO_FLAGS2_FORTIFY.
6336 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6337 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6338 a comment explaining why it has the maxlen argument.
6339 (_IO_acquire_lock_clear_flags2_fct): Remove.
6340 (_IO_acquire_lock_clear_flags2): Remove.
6341 (_IO_release_lock): Remove conditional statement which will
6343 (_IO_acquire_lock): Remove variable which is now unused.
6344 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6345 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6347 * stdio-common/Makefile (tests): Add tst-bz11319 and
6348 tst-bz11319-fortify2.
6349 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6350 * stdio-common/tst-bz11319-fortify2.c: New file.
6351 * stdio-common/tst-bz11319.c: Likewise.
6353 2018-12-05 Zack Weinberg <zackw@panix.com>
6354 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6356 * misc/syslog.c: Include libioP.h, not iolibio.h.
6357 (__vsyslog_internal): New function with the former body of
6358 __vsyslog_chk; takes mode_flags argument same as
6359 __v*printf_internal. Call __vfprintf_internal directly.
6361 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6362 Remove libc_hidden_def.
6363 (__syslog, __syslog_chk): Use __vsyslog_internal.
6364 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6366 * include/sys/syslog.h: Add multiple inclusion guard.
6367 Add prototype for __vsyslog_internal.
6368 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6370 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6371 Use __vsyslog_internal.
6373 2018-12-05 Zack Weinberg <zackw@panix.com>
6374 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6376 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6377 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6378 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6380 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6381 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6383 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6384 Include wctype.h here if COMPILE_WPRINTF is defined.
6385 Define __vfprintf_internal or __vfwprintf_internal, depending
6387 Temporarily, on entry to this function, update mode_flags
6388 according to the environmental settings corresponding to
6389 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6390 Throughout, check mode_flags instead of __ldbl_is_dbl and
6391 _IO_FLAGS2_FORTIFY on the destination FILE.
6392 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6393 Include vfprintf-internal.c. Don't include wctype.h.
6394 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6395 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6397 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6398 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6400 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6402 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6403 and add mode_flags argument; use __vfprintf_internal.
6404 (__vdprintf): New function. Alias vdprintf to this.
6405 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6406 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6407 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6408 (__obstack_printf): Use __obstack_printf_internal.
6409 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6410 public aliases __vsnprintf and vsnprintf.
6411 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6413 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6414 public aliases _IO_vsprintf and vsprintf.
6415 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6416 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6417 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6418 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6419 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6421 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6422 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6423 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6424 * stdio-common/printf.c: Use __vfprintf_internal.
6426 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6427 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6428 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6430 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6431 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6432 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6433 __vfwprintf_internal.
6435 * libio/libio.h: Remove libc_hidden_proto and declaration for
6437 Remove declaration of _IO_vfwprintf.
6438 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6440 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6442 * include/stdio.h: Add prototype for __vasprintf.
6443 (__vsnprintf): Remove declaration, because there are no more
6445 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6446 declaration, because there are no more internal calls.
6448 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6449 __vsnprintf_internal, instead of _IO_vsnprintf.
6450 * argp/argp-help.c (__argp_error, __argp_failure): Use
6451 __vasprintf_internal, instead of _IO_vasprintf.
6452 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6453 redefine, because there are no more internal calls.
6455 2018-12-05 Zack Weinberg <zackw@panix.com>
6456 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6458 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6459 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6460 Include libio/strfile.h instead of libioP.h.
6461 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6462 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6463 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6464 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6465 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6466 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6467 necessary. Do not set __no_long_double. Normalize variable names.
6468 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6469 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6470 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6471 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6472 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6473 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6474 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6475 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6476 Do not set __no_long_double. Normalize variable names.
6478 2018-12-05 Zack Weinberg <zackw@panix.com>
6479 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6481 * stdio-common/isoc99_scanf.c
6482 * stdio-common/isoc99_fscanf.c
6483 * stdio-common/isoc99_sscanf.c
6484 * stdio-common/isoc99_vscanf.c
6485 * stdio-common/isoc99_vfscanf.c
6486 * stdio-common/isoc99_vsscanf.c
6487 * wcsmbs/isoc99_wscanf.c
6488 * wcsmbs/isoc99_fwscanf.c
6489 * wcsmbs/isoc99_swscanf.c
6490 * wcsmbs/isoc99_vwscanf.c
6491 * wcsmbs/isoc99_vfwscanf.c
6492 * wcsmbs/isoc99_vswscanf.c:
6493 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6494 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6495 No need to lock and unlock the FILE passed to that function.
6497 * stdio-common/vfscanf-internal.c
6498 (__vfscanf_internal, __vfwscanf_internal):
6499 Don't look at _IO_FLAGS2_SCANF_STD.
6500 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6501 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6502 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6504 2018-12-05 Zack Weinberg <zackw@panix.com>
6505 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6507 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6508 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6509 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6510 * libio/strfile.h: Add multiple inclusion guard.
6511 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6513 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6514 consistency with the other version of this file.
6515 (ldbl_compat_symbol): New macro.
6516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6519 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6520 Define __vfscanf_internal or __vfwscanf_internal, depending on
6521 COMPILE_WSCANF; don't define any other public symbols.
6522 Remove errval and code to set errp.
6523 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6524 as the mode_flags argument.
6525 (encode_error, conv_error, input_error): Don't set errval.
6526 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6527 Include vfscanf-internal.c.
6528 * stdio-common/vfscanf.c: New file defining the public entry
6529 point vfscanf, which calls __vfscanf_internal.
6530 * stdio-common/vfwscanf.c: New file defining the public entry
6531 point vfwscanf, which calls __vfwscanf_internal.
6533 * stdio-common/iovfscanf.c: New file.
6534 * stdio-common/iovfwscanf.c: Likewise.
6536 * stdio-common/Makefile (routines): Add vfscanf-internal,
6537 vfwscanf-internal, iovfscanf, iovfwscanf.
6538 * stdio-common/Versions: Mention GLIBC_2.29, so that
6539 it can be used in SHLIB_COMPAT expressions.
6540 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6541 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6542 Call __vfscanf_internal, instead of _IO_vfscanf.
6543 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6545 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6548 * libio/iovsscanf.c: Clean up includes, when possible. Use
6549 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6550 __vfscanf_internal or __vfwscanf_internal directly.
6551 * libio/iovswscanf.c: Likewise.
6552 * libio/swscanf.c: Likewise.
6553 * libio/vscanf.c: Likewise.
6554 * libio/vwscanf.c: Likewise.
6555 * libio/wscanf.c: Likewise.
6556 * stdio-common/isoc99_fscanf.c: Likewise.
6557 * stdio-common/isoc99_scanf.c: Likewise.
6558 * stdio-common/isoc99_sscanf.c: Likewise.
6559 * stdio-common/isoc99_vfscanf.c: Likewise.
6560 * stdio-common/isoc99_vscanf.c: Likewise.
6561 * stdio-common/isoc99_vsscanf.c: Likewise.
6562 * stdio-common/scanf.c: Likewise.
6563 * stdio-common/sscanf.c: Likewise.
6564 * wcsmbs/isoc99_fwscanf.c: Likewise.
6565 * wcsmbs/isoc99_swscanf.c: Likewise.
6566 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6567 * wcsmbs/isoc99_vswscanf.c: Likewise.
6568 * wcsmbs/isoc99_vwscanf.c: Likewise.
6569 * wcsmbs/isoc99_wscanf.c: Likewise.
6571 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6574 (__tz_compute): Replace time_t with __time64_t.
6575 (__tz_convert): Replace time_t* with __time64_t.
6576 (__offtime): Replace time_t* with __time64_t.
6578 (__gmtime_r): Adjust call to __tz_convert.
6581 (__localtime_r): Likewise.
6582 (localtime): Likewise.
6583 * time/offtime.c: Replace time_t with __time64_t.
6584 * time/tzset.c: Likewise.
6586 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6588 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6589 dynamic linker unless [$(run-built-tests) = yes].
6591 2018-12-03 DJ Delorie <dj@delorie.com>
6593 * support/test-container.c (check_for_unshare_hints): New.
6594 (main): Call it if unshare fails. Add support for "su" scriptlet
6597 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6599 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6600 'START' to indicate that start text should be output.
6601 (gen_test): Likewise.
6602 (main): Generate 'START' for first symbol or '--' line, or at end
6603 of input if not previously generated.
6605 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6608 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6609 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6610 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6611 ALWAYS_USE_VSYSCALL.
6613 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6616 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6619 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6622 * locale/programs/localedef.c: Declare boolean hard_links default true.
6623 (options): Add --no-hard-links option.
6624 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6625 * locale/programs/localedef.h: Declare prototype for hard_links.
6626 * locale/programs/locfile.c (write_locale_data): Don't use hard
6627 links if hard_links is false.
6629 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6631 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6633 (__cache_sysconf): Likewise.
6634 (init_cacheinfo): Likewise.
6635 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6636 populate COMMON_CPUID_INDEX_80000007 and
6637 COMMON_CPUID_INDEX_80000008.
6638 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6639 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6640 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6641 (init_cpu_features): Use _Static_assert on
6642 index_arch_Fast_Unaligned_Load.
6643 __get_cpuid_registers and __get_arch_feature. Updated for
6644 cpu_features_basic. Set stepping in cpu_features.
6645 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6646 (FEATURE_INDEX_2): New.
6647 (FEATURE_INDEX_MAX): Changed to enum.
6648 (COMMON_CPUID_INDEX_D_ECX_1): New.
6649 (COMMON_CPUID_INDEX_80000007): Likewise.
6650 (COMMON_CPUID_INDEX_80000008): Likewise.
6651 (cpuid_registers): Likewise.
6652 (cpu_features_basic): Likewise.
6653 (CPU_FEATURE_USABLE): Likewise.
6654 (bit_arch_XXX_Usable): Likewise.
6655 (cpu_features): Use cpuid_registers and cpu_features_basic.
6656 (bit_arch_XXX): Reweritten.
6657 (bit_cpu_XXX): Likewise.
6658 (index_cpu_XXX): Likewise.
6659 (reg_XXX): Likewise.
6660 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6662 (CHECK_CPU_FEATURE): New.
6663 (CHECK_CPU_FEATURE_USABLE): Likewise.
6664 (cpu_kinds): Likewise.
6665 (do_test): Print vendor, family, model and stepping. Check
6666 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6667 (TEST_FUNCTION): Removed.
6668 Include <support/test-driver.c> instead of
6669 "../../test-skeleton.c".
6670 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6671 Check POPCNT instead of POPCOUNT.
6672 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6674 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6676 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6677 there is no element in `consts'.
6679 2018-12-01 Florian Weimer <fweimer@redhat.com>
6681 * support/support_capture_subprocess.c
6682 (support_capture_subprocess): Check that pipe descriptors have
6683 expected values. Close original pipe descriptors in subprocess.
6685 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6688 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6689 attr with __pthread_default_barrierattr.
6690 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6691 attr with __pthread_default_condattr.
6692 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6693 attr with __pthread_default_mutexattr.
6694 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6695 attr with __pthread_default_rwlockattr.
6697 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6699 * manual/tunables.texi (POSIX Thread Tunables): New node.
6700 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6701 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6702 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6703 __pthread_tunables_init.
6704 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6705 (max_adaptive_count): Define.
6706 * nptl/pthread_mutex_conf.c: New file.
6707 * nptl/pthread_mutex_conf.h: New file.
6708 * sysdeps/generic/adaptive_spin_count.h: New file.
6709 * sysdeps/nptl/dl-tunables.list: New file.
6710 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6711 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6712 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6715 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6718 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6719 * stdlib/on_exit.c (__on_exit): Likewise.
6720 * stdlib/Makefile (tests): Add tst-bz20544.
6721 * stdlib/tst-bz20544.c: New test.
6723 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6726 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6727 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6730 2018-11-30 Florian Weimer <fweimer@redhat.com>
6732 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6733 Extend error logging.
6734 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6737 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6739 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6740 __sigismember instead of sigismember.
6741 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6742 cancel_handler): New definitions.
6743 (do_system): Use posix_spawn instead of fork and execl and remove
6745 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6746 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6747 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6748 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6749 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6750 * sysdeps/unix/sysv/linux/system.c: Likewise.
6754 * NEWS: Add new semantic for atfork with popen and system.
6755 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6758 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6761 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6762 modification order when accessing reloc_result->addr.
6763 * include/link.h (reloc_result): Add field init.
6764 * nptl/Makefile (tests): Add tst-audit-threads.
6765 (modules-names): Add tst-audit-threads-mod1 and
6766 tst-audit-threads-mod2.
6767 Add rules to build tst-audit-threads.
6768 * nptl/tst-audit-threads-mod1.c: New file.
6769 * nptl/tst-audit-threads-mod2.c: Likewise.
6770 * nptl/tst-audit-threads.c: Likewise.
6771 * nptl/tst-audit-threads.h: Likewise.
6773 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6775 * scripts/gen-as-const.py: New file.
6776 * scripts/gen-as-const.awk: Remove.
6777 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6779 ($(objpfx)test-as-const-%.c): Likewise.
6781 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6783 * elf/dl-exception.c: Include <_itoa.h>.
6785 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6787 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6788 returned by __f_setlk.
6790 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6791 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6793 * elf/Makefile (tests-internal): Add tst-create_format1.
6794 * elf/dl-exception.c (_dl_exception_create_format): Support
6796 * elf/tst-create_format1.c: New file.
6798 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6800 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6801 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6803 * argp/argp-help.c (__argp_failure): Likewise.
6805 2018-11-29 Mao Han <han_mao@c-sky.com>
6807 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6808 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6809 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6810 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6811 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6812 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6813 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6814 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6815 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6816 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6817 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6818 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6819 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6820 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6821 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6822 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6823 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6824 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6825 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6826 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6827 (R_CKCORE_TLS_TPOFF32): New defines.
6829 2018-11-29 Florian Weimer <fweimer@redhat.com>
6831 * posix/Makefile (before-compile): Remove testcases.h and
6833 (generated): Add testcases.h and ptestcases.h.
6834 (testcases.h, ptestcases.h): Move to $(objpfx).
6835 (runtests.o): Add dependency on testcases.h.
6836 (runptests.o): Add dependency on ptestcases.h.
6837 * posix/testcases.h, posix/ptestcases.h: Remove files.
6838 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6839 not touch posix/testcases.h and posix/ptestcases.h.
6841 2018-11-28 Florian Weimer <fweimer@redhat.com>
6843 support: Add signal support to support_capture_subprocess_check.
6844 * support/capture_subprocess.h (support_capture_subprocess_check):
6845 Adjust comment and rename parameter.
6846 * support/support_capture_subprocess_check.c
6847 (print_actual_status): New function.
6848 (support_capture_subprocess_check): Support negative
6849 status_or_signal. Call print_actual_status.
6850 * support/tst-support_capture_subprocess.c (do_test): Call
6851 support_capture_subprocess_check.
6852 * libio/tst-vtables-common.c (termination_status)
6853 (init_termination_status): Remove.
6854 (check_for_termination): Adjust support_capture_subprocess_check
6856 (do_test): Remove call to init_termination_status.
6858 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6860 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6861 source directory instead of a copy.
6862 (CommandList.create_copy_dir): Remove.
6864 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6866 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6868 2018-11-28 Florian Weimer <fweimer@redhat.com>
6870 * support/support.h (support_quote_string): Do not use str
6873 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6875 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6876 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6878 2018-11-27 Florian Weimer <fweimer@redhat.com>
6880 * support/support.h (support_quote_string): Declare.
6881 * support/support_quote_string.c: New file.
6882 * support/tst-support_quote_string.c: Likewise.
6883 * support/Makefile (libsupport-routines): Add
6884 support_quote_string.
6885 (tests): Add tst-support_quote_string.
6887 2018-11-27 Florian Weimer <fweimer@redhat.com>
6891 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6892 descriptor leak in case of ENODEV error.
6894 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6897 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6898 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6901 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6903 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6904 Error for unknown lines.
6906 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6908 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6909 Touch additional files.
6911 2018-11-26 Florian Weimer <fweimer@redhat.com>
6914 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6917 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6920 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6921 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6922 SHARED. Include sysdep.h.
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6924 ALWAYS_USE_VSYSCALL.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6926 ALWAYS_USE_VSYSCALL.
6928 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6931 * nptl/Makefile (tests-static): Add tst-cond11-static.
6933 * nptl/tst-cond11-static.c: New File.
6934 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6935 tst-affinity-static.
6937 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6939 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6940 (USE_VSYSCALL): Likewise.
6941 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6942 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6949 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6953 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6956 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6958 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6959 (tst-cet-legacy-1a-ARGS): New.
6960 ($(objpfx)tst-cet-legacy-1a): New target.
6961 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6963 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6965 * conform/conformtest.py (CompileSubTest.__init__): Set
6966 self.run_early to False.
6967 (ExecuteSubTest.__init__): Likewise.
6968 (HeaderTests.run): Try running all non-optional, non-XFAILed
6969 compilation tests in a single execution of the compiler.
6971 * conform/conformtest.py (CompileSubTest): New class.
6972 (ExecuteSubTest): Likewise.
6973 (ElementTest.run): Rename to gen_subtests. Append tests to
6974 self.subtests instead of running them.
6975 (ConstantTest.run): Likewise.
6976 (SymbolTest.run): Likewise.
6977 (TypeTest.run): Likewise.
6978 (TagTest.run): Likewise.
6979 (FunctionTest.run): Likewise.
6980 (VariableTest.run): Likewise.
6981 (MacroFunctionTest.run): Likewise.
6982 (MacroStrTest.run): Likewise.
6983 (HeaderTests.handle_test_line): Generate subtests for tests.
6984 (HeaderTests.run): Run subtests for tests.
6986 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6988 * math/Versions (GLIBC_2.29): Add pow.
6989 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6991 * math/w_pow.c: New file.
6992 * sysdeps/i386/fpu/w_pow.c: New file.
6993 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6995 and add necessary aliases.
6996 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6997 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6998 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6999 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7000 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7001 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7002 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7003 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7004 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7005 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7006 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7007 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7008 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7009 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7010 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7015 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7016 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7017 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7018 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7019 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7020 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7021 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7022 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7025 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7026 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7028 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7030 * math/Versions (GLIBC_2.29): Add log2.
7031 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7033 * math/w_log2.c: New file.
7034 * sysdeps/i386/fpu/w_log2.c: New file.
7035 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7036 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7037 and add necessary aliases.
7038 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7039 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7040 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7041 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7042 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7043 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7044 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7045 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7046 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7047 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7048 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7049 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7050 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7051 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7052 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7057 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7058 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7059 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7060 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7061 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7062 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7063 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7065 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7067 * math/Versions (GLIBC_2.29): Add log.
7068 * math/w_log_compat.c (__log_compat): Change to versioned compat
7070 * math/w_log.c: New file.
7071 * sysdeps/i386/fpu/w_log.c: New file.
7072 * sysdeps/ia64/fpu/e_log.S: Update.
7073 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7074 and add necessary aliases.
7075 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7076 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7077 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7078 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7079 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7080 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7081 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7082 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7083 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7084 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7085 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7086 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7087 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7088 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7089 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7094 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7095 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7096 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7098 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7099 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7100 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7101 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7103 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7104 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7105 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7106 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7108 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7110 * math/Versions (GLIBC_2.29): Add exp and exp2.
7111 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7112 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7113 * math/w_exp_compat.c (__exp_compat): Likewise.
7114 * math/w_exp.c: New file.
7115 * math/w_exp2.c: New file.
7116 * sysdeps/i386/fpu/w_exp.c: New file.
7117 * sysdeps/i386/fpu/w_exp2.c: New file.
7118 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7119 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7121 and add necessary aliases.
7122 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7123 and add necessary aliases.
7124 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7125 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7126 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7127 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7128 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7129 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7130 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7131 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7132 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7133 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7134 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7135 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7136 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7137 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7138 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7139 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7140 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7145 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7146 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7147 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7148 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7149 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7150 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7151 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7152 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7153 (__ieee754_exp): Rename to __exp.
7154 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7155 (__ieee754_exp): Rename to __exp.
7156 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7157 (__ieee754_exp): Rename to __exp.
7158 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7160 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7162 2018-11-20 DJ Delorie <dj@redhat.com>
7164 * malloc/malloc.c (tcache_entry): Add key field.
7165 (tcache_put): Set it.
7166 (tcache_get): Likewise.
7167 (_int_free): Check for double free in tcache.
7168 * malloc/tst-tcfree1.c: New.
7169 * malloc/tst-tcfree2.c: New.
7170 * malloc/Makefile: Run the new tests.
7171 * manual/probes.texi: Document memory_tcache_double_free probe.
7173 * dlfcn/dlerror.c (check_free): Prevent double frees.
7175 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7177 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7179 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7181 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7182 in tests. Use names for format arguments.
7183 (ConstantTest.run): Likewise.
7184 (SymbolTest.run): Likewise.
7185 (TypeTest.run): Likewise.
7186 (TagTest.run): Likewise.
7187 (FunctionTest.run): Likewise.
7188 (VariableTest.run): Likewise.
7189 (MacroFunctionTest.run): Likewise.
7190 (MacroStrTest.run): Likewise.
7191 (HeaderTests.__init__): Set self.num_tests.
7192 (HeaderTests.handle_test_line): Set test.num. Increment
7195 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7197 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7198 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7201 2018-11-19 Mao Han <han_mao@c-sky.com>
7203 * scripts/config.guess: Update to version 2018-08-29.
7204 * scripts/config.sub: Update to version 2018-08-29.
7206 2018-11-19 Florian Weimer <fweimer@redhat.com>
7208 support: Print timestamps in timeout handler.
7209 * support/support_test_main.c (print_timestamp): New function.
7210 (signal_handler): Use it to print the termination time and the
7211 time of the last write to standard output.
7213 2018-11-16 Zack Weinberg <zackw@panix.com>
7214 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7216 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7217 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7219 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7220 and add flags argument. Check flags instead of __ldbl_is_dbl when
7221 deciding whether to set is_long_double.
7222 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7223 passing zero for flags argument.
7224 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7226 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7227 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7228 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7229 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7230 variable names. Remove libc_hidden_def/libc_hidden_proto from
7231 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7232 longer called from within the library.
7233 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7234 for __nldbl___vstrfmon_l, declare it explicitly.
7236 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7238 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7240 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7242 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7243 F_SETLK64, F_SETLKW64, respectively.
7244 * sysdeps/mach/hurd/f_setlk.c: New file.
7245 * sysdeps/mach/hurd/f_setlk.h: New file.
7246 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7248 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7249 (__libc_fcntl): Move non-flock operations to...
7250 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7251 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7253 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7255 mktime: DEBUG_MKTIME cleanup
7256 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7257 And it’s no longer needed now that glibc and Gnulib both have
7258 their own testing mechanisms for mktime.
7259 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7261 mktime: fix non-EOVERFLOW errno handling
7263 mktime was not properly reporting failures when the underlying
7264 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7265 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7266 The problem could happen on non-glibc platforms, with Gnulib.
7267 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7268 (tm_diff): ... this simpler function, which does not change errno.
7269 All callers changed to deal with errno themselves.
7270 (ranged_convert, __mktime_internal): Return failure immediately if
7271 the underlying function reports any failure other than EOVERFLOW.
7272 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7275 mktime: fix bug with Y2038 DST transition
7277 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7278 mishandle a DST transition that jumps over the Y2038 boundary.
7279 No such DST transitions are known so this is only a theoretical
7280 bug, but we might as well do things right.
7282 mktime: make more room for overflow
7284 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7285 This is so that we can add tm_diff results to a previous guess,
7286 which will be useful in a later patch.
7288 mktime: simplify offset guess
7290 * time/mktime.c (__mktime_internal): Omit excess precision.
7292 mktime: new test for mktime failure
7294 Based on a test suggested by Albert Aribaud in:
7295 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7296 * time/Makefile (tests): Add bug-mktime4.
7297 * time/bug-mktime4.c: New file.
7299 mktime: fix EOVERFLOW bug
7301 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7302 Include libc-config.h, not config.h, for __set_errno.
7303 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7305 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7307 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7308 __attribute_copy__ to copy attributes from name. Drop static qualifier
7309 to avoid warnings about leaf attribute not having effect on static
7312 2018-11-13 Florian Weimer <fweimer@redhat.com>
7314 * malloc/malloc.c (fastbin_push_entry): New function.
7315 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7316 (REMOVE_FB): Remove macro.
7317 (_int_malloc): Use fastbin_pop_entry and reindent.
7318 (_int_free): Use fastbin_push_entry.
7319 (malloc_consolidate): Use atomic_exchange_acquire.
7321 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7323 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7324 alias attribute, not with strong_alias.
7326 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7327 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7328 with additional parameter thread.
7329 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7330 in terms of __hidden_ver2.
7331 (hidden_tls_def): New macro.
7332 (libc_hidden_tls_def): Likewise.
7333 (rtld_hidden_tls_def): Likewise.
7334 (libm_hidden_tls_def): Likewise.
7335 (libmvec_hidden_tls_def): Likewise.
7336 (libresolv_hidden_tls_def): Likewise.
7337 (librt_hidden_tls_def): Likewise.
7338 (libdl_hidden_tls_def): Likewise.
7339 (libnss_files_hidden_tls_def): Likewise.
7340 (libnsl_hidden_tls_def): Likewise.
7341 (libnss_nisplus_hidden_tls_def): Likewise.
7342 (libutil_hidden_tls_def): Likewise.
7343 (libutil_hidden_tls_def): Likweise.
7344 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7345 libc_hidden_tls_def.
7346 (__sim_disabled_exceptions_thread): Likewise.
7347 (__sim_round_mode_thread): Likewise.
7349 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7350 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7351 copy attributes from name.
7353 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7355 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7356 Use __attribute_copy__ to copy attributes from name.
7358 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7359 with __hidden_ver1 call.
7360 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7361 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7362 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7363 (__cosf): Do not declare here.
7364 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7365 (__sincosf): Do not declare here.
7366 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7367 (__sinf): Do not declare here.
7369 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7370 (__BIG_ENDIAN): Likewise.
7371 (__BYTE_ORDER): Likewise.
7372 (strong_alias): Likewise.
7373 (_strong_alias): Likewise.
7375 2018-11-12 Florian Weimer <fweimer@redhat.com>
7377 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7378 function. Move after the definition of in_smallbin_range. Do not
7379 use __builtin_expect for paths that lead to a noreturn function.
7380 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7381 because it is unclear whether this is in fact an unlikely
7383 (_int_malloc, _int_free): Adjust.
7384 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7386 * malloc/arena.c (heap_trim): Likewise.
7388 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7390 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7391 it, free it if needed.
7392 (reauthenticate): Test and use ccwdir.
7393 (child_init_port): In non-resetids case, test and use ccwdir.
7394 (child_chdir): New nested function to set ccwdir.
7395 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7396 * hurd/hurd/port.h (_hurd_port_move): New function.
7397 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7398 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7399 * hurd/Versions (_hurd_port_move): Export function.
7400 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7402 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7403 of dtablesize for allocating dtable_cloexec.
7405 2018-11-09 Martin Sebor <msebor@redhat.com>
7407 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7408 it's already defined.
7409 (_strong_alias): Use __attribute_copy__.
7410 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7411 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7412 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7413 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7414 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7415 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7416 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7417 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7418 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7419 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7420 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7421 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7422 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7423 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7424 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7425 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7426 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7427 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7428 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7430 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7432 * misc/tst-efgcvt.c: Include support/check.h and
7433 support/test-driver.c. Do not include test-skeleton.c.
7434 (error_count): Remove.
7435 (output_error): Replace increments to error_count with calls to
7436 support_record_failure.
7437 (output_r_error): Likewise.
7438 (special): Likewise.
7439 (do_test): Unconditionally return zero.
7440 (TEST_FUNCTION): Remove.
7442 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7444 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7446 ($(linknamespace-header-tests)): Likewise.
7448 * conform/conformtest.py: New file.
7449 * conform/conformtest.pl: Remove.
7450 * conform/GlibcConform.pm: Likewise.
7451 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7452 (KEYWORDS_C99): Likewise.
7453 (KEYWORDS): Likewise.
7454 * conform/Makefile ($(conformtest-header-tests)): Use
7455 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7456 option. Use --header instead of --headers.
7457 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7459 * conform/data/spawn.h-data: Likewise.
7460 * conform/data/fcntl.h-data (openat): Add space after function
7462 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7463 (wcscasecmp_l): Likewise.
7464 * conform/data/termios.h-data (c_cc): Add space after element
7467 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7469 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7470 instead of manually comparing and reporting mismatching strings.
7471 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7472 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7474 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7476 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7477 __ASSUME_SOCKETCALL.
7478 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7479 (__ASSUME_SOCKETCALL): Remove.
7480 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7481 (__ASSUME_SOCKETCALL): Likewise.
7482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7483 (__ASSUME_SOCKETCALL): Likewise.
7484 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7485 (__ASSUME_SOCKETCALL): Likewise.
7486 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7487 (__ASSUME_SOCKETCALL): Likewise.
7488 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7489 (__ASSUME_SOCKETCALL): Likewise.
7490 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7491 (__ASSUME_SOCKETCALL): Likewise.
7493 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7496 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7497 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7498 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7499 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7500 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7503 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7506 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7508 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7511 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7512 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7514 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7516 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7518 * support/support_test_compare_string.c
7519 (support_test_compare_string): Fix printf format.
7521 2018-11-07 Florian Weimer <fweimer@redhat.com>
7523 Implement TEST_COMPARE_STRING.
7524 * support/check.h (TEST_COMPARE_STRING): Define.
7525 (support_test_compare_string): Declare.
7526 * support/Makefile (libsupport-routines): Add
7527 support_test_compare_string.
7528 (tests): Add tst-test_compare_string.
7529 * support/support_test_compare_string.c: New file.
7530 * support/tst-test_compare_string.c: Likewise.
7532 2018-11-07 Andreas Schwab <schwab@suse.de>
7535 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7536 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7539 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7542 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7543 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7544 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7545 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7548 2018-11-06 Florian Weimer <fweimer@redhat.com>
7551 * posix/Makefile (routines): Add spawn_faction_addchdir.
7552 (tests): Add tst-spawn-chdir.
7553 * posix/Versions (GLIBC_2.29): Add
7554 posix_spawn_file_actions_addchdir_np.
7555 * posix/spawn_faction_addchdir.c: New file.
7556 * posix/spawn_faction_destroy.c
7557 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7558 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7559 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7561 * posix/tst-spawn-chdir.c: New file.
7562 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7563 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7564 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7565 posix_spawn_file_actions_addchdir_np.
7566 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7568 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7570 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7571 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7573 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7575 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7577 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7579 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7581 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7583 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7584 (GLIBC_2.29): Likewise.
7585 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7586 (GLIBC_2.29): Likewise.
7587 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7588 (GLIBC_2.29): Likewise.
7589 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7590 (GLIBC_2.29): Likewise.
7591 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7594 (GLIBC_2.29): Likewise.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7596 (GLIBC_2.29): Likewise.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7598 (GLIBC_2.29): Likewise.
7599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7600 (GLIBC_2.29): Likewise.
7601 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7605 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7607 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7608 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7610 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7612 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7614 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7617 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7619 * misc/Makefile (tests): Add tst-ldbl-error.
7620 * misc/tst-ldbl-error.c: New file.
7622 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7624 * misc/Makefile (tests): Add tst-ldbl-warn.
7625 * misc/tst-ldbl-warn.c: New file.
7627 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7629 * argp/Makefile (tests): Add tst-ldbl-argp.
7630 * argp/tst-ldbl-argp.c: New file.
7632 2018-11-05 Arjun Shankar <arjun@redhat.com>
7634 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7635 __gconv_path_elem and call __gconv_get_path unconditionally.
7637 2018-11-05 Andreas Schwab <schwab@suse.de>
7640 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7641 creating the first helper thread failed.
7643 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7645 * sysdeps/mach/hurd/msync.c: New file.
7647 2018-11-02 Florian Weimer <fweimer@redhat.com>
7649 * support/shell-container.c (copy_func): Call
7650 support_copy_file_range instead of copy_file_range to support
7651 cross-device copies.
7653 2018-11-02 Florian Weimer <fweimer@redhat.com>
7655 * support/test-container.c: Include <libc-pointer-arith.h> for
7658 2018-11-01 Zong Li <zong@andestech.com>
7660 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7661 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7662 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7663 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7665 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7666 variable to avoid overlap arguments.
7668 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7670 * posix/bug-regex22.c (main): Use puts with distinct error
7671 messages for unexpected success of re_compile_pattern, not printf
7672 with NULL argument to %s.
7674 * stdio-common/bug22.c: Include <libc-diag.h>.
7675 (do_test): Disable -Wformat-overflow= warnings around fprintf
7676 calls outputting more than INT_MAX characters.
7677 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7678 around printf call with NULL %s argument.
7681 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7682 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7684 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7685 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7686 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7687 (__ASSUME_SENDTO_SYSCALL): Likewise.
7688 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7689 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7691 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7692 (__ASSUME_CONNECT_SYSCALL): Likewise.
7693 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7694 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7695 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7697 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7699 [__LINUX_KERNEL_VERSION >= 0x040400]
7700 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7701 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7704 (setsockopt): Likewise.
7706 2018-11-01 Fredrik Noring <noring@nocrew.org>
7708 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7709 with the ISA override.
7711 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7713 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7716 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7718 * manual/errno.texi (EIEIO): Document how translators should
7719 translate the error message.
7720 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7721 printing trailing whitespaces refused by git.
7722 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7723 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7724 * hurd/Makefile (user-interfaces): Add pci.
7726 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7728 * conform/linknamespace.py: New file.
7729 * conform/linknamespace.pl: Remove file.
7730 * conform/Makefile ($(linknamespace-header-tests)): Use
7731 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7734 2018-10-30 Florian Weimer <fweimer@redhat.com>
7736 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7739 2018-10-30 Florian Weimer <fweimer@redhat.com>
7741 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7743 2018-10-30 Florian Weimer <fweimer@redhat.com>
7745 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7746 support_blob_repeat.
7748 2018-10-30 Florian Weimer <fweimer@redhat.com>
7750 Avoid spurious test failures in stdlib/test-bz22786.
7751 * support/Makefile (libsupport-routines): Add blob_repeat.
7752 (tests): Add tst-support_blob_repeat.
7753 * support/blob_repeat.h: New file.
7754 * support/blob_repeat.c: Likewise.
7755 * support/tst-support_blob_repeat.c: Likewise.
7756 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7757 support_blob_repeat_allocate.
7759 2018-10-30 Andreas Schwab <schwab@suse.de>
7762 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7763 Don't use tail call.
7764 * elf/tst-unwind-main.c: New file.
7765 * elf/Makefile (tests): Add tst-unwind-main.
7766 (CFLAGS-tst-unwind-main.c): Define.
7768 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7771 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7773 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7775 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7777 * conform/glibcconform.py: Do not import shutil.
7778 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7781 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7782 critic_missing for versions before 3.4.
7783 * configure: Regenerated.
7784 * manual/install.texi (Tools for Compilation): Document
7785 requirement for Python to build glibc.
7786 * INSTALL: Regenerated.
7787 * Rules [PYTHON]: Make code unconditional.
7788 * benchtests/Makefile [PYTHON]: Likewise.
7789 * conform/Makefile [PYTHON]: Likewise.
7790 * manual/Makefile [PYTHON]: Likewise.
7791 * math/Makefile [PYTHON]: Likewise.
7793 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7795 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7796 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7797 answer to interrupt_operation, return EIEIO instead of EINTR.
7798 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7799 _hurd_intr_rpc_msg_about_to global point to start of controlled
7800 assembly snippet. Make it check canceled flag.
7801 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7802 the _hurd_intr_rpc_msg_about_to point.
7803 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7804 issue, remove cancel flag check.
7806 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7808 * scripts/build-many-glibcs.py: Remove compatibility for missing
7809 os.cpu_count and re.fullmatch.
7811 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7814 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7815 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7816 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7818 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7820 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7823 2018-10-25 Florian Weimer <fweimer@redhat.com>
7827 XFAIL siginfo_t si_band conform test on sparc64.
7828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7829 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7830 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7831 (conformtest-xfail-conds): Add sparc64-linux.
7832 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7834 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7836 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7838 * elf/elf.h (NT_MIPS_DSP): New macro.
7839 (NT_MIPS_FP_MODE): Likewise.
7841 2018-10-25 Zong Li <zong@andestech.com>
7843 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7844 name by adding the file extension (.so).
7846 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7848 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7849 (test-xfail-ISO11/threads.h/linknamespace,
7850 test-xfail-ISO11/threads.h/conform): Add.
7852 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7854 * math/gen-libm-test.py: Import os.
7855 (ALL_FLOATS_MANUAL): New constant.
7856 (ALL_FLOATS_SUFFIX): Likewise.
7857 (Ulps.all_functions): New function.
7858 (real_all_ulps): Likewise.
7859 (generate_err_table_sub): Likewise.
7860 (generate_err_table): Likewise.
7861 (main): Handle -s and -m options.
7862 * manual/libm-err-tab.pl: Remove.
7863 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7864 instead of libm-err-tab.pl.
7865 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7867 * manual/install.texi (Tools for Compilation): Document
7868 requirement for Python to build manual.
7869 * INSTALL: Regenerated.
7871 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7873 * bits/time64.h: New file.
7874 * include/time.h: Replace internal_time_t with __time64_t.
7875 * posix/bits/types (__time64_t): Add.
7876 * stdlib/Makefile: Add bits/time64.h to includes.
7877 * time/tzfile.c: Replace internal_time_t with __time64_t.
7879 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7881 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7882 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7883 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7884 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7885 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7887 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7888 * posix/spawn_faction_addclose.c
7889 (__posix_spawn_file_actions_addclose): Add hidden definition.
7890 * posix/spawn_faction_adddup2.c
7891 (__posix_spawn_file_actions_adddup2): Likewise.
7892 * posix/spawn_faction_destroy.c
7893 (__posix_spawn_file_actions_destroy): Likewise.
7894 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7896 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7897 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7898 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7900 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7901 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7904 2018-10-24 Andreas Schwab <schwab@suse.de>
7907 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7909 * elf/cache.c (print_cache): Likewise.
7911 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7913 * bits/timesize.h: New file.
7914 * stdlib/Makefile (headers): Add bits/timesize.h.
7915 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7916 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7917 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7918 (__SEM_PAD_AFTER_TIME): Likewise.
7919 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7920 (__SHM_PAD_AFTER_TIME): Likewise.
7921 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7922 (__MSQ_PAD_BEFORE_TIME): Likewise.
7923 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7924 (__SEM_PAD_BEFORE_TIME): Likewise.
7925 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7926 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7927 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7928 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7930 (__MSQ_PAD_BEFORE_TIME): Likewise.
7931 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7932 (__SEM_PAD_BEFORE_TIME): Likewise.
7933 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7934 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7935 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7936 (__MSQ_PAD_BEFORE_TIME): Likewise.
7937 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7938 (__SEM_PAD_BEFORE_TIME): Likewise.
7939 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7940 (__SHM_PAD_BEFORE_TIME): Likewise.
7941 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7942 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7943 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7945 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7947 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7948 USE_RDTSCP is defined.
7949 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7950 USE_RDTSCP is defined.
7952 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7954 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7958 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7959 independently of other flags.
7961 2018-10-23 Florian Weimer <fweimer@redhat.com>
7963 * time/tst-mktime2.c (N_STRINGS): Remove.
7964 (set_timezone): New function.
7965 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7966 (mktime_test1): Report localtime failure and check errno value.
7968 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7969 (do_test): Remove alarm call. Use set_timezone and array_length.
7971 2018-10-23 Andreas Schwab <schwab@suse.de>
7973 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7974 (__start_context): Use END instead of PSEUDO_END.
7976 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7978 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7981 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7985 * wcsmbs/c32rtomb.c: New file.
7986 * wcsmbs/mbrtoc32.c: Likewise.
7987 * wcsmbs/tst-c32-state.c: Likewise.
7988 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7989 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7990 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7991 (tests): Add tst-c32-state.
7992 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7995 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7997 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7998 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8000 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8003 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8004 pair and return 0 in that case, and use saved character to
8005 interpret following character.
8006 * wcsmbs/tst-c16-surrogate.c: New file.
8007 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8008 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8009 Depend on $(gen-locales)
8011 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8014 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8015 (struct siginfo_t): Use correct type for si_band.
8017 2018-10-19 Florian Weimer <fweimer@redhat.com>
8020 * resource/bits/types/struct_rusage.h (struct rusage): Update
8021 comment on struct. Remove extraneous field comment.
8023 2018-10-18 David S. Miller <davem@davemloft.net>
8025 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8026 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8027 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8028 sysdep_routines in subdir elf.
8029 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8030 version for __vdso_clock_gettime.
8031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8033 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8034 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8036 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8038 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8040 * sysdeps/i386/init-arch.h: Removed.
8041 * sysdeps/i386/i586/init-arch.h: Likewise.
8042 * sysdeps/i386/i686/init-arch.h: Likewise.
8043 * sysdeps/i386/i686/hp-timing.h: Likewise.
8044 * sysdeps/x86_64/hp-timing.h: Likewise.
8045 * sysdeps/i386/isa.h: New file.
8046 * sysdeps/i386/i586/isa.h: Likewise.
8047 * sysdeps/i386/i686/isa.h: Likewise.
8048 * sysdeps/x86_64/isa.h: Likewise.
8049 * sysdeps/x86/hp-timing.h: New file.
8050 * sysdeps/x86/init-arch.h: Include <isa.h>.
8052 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8054 * math/libm-test-pow.inc (pow_test_data): Do not allow
8055 divide-by-zero exception for pow(+/- 0, -Inf).
8057 2018-10-17 Zack Weinberg <zackw@panix.com>
8059 * manual/job.texi (Job Control is Optional): Remove node, as
8060 job control has not been optional in quite some time.
8061 (Job Control): Mention briefly that systems older than
8062 POSIX.1-2001 might not support job control.
8063 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8064 defined on systems conforming to POSIX.1-2001.
8066 2018-10-17 Arjun Shankar <arjun@redhat.com>
8069 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8071 * (__gconv_read_conf): Mark function static.
8072 * (once): New static variable.
8073 * (__gconv_load_conf): New function.
8074 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8075 * iconv/gconv_db.c (once): Remove static variable.
8076 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8078 * (__gconv_find_transform): Likewise.
8079 * iconv/tst-iconv-mt.c: New test.
8080 * iconv/Makefile: Add tst-iconv_mt.
8082 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8086 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8087 (shmatt_t): Define as __syscall_ulong_t.
8088 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8089 and [__SHM_PAD_AFTER_TIME].
8090 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8091 Define shm_segsz and associated padding based on
8092 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8093 Use __syscall_ulong_t instead of unsigned long int.
8094 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8096 [__USE_MISC] (struct shm_info): Likewise.
8097 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8098 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8099 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8100 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8101 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8102 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8103 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8104 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8106 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8107 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8111 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8112 (SHMLBA): Remove macro.
8113 (__getpagesize): Remove function declaration.
8114 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8116 (SHMLBA): Remove macro.
8117 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8119 (SHMLBA): Remove macro.
8120 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8122 (SHMLBA): Remove macro.
8123 (__getpagesize): Remove function declaration.
8124 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8126 (SHMLBA): Remove macro.
8127 (__getshmlba): Remove function declaration.
8128 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8129 (SHMLBA): Remove macro.
8130 (__getpagesize): Remove function declaration.
8131 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8132 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8133 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8134 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8135 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8136 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8137 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8138 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8139 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8140 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8142 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8145 * nptl/tst-mutex10.c: New File.
8146 * nptl/Makefile (tests): Add tst-mutex10.
8147 (tst-mutex10-ENV): New variable.
8148 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8149 Ensure that elision path is used if elision is available.
8150 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8152 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8154 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8155 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8156 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8157 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8159 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8160 (__pthread_mutex_cond_lock_adjust): Likewise.
8161 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8163 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8164 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8165 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8166 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8168 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8169 Use atomic_load_relaxed and atomic_store_relaxed.
8170 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8171 Use atomic_store_relaxed.
8173 2018-10-17 Andreas Schwab <schwab@suse.de>
8175 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8176 * crypt/badsalttest.c (TIMEOUT): Likewise.
8177 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8178 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8179 * io/test-lfs.c (TIMEOUT): Likewise.
8180 * libio/tst-atime.c (TIMEOUT): Likewise.
8181 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8182 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8183 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8184 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8185 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8186 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8187 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8188 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8189 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8190 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8191 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8192 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8193 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8194 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8195 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8196 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8197 * nptl/tst-once2.c (TIMEOUT): Likewise.
8198 * nptl/tst-once3.c (TIMEOUT): Likewise.
8199 * nptl/tst-once4.c (TIMEOUT): Likewise.
8200 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8201 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8202 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8203 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8204 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8205 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8206 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8207 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8208 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8209 * posix/tst-chmod.c (TIMEOUT): Likewise.
8210 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8211 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8212 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8213 * posix/tst-regex2.c (TIMEOUT): Likewise.
8214 * posix/tst-waitid.c (TIMEOUT): Likewise.
8215 * rt/tst-aio.c (TIMEOUT): Likewise.
8216 * rt/tst-aio10.c (TIMEOUT): Likewise.
8217 * rt/tst-aio4.c (TIMEOUT): Likewise.
8218 * rt/tst-aio5.c (TIMEOUT): Likewise.
8219 * rt/tst-aio6.c (TIMEOUT): Likewise.
8220 * rt/tst-aio64.c (TIMEOUT): Likewise.
8221 * rt/tst-aio7.c (TIMEOUT): Likewise.
8222 * rt/tst-aio9.c (TIMEOUT): Likewise.
8223 * rt/tst-clock.c (TIMEOUT): Likewise.
8224 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8225 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8226 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8227 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8228 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8229 * rt/tst-timer4.c (TIMEOUT): Likewise.
8230 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8231 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8232 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8233 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8234 * time/tst-ftime.c (TIMEOUT): Likewise.
8235 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8237 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8239 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8240 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8243 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8247 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8248 instead of <bits/wordsize.h>.
8249 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8250 and [__SEM_PAD_AFTER_TIME].
8251 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8252 __syscall_ulong_t instead of unsigned long int.
8253 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8254 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8255 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8256 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8257 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8258 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8259 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8260 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8262 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8263 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8265 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8267 regex: simplify by using intprops.h
8269 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8270 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8271 intprops.h defines them.
8273 regex: __builtin_expect → __glibc_unlikely
8275 This refactoring was prompted by a problem when the regex code is
8276 used as part of Gnulib and when the builder’s compiler does not grok
8277 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8278 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8279 Although this refactoring does not fix the problem directly,
8280 we might as well have Gawk use the now-preferred glibc style for when
8281 __builtin_expect is unavailable.
8282 * posix/regex_internal.h (BE): Remove.
8283 All uses replaced by __glibc_unlikely or __glibc_likely.
8285 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8289 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8290 instead of <bits/wordsize.h>.
8291 (msgqnum_t): Define as __syscall_ulong_t.
8292 (msglen_t): Likewise.
8293 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8294 and [__MSQ_PAD_AFTER_TIME].
8295 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8296 __syscall_ulong_t instead of unsigned long int.
8297 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8298 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8299 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8300 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8301 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8302 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8303 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8304 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8305 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8306 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8307 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8309 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8311 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8312 (struct shmid_ds): Condition padding after time fields on
8314 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8315 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8316 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8318 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8319 (struct semid_ds): Condition padding after time fields on
8321 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8322 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8323 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8324 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8326 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8327 (struct msqid_ds): Condition padding after time fields on
8329 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8330 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8331 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8332 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8334 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8336 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8338 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8340 * libio/tst-readline.c (TIMEOUT): Define.
8342 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8344 mktime fix for Gnulib + coreutils
8346 This fix affects only Gnulib. Problem discovered when
8347 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8349 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8350 Do not define since it is not used. Defining an unused static
8351 function prompts a warning from GCC when Coreutils is configured
8352 with --enable-gcc-warnings.
8354 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8356 * benchtests/scripts/compare_bench.py (main): set float type on
8359 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8362 * localedata/locales/kl_GL (mon): Update, the relative case.
8363 (alt_mon): Add, fill with month names in the nominative case.
8364 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8365 (d_fmt): Set to "%b %d %Y".
8367 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8369 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8370 <bits/mman-linux.h>.
8371 (PROT_READ): Don't define here.
8372 (PROT_WRITE): Likewise.
8373 (PROT_EXEC): Likewise.
8374 (PROT_NONE): Likewise.
8375 (PROT_GROWSDOWN): Likewise.
8376 (PROT_GROWSUP): Likewise.
8377 (MAP_SHARED): Likewise.
8378 (MAP_PRIVATE): Likewise.
8379 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8380 [__USE_MISC] (MAP_FILE): Likewise.
8381 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8382 [__USE_MISC] (MAP_ANON): Likewise.
8383 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8384 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8385 (MCL_CURRENT): Likewise.
8386 (MCL_FUTURE): Likewise.
8387 (MCL_ONFAULT): Likewise.
8388 [__USE_MISC] (MADV_NORMAL): Likewise.
8389 [__USE_MISC] (MADV_RANDOM): Likewise.
8390 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8391 [__USE_MISC] (MADV_WILLNEED): Likewise.
8392 [__USE_MISC] (MADV_DONTNEED): Likewise.
8393 [__USE_MISC] (MADV_FREE): Likewise.
8394 [__USE_MISC] (MADV_REMOVE): Likewise.
8395 [__USE_MISC] (MADV_DONTFORK): Likewise.
8396 [__USE_MISC] (MADV_DOFORK): Likewise.
8397 [__USE_MISC] (MADV_HWPOISON): Likewise.
8398 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8399 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8400 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8401 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8402 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8403 (__MAP_ANONYMOUS): New macro.
8404 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8405 <bits/mman-linux.h> inclusion.
8406 (MAP_FIXED): Likewise.
8407 (MS_SYNC): Likewise.
8408 (MS_ASYNC): Likewise.
8409 (MS_INVALIDATE): Likewise.
8410 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8411 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8412 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8413 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8414 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8415 [__USE_MISC] (MADV_DODUMP): Likewise.
8416 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8417 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8420 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8422 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8423 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8424 Add test-nldbl-redirect.
8425 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8426 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8427 $(objpfx)libnldbl_nonshared.a.
8429 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8431 * support/support.h (support_objdir_elf_ldso): New variable.
8432 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8433 * support/Makefile (CFLAGS-support_paths.c): Add definition
8434 for OBJDIR_ELF_LDSO_PATH.
8435 * support/test-container.c (main): Search for the ld.so
8436 which is also used by the testsuite.
8438 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8441 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8442 should be "sap" rather than "sab".
8443 (day): Fix spelling of Sunday, should be "sapaat" rather than
8446 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8448 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8450 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8453 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8454 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8455 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8457 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8459 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8461 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8463 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8465 (CFLAGS-elision-unlock.c): Likewise.
8466 (CFLAGS-elision-timed.c): Likewise.
8467 (CFLAGS-elision-trylock.c): Likewise.
8468 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8470 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8473 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8474 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8475 new fd_to_filename interface.
8476 * libio/freopen64.c (freopen64): Likewise.
8477 * libio/tst-memstream.h: New file.
8478 * libio/tst-memstream4.c: Likewise.
8479 * libio/tst-wmemstream4.c: Likewise.
8480 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8481 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8482 and remove internal dynamic allocation.
8484 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8486 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8487 (MREMAP_MAYMOVE): Do not define here.
8488 [__USE_GNU] (MREMAP_FIXED): Likewise.
8489 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8490 (MREMAP_MAYMOVE): Define here instead.
8491 [__USE_GNU] (MREMAP_FIXED): Likewise.
8492 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8493 (MREMAP_MAYMOVE): Remove.
8494 [__USE_GNU] (MREMAP_FIXED): Likewise.
8496 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8498 * math/fromfp.h: Do not include <math_private.h>.
8499 * math/s_cacosh_template.c: Likewise.
8500 * math/s_casin_template.c: Likewise.
8501 * math/s_casinh_template.c: Likewise.
8502 * math/s_ccos_template.c: Likewise.
8503 * math/s_cproj_template.c: Likewise.
8504 * math/s_fdim_template.c: Likewise.
8505 * math/s_fmaxmag_template.c: Likewise.
8506 * math/s_fminmag_template.c: Likewise.
8507 * math/s_iseqsig_template.c: Likewise.
8508 * math/s_ldexp_template.c: Likewise.
8509 * math/s_nextdown_template.c: Likewise.
8510 * math/w_log1p_template.c: Likewise.
8511 * math/w_scalbln_template.c: Likewise.
8512 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8513 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8514 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8515 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8516 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8517 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8518 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8519 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8520 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8521 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8522 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8523 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8524 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8525 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8526 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8527 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8528 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8533 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8534 * sysdeps/ieee754/k_standardf.c: Likewise.
8535 * sysdeps/ieee754/k_standardl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8538 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8545 * sysdeps/ieee754/s_signgam.c: Likewise.
8546 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8547 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8548 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8549 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8550 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8551 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8552 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8553 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8554 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8555 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8556 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8557 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8558 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8559 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8560 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8561 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8562 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8563 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8564 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8565 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8566 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8567 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8568 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8569 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8570 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8571 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8572 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8573 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8574 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8575 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8576 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8577 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8578 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8579 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8580 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8581 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8582 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8584 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8586 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8589 * sysdeps/i386/dl-cet.c: Removed.
8590 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8592 (_dl_runtime_profile_shstk): Likewise.
8593 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8594 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8596 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8599 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8600 do_test_with_invalid_iov): New tests.
8601 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8602 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8603 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8605 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8606 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8607 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8609 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8611 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8612 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8613 (MATH_REDIRECT_BINARY_ARGS): New macro.
8614 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8615 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8616 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8618 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8620 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8631 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8632 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8637 * sysdeps/generic/math_private_calls.h
8638 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8639 Do not declare and define as an inline function.
8640 * math/divtc3.c (__divtc3): Use copysign functions instead of
8641 __copysign variants.
8642 * math/multc3.c (__multc3): Likewise.
8643 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8644 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8645 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8646 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8648 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8649 (__ieee754_yn): Likewise.
8650 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8651 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8652 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8653 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8654 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8656 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8663 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8664 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8666 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8667 (__ieee754_ynf): Likewise.
8668 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8669 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8670 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8671 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8673 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8674 (__ieee754_ynl): Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8676 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8680 (__ieee754_ynl): Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8686 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8688 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8689 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8690 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8691 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8692 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8694 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8695 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8696 using MATH_REDIRECT.
8697 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8699 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8702 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8703 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8710 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8711 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8713 (round): Redirect to __round.
8714 (__roundl): Call round instead of __round.
8715 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8717 [_ARCH_PWR5X] (__roundf): Likewise.
8718 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8719 functions instead of __round variants.
8720 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8721 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8723 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8727 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8730 (__ieee754_expl): Call roundl instead of __roundl.
8732 2018-09-27 Andreas Schwab <schwab@suse.de>
8735 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8736 (do_test): Make st1 static.
8738 2018-09-26 Andreas Schwab <schwab@suse.de>
8741 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8742 * elf/Makefile (tests): Add tst-unwind-ctor.
8743 (modules-names): Add tst-unwind-ctor-lib.
8744 ($(objpfx)tst-unwind-ctor): Depend on
8745 $(objpfx)tst-unwind-ctor-lib.so.
8747 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8749 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8750 file. Most contents moved from ....
8751 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8752 and include <bits/mman-map-flags-generic.h>.
8753 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8754 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8755 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8756 <bits/mman-map-flags-generic.h>.
8757 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8758 macros defined in <bits/mman-map-flags-generic.h>.
8759 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8760 <bits/mman-map-flags-generic.h>.
8761 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8762 defined in <bits/mman-map-flags-generic.h>.
8764 2018-09-26 Andreas Schwab <schwab@suse.de>
8766 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8769 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8770 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8771 Fangrui Song <maskray@google.com>
8774 * config.make.in (have-textrel_ifunc): New define.
8775 * configure.ac: Add check if linker supports textrel relocation with
8777 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8779 (CFLAGS-tst-ifunc-textrel.c): New rule.
8780 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8781 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8782 * elf/tst-ifunc-textrel.c: New file.
8784 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8786 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8787 <bits/procfs-prregset.h>.
8788 (prgregset_t): Define using __prgregset_t.
8789 (prfpregset_t): Define using __prfpregset_t.
8790 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8791 (sysdep_headers): Add bits/procfs-prregset.h.
8792 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8793 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8794 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8795 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8797 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8798 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8799 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8801 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8802 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8803 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8804 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8805 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8806 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8807 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8808 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8809 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8810 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8811 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8812 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8813 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8814 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8815 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8816 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8817 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8818 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8819 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8820 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8821 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8822 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8823 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8824 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8826 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8827 AArch64 version. Include <bits/procfs.h>.
8828 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8829 (sysdep_headers): Add bits/procfs.h.
8830 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8831 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8832 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8833 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8834 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8835 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8836 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8837 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8838 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8839 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8840 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8841 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8842 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8843 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8844 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8845 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8846 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8848 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8850 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8853 2018-09-25 Arjun Shankar <arjun@redhat.com>
8855 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8856 (__gconv_max_path_elem_len): Likewise.
8857 (__gconv_nmodules): Likewise.
8858 (__gconv_get_path): Likewise.
8859 (path_elem): Move to ...
8860 * iconv/gconv_conf.c: ... here.
8861 (__gconv_get_path): Mark function static.
8862 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8863 * iconv/gconv_open.c: ... here.
8865 2018-09-24 Andreas Schwab <schwab@suse.de>
8867 * scripts/haveversions.awk: New file.
8868 * Makerules ($(common-objpfx)Versions.def)
8869 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8870 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8872 * Makeconfig ($(common-objpfx)Versions.def)
8873 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8874 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8876 ($(common-objpfx)Versions.mk): New rule. Include it.
8877 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8878 Emit error if build-obsolete-nsl = yes.
8879 * manual/install.texi (Configuring and compiling): Describe
8880 --enable-obsolete-nsl as unavaiable after version 2.28.
8881 * INSTALL: Regenerate.
8883 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8885 * NEWS: Add note about new TLE support on powerpc64le.
8886 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8887 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8889 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8890 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8891 * sysdeps/powerpc/powerpc32/sysdep.h,
8892 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8893 ABORT_TRANSACTION): Remove macros.
8894 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8895 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8896 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8898 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8899 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8901 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8903 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8906 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8907 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8908 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8909 which is the same as in it_IT.
8910 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8911 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8913 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8915 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8916 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8917 using MATH_REDIRECT.
8918 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8920 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8922 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8924 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8930 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8931 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8932 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8935 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8936 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8938 (ceil): Redirect to __ceil.
8939 (floor): Redirect to __floor.
8940 (trunc): Redirect to __trunc.
8941 (__truncl): Call trunc instead of __trunc.
8942 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8944 [_ARCH_PWR5X] (__truncf): Likewise.
8945 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8946 trunc functions instead of __trunc variants.
8947 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8949 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8956 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8957 [__i586__ || __pentium__].
8958 [__i486__]: Handle explicitly.
8959 (HAS_CPUID): Define to 1 if above macros are undefined.
8960 (HAS_I586): Likewise.
8961 (HAS_I686): Likewise.
8963 2018-09-20 Florian Weimer <fweimer@redhat.com>
8965 * misc/tst-gethostid.c: New file.
8966 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8967 (tst-gethostid): Link with -ldl.
8969 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8971 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8972 value from gethostbyname_r.
8974 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8976 * stdlib/tst-setcontext9.c (f1): Rename to...
8978 (f1b): New function implementing lower half of f1 in alternate stack.
8980 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8982 Fix mktime localtime offset confusion
8984 * include/time.h (__mktime_internal): The localtime offset is now
8985 of type long int instead of time_t. This is the longstanding type
8986 in glibc, and it is more than enough to represent difference
8987 between localtime and gmtime even if it is 32 bits and time_t is
8988 64. Changing it now will let us avoid an unnecessary change when
8989 time_t is widened to 64 bits on 32-bit platforms.
8990 * time/mktime-internal.h (mktime_offset_t): Now long int.
8992 Merge mktime, timegm from upstream Gnulib
8993 [BZ #23603][BZ #16346]
8994 This fixes some obscure problems with integer overflow.
8995 Although it looks scary, it is almost all a byte-for-byte copy
8996 from Gnulib, and the Gnulib code has been tested reasonably well.
8997 * include/intprops.h: New file, copied from Gnulib.
8998 * include/verify.h, time/mktime-internal.h:
8999 New tiny files, simplified from Gnulib.
9000 * time/mktime.c: Copy from Gnulib. This has the following changes:
9001 Do not include config.h if DEBUG_MKTIME is nonzero.
9002 Include stdbool.h, intprops.h, verify.h.
9003 Include string.h only if needed.
9004 Include stdlib.h on MS-Windows.
9005 Include mktime-internal.h.
9006 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9007 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9008 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9009 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9010 simplify later conditionals; default the others to zero. Use
9011 these conditionals to express only the code needed on the current
9012 platform. In uses of these conditionals, explicitly spell out how
9013 _LIBC affects things, so it’s easier to review from a glibc
9015 (WRAPV): Remove; no longer needed now that we have
9016 systematic overflow checking.
9017 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9018 compartmentalize tzset issues. Move system-dependent tzsettish
9019 code here from mktime.
9020 (verify): Remove; now done by verify.h. All uses changed.
9021 (long_int): Use a more-conservative definition, to avoid
9023 (SHR): Remove, replacing with ...
9024 (shr): New function, which means we needn’t worry about side
9025 effects in args, and conversion analysis is simpler.
9026 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9027 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9028 (time_t_avg, time_t_add_ok): Remove.
9029 (mktime_min, mktime_max): New constants.
9030 (leapyear, isdst_differ): Use bool for booleans.
9031 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9032 Use long_int, not time_t, for mktime differences.
9033 (long_int_avg): New function, replacing time_t_avg.
9034 INT_ADD_WRAPV replaces time_t_add_ok.
9035 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9037 (convert_time): New function.
9038 (ranged_convert): Use it.
9039 (__mktime_internal): Last arg now points to mktime_offset_t, not
9040 time_t. All uses changed. This is a no-op on glibc, where
9041 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9042 offset guess. Directly check for integer overflow instead of
9043 using a heuristic that works only 99.9...% of the time.
9044 Access *OFFSET only once, to avoid an unlikely race if the
9045 compiler delays a load and if this cascades into a signed integer
9047 (mktime): Move tzsettish code to my_tzset, and move
9048 localtime_offset to within mktime so that it doesn’t
9049 need a separate ifdef.
9050 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9051 instead of localtime.
9052 * time/timegm.c: Copy from Gnulib. This has the following changes:
9053 Include mktime-internal.h.
9054 [!_LIBC]: Include config.h and time.h. Do not include
9055 timegm.h or time_r.h. Make __mktime_internal a macro,
9056 and include mktime-internal.h to get its declaration.
9057 (timegm): Temporary is now mktime_offset_t, not time_t.
9058 This affects only Gnulib.
9060 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9063 * string/test-strstr.c (pr23637): New function.
9064 (test_main): Add tests with longer needles.
9065 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9066 * string/strstr.c (AVAILABLE): Likewise.
9068 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9070 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9072 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9074 * NEWS: Mention pow improvements.
9075 * math/Makefile (type-double-routines): Add e_pow_log_data.
9076 * sysdeps/generic/math_private.h (__exp1): Remove.
9077 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9078 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9079 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9081 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9082 (exp_inline): Remove.
9083 (__ieee754_exp): Only single double input is handled.
9084 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9085 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9086 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9087 (__pow_log_data): Define.
9088 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9089 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9090 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9091 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9093 (CFLAGS-e_pow-fma4.c): Likewise.
9095 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9097 Simplify tzfile fstat failure code
9099 * time/tzfile.c (__tzfile_read): Simplify slightly.
9101 Fix tzfile low-memory assertion failure
9103 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9104 when registering time zone abbreviations.
9106 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9108 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9109 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9110 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9111 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9112 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9113 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9114 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9115 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9116 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9120 (__ceill): Call ceil instead of __ceil.
9121 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9123 (__floorl): Call floor instead of __floor.
9125 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9127 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9128 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9129 using MATH_REDIRECT.
9130 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9132 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9135 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9139 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9144 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9145 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9148 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9149 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9150 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9152 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9153 functions instead of __ceil variants.
9154 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9155 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9159 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9162 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9163 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9166 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9168 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9169 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9170 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9171 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9172 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9173 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9174 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9175 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9176 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9177 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9178 (ILL_BADIADDR): Remove constant.
9179 (TRAP_BRANCH): Likewise.
9180 (TRAP_HWBKPT): Likewise.
9182 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9185 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9186 Remove [_MIPS_SIM = _ABIN32] conditional case.
9187 (struct elf_prpsinfo): Likewise.
9190 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9191 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9192 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9194 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9195 elf_prpsinfo): Likewise.
9196 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9197 elf_prpsinfo): Likewise.
9198 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9201 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9202 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9203 using MATH_REDIRECT.
9204 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9206 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9207 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9208 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9209 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9212 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9213 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9216 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9217 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9218 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9219 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9220 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9221 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9222 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9223 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9224 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9229 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9230 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9231 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9232 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9234 * math/e_scalbf.c (invalid_fn): Likewise.
9235 * math/e_scalbl.c (invalid_fn): Likewise.
9236 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9238 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9240 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9241 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9244 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9246 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9248 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9249 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9251 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9252 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9254 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9255 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9256 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9257 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9258 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9259 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9260 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9261 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9262 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9263 && !NO_MATH_REDIRECT] (floor): Likewise.
9264 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9266 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9269 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9270 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9273 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9278 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9279 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9282 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9283 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9284 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9286 [_ARCH_PWR5X] (__floorf): Likewise.
9287 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9289 [__SSE4_1__] (__floorf): Likewise.
9290 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9291 instead of __floor variants.
9292 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9293 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9294 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9295 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9296 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9297 * math/w_tgamma_compat.c (__tgamma): Likewise.
9298 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9299 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9300 * math/w_tgammal_compat.c (__tgammal): Likewise.
9301 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9304 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9305 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9306 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9307 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9309 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9310 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9312 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9318 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9321 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9322 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9323 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9325 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9327 * elf/Makefile (modules-names-tests): New variable.
9329 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9331 * NEWS: Mention log2 improvements.
9332 * math/Makefile (type-double-routines): Add e_log2_data.
9333 * sysdeps/i386/fpu/e_log2_data.c: New file.
9334 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9335 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9336 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9337 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9338 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9339 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9341 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9343 * NEWS: Mention log improvement.
9344 * math/Makefile (type-double-routines): Add e_log_data.
9345 * sysdeps/i386/fpu/e_log_data.c: New file.
9346 * sysdeps/ia64/fpu/e_log_data.c: New file.
9347 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9348 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9349 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9350 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9351 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9352 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9354 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9355 Xuepeng Guo <xuepeng.guo@intel.com>
9358 * sysdeps/i386/start.S: Include <sysdep.h>
9359 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9360 enabled. Add cfi_undefined (eip).
9362 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9364 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9366 (EXTRACT_WORDS64): Likewise.
9367 (INSERT_WORDS64): Likewise.
9368 (GET_FLOAT_WORD): Likewise.
9369 (SET_FLOAT_WORD): Likewise.
9371 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9373 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9374 build, but not for second build if --full-gcc. Use
9375 --enable-languages=all for second build if --full-gcc.
9376 (get_parser): Add --full-gcc option.
9377 (main): Update call to Context.
9379 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9382 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9383 Single Quotation Mark).
9384 (thousands_sep): Likewise.
9385 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9386 * localedata/locales/it_IT (thousands_sep): Use ".".
9387 (grouping): Use "3;3".
9389 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9391 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9392 x86_64 and i686 configs using --enable-obsolete-rpc
9393 --enable-obsolete-nsl.
9395 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9397 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9399 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9401 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9402 Increment size of new_argv by one.
9404 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9407 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9408 * localedata/locales/ar_IN (d_fmt): Likewise.
9409 * localedata/locales/bhb_IN (d_fmt): Likewise.
9410 * localedata/locales/bho_IN (d_fmt): Likewise.
9411 * localedata/locales/bn_BD (d_fmt): Likewise.
9412 * localedata/locales/bn_IN (d_fmt): Likewise.
9413 * localedata/locales/doi_IN (d_fmt): Likewise.
9414 * localedata/locales/gu_IN (d_fmt): Likewise.
9415 * localedata/locales/hi_IN (d_fmt): Likewise.
9416 * localedata/locales/hne_IN (d_fmt): Likewise.
9417 * localedata/locales/kn_IN (d_fmt): Likewise.
9418 * localedata/locales/mag_IN (d_fmt): Likewise.
9419 * localedata/locales/mai_IN (d_fmt): Likewise.
9420 * localedata/locales/mjw_IN (d_fmt): Likewise.
9421 * localedata/locales/ml_IN (d_fmt): Likewise.
9422 * localedata/locales/mni_IN (d_fmt): Likewise.
9423 * localedata/locales/mr_IN (d_fmt): Likewise.
9424 * localedata/locales/pa_IN (d_fmt): Likewise.
9425 * localedata/locales/raj_IN (d_fmt): Likewise.
9426 * localedata/locales/sat_IN (d_fmt): Likewise.
9427 * localedata/locales/sd_IN (d_fmt): Likewise.
9428 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9429 * localedata/locales/ta_IN (d_fmt): Likewise.
9430 * localedata/locales/ta_LK (d_fmt): Likewise.
9431 * localedata/locales/tcy_IN (d_fmt): Likewise.
9432 * localedata/locales/ur_IN (d_fmt): Likewise.
9434 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9435 * localedata/locales/ks_IN (d_fmt): Likewise.
9436 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9438 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9439 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9440 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9441 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9443 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9445 * NEWS: Mention exp and exp2 improvements.
9446 * math/Makefile (libm-support): Remove t_exp.
9447 (type-double-routines): Add math_err and e_exp_data.
9448 * sysdeps/aarch64/libm-test-ulps: Update.
9449 * sysdeps/arm/libm-test-ulps: Update.
9450 * sysdeps/i386/fpu/e_exp_data.c: New file.
9451 * sysdeps/i386/fpu/math_err.c: New file.
9452 * sysdeps/i386/fpu/t_exp.c: Remove.
9453 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9454 * sysdeps/ia64/fpu/math_err.c: New file.
9455 * sysdeps/ia64/fpu/t_exp.c: Remove.
9456 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9457 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9458 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9460 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9461 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9462 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9463 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9464 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9465 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9466 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9467 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9468 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9469 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9473 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9475 * sysdeps/alpha/fpu/math_private.h: Remove.
9477 * sysdeps/generic/math_private.h
9478 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9479 Move this inline function ....
9480 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9481 * include/math.h [!_ISOMAC]: To here....
9483 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9485 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9487 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9488 * include/fenv.h [!_ISOMAC]: ... to here.
9489 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9490 (feraiseexcept): Likewise.
9491 * math/fromfp.h: Do not include <fenv_private.h>.
9492 * math/s_cexp_template.c: Likewise.
9493 * math/s_csin_template.c: Likewise.
9494 * math/s_csinh_template.c: Likewise.
9495 * math/s_ctan_template.c: Likewise.
9496 * math/s_ctanh_template.c: Likewise.
9497 * math/s_iseqsig_template.c: Likewise.
9498 * math/w_acos_compat.c: Likewise.
9499 * math/w_acosf_compat.c: Likewise.
9500 * math/w_acosl_compat.c: Likewise.
9501 * math/w_asin_compat.c: Likewise.
9502 * math/w_asinf_compat.c: Likewise.
9503 * math/w_asinl_compat.c: Likewise.
9504 * math/w_j0_compat.c: Likewise.
9505 * math/w_j0f_compat.c: Likewise.
9506 * math/w_j0l_compat.c: Likewise.
9507 * math/w_j1_compat.c: Likewise.
9508 * math/w_j1f_compat.c: Likewise.
9509 * math/w_j1l_compat.c: Likewise.
9510 * math/w_jn_compat.c: Likewise.
9511 * math/w_jnf_compat.c: Likewise.
9512 * math/w_log10_compat.c: Likewise.
9513 * math/w_log10f_compat.c: Likewise.
9514 * math/w_log10l_compat.c: Likewise.
9515 * math/w_log2_compat.c: Likewise.
9516 * math/w_log2f_compat.c: Likewise.
9517 * math/w_log2l_compat.c: Likewise.
9518 * math/w_log_compat.c: Likewise.
9519 * math/w_logf_compat.c: Likewise.
9520 * math/w_logl_compat.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9526 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9527 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9528 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9529 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9530 * sysdeps/ieee754/k_standardl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9548 * math/w_ilogb_template.c: Include <fenv.h> instead of
9550 * math/w_llogb_template.c: Likewise.
9551 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9552 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9554 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9556 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9557 * math/fromfp.h: Include <fenv_private.h>.
9558 * math/math-narrow.h: Likewise.
9559 * math/s_cexp_template.c: Likewise.
9560 * math/s_csin_template.c: Likewise.
9561 * math/s_csinh_template.c: Likewise.
9562 * math/s_ctan_template.c: Likewise.
9563 * math/s_ctanh_template.c: Likewise.
9564 * math/s_iseqsig_template.c: Likewise.
9565 * math/w_acos_compat.c: Likewise.
9566 * math/w_acosf_compat.c: Likewise.
9567 * math/w_acosl_compat.c: Likewise.
9568 * math/w_asin_compat.c: Likewise.
9569 * math/w_asinf_compat.c: Likewise.
9570 * math/w_asinl_compat.c: Likewise.
9571 * math/w_ilogb_template.c: Likewise.
9572 * math/w_j0_compat.c: Likewise.
9573 * math/w_j0f_compat.c: Likewise.
9574 * math/w_j0l_compat.c: Likewise.
9575 * math/w_j1_compat.c: Likewise.
9576 * math/w_j1f_compat.c: Likewise.
9577 * math/w_j1l_compat.c: Likewise.
9578 * math/w_jn_compat.c: Likewise.
9579 * math/w_jnf_compat.c: Likewise.
9580 * math/w_llogb_template.c: Likewise.
9581 * math/w_log10_compat.c: Likewise.
9582 * math/w_log10f_compat.c: Likewise.
9583 * math/w_log10l_compat.c: Likewise.
9584 * math/w_log2_compat.c: Likewise.
9585 * math/w_log2f_compat.c: Likewise.
9586 * math/w_log2l_compat.c: Likewise.
9587 * math/w_log_compat.c: Likewise.
9588 * math/w_logf_compat.c: Likewise.
9589 * math/w_logl_compat.c: Likewise.
9590 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9591 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9592 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9593 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9618 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9620 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9621 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9622 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9623 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9624 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9625 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9626 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9627 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9628 * sysdeps/ieee754/k_standardl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9654 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9655 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9659 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9660 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9665 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9666 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9667 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9668 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9669 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9670 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9671 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9672 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9673 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9674 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9675 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9676 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9677 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9678 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9679 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9680 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9681 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9682 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9683 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9684 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9685 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9686 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9687 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9688 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9689 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9690 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9691 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9692 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9693 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9694 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9695 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9696 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9697 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9698 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9699 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9701 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9704 * include/stdio.h (__libc_fatal): Mention newline in comment.
9705 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9706 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9708 * nss/nsswitch.c (__nss_next2): Likewise.
9709 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9710 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9711 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9712 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9713 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9714 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9715 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9716 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9717 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9718 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9719 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9720 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9721 (__netlink_assert_response): Likewise.
9723 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9725 * conform/glibcconform.py: New file.
9726 * conform/list-header-symbols.py: Likewise.
9727 * conform/list-header-symbols.pl: Remove.
9728 * conform/Makefile (tests-special): Only add linknamespace tests
9730 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9732 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9735 * support/Makefile (libsupport-routines): Add
9736 support_copy_file_range and xcopy_file_range.
9737 * support/support.h: Include <sys/types.h>.
9738 (support_copy_file_range): New prototype.
9739 * support/support_copy_file_range.c: New file. Copied and
9740 modified from io/copy_file_range-compat.c.
9741 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9742 instead of copy_file_range.
9743 * support/xcopy_file_range.c: New file.
9744 * support/xunistd.h (xcopy_file_range): New prototype.
9746 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9748 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9749 xpthread_create and xpthread_join.
9751 2018-08-30 Florian Weimer <fweimer@redhat.com>
9753 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9755 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9757 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9760 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9762 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9763 and minus_oflow as non-finite.
9765 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9767 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9768 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9769 moved to fenv_private.h except for ...
9770 (TOINT_INTRINSICS): Kept in math_private.h.
9771 (roundtoint): Likewise.
9772 (converttoint): Likewise.
9773 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9774 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9775 * sysdeps/arm/math_private.h: Remove.
9776 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9778 * sysdeps/generic/math_private.h: ... this file. Include
9779 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9780 Include <fenv_private.h>. Remove functions and macros moved to
9782 * sysdeps/i386/fpu/math_private.h: Remove.
9783 * sysdeps/mips/math_private.h: Move to ....
9784 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9785 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9786 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9787 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9788 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9789 * sysdeps/powerpc/fpu/math_private.h: Do not include
9791 * sysdeps/riscv/rvf/math_private.h: Move to ....
9792 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9793 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9795 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9796 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9797 * sysdeps/sparc/fpu/math_private.h: Remove.
9798 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9799 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9800 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9802 * sysdeps/x86_64/fpu/math_private.h: Do not include
9803 <sysdeps/i386/fpu/fenv_private.h>.
9805 2018-08-28 Florian Weimer <fweimer@redhat.com>
9808 * posix/tst-regcomp-truncated.c: New file.
9809 * posix/Makefile (tests): Add it.
9810 (tst-regcomp-truncated.out): Depend on generated locales.
9812 2018-08-28 Florian Weimer <fweimer@redhat.com>
9814 * support/test-container.c (main): Treat unshare failure with
9815 EPERM as an unsupported test.
9817 2018-08-28 Florian Weimer <fweimer@redhat.com>
9820 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9821 * nscd/netgroupcache.c
9822 (addgetnetgrentX): Add tofreep parameter. Do not free
9823 heap-allocated buffer.
9824 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9825 (addgetnetgrentX_ignore): New function.
9826 (addgetnetgrent): Call it.
9827 (readdgetnetgrent): Likewise.
9829 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9831 * string/memmem.c: Use memcmp for first match.
9833 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9836 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9838 2018-08-27 DJ Delorie <dj@redhat.com>
9840 * support/Makefile (others): Don't list programs explicitly as a
9841 dependency of "others".
9843 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9845 * sysdeps/generic/math-tests-trap-force.h: New file.
9846 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9847 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9848 * sysdeps/powerpc/math-tests.h: Remove file.
9849 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9851 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9852 Torvald Riegel <triegel@redhat.com>
9855 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9856 Update r to include the set wake-request flag if waiters are
9857 remaining after spinning.
9859 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9861 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9863 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9866 regex: fix uninitialized memory access
9867 I introduced this bug into gnulib in commit
9868 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9869 eventually it was merged into glibc. The bug was found by
9870 project-repo <bugs@feusi.co> and reported here:
9871 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9872 Diagnosis and draft fix reported by Assaf Gordon here:
9873 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9874 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9875 * posix/regex_internal.c (build_wcs_upper_buffer):
9876 Fix bug when mbrtowc returns 0.
9878 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9880 * po/be.po: Update translation.
9882 2018-08-24 DJ Delorie <dj@delorie.com>
9884 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9887 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9890 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9891 create temporary files in source tree.
9893 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9895 * sysdeps/generic/math-tests-trap.h: New file.
9896 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9897 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9898 * sysdeps/aarch64/math-tests.h: Remove file.
9899 * sysdeps/arm/math-tests.h: Likewise.
9900 * sysdeps/riscv/math-tests.h: Likewise.
9901 * sysdeps/aarch64/math-tests-trap.h: New file.
9902 * sysdeps/arm/math-tests-trap.h: Likewise.
9903 * sysdeps/riscv/math-tests-trap.h: Likewise.
9905 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9907 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9908 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9909 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9910 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9911 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9912 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9916 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9917 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9919 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9920 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9921 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9922 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9923 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9924 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9926 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9928 * sysdeps/generic/math-tests-exceptions.h: New file.
9929 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9930 (EXCEPTION_TESTS_float): Do not define here.
9931 (EXCEPTION_TESTS_double): Likewise.
9932 (EXCEPTION_TESTS_long_double): Likewise.
9933 (EXCEPTION_TESTS_float128): Likewise.
9934 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9936 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9937 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9938 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9939 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9940 * sysdeps/mips/math-tests.h: Likewise.
9941 * sysdeps/nios2/math-tests.h: Likewise.
9942 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9943 (EXCEPTION_TESTS_float): Do not define here.
9944 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9945 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9946 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9948 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9950 * NEWS: Move optimized sinf entry to 2.29.
9952 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9954 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9956 2018-08-22 DJ Delorie <dj@redhat.com>
9958 * Makefile (testroot.pristine): New rules to initialize the
9959 test-in-container "testroot".
9960 * Makerules (all-testsuite): Add tests-container.
9961 * Rules (tests-expected): Add tests-container.
9962 (binaries-all-tests): Likewise.
9963 (tests-container): New, run these tests in the testroot container.
9964 * support/Makefile (others): Add *-container, support_paths.c,
9965 xmkdirp, and links-dso-program.
9966 * support/links-dso-program-c.c: New.
9967 * support/links-dso-program.cc: New.
9968 * support/test-container.c: New.
9969 * support/shell-container.c: New.
9970 * support/echo-container.c: New.
9971 * support/true-container.c: New.
9972 * support/xmkdirp.c: New.
9973 * support/xsymlink.c: New.
9974 * support/support_paths.c: New.
9975 * support/support.h: Add support paths prototypes.
9976 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9978 * nss/tst-nss-test3.c: Convert to test-in-container.
9979 * nss/tst-nss-test3.root/: New.
9981 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9983 regex: port Gnulib code to z/OS POSIX environment
9984 Problem reported by Arnold Robbins in:
9985 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9986 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9989 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9991 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9992 (ROUNDING_TESTS_double): Remove.
9993 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9994 (ROUNDING_TESTS_double): Remove.
9995 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9996 (ROUNDING_TESTS_double): Remove.
9997 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9998 (ROUNDING_TESTS_float): Remove.
9999 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10000 (ROUNDING_TESTS_float): Remove.
10001 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10002 (ROUNDING_TESTS_float): Remove.
10003 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10004 !TEST_MATHVEC here.
10005 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10006 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10008 * sysdeps/generic/math-tests-rounding.h: New file.
10009 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10010 (ROUNDING_TESTS_float): Do not define here.
10011 (ROUNDING_TESTS_double): Likewise.
10012 (ROUNDING_TESTS_long_double): Likewise.
10013 (ROUNDING_TESTS_float128): Likewise.
10014 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10015 (ROUNDING_TESTS_double): Undefine before defining.
10016 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10017 (ROUNDING_TESTS_double): Undefine before defining.
10018 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10019 (ROUNDING_TESTS_double): Undefine before defining.
10020 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10021 (ROUNDING_TESTS_float): Undefine before defining.
10022 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10023 (ROUNDING_TESTS_float): Undefine before defining.
10024 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10025 (ROUNDING_TESTS_float): Undefine before defining.
10026 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10027 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10029 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10030 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10031 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10032 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10033 (ROUNDING_TESTS_float): Do not define here.
10034 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10035 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10036 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10037 (ROUNDING_TESTS_float): Likewise.
10038 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10039 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10040 * sysdeps/mips/math-tests.h [__mips_soft_float]
10041 (ROUNDING_TESTS_float): Likewise.
10042 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10043 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10044 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10045 (ROUNDING_TESTS_double): Likewise.
10046 (ROUNDING_TESTS_long_double): Likewise.
10048 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10050 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10051 (PF_XDP): New macro.
10052 (AF_XDP): New macro.
10053 (SOL_XDP): New macro.
10055 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10058 (TCP_INQ): Likewise.
10059 (TCP_CM_INQ): Likewise.
10060 (TCP_REPAIR_ON): Likewise.
10061 (TCP_REPAIR_OFF): Likewise.
10062 (TCP_REPAIR_OFF_NO_WP): Likewise.
10063 (struct tcp_zerocopy_receive): New type.
10065 2018-08-21 Florian Weimer <fweimer@redhat.com>
10067 * support/support.h (support_descriptor_supports_holes): Declare.
10068 * support/Makefile (libsupport-routines): Add
10069 support_descriptor_supports_holes.
10070 * support/support_descriptor_supports_holes.c: New file.
10071 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10072 and stop testing if holes are not supported.
10073 * io/test-lfs.c (do_prepare): Likewise.
10074 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10076 * timezone/tst-tzset.c (create_tz_file): Likewise.
10077 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10079 (do_prepare): Set it.
10080 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10082 2018-08-21 Florian Weimer <fweimer@redhat.com>
10085 * Makeconfig (+cflags): Do not sort (and deduplicate).
10087 2018-08-21 Florian Weimer <fweimer@redhat.com>
10089 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10090 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10092 2018-08-20 Florian Weimer <fweimer@redhat.com>
10094 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10095 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10097 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10099 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10100 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10101 and ssi_arch members.
10103 * elf/elf.c (NT_VMCOREDD): New macro.
10104 (AT_MINSIGSTKSZ): Likewise.
10106 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10109 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10110 s_cosf-ppc64 and s_cosf-power8.
10111 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10112 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10113 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10114 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10121 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10122 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10124 2018-08-17 Florian Weimer <fweimer@redhat.com>
10126 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10128 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10130 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10132 2018-08-16 Florian Weimer <fweimer@redhat.com>
10134 * configure.ac: Add --with-nonshared-cflags option.
10135 * config.make.in (extra-nonshared-cflags): Set variable.
10136 * Makeconfig (CFLAGS-.oS): Use it.
10137 * manual/install.texi (Configuring and compiling): Document
10138 --with-nonshared-cflags.
10139 * configure: Regenerate.
10140 * INSTALL: Likewise.
10142 2018-08-16 Florian Weimer <fweimer@redhat.com>
10144 * Makeconfig (ASFLAGS): Always append required assembler flags.
10146 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10148 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10149 (malloc_consolidate): Likewise.
10151 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10153 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10155 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10157 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10160 * benchtests/bench-strlen.c: Print performance numbers in json.
10162 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10164 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10165 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10166 only for little endian.
10167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10168 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10169 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10170 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10171 Add check for little endian.
10172 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10173 (__strcmp_power9): Add check for little endian.
10174 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10175 Add check for little endian.
10176 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10177 (__strncmp_power9): Add check for little endian.
10178 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10179 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10180 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10181 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10182 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10184 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10186 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10187 [!STRLEN](STRLEN): Set to __strlen.
10188 * sysdeps/aarch64/multiarch/strlen.c: New file.
10189 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10190 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10191 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10192 (__libc_ifunc_impl_list): Add strlen.
10193 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10194 strlen_generic and strlen_asimd.
10196 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10199 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10200 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10202 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10204 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10206 2018-08-14 Florian Weimer <fweimer@redhat.com>
10209 * include/stdio.h (__vfxprintf): Declare.
10210 * stdio-common/fxprintf.c (__vfxprintf): New function.
10211 (__fxprintf): Call it.
10212 * misc/err.c (convert_and_print): Remove function.
10213 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10214 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10215 * misc/Makefile (tests): Add tst-warn-wide.
10216 * misc/tst-warn-wide.c: New file.
10218 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10219 Szabolcs Nagy <szabolcs.nagy@arm.com>
10221 * NEWS: Mention sinf, cosf, sincosf.
10222 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10223 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10224 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10225 constants rather than including generic sincosf.h.
10226 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10227 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10228 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10229 (reduced_cos): Remove.
10230 (sinf_poly): New function.
10231 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10233 2018-08-14 Florian Weimer <fweimer@redhat.com>
10237 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10238 processing, bail out if no room, and close the stream before
10240 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10241 (tst-nss-files-alias-leak): Link with libdl.
10242 (tst-nss-files-alias-leak.out): Depend on nss_files.
10244 * nss/tst-nss-files-alias-leak.c: New file.
10246 2018-08-14 Florian Weimer <fweimer@redhat.com>
10248 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10249 server_user, stat_user.
10251 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10253 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10255 (io_pgetevents): New syscall.
10258 * manual/install.texi (Configuring and compiling): Do not list
10259 tools used for testing pretty printers here.
10260 (Tools for Compilation): List Python, PExpect and GDB here.
10261 Update descriptions of uses of Perl and Python.
10262 * INSTALL: Regenerate.
10264 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10267 2018-08-13 Florian Weimer <fweimer@redhat.com>
10269 * misc/error.c (error): Add missing va_end call.
10270 (error_at_line): Likewise.
10272 2018-08-13 Florian Weimer <fweimer@redhat.com>
10274 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10276 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10278 * benchtests/scripts/benchout.schema.json (properties): Add
10281 * benchtests/bench-skeleton.c (main): Add duration and
10282 iterations attributes.
10284 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10286 regex: Gnulib unibyte RRI uses bytes not chars
10287 Adjust the non-glibc code to agree with what Gawk needs for
10288 rational range interpretation (RRI) for regular expression ranges.
10289 In unibyte locales, Gawk wants ranges to use the underlying byte
10290 rather than the character code point. This change does not affect
10292 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10293 In unibyte locales, use the byte value rather than
10294 running it through btowc.
10296 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10298 * sysdeps/generic/math-tests-snan.h: New file.
10299 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10300 (SNAN_TESTS_float): Do not define here.
10301 (SNAN_TESTS_double): Likewise.
10302 (SNAN_TESTS_long_double): Likewise.
10303 (SNAN_TESTS_float128): Likewise.
10304 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10305 * sysdeps/i386/fpu/math-tests.h: Remove file.
10306 * sysdeps/ia64/math-tests-snan.h: New file.
10307 * sysdeps/ia64/math-tests.h: Remove file.
10308 * sysdeps/x86/math-tests.h: Likewise.
10309 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10311 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10312 Szabolcs Nagy <szabolcs.nagy@arm.com>
10314 * math/Makefile: Add s_sincosf_data.c.
10315 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10316 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10317 (sincosf_poly): Likewise.
10318 (reduce_small): Likewise.
10319 (reduce_large): Likewise.
10320 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10321 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10322 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10323 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10325 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10326 Szabolcs Nagy <szabolcs.nagy@arm.com>
10328 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10329 (converttoint): Use lround.
10330 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10331 document the semantics when TOINT_INTRINSICS is set.
10332 (converttoint): Likewise.
10333 (TOINT_RINT): Remove.
10334 (TOINT_SHIFT): Remove.
10335 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10338 2018-08-10 Florian Weimer <fweimer@redhat.com>
10341 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10343 (__old_getdents64): Use getdents64. Convert entries without
10345 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10346 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10347 tst-readdir64-compat.
10349 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10351 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10354 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10356 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10357 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10358 code to s390x-mcount.h and #include it.
10359 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10360 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10363 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10365 * stdlib/Versions: Remove __fentry__.
10366 * sysdeps/i386/Versions: Add __fentry__.
10367 * sysdeps/x86_64/Versions: Add __fentry__.
10369 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10371 * sysdeps/s390/Makefile: Register the new tests.
10372 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10373 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10374 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10375 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10376 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10377 * sysdeps/s390/tst-dl-runtime.c: New file.
10379 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10381 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10384 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10386 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10389 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10391 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10394 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10396 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10399 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10401 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10402 Use symbolic offsets for stack variables.
10404 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10406 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10407 Use symbolic offsets for stack variables.
10409 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10411 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10412 Use symbolic offsets for stack variables.
10414 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10416 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10417 Use symbolic offsets for stack variables.
10419 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10421 * math/gen-libm-test.py: New file.
10422 * math/gen-libm-test.pl: Remove.
10423 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10424 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10426 ($(libm-test-c-noauto-obj)): Likewise.
10427 ($(libm-test-c-auto-obj)): Likewise.
10428 ($(libm-test-c-narrow-obj)): Likewise.
10429 (regen-ulps): Likewise.
10430 * math/README.libm-test: Update references to gen-libm-test.pl.
10431 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10432 referencing gen-libm-test.pl.
10433 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10434 * math/libm-test-support.c: Likewise.
10435 * math/libm-test-support.h: Likewise.
10436 * sysdeps/generic/libm-test-ulps: Likewise.
10438 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10440 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10443 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10445 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10446 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10448 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10450 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10452 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10453 __pthread_setspecific): Add hidden proto.
10454 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10455 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10457 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10459 * benchtests/bench-string.h (buf1_size, buf2_size): New
10461 (init_sizes): New function.
10462 (test_init): Use it.
10463 (alloc_buf, exit_error): New functions.
10464 (alloc_bufs): Use ALLOC_BUF.
10465 (realloc_bufs): Remove.
10466 * benchtests/bench-memcmp.c (do_test): Adjust.
10467 * benchtests/bench-memset-large.c (do_test): Likewise.
10468 * benchtests/bench-memset-walk.c (do_test): Likewise.
10469 * benchtests/bench-memset.c (do_test): Likewise.
10470 * benchtests/bench-strncmp.c (do_test): Likewise.
10472 2018-08-06 Andreas Schwab <schwab@suse.de>
10474 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10475 of CONST_THREAD_AREA.
10477 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10479 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10480 (STATE_SAVE_MASK): Likewise.
10481 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10482 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10483 (STATE_SAVE_MASK): Likewise.
10484 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10485 instead of <cpu-features.h>.
10487 2018-08-03 DJ Delorie <dj@redhat.com>
10489 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10490 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10492 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10494 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10496 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10497 after TEST_* calls.
10498 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10499 * math/libm-test-logb.inc (logb_test_data): Likewise.
10501 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10503 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10504 * string/strstr.c (AVAILABLE): Likewise.
10506 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10508 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10510 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10511 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10512 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10514 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10516 * po/be.po: Update translation.
10518 * po/be.po: Update translation.
10520 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/x86/cpu-features-offsets.sym
10523 (rtld_global_ro_offsetof): Removed.
10524 (CPU_FEATURES_SIZE): Likewise.
10525 (CPUID_OFFSET): Likewise.
10526 (CPUID_SIZE): Likewise.
10527 (CPUID_EAX_OFFSET): Likewise.
10528 (CPUID_EBX_OFFSET): Likewise.
10529 (CPUID_ECX_OFFSET): Likewise.
10530 (CPUID_EDX_OFFSET): Likewise.
10531 (FAMILY_OFFSET): Likewise.
10532 (MODEL_OFFSET): Likewise.
10533 (FEATURE_OFFSET): Likewise.
10534 (FEATURE_SIZ): Likewise.
10535 (COMMON_CPUID_INDEX_1): Likewise.
10536 (COMMON_CPUID_INDEX_7): Likewise.
10537 (FEATURE_INDEX_1): Likewise.
10538 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10540 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10542 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10543 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10544 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10545 (install-locales): Depend on install-locale-archive.
10546 (install-locale-archive): Define.
10547 (install-locale-files): Define.
10548 (build-one-locale): Define macro.
10549 * manual/install.texi (Running make install): Document.
10550 * manual/INSTALL: Regenerate.
10552 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10554 * benchtests/scripts/compare_strings.py: Import traceback.
10555 (parse_file): Pretty-print error.
10557 * NEWS: Mention the change.
10558 * elf/dl-tunables.list: Rename tune namespace to cpu.
10559 * sysdeps/powerpc/dl-tunables.list: Likewise.
10560 * sysdeps/x86/dl-tunables.list: Likewise.
10561 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10563 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10564 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10565 * manual/README.tunables: Likewise.
10566 * manual/tunables.texi: Likewise.
10567 * sysdeps/powerpc/cpu-features.c: Likewise.
10568 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10569 (init_cpu_features): Likewise.
10570 * sysdeps/x86/cpu-features.c: Likewise.
10571 * sysdeps/x86/cpu-features.h: Likewise.
10572 * sysdeps/x86/cpu-tunables.c: Likewise.
10573 * sysdeps/x86_64/Makefile: Likewise.
10574 * sysdeps/x86/dl-cet.c: Likewise.
10576 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10579 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10580 [__mips_hard_float].
10581 (FE_UNDERFLOW): Likewise.
10582 (FE_OVERFLOW): Likewise.
10583 (FE_DIVBYZERO): Likewise.
10584 (FE_INVALID): Likewise.
10585 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10586 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10587 (FE_UPWARD): Likewise.
10588 (FE_DOWNWARD): Likewise.
10589 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10590 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10591 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10592 [__mips_hard_float].
10593 (FP_ROUNDMODE): Likewise.
10594 (FP_RND_NEAREST): Likewise.
10595 (FP_RND_ZERO): Likewise.
10596 (FP_RND_PINF): Likewise.
10597 (FP_RND_MINF): Likewise.
10598 (FP_EX_INVALID): Likewise.
10599 (FP_EX_OVERFLOW): Likewise.
10600 (FP_EX_UNDERFLOW): Likewise.
10601 (FP_EX_DIVZERO): Likewise.
10602 (FP_EX_INEXACT): Likewise.
10603 (FP_INIT_ROUNDMODE): Likewise.
10604 * sysdeps/mips/nofpu/fesetenv.c: New file.
10605 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10607 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10609 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10610 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10611 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10612 conditional on [FE_UPWARD].
10614 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10616 regex: fix memory leak in Gnulib
10617 Problem and fix reported by Assaf Gordon in:
10618 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10619 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10620 range_ends members too, as they are defined in 'struct
10621 re_charset_t' even if not _LIBC. This affects only Gnulib.
10623 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10625 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10627 (get_common_indices): This.
10628 (init_cpu_features): Updated.
10630 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10632 * sysdeps/generic/math-tests-snan-payload.h: New file.
10633 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10634 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10635 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10636 * sysdeps/generic/math-tests.h: Include
10637 <math-tests-snan-payload.h>.
10638 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10639 * sysdeps/hppa/math-tests.h: Remove file.
10640 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10641 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10642 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10645 * sysdeps/generic/math-tests-snan-cast.h: New file.
10646 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10647 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10648 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10649 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10651 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10653 * version.h (RELEASE): Set to "development".
10654 (VERSION): Set to "2.28.9000".
10655 * NEWS (2.29): New section.
10657 * version.h (RELEASE): Set to "stable".
10658 (VERSION): Set to "2.28".
10659 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10660 * NEWS: Add the list of bugs fixed in 2.28.
10662 * po/ca.po: Update to latest version.
10663 * po/cs.po: Likewise
10664 * po/da.po: Likewise
10665 * po/el.po: Likewise
10666 * po/eo.po: Likewise
10667 * po/es.po: Likewise
10668 * po/fi.po: Likewise
10669 * po/fr.po: Likewise
10670 * po/gl.po: Likewise
10671 * po/hu.po: Likewise
10672 * po/ia.po: Likewise
10673 * po/id.po: Likewise
10674 * po/it.po: Likewise
10675 * po/ja.po: Likewise
10676 * po/ko.po: Likewise
10677 * po/lt.po: Likewise
10678 * po/nb.po: Likewise
10679 * po/nl.po: Likewise
10680 * po/pt_BR.po: Likewise
10681 * po/ru.po: Likewise
10682 * po/rw.po: Likewise
10683 * po/sk.po: Likewise
10684 * po/sl.po: Likewise
10685 * po/tr.po: Likewise
10686 * po/zh_CN.po: Likewise
10687 * po/zh_TW.po: Likewise
10689 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10691 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10693 (init): ... before initializing libpthread.
10695 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10696 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10697 (__mach_setup_tls): ... new function.
10698 (mach_setup_tls): New alias.
10699 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10700 __mach_setup_thread.
10701 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10702 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10703 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10704 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10706 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10708 * manual/install.texi: Update versions.
10709 * INSTALL: Regenerate.
10711 * manual/contrib.texi (Contributors): Update contributions.
10713 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10715 * po/be.po: Update translations.
10717 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10719 * sysdeps/sh/libm-test-ulps: Update.
10721 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10723 * po/bg.po: Update translations.
10724 * po/de.po: Likewise.
10725 * po/hr.po: Likewise.
10726 * po/pt_BR.po: Likewise.
10727 * po/sv.po: Likewise.
10728 * po/vi.po: Likewise.
10730 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10733 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10734 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10735 (CFLAGS-tst-cet-property-1.o): New.
10736 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10737 ($(objpfx)tst-cet-property-2): Likewise.
10738 ($(objpfx)tst-cet-property-2.out): Likewise.
10739 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10740 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10741 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10742 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10743 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10745 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10748 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10750 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10752 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10753 __sbrk): Do not set attribute_hidden.
10754 * sysdeps/mach/hurd/not-errno.h: New file.
10755 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10756 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10758 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10760 * po/uk.po: Update translations.
10761 * po/cs.po: Likewise.
10762 * po/pl.po: Likewise.
10764 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10766 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10767 parse beyond the note end.
10769 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10771 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10772 kernel does not support OFD locks.
10773 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10775 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10777 * sysdeps/mach/hurd/Versions (libc): Make __access and
10778 __access_noerrno external so they can override the ld symbols.
10779 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10780 __writev, __open64, __access_noerrno extern so they can be overrided.
10781 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10782 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10784 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10786 * po/libc.pot: Regenerate.
10788 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10790 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10792 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10795 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10797 (init_cpu_features): Call get_extended_indices for both Intel
10799 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10800 Remove "for AMD" comment.
10802 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10805 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10806 COMMON_CPUID_INDEX_80000001.
10808 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10810 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10811 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10813 2018-07-26 Florian Weimer <fweimer@redhat.com>
10815 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10816 aliases for symbols not in the implementation namespace.
10818 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10821 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10822 lowercase in LATIN script.
10823 * localedata/Makefile (test-input): Add en_US.UTF-8.
10824 * localedata/en_US.UTF-8.in: New file.
10825 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10826 and restore old tests.
10827 * posix/tst-regexloc.c (do_test): Add back range expression test.
10829 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10831 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10833 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10835 * nptl/threads.h: Move to ...
10836 * sysdeps/nptl/threads.h: ... here.
10837 * sysdeps/hurd/stdc-predef.h: New file.
10839 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10841 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10842 tst-cet-setcontext-1 if CET is enabled.
10843 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10844 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10846 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10848 * include/threads.h: Move to ...
10849 * sysdeps/nptl/threads.h: ... here.
10850 * sysdeps/htl/threads.h: New file.
10851 * conform/Makefile (linknamespace-libs-ISO11): Use
10852 static-thread-library instead of linking libpthread.
10853 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10855 2018-07-25 Florian Weimer <fweimer@redhat.com>
10857 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10858 nanoseconds into seconds.
10859 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10860 (do_test): Likewise.
10861 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10862 (do_test): Likewise. Avoid nanosecond overflow and spurious
10863 timeouts due to system load.
10864 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10865 (child_wait): Increment it.
10866 (do_test): Wait as long as necessary until all expected threads
10869 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10870 H.J. Lu <hongjiu.lu@intel.com>
10872 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10874 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10875 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10876 (__push___start_context): New.
10877 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10879 (__getcontext): Record the current shadow stack base. Save the
10880 caller's shadow stack pointer and base.
10881 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10882 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10883 (__push___start_context): New prototype.
10884 (__makecontext): Call __push___start_context to allocate a new
10885 shadow stack, push __start_context onto the new stack as well
10886 as the new shadow stack.
10887 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10889 (__setcontext): Restore the target shadow stack.
10890 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10892 (__swapcontext): Record the current shadow stack base. Save
10893 the caller's shadow stack pointer and base. Restore the target
10895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10896 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10897 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10899 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10901 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10902 tst-setcontext8 and tst-setcontext9.
10903 * stdlib/tst-setcontext6.c: New file.
10904 * stdlib/tst-setcontext7.c: Likewise.
10905 * stdlib/tst-setcontext8.c: Likewise.
10906 * stdlib/tst-setcontext9.c: Likewise.
10908 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10910 * stdlib/Makefile ((tests): Add tst-setcontext5.
10911 * stdlib/tst-setcontext5.c: New file.
10913 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10915 * stdlib/Makefile (tests): Add tst-setcontext4.
10916 * stdlib/tst-setcontext4.c: New file.
10918 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10920 * stdlib/Makefile (tests): Add tst-swapcontext1.
10921 * stdlib/tst-swapcontext1.c: New test.
10923 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10925 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10926 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10927 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10928 and tst-cet-legacy-4c.
10929 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10930 and tst-cet-legacy-mod-4.
10931 (CFLAGS-tst-cet-legacy-2.c): New.
10932 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10933 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10934 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10935 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10936 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10937 ($(objpfx)tst-cet-legacy-1): Likewise.
10938 ($(objpfx)tst-cet-legacy-2): Likewise.
10939 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10940 ($(objpfx)tst-cet-legacy-2a): Likewise.
10941 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10942 ($(objpfx)tst-cet-legacy-4): Likewise.
10943 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10944 ($(objpfx)tst-cet-legacy-4a): Likewise.
10945 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10946 (tst-cet-legacy-4a-ENV): Likewise.
10947 ($(objpfx)tst-cet-legacy-4b): Likewise.
10948 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10949 (tst-cet-legacy-4b-ENV): Likewise.
10950 ($(objpfx)tst-cet-legacy-4c): Likewise.
10951 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10952 (tst-cet-legacy-4c-ENV): Likewise.
10953 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10954 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10955 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10956 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10957 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10958 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10959 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10960 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10961 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10962 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10963 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10965 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10967 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10968 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10970 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10971 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10974 2018-07-25 Andreas Schwab <schwab@suse.de>
10977 * locale/weightwc.h (findidx): Handle the case where usrc is a
10978 prefix of cp but one character too short.
10980 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10982 * NEWS: Add ISO C threads addition.
10984 2018-07-24 Florian Weimer <fweimer@redhat.com>
10986 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10987 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10988 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10991 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10993 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10994 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10995 <sys/prctl.h> and <asm/prctl.h>.
10996 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10997 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10999 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11000 ARCH_CET_LEGACY_BITMAP.
11001 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11002 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11003 * sysdeps/x86/libc-start.c: Include <startup.h>.
11005 2018-07-24 Florian Weimer <fweimer@redhat.com>
11007 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11008 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11010 2018-07-24 Rical Jasan <rj@2c3t.io>
11011 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11012 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11015 * manual/debug.texi: Update adjacent chapter name.
11016 * manual/probes.texi: Likewise.
11017 * manual/threads.texi (ISO C Threads): New section.
11018 (POSIX Threads): Convert to a section.
11020 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11021 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11024 * nptl/Makefile (tests): Add new test files.
11025 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11026 * nptl/tst-cnd-basic.c: Likewise.
11027 * nptl/tst-cnd-broadcast.c: Likewise.
11028 * nptl/tst-cnd-timedwait.c: Likewise.
11029 * nptl/tst-mtx-basic.c: Likewise.
11030 * nptl/tst-mtx-recursive.c: Likewise.
11031 * nptl/tst-mtx-timedlock.c: Likewise.
11032 * nptl/tst-mtx-trylock.c: Likewise.
11033 * nptl/tst-thrd-basic.c: Likewise.
11034 * nptl/tst-thrd-detach.c: Likewise.
11035 * nptl/tst-thrd-sleep.c: Likewise.
11036 * nptl/tst-tss-basic.c: Likewise.
11038 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11041 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11042 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11044 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11046 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11048 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11049 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11050 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11051 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11053 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11054 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11055 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11063 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11066 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11068 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11069 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11072 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11073 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11074 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11075 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11077 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11078 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11079 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11083 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11084 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11095 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11098 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11105 * conform/data/threads.h-data (thread_local): New macro.
11106 (TSS_DTOR_ITERATIONS): Likewise.
11108 (tss_dtor_t): Likewise.
11109 (tss_create): New function.
11110 (tss_get): Likewise.
11111 (tss_set): Likewise.
11112 (tss_delete): Likewise.
11113 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11114 tss_get, and tss_set objects.
11115 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11116 * nptl/tss_create.c: New file.
11117 * nptl/tss_delete.c: Likewise.
11118 * nptl/tss_get.c: Likewise.
11119 * nptl/tss_set.c: Likewise.
11120 * sysdeps/nptl/threads.h (thread_local): New define.
11121 (TSS_DTOR_ITERATIONS): Likewise.
11122 (tss_t): New typedef.
11123 (tss_dtor_t): Likewise.
11124 (tss_create): New prototype.
11125 (tss_get): Likewise.
11126 (tss_set): Likewise.
11127 (tss_delete): Likewise.
11130 * conform/data/threads.h-data (cnd_t): New type.
11131 (cnd_init): New function.
11132 (cnd_signal): Likewise.
11133 (cnd_broadcast): Likewise.
11134 (cnd_wait): Likewise.
11135 (cnd_timedwait): Likewise.
11136 (cnd_destroy): Likewise.
11137 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11138 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11140 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11141 * nptl/cnd_broadcast.c: New file.
11142 * nptl/cnd_destroy.c: Likewise.
11143 * nptl/cnd_init.c: Likewise.
11144 * nptl/cnd_signal.c: Likewise.
11145 * nptl/cnd_timedwait.c: Likewise.
11146 * nptl/cnd_wait.c: Likewise.
11147 * sysdeps/nptl/threads.h (cnd_t): New type.
11148 (cnd_init): New prototype.
11149 (cnd_signa): Likewise.
11150 (cnd_broadcast): Likewise.
11151 (cnd_wait): Likewise.
11152 (cnd_timedwait): Likewise.
11153 (cnd_destroy): Likewise.
11156 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11157 (once_flag): New type.
11158 (call_once): New function.
11159 * nptl/Makefile (libpthread-routines): Add call_once object.
11160 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11161 * nptl/call_once.c: New file.
11162 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11163 (once_flag): New type.
11164 (call_once): New prototype.
11167 * conform/data/threads.h-data (mtx_plain): New constant.
11168 (mtx_recursive): Likewise.
11169 (mtx_timed): Likewise.
11171 (mtx_init): New function.
11172 (mtx_lock): Likewise.
11173 (mtx_timedlock): Likewise.
11174 (mtx_trylock): Likewise.
11175 (mtx_unlock): Likewise.
11176 (mtx_destroy): Likewise.
11177 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11178 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11179 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11180 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11181 * nptl/mtx_destroy.c: New file.
11182 * nptl/mtx_init.c: Likewise.
11183 * nptl/mtx_lock.c: Likewise.
11184 * nptl/mtx_timedlock.c: Likewise.
11185 * nptl/mtx_trylock.c: Likewise.
11186 * nptl/mtx_unlock.c: Likewise.
11187 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11188 (mtx_recursive): Likewise.
11189 (mtx_timed): Likewise.
11191 (mtx_init): New prototype.
11192 (mtx_lock): Likewise.
11193 (mtx_timedlock): Likewise.
11194 (mtx_trylock): Likewise.
11195 (mtx_unlock): Likewise.
11196 (mtx_destroy): Likewise.
11199 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11200 (linknamespace-libs-ISO11): Add libpthread.a.
11201 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11203 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11204 * nptl/Makefile (headers): Add threads.h.
11205 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11206 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11208 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11209 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11210 thrd_join, thrd_sleep, and thrd_yield symbols.
11211 * nptl/descr.h (struct pthread): Add c11 field.
11212 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11213 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11214 routine with expected function prototype.
11215 (__pthread_create_2_1): Add C11 threads check based on attribute
11217 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11218 * nptl/thrd_create.c: New file.
11219 * nptl/thrd_current.c: Likewise.
11220 * nptl/thrd_detach.c: Likewise.
11221 * nptl/thrd_equal.c: Likewise.
11222 * nptl/thrd_exit.c: Likewise.
11223 * nptl/thrd_join.c: Likewise.
11224 * nptl/thrd_priv.h: Likewise.
11225 * nptl/thrd_sleep.c: Likewise.
11226 * nptl/thrd_yield.c: Likewise.
11227 * include/threads.h: Likewise.
11229 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11231 * bits/indirect-return.h: New file.
11232 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11233 * sysdeps/x86/bits/indirect-return.h: Likewise.
11234 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11235 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11236 (swapcontext): Add __INDIRECT_RETURN.
11237 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11238 (prepare_test_buffer): Use it.
11240 2018-07-24 Andreas Schwab <schwab@suse.de>
11243 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11244 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11246 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11248 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11249 Redefine if shadow stack is enabled.
11250 (SYSCALL_ERROR_LABEL): Likewise.
11251 (__vfork): Pop shadow stack and jump back to to caller directly
11252 when shadow stack is in use.
11253 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11254 Redefine if shadow stack is enabled.
11255 (SYSCALL_ERROR_LABEL): Likewise.
11256 (__vfork): Pop shadow stack and jump back to to caller directly
11257 when shadow stack is in use.
11259 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11261 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11264 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11267 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11269 * scripts/build-many-glibcs.py (Context.checkout): Default
11270 binutils version to 2.31 branch.
11272 2018-07-20 Zong Li <zong@andestech.com>
11274 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11275 URL of gcc's tarball.
11277 2018-07-20 Florian Weimer <fweimer@redhat.com>
11280 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11281 not compare an extra byte after the end of the weights.
11283 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11285 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11287 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11289 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11290 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11291 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11292 list of libraries whose stack executability is expected.
11293 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11294 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11296 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11297 libc.so libpthread.so.
11299 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11301 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11303 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11305 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11307 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11309 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11311 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11312 library to improve command line parsing.
11313 (__main__): make schema file as optional parameter (--schema),
11314 defaulting to benchtests/scripts/benchout.schema.json.
11315 (main): move out of the parsing stuff to __main_ and leave it
11316 only as caller of main comparison functions.
11318 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11320 * NEWS: Add a note for Intel CET status.
11321 * manual/install.texi: Likewise.
11322 * INSTALL: Regenerated.
11324 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11327 * localedata/locales/oc_FR (mon): Rename to...
11328 (alt_mon): This, then update October (typo fix).
11329 (mon): New content (genitive case, month names preceded by
11333 * localedata/locales/oc_FR (abday): Update all items.
11334 (day): Update Wednesday and Saturday (typo fixes).
11335 (abmon): Update all items, except May.
11336 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11337 (LC_IDENTIFICATION): Bump the revision number and date.
11338 Keep the "category" entries in alphabetic order.
11339 (LC_ADDRESS): Remove no longer needed comment.
11340 (LC_COLLATE): Use “copy "ca_ES"”.
11341 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11344 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11346 * grp/tst_fgetgrent.c: Include <unistd.h>.
11347 (main): Use mkstemp instead of tmpnam.
11348 * io/test-utime.c (main): Likewise.
11349 * posix/annexc.c (macrofile): Change to modifiable array.
11350 (main): Remove macrofile here.
11351 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11353 (check_header): Do not remove macrofile here.
11354 * posix/bug-getopt1.c: Include <stdlib.h>.
11355 (do_test): Use mkstemp instead of tmpnam.
11356 * posix/bug-getopt2.c: Include <stdlib.h>.
11357 (do_test): Use mkstemp instead of tmpnam.
11358 * posix/bug-getopt3.c: Include <stdlib.h>.
11359 (do_test): Use mkstemp instead of tmpnam.
11360 * posix/bug-getopt4.c: Include <stdlib.h>.
11361 (do_test): Use mkstemp instead of tmpnam.
11362 * posix/bug-getopt5.c: Include <stdlib.h>.
11363 (do_test): Use mkstemp instead of tmpnam.
11364 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11365 (main): Use mkstemp instead of tmpnam.
11366 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11367 (main): Use mkstemp instead of tmpnam.
11368 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11369 (main): use mkstemp instead of tmpnam.
11370 * stdlib/isomac.c (macrofile): Change to modifiable array.
11371 (main): Remove macrofile here.
11372 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11374 (check_header): Do not remove macrofile here.
11376 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11378 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11379 glibc.tune.x86_shstk.
11381 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11383 * NEWS: Mention --enable-cet.
11384 * manual/install.texi: Document --enable-cet.
11385 * INSTALL: Regenerated.
11387 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11389 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11390 Add _CET_NOTRACK before indirect jump to jump table.
11392 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11394 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11395 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11398 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11400 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11401 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11404 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11407 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11410 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11413 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11416 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11418 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11419 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11421 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11423 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11425 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11426 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11429 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11431 * sysdeps/i386/i686/multiarch/memset-sse2.S
11432 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11435 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11437 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11438 indirect jump to jump table.
11440 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11443 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11445 (MEMCPY): Likewise.
11447 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11449 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11450 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11452 (MEMCPY): Likewise.
11454 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11456 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11457 _CET_NOTRACK before indirect jump to jump table.
11459 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11462 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11465 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11467 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11468 indirect jump to jump table.
11470 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11473 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11474 (LOCALES): Likewise.
11475 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11476 * localedata/locales/sah_RU: New file.
11477 * localedata/sah_RU.UTF-8.in: New file.
11479 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11481 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11483 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11484 _CET_ENDBR to indirect jump targets and adjust jump destination
11486 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11488 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11489 _CET_ENDBR to indirect jump targets and adjust jump destination
11491 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11493 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11494 _CET_ENDBR to indirect jump targets and adjust jump destination
11497 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11499 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11502 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11504 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11506 (_dl_tlsdesc_undefweak): Likewise.
11507 (_dl_tlsdesc_dynamic): Likewise.
11508 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11509 (_dl_tlsdesc_resolve_rel): Likewise.
11510 (_dl_tlsdesc_resolve_rela): Likewise.
11511 (_dl_tlsdesc_resolve_hold): Likewise.
11512 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11513 (_dl_tlsdesc_undefweak): Likewise.
11514 (_dl_tlsdesc_dynamic): Likewise.
11515 (_dl_tlsdesc_resolve_rela): Likewise.
11516 (_dl_tlsdesc_resolve_hold): Likewise.
11518 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11520 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11522 * sysdeps/x86_64/crti.S (_init): Likewise.
11525 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11528 * localedata/locales/os_RU (mon): Rename to...
11530 (mon): Import from CLDR (genitive case).
11532 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11534 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11535 cet-tunables.h> when CET is enabled.
11537 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11540 * configure.ac: Add --enable-cet.
11541 * configure: Regenerated.
11542 * elf/Makefille (all-built-dso): Add a comment.
11543 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11544 Include <dl-prop.h>.
11545 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11547 * elf/dl-open.c: Include <dl-prop.h>.
11548 (dl_open_worker): Call _dl_open_check.
11549 * elf/rtld.c: Include <dl-prop.h>.
11550 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11552 * sysdeps/generic/dl-prop.h: New file.
11553 * sysdeps/i386/dl-cet.c: Likewise.
11554 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11555 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11556 * sysdeps/x86/cet-tunables.h: Likewise.
11557 * sysdeps/x86/check-cet.awk: Likewise.
11558 * sysdeps/x86/configure: Likewise.
11559 * sysdeps/x86/configure.ac: Likewise.
11560 * sysdeps/x86/dl-cet.c: Likewise.
11561 * sysdeps/x86/dl-procruntime.c: Likewise.
11562 * sysdeps/x86/dl-prop.h: Likewise.
11563 * sysdeps/x86/libc-start.h: Likewise.
11564 * sysdeps/x86/link_map.h: Likewise.
11565 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11567 (_dl_runtime_profile): Likewise.
11568 (_dl_runtime_resolve_shstk): New.
11569 (_dl_runtime_profile_shstk): Likewise.
11570 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11572 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11573 (CFLAGS-.os): Likewise.
11574 (CFLAGS-.op): Likewise.
11575 (CFLAGS-.oS): Likewise.
11576 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11578 (tests-special): Add $(objpfx)check-cet.out.
11579 (cet-built-dso): New.
11580 (+$(cet-built-dso:=.note)): Likewise.
11581 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11582 ($(objpfx)check-cet.out): New.
11583 (generated): Add check-cet.out.
11584 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11586 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11587 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11588 (init_cpu_features): Call get_cet_status to check CET status
11589 and update dl_x86_feature_1 with CET status. Call
11590 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11591 (set_x86_shstk). Disable and lock CET in libc.a.
11592 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11593 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11594 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11595 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11596 (_CET_ENDBR): Define if not defined.
11597 (ENTRY): Add _CET_ENDBR.
11598 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11600 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11602 (_dl_runtime_profile): Likewise.
11604 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11607 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11608 restore r2 on longjmp.
11609 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11611 Added rules to build test tst-setjmp-bug21895-static.
11612 Added module setjmp-bug21895 and rules to build a shared object from it.
11613 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11614 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11616 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11618 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11619 * benchtests/bench-strstr.c: Likewise.
11620 * string/memmem.c (FASTSEARCH): Define.
11621 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11622 Add support for FASTSEARCH.
11623 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11624 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11625 (FASTSEARCH): Define.
11626 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11627 * string/test-strstr.c: Likewise.
11629 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11632 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11634 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11635 H.J. Lu <hongjiu.lu@intel.com>
11637 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11638 (__longjmp): Restore shadow stack pointer if shadow stack is
11639 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11640 isn't defined for __longjmp_cancel.
11641 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11642 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11643 and SHADOW_STACK_POINTER_OFFSET is defined.
11644 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11645 (setjmp): Save shadow stack pointer if shadow stack is enabled
11646 and SHADOW_STACK_POINTER_OFFSET is defined.
11647 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11648 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11649 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11650 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11652 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11653 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11654 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11655 Remove jmp_buf-ssp.sym.
11656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11658 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11659 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11660 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11662 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11663 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11664 (__longjmp): Restore shadow stack pointer if shadow stack is
11665 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11666 isn't defined for __longjmp_cancel.
11667 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11668 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11669 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11671 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11674 * nptl/pthread_create.c: Include <tls-setup.h>.
11675 (__pthread_create_2_1): Call tls_setup_tcbhead.
11676 * sysdeps/generic/tls-setup.h: New file.
11677 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11678 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11679 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11681 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11683 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11684 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11685 (X86_FEATURE_1_SHSTK): Likewise.
11686 (CET_ENABLED): Likewise.
11687 (IBT_ENABLED): Likewise.
11688 (SHSTK_ENABLED): Likewise.
11690 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11693 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11694 (LOCALES): Likewise.
11695 * localedata/dsb_DE.UTF-8.in: New file.
11696 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11698 2018-07-12 Florian Weimer <fweimer@redhat.com>
11700 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11701 __mprotect, not mprotect.
11703 2018-07-11 Florian Weimer <fweimer@redhat.com>
11705 * io/Makefile (headers): Add bits/statx.h.
11707 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11709 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11710 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11712 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11713 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11716 2018-07-10 Florian Weimer <fweimer@redhat.com>
11718 * io/Makefile (routines): Add statx.
11719 (tests-internal): Add tst-statx.
11720 * io/Versions (GLIBC_2.28): Export statx.
11721 * io/bits/statx.h: New file.
11722 * io/sys/stat.h [__USE_GNU]: Include it.
11723 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11724 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11726 * io/statx.c: New file.
11727 * io/statx_generic.: Likewise.
11728 * io/tst-statx.: Likewise.
11729 * include/bits/statx.h: Likewise.
11730 * sysdeps/unix/sysv/linux/kernel-features.h
11731 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11732 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11733 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11734 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11736 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11737 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11738 * sysdeps/unix/sysv/linux/statx.c: New file.
11739 * manual/filesys.texi: Note that statx is undocumented.
11740 * sysdeps/**/libc*.abilist: Update.
11742 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11744 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11745 a kernel issue which lead to test failure in some cases.
11747 2018-07-10 Florian Weimer <fweimer@redhat.com>
11750 * posix/regexec.c (check_node_accept_bytes): When comparing
11751 weights, do not compare an extra byte after the end of the
11754 2018-07-10 Florian Weimer <fweimer@redhat.com>
11756 * libio/readline.c: Fix copyright year.
11757 * libio/tst-readline.c Likewise.
11758 * nss/tst-nss-files-hosts-getent.c: Likewise.
11760 2018-07-06 Florian Weimer <fweimer@redhat.com>
11763 * nss/nss_files/files-XXX.c (internal_getent): Use
11764 __libc_readline_unlocked. Seek back to the start of the line if
11765 parsing failes with ERANGE.
11766 (get_contents_ret, get_contents): Remove.
11767 * nss/tst-nss-files-hosts-getent.c: New file.
11768 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11769 (tst-nss-files-hosts-getent): Link with -ldl.
11771 2018-07-06 Florian Weimer <fweimer@redhat.com>
11773 * include/stdio.h (__libc_readline_unlocked): Declare.
11774 (__ftello64, __fseeko64): Declare aliases.
11775 * libio/readline.c: New file.
11776 * libio/tst-readline.c: Likewise.
11777 (routines): Add readline.
11778 (tests-internal): Add tst-readlime.
11779 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11780 __libc_readline_unlocked.
11781 * libio/fseeko.c (__fseeko): Rename from fseeko.
11782 (fseeko): Add alias.
11783 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11784 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11785 (fseeko64): Add alias.
11786 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11787 * libio/ftello64.c (__ftello64): Rename from ftello64.
11788 (ftello64): Add alias.
11790 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11792 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11795 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11797 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11798 Use dl_hwcap without masking.
11799 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11800 Remove HWCAP_CPUID.
11802 2018-07-06 Florian Weimer <fweimer@redhat.com>
11804 * conform/conformtest.pl (checknamespace): Escape literal braces
11805 in regular expressions.
11807 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11809 * sysdeps/x86/cpu-features.c (get_common_indeces):
11810 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11811 * sysdeps/x86/cpu-features.c (init_cpu_features):
11812 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11814 2018-07-05 Florian Weimer <fweimer@redhat.com>
11816 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11818 (CFLAGS-elf-init.oS): Likewise.
11820 2018-07-05 Florian Weimer <fweimer@redhat.com>
11821 Carlos O'Donell <carlos@redhat.com>
11823 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11824 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11825 with stack protector enabled because there is no risk of infinite
11828 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11832 * libc-abis (ABSOLUTE): New ABI.
11833 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11834 * NEWS: Mention the new ABI.
11836 2018-07-05 Florian Weimer <fweimer@redhat.com>
11839 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11840 (RENAME_WHITEOUT): Define.
11841 [__USE_GNU] (renameat2): Declare.
11842 * stdio-common/Makefile (routines): Add renameat2.
11843 (tests): Add tst-renameat2.
11844 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11845 * stdio-common/renameat2.c: New file.
11846 * stdio-common/tst-renameat2.c: Likewise.
11847 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11848 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11850 * sysdeps/unix/sysv/linux/kernel-features.h
11851 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11852 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11853 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11855 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11856 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11857 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11858 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11859 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11860 * include/stdio.h (__renameat): Add alias for renameat.
11861 * stdio-common/renameat.c (__renameat): Rename from renameat.
11862 Add hidden definition and alias.
11863 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11864 * sysdeps/mach/hurd/renameat.c: Likewise.
11865 * sysdeps/**/libc*.abilist: Add renameat2.
11867 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11869 * posix/bug-regex33.c: Fix build after regex sync.
11871 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11874 * localedata/tst-langinfo-setlocale.c: New file.
11875 * localedata/tst-langinfo-setlocale-static.c: New file.
11876 * localedata/tst-langinfo-newlocale.c: New file.
11877 * localedata/tst-langinfo-newlocale-static.c: New file.
11878 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11879 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11880 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11881 (tests-static): Remove tst-langinfo-static. Add
11882 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11883 (tests-special): Remove $(objpfx)tst-langinfo.out,
11884 $(objpfx)tst-langinfo-static.out. Add
11885 $(objpfx)tst-langinfo-setlocale.out,
11886 $(objpfx)tst-langinfo-newlocale.out,
11887 $(objpfx)tst-langinfo-setlocale-static.out,
11888 $(objpfx)tst-langinfo-newlocale-static.out.
11889 ($(objpfx)tst-langinfo.out): Remove.
11890 ($(objpfx)tst-langinfo-static.out): Remove.
11891 ($(objpfx)tst-langinfo-newlocale.out): New target.
11892 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11893 (test-xfail-tst-langinfo-newlocale-static): Add.
11894 ($(objpfx)tst-langinfo-setlocale.out): New target.
11895 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11896 * localedata/tst-langinfo.c: Call test_locale.
11897 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11900 2018-07-04 Florian Weimer <fweimer@redhat.com>
11902 testrun.sh: Implement --tool=strace, --tool=valgrind
11903 * Makefile (testrun-script): Define variable.
11904 (testrun.sh): Use variable.
11905 * manual/install.texi (Tools for Compilation): make 4.0 or later
11907 * configure.ac: Check for make 4.0 or later.
11908 * INSTALL: Regenerate.
11909 * configure: Likewise.
11911 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11917 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11918 * posix/PCRE.tests: Remove invalid test.
11919 * posix/bug-regex28.c: Fix expected values for used syntax.
11920 * posix/bug-regex37.c: New file.
11921 * posix/bug-regex38.c: Likewise.
11922 * posix/regcomp.c: Sync with gnulib.
11923 * posix/regex.c: Likewise.
11924 * posix/regex.h: Likewise.
11925 * posix/regex_internal.c: Likewise.
11926 * posix/regex_internal.h: Likewise.
11927 * posix/regexec.c: Likewise.
11929 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11932 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11933 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11934 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11935 * localedata/unicode-gen/PropList.txt: likewise.
11936 * localedata/unicode-gen/UnicodeData.txt: likewise.
11937 * localedata/charmaps/UTF-8: Regenerate.
11938 * localedata/locales/i18n_ctype: likewise.
11939 * localedata/locales/tr_TR: likewise.
11940 * localedata/locales/translit_circle: likewise.
11941 * localedata/locales/translit_cjk_compat: likewise.
11942 * localedata/locales/translit_combining: likewise.
11943 * localedata/locales/translit_compat: likewise.
11944 * localedata/locales/translit_font: likewise.
11945 * localedata/locales/translit_fraction: likewise.
11947 2018-07-03 Florian Weimer <fweimer@redhat.com>
11950 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11951 * stdio-common/tst-printf.sh: Adjust expected output.
11952 * LICENSES: Update.
11954 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11956 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11959 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11961 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11962 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11963 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11964 * stdio-common/tst-printfsz-islongdouble.c: New file.
11965 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11966 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11967 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11968 [subdir == stdio-common] (tests-internal): Add
11969 test-printf-size-ieee128, and test-printf-size-ibm128.
11970 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11971 (CFLAGS-test-printf-size-ibm128.c): New variables.
11972 [subdir == stdio-common] (tests-special): Add
11973 $(objpfx)test-printf-size-ieee128.out and
11974 $(objpfx)test-printf-size-ibm128.out.
11975 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11976 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11977 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11978 __printf_sizeieee128.
11979 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11981 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11983 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11986 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11988 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11989 (exp2f_inline): Likewise.
11990 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11991 (__math_uflowf): Likewise.
11992 (__math_may_uflowf): Likewise.
11993 (__math_divzerof): Likewise.
11994 (__math_invalidf): Likewise.
11995 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11996 (__math_oflowf): Likewise.
11997 (__math_uflowf): Likewise.
11998 (__math_may_uflowf): Likewise.
11999 (__math_divzerof): Likewise.
12000 (__math_invalidf): Likewise.
12002 2018-06-29 DJ Delorie <dj@redhat.com>
12003 Carlos O'Donell <carlos@redhat.com>
12006 * include/libc-symbols.h: Comment the freeres framework.
12007 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12008 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12009 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12010 * dlfcn/dlerror.c: Include libc-symbols.h
12011 (__dlerror_main_freeres): New function.
12012 * dlfcn/dlfreeres.c: New file.
12013 * dlfcn/sdlfreeres.c: New file.
12014 * include/dlfcn.h: Declare __dlerror_main_freeres.
12015 * malloc/set-freeres.c: Declare __libdl_freeres, and
12016 __libpthread_freeres.
12017 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12018 the releavant libraries are loaded.
12019 * malloc/thread-freeres.c: Add comments.
12020 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12021 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12022 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12023 (__free_stacks): Rename to...
12024 (free_stacks): ...this. Mark static.
12025 (queue_stack): Call free_stacks.
12026 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12027 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12028 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12029 ptr_freeres element from struct.
12030 (pthread_functions): Remove .ptr_freeres from struct initializer.
12031 [SHARED] (nptl_freeres): Remove.
12032 * nptl/nptlfreeres.c: New file.
12034 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12035 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12037 (__free_stacks): Rename to...
12038 (__nptl_stacks_freeres): ...this.
12039 (__shm_directory_freeres): Declare.
12040 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12041 (__nptl_unwind_freeres): ...this.
12042 * resolv/res-close.c: Add comment.
12043 * resolv/resolv_conf.c: Include libc-symbols.h.
12044 * string/strerror_l.c: Include libc-symbols.h.
12045 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12046 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12047 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12048 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12050 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12052 * stdlib/tst-strfmon_l.c: Add tests for long double.
12054 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12057 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12058 * localedata/locales/dsb_DE: New file.
12060 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12063 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12065 (alt_mon): New entry, import from CLDR (nominative case).
12067 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12070 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12072 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12074 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12075 Use vector registers.
12077 * sysdeps/aarch64/multiarch/memmove_falkor.S
12078 (__memcpy_falkor): Use vector registers.
12080 2018-06-29 Martin Sebor <msebor@redhat.com>
12082 * manual/stdio.texi (Customizing Printf): Mention interaction
12083 with GCC built-ins.
12085 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12088 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12089 `st_value' is 0 if `st_shndx' is SHN_ABS.
12090 * elf/tst-absolute-zero.c: New file.
12091 * elf/tst-absolute-zero-lib.c: New file.
12092 * elf/tst-absolute-zero-lib.lds: New file.
12093 * elf/Makefile (tests): Add `tst-absolute-zero'.
12094 (modules-names): Add `tst-absolute-zero-lib'.
12095 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12096 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12097 ($(objpfx)tst-absolute-zero: New dependency.
12099 2018-06-29 Zack Weinberg <zackw@panix.com>
12101 * configure.ac: New command-line option --disable-crypt.
12102 Force --disable-nss-crypt when --disable-crypt is given, with a
12103 warning if it was explicitly enabled.
12104 * configure: Regenerate.
12105 * config.make.in: New boolean substitution variable $(build-crypt).
12106 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12107 when $(build-crypt).
12108 * manual/install.texi: Document --disable-crypt.
12109 * INSTALL: Regenerate.
12111 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12112 which is never set.
12113 * conform/Makefile: Only include libcrypt.a in
12114 linknamespace-libs-xsi and linknamespace-libs-XPG4
12115 when $(build-crypt).
12116 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12117 USE_CRYPT to 1 when $(build-crypt).
12118 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12119 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12120 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12122 2018-06-29 Zack Weinberg <zackw@panix.com>
12124 * crypt/crypt.h, posix/unistd.h: Update comments and
12125 prototypes for crypt and crypt_r.
12127 * manual/crypt.texi (Cryptographic Functions): New initial
12129 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12130 (Unpredictable Bytes): Improve initial exposition. Clarify error
12131 behavior of getentropy and getrandom.
12132 * manual/examples/genpass.c: Generate a salt using getentropy
12133 instead of the current time. Use hash $5$ (SHA-2-256).
12134 * manual/examples/testpass.c: Demonstrate validation against
12135 hashes generated with three different one-way functions.
12137 * manual/intro.texi: crypt.texi does not need an overview
12140 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12141 * manual/terminal.texi: Consistently refer to "passphrases"
12142 * instead of "passwords", and to the "user database" instead
12143 * of the "password database".
12144 * manual/users.texi: Similarly. Add notes about how actual
12145 passphrase hashes are now stored in the shadow database.
12146 Remove 20-year-old junk todo note.
12148 2018-06-29 Zack Weinberg <zackw@panix.com>
12150 * manual/crypt.texi: Use a normal top-level @node declaration.
12151 Move most of the introductory text to the 'crypt' section.
12152 Move the example programs below the @deftypefun for 'crypt_r'.
12153 Move the 'getpass' section...
12154 * manual/terminal.texi: ...here.
12156 2018-06-29 Zack Weinberg <zackw@panix.com>
12157 Florian Weimer <fweimer@redhat.com>
12159 * posix/unistd.h: Do not declare encrypt.
12160 (_XOPEN_CRYPT): Remove macro definition.
12161 (crypt): Declare only for _USE_MISC.
12162 * stdlib/stdlib.h: Do not declare setkey.
12163 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12164 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12166 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12167 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12168 into compat symbols. Don't define initial_perm if it's not
12170 * crypt/cert.c: Link explicitly with the expected versions for
12171 setkey and encrypt. If they are not available at all, mark
12172 the test as unsupported.
12174 * sunrpc/des_crypt.c: Unconditionally block linkage with
12175 cbc_crypt and ecb_crypt for new binaries.
12176 * sunrpc/des_soft.c: Unconditionally block linkage with
12177 des_setparity for new binaries.
12179 * manual/crypt.texi: Remove the entire "DES Encryption"
12180 section. Also remove the paragraph talking about FIPS 140-2
12181 from the introduction.
12182 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12183 of libgcrypt for "real" encryption, not DES.
12184 * manual/conf.texi (Constants for Sysconf): Mention that
12185 _XOPEN_CRYPT is no longer impelemented.
12187 * conform/data/unistd.h-data: Remove crypt function declaration.
12189 2018-06-29 Florian Weimer <fweimer@redhat.com>
12192 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12193 (disallow_malloc_check): Remove variable.
12194 (__malloc_check_init): Adjust.
12195 (malloc_set_state): Update comment.
12196 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12199 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12202 * localedata/locales/ast_ES (mon): Rename to...
12204 (mon): Import from CLDR (genitive case).
12206 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12207 Jakub Sitnicki <jkbs@redhat.com>
12210 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12211 on NLM_F_DUMP_INTR.
12213 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12215 * manual/llio.texi: Remove spurious space.
12217 2018-06-28 Florian Weimer <fweimer@redhat.com>
12220 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12223 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12225 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12226 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12227 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12228 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12229 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12230 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12231 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12233 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12236 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12237 Copy and null-terminate entries that are not terminated, in
12238 addition to empty ones.
12240 2018-06-27 Florian Weimer <fweimer@redhat.com>
12243 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12244 (extend_alloca_account): Remove.
12245 * manual/stdio.texi (Variable Arguments Output): Update comment.
12247 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12249 * nptl/sockperf.c: Remove file.
12251 2018-06-27 Florian Weimer <fweimer@redhat.com>
12254 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12255 scratch_buffer instead of extend_alloca.
12257 2018-06-27 Florian Weimer <fweimer@redhat.com>
12260 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12261 scratch_buffer instead of extend_alloca. Update comments.
12263 2018-06-27 Florian Weimer <fweimer@redhat.com>
12266 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12267 instead of extend_alloca.
12269 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12272 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12273 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12275 * scripts/test-installation.pl: Put temporary files in build
12276 directory, not /tmp.
12277 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12278 (CFLAGS-bug4.c): Likewise.
12279 (CFLAGS-bug5.c): Likewise.
12280 (CFLAGS-test-fseek.c): Likewise.
12281 (CFLAGS-test-popen.c): Likewise.
12282 (CFLAGS-test_rdwr.c): Likewise.
12283 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12285 * stdio-common/bug4.c (main): Likewise.
12286 * stdio-common/bug5.c (main): Likewise.
12287 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12288 * stdio-common/test-popen.c (do_test): Likewise.
12289 * stdio-common/test_rdwr.c (main): Likewise.
12291 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12293 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12294 (sem_open): Set sem.newsem.pad to zero for valgrind.
12296 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12299 * NEWS: Mention fcntl64 addition.
12300 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12301 * login/utmp_file.c: Likewise.
12302 * sysdeps/posix/fdopendir.c: Likewise.
12303 * sysdeps/posix/opendir.c: Likewise.
12304 * sysdeps/unix/pt-fcntl.c: Likewise.
12305 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12306 __fcntl64_nocancel_adjusted): New prototype.
12307 (__fcntl_nocancel_adjusted): Remove prototype.
12308 * io/Makefile (routines): Add fcntl64.
12309 (CFLAGS-fcntl64.c): New rule.
12310 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12311 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12312 * io/fcntl.h (fcntl64): Add prototype and redirect if
12313 __USE_FILE_OFFSET64 is defined.
12314 * io/fcntl64.c: New file.
12315 * manual/llio.text: Add a note for which commands fcntl acts a
12316 cancellation point.
12317 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12318 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12319 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12321 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12322 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12324 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12325 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12326 to __fcntl64_nocancel.
12327 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12328 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12329 to __fcntl64_nocancel.
12330 * sysdeps/generic/not-cancel.h: Likewise.
12331 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12332 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12333 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12334 (fcntl64): New symbol.
12335 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12346 fcntl64): Likewise.
12347 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12349 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12360 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12364 2018-06-26 Florian Weimer <fweimer@redhat.com>
12366 Run thread shutdown functions in an explicit order.
12367 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12369 (__libc_thread_freeres): Call thread shutdown functions
12371 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12372 * include/string.h (__strerror_thread_freeres): Declare.
12373 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12374 arena_thread_freeres. No longer static. Remove thread shutdown
12376 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12378 * resolv/res-close.c (__res_thread_freeres): Renamed from
12379 res_thread_freeres. No longer static. Remove thread shutdown
12381 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12382 * resolv/resolv_conf.c (freeres): Remove incorrect section
12383 attribute and use libc_freeres_fn.
12384 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12385 strerror_thread_freeres. No longer static. Remove thread
12386 shutdown hook registration.
12387 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12388 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12389 shutdown hook registration.
12390 * Makerules (shlib.lds): Do not provide section boundary symbols
12391 for __libc_thread_subfreeres.
12392 * manual/memory.texi (Basic Allocation): Update comment.
12394 2018-06-26 Florian Weimer <fweimer@redhat.com>
12396 Remove always-defined _RPC_THREAD_SAFE_ macro.
12397 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12398 Do not define _RPC_THREAD_SAFE_.
12399 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12401 * sunrpc/clnt_perr.c: Likewise.
12402 * sunrpc/clnt_raw.c: Likewise.
12403 * sunrpc/clnt_simp.c: Likewise.
12404 * sunrpc/key_call.c: Likewise.
12405 * sunrpc/rpc_common.c: Likewise.
12406 * sunrpc/rpc_main.c: Likewise.
12407 * sunrpc/rpc_thread.c: Likewise.
12408 * sunrpc/svc.c: Likewise.
12409 * sunrpc/svc_raw.c: Likewise.
12410 * sunrpc/svc_simple.c: Likewise.
12411 * sumrpc/svcauth_des.c: Likewise.
12413 2018-06-26 Florian Weimer <fweimer@redhat.com>
12415 * libio/Makefile (tests-internal): Add tst-vtables,
12416 tst-vtables-interposed.
12417 * libio/tst-vtables.c: New file.
12418 * libio/tst-vtables-common.c: Likewise.
12419 * libio/tst-vtables-interposed.c: Likewise.
12421 2018-06-26 Florian Weimer <fweimer@redhat.com>
12423 * support/support_test_main.c (support_test_main): Only call
12424 setvbuf if not disables.
12425 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12426 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12428 2018-06-26 Florian Weimer <fweimer@redhat.com>
12431 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12433 2018-06-25 Florian Weimer <fweimer@redhat.com>
12436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12437 Use struct scratch_buffer instead of extend_alloca.
12439 2018-06-25 Florian Weimer <fweimer@redhat.com>
12442 * nss/getent.c (initgroups_keys): Use dynarray instead of
12445 2018-06-25 Florian Weimer <fweimer@redhat.com>
12448 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12449 Use struct scratch_buffer instead of extend_alloca.
12451 2018-06-25 Florian Weimer <fweimer@redhat.com>
12454 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12455 back to malloc directly, without stack allocations.
12457 2018-06-25 Florian Weimer <fweimer@redhat.com>
12460 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12463 2018-06-25 Florian Weimer <fweimer@redhat.com>
12466 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12468 * nscd/hstcache.c (addhstbyX): Likewise.
12469 * nscd/pwdcache.c (addpwbyX): Likewise.
12470 * nscd/servicescache.c (addservbyX): Likewise.
12472 2018-06-25 Florian Weimer <fweimer@redhat.com>
12475 * nscd/connections.c (read_cmdline): New function.
12476 (restart): Use it. Update comment.
12478 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12481 * localedata/locales/csb_PL (mon): Rename to...
12483 (abmon): Rename to...
12484 (ab_alt_mon): This.
12485 (mon): Add with proper genitive forms, copy from Wikipedia.
12488 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12491 * localedata/locales/csb_PL (mon): Fix typos:
12492 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12493 (yesstr): Add, value is "jo".
12494 (nostr): Add, value is "nié".
12496 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12498 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12499 all log1p and significand functions on m680x0.
12500 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12501 of s_significand.c..
12502 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12503 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12504 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12505 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12506 s_log1p.c and include it..
12508 2018-06-21 Vincent Chen <vincentc@andestech.com>
12510 * elf/elf.h (R_NDS32_NONE): New define.
12511 (R_NDS32_32_RELA): Likewise.
12512 (R_NDS32_COPY): Likewise.
12513 (R_NDS32_GLOB_DAT): Likewise.
12514 (R_NDS32_JUMP_SLOT): Likewise.
12515 (R_NDS32_RELATIVE): Likewise.
12516 (R_NDS32_TLS_TPOFF): Likewise.
12517 (R_NDS32_TLS_DESC): Likewise.
12519 2018-06-21 Mark Wielaard <mark@klomp.org>
12521 * elf/elf.h (R_BPF_MAP_FD): Removed.
12522 (R_BPF_64_64, R_BPF_64_32): New.
12524 2018-06-21 Florian Weimer <fweimer@redhat.com>
12527 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12528 Renamed from libc_feholdsetround_ctx.
12529 (default_libc_feresetround_ctx): Renamed from
12530 libc_feresetround_ctx.
12531 (default_libc_feholdsetround_noex_ctx): Renamed from
12532 libc_feholdsetround_noex_ctx.
12533 (default_libc_feresetround_noex_ctx): Renamed from
12534 libc_feresetround_noex_ctx.
12535 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12536 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12537 forwardning to the old implementations under the new names.
12538 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12539 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12540 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12541 (libc_feresetround_ctx): Forward to default implements for i386
12542 and MATH_SET_BOTH_ROUNDING_MODES.
12543 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12544 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12546 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12548 * string/tst-cmp.c: Include <libc-diag.h>.
12549 (strncmp_max): Disable -Wstringop-overflow= around call to
12551 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12554 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12555 (main): Disable -Wunused-value around call to strpbrk.
12556 * string/bug-strspn1.c: Include <libc-diag.h>.
12557 (main): Disable -Wunused-value around call to strspn.
12559 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12560 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12562 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12563 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12565 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12567 * math/Makefile (libm-calls): Move s_significandF to...
12568 (gen-libm-calls): ... here.
12569 * math/s_significand_template.c: New file.
12570 * math/s_significand.c: Removed.
12571 * math/s_significandf.c: Removed.
12572 * math/s_significandl.c: Removed.
12573 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12574 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12576 * math/e_exp2_template.c (declare_mgen_finite_alias,
12577 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12578 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12579 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12581 2018-06-20 Florian Weimer <fweimer@redhat.com>
12583 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12585 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12588 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12589 floating-point number to strtod functions rather than possibly
12590 negating result of those functions.
12591 * stdio-common/tst-scanf-round.c: New file.
12592 * stdio-common/Makefile (tests): Add tst-scanf-round.
12593 ($(objpfx)tst-scanf-round): Depend on $(libm).
12595 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12597 * sysdeps/mach/hurd/localplt.data: Move to...
12598 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12599 R_386_GLOB_DAT like on Linux i386.
12601 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12603 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12604 (SHM_STAT_ANY): New macro.
12605 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12606 (SHM_STAT_ANY): Likewise.
12607 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12608 (SHM_STAT_ANY): Likewise.
12609 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12610 (SHM_STAT_ANY): Likewise.
12611 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12612 (SHM_STAT_ANY): Likewise.
12613 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12614 (SHM_STAT_ANY): Likewise.
12615 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12616 (SHM_STAT_ANY): Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12618 (SHM_STAT_ANY): Likewise.
12619 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12620 (SHM_STAT_ANY): Likewise.
12621 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12622 (SHM_STAT_ANY): Likewise.
12623 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12624 (SHM_STAT_ANY): Likewise.
12625 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12626 (SHM_STAT_ANY): Likewise.
12628 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12629 (SEM_STAT_ANY): New macro.
12630 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12631 (SEM_STAT_ANY): Likewise.
12632 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12633 (SEM_STAT_ANY): Likewise.
12634 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12635 (SEM_STAT_ANY): Likewise.
12636 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12637 (SEM_STAT_ANY): Likewise.
12638 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12639 (SEM_STAT_ANY): Likewise.
12640 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12641 (SEM_STAT_ANY): Likewise.
12642 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12643 (SEM_STAT_ANY): Likewise.
12644 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12645 (SEM_STAT_ANY): Likewise.
12646 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12647 (SEM_STAT_ANY): Likewise.
12649 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12650 (MSG_STAT_ANY): New macro.
12651 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12652 (MSG_STAT_ANY): Likewise.
12653 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12654 (MSG_STAT_ANY): Likewise.
12655 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12656 (MSG_STAT_ANY): Likewise.
12657 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12658 (MSG_STAT_ANY): Likewise.
12659 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12660 (MSG_STAT_ANY): Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12662 (MSG_STAT_ANY): Likewise.
12663 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12664 (MSG_STAT_ANY): Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12666 (MSG_STAT_ANY): Likewise.
12667 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12668 (MSG_STAT_ANY): Likewise.
12670 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12671 (MAP_TYPE): Change value to 0x2b.
12673 2018-06-18 Florian Weimer <fweimer@redhat.com>
12676 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12677 socket with SOCK_CLOEXEC.
12679 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12682 * sysdeps/powerpc/powerpc64/le/Makefile
12683 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12684 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12685 (gnulib-tests): Also add $(f128-loader-link) for
12686 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12688 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12690 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12691 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12693 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12694 (sendfile64): New strong alias.
12695 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12696 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12697 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12698 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12700 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12701 ___pthread_get_cleanup_stack.
12702 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12703 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12704 * mach/shortcut.awk: Make syscall stubs include
12705 <mach-shortcuts-hidden.h> and add hidden definition.
12706 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12707 (__mach_msg): Add hidden prototype.
12708 * mach/msg.c: Include <mach.h>.
12709 (__mach_msg): Add hidden definition.
12710 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12711 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12712 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12713 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12714 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12715 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12716 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12717 prototype and definition.
12718 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12719 hidden target for _hurd_self_sigstate.
12721 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12724 * stdlib/tst-strtod-nan-sign-main.c: New file.
12725 * stdlib/tst-strtod-nan-sign.c: Likewise.
12726 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12727 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12728 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12729 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12730 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12732 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12735 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12738 2018-06-14 Florian Weimer <fweimer@redhat.com>
12741 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12742 that the result stays within the ISO-8859-1 range.
12743 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12744 characters are defined in IBM273.
12746 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12748 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12749 __mach_task_self): Remove attribute_hidden.
12751 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12753 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12754 ignore -Wrestrict for one test.
12756 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12757 Szabolcs Nagy <szabolcs.nagy@arm.com>
12759 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12761 2018-06-14 Florian Weimer <fweimer@redhat.com>
12763 * scripts/update-abilist.sh: Accept empty list of files to patch.
12765 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12767 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12768 test-xfail-check-abi-libmachuser): Add.
12769 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12770 __libc_read and __libc_write to __read and __write.
12771 * sysdeps/hurd/include/hurd/port.h: New file.
12772 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12773 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12774 __thread_switch, __evc_wait): Move declarations to...
12775 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12777 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12778 use PLT to call _hurd_self_sigstate.
12780 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12783 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12784 MAX_EXP as overflowing.
12785 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12787 (round_str): Output also whether result overflows in each rounding
12789 * stdlib/tst-strtod-round-data: Add more tests.
12790 * stdlib/tst-strtod-round-data.h: Regenerated.
12791 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12792 (TEST): Handle extra arguments for overflow flags.
12793 (struct test_overflow): New type.
12794 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12795 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12796 (test_in_one_mode): Take argument with overflow information.
12797 (do_test): Update calls to test_in_one_mode.
12799 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12801 * elf/dl-load (_dl_dst_substitute): Correct comment.
12802 (_dl_dst_count): Likewise.
12804 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12805 lll_futex_timed_wait.
12807 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12810 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12812 * math/test-nan-const.c: New file.
12813 * math/Makefile (tests): Add test-nan-const.
12814 (CFLAGS-test-nan-const.c): New variable.
12816 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12818 * benchtests/scripts/compare_strings.py (process_results): Add
12819 funcs argument. Compare only functions which are selected.
12820 (main): Check if base function is among selected functions.
12821 Pass selected functions to process_results.
12822 (__main__): Add -f/--functions argument.
12824 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12825 Hongbo Zhang <hongbo.zhang@linaro.org>
12827 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12828 __memcpy_falkor for phecda core.
12829 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12830 __memmove_falkor for phecda core.
12831 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12832 __memset_falkor for phecda core.
12833 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12835 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12836 macro to identify phecda core.
12838 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12839 Andreas Schwab <schwab@suse.de>
12840 Dmitry V. Levin <ldv@altlinux.org>
12841 Florian Weimer <fweimer@redhat.com>
12848 * elf/dl-dst.h: Remove DL_DST_COUNT.
12849 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12850 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12851 (is_dst): Comment. Support ELF gABI.
12852 (_dl_dst_count): Comment. Simplify and count DSTs.
12853 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12854 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12857 2018-06-12 Zack Weinberg <zackw@panix.com>
12859 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12860 * sysdeps/unix/sysv/linux/dl-sysdep.c
12861 Include not-cancel.h. Use __close_nocancel instead of __close,
12862 __open64_nocancel instead of __open, __read_nocancel instead of
12863 __libc_read, and __write_nocancel instead of __libc_write.
12865 * csu/check_fds.c (check_one_fd)
12866 * sysdeps/posix/fdopendir.c (__fdopendir)
12867 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12868 instead of __fcntl and/or __libc_fcntl.
12870 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12871 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12872 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12873 Use __open64_nocancel instead of __open_nocancel.
12875 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12876 hidden_proto declarations to the end and issue them if either
12877 IS_IN(libc) or IS_IN(rtld).
12878 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12879 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12880 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12881 read_nocancel, waitpid_nocancel, write_nocancel.
12883 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12884 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12885 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12887 * nptl/pt-fcntl.c: New file.
12888 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12889 (libpthread-routines): Add pt-fcntl.
12890 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12891 (__libc_fcntl): Remove attribute_hidden.
12892 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12893 __fcntl_nocancel_adjusted, not fcntl_common.
12894 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12895 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12896 to fcntl_nocancel.c.
12897 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12900 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12902 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12903 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12904 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12905 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12906 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12907 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12908 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12909 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12910 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12911 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12912 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12913 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12914 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12915 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12916 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12917 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12918 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12919 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12920 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12921 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12923 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12924 libpthread-routines.
12925 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12928 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12929 __libc_read, and __write instead of __libc_write. Define
12930 __open64 in addition to __open.
12932 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12936 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12937 to _private_tm[3] and add __glibc_reserved2.
12938 Add _Static_assert of offset of __private_ss == 0x30.
12939 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12940 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12942 2018-06-12 Florian Weimer <fweimer@redhat.com>
12944 x86: Make strncmp usable from rtld.
12945 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12946 __strncmp_ia32 if in libc (and not in rtld).
12947 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12948 strncmp if not in libc (and not to __strncmp_sse2).
12950 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12953 * localedata/locales/gd_GB (mon): Rename to...
12955 (mon): Import from CLDR (genitive case).
12956 * localedata/locales/hsb_DE (mon): Rename to...
12958 (mon): Import from CLDR (genitive case).
12959 * localedata/locales/wa_BE (mon): Rename to...
12961 (mon): Add, fill with the proper genitive forms, but CLDR data
12962 is incomplete; completed according to the comments in this file.
12963 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12965 * localedata/locales/wa_BE (country_name): Reword
12966 "Beljike" -> "Beldjike".
12968 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12972 cases of non-finite arguments.
12973 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12975 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12978 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12980 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12983 * include/unistd.h (__execvpex): New prototype.
12984 * posix/Makefile (tests): Add tst-spawn4.
12985 (tests-internal): Add tst-spawn4-compat.
12986 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12987 * posix/tst-spawn4-compat.c: New file.
12988 * posix/tst-spawn4.c: Likewise.
12989 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12990 binaries as shell scripts.
12991 * sysdeps/posix/spawni.c (__spawni): Likewise.
12993 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12996 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12997 ($(all-built-dso:=.dynsym): New target.
12998 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12999 ($(objpfx)check-initfini.out): New target.
13000 (generated): Add check-initfini.out.
13001 * scripts/check-initfini.awk: New file.
13002 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13004 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13006 * sysdeps/arm/crti.S (_init): Mark as hidden.
13008 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13010 * sysdeps/i386/crti.S (_init): Mark as hidden.
13012 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13014 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13016 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13018 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13020 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13022 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13024 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13026 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13028 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13030 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13032 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13034 * sysdeps/sh/crti.S (_init): Mark as hidden.
13036 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13038 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13041 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13043 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13044 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13045 and TF redirection to KFtype and KF only when the default
13046 long double type is not the IEEE 128-bit floating point type.
13048 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13050 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13052 (HWCAP_USCAT): Likewise.
13053 (HWCAP_ILRCPC): Likewise.
13054 (HWCAP_FLAGM): Likewise.
13055 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13057 (_dl_aarch64_cap_flags): Add new flag names.
13059 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13060 (MAP_FIXED_NOREPLACE): New macro.
13061 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13062 (MAP_FIXED_NOREPLACE): Likewise.
13063 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13064 (MAP_FIXED_NOREPLACE): Likewise.
13065 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13066 (MAP_FIXED_NOREPLACE): Likewise.
13067 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13068 (MAP_FIXED_NOREPLACE): Likewise.
13069 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13070 (MAP_FIXED_NOREPLACE): Likewise.
13071 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13072 (MAP_FIXED_NOREPLACE): Likewise.
13073 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13074 (MAP_FIXED_NOREPLACE): Likewise.
13075 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13076 (MAP_FIXED_NOREPLACE): Likewise.
13077 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13078 (MAP_FIXED_NOREPLACE): Likewise.
13079 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13080 (MAP_FIXED_NOREPLACE): Likewise.
13081 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13082 (MAP_FIXED_NOREPLACE): Likewise.
13083 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13084 (MAP_FIXED_NOREPLACE): Likewise.
13085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13086 (MAP_FIXED_NOREPLACE): Likewise.
13087 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13088 (MAP_FIXED_NOREPLACE): Likewise.
13090 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13093 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13095 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13098 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13100 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13102 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13104 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13106 * benchtests/scripts/compare_string.py: (process_results) Catch
13107 exception in non-existent base_func and catch exception in
13108 non-existent attribute.
13109 (parse_file) Catch exception if input file does not exist.
13111 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13113 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13114 options to avoid diff calculation and omit header, respectively.
13115 (main): process --no-diff and --no-header
13117 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13118 H.J. Lu <hongjiu.lu@intel.com>
13120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13121 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13124 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13125 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13126 and __wcsncmp_sse2.
13127 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13128 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13129 AVX unaligned load is fast and vzeroupper is preferred.
13130 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13131 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13132 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13133 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13134 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13135 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13136 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13137 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13138 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13139 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13142 2018-06-01 Florian Weimer <fweimer@redhat.com>
13144 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13145 configuring with --disable-multi-arch, building with
13146 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13149 2018-06-01 Florian Weimer <fweimer@redhat.com>
13151 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13152 results from building with “-march=x86-64 -mtune=generic
13153 -mfpmath=sse” and running on a Haswell-era CPU.
13155 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13158 * soft-fp/sqrttf2.c: Remove file.
13159 * soft-fp/sqrtdf2.c: Move to ....
13160 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13162 (__sqrtdf2): Make conditional on
13163 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13165 * soft-fp/sqrtsf2.c: Move to ....
13166 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13168 (__sqrtsf2): Make conditional on
13169 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13171 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13172 (gcc-double-routines): Remove sqrtdf2.
13173 (gcc-quad-routines): Remove sqrttf2.
13174 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13175 Do not filter out sqrtsf2 and sqrtdf2.
13176 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13177 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13179 2018-06-01 Florian Weimer <fweimer@redhat.com>
13181 * sysdeps/generic/libcidn.abilist: Remove file.
13183 2018-06-01 Florian Weimer <fweimer@redhat.com>
13186 * libio/strfile.h (struct _IO_str_fields): Rename members to
13187 discourage their use and add comment.
13188 (_IO_STR_DYNAMIC): Remove unused macro.
13189 * libio/strops.c (_IO_str_init_static_internal): Do not use
13190 callback pointers. Call malloc and free.
13191 (_IO_str_overflow): Do not use callback pointers. Call malloc
13193 (enlarge_userbuf): Likewise.
13194 (_IO_str_finish): Call free.
13195 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13196 _allocate_buffer_unused.
13197 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13199 (enlarge_userbuf): Likewise.
13200 (_IO_wstr_finish): Call free.
13201 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13202 _allocate_buffer_unused, _free_buffer_unused.
13203 * libio/memstream.c (__open_memstream): Likewise.
13204 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13205 * libio/wmemstream.c (open_wmemstream): Likewise.
13207 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13209 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13212 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13214 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13215 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13216 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13218 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13220 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13222 2018-05-29 Florian Weimer <fweimer@redhat.com>
13224 * support/Makefile (libsupport-routines): Add
13225 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13226 xpthread_barrierattr_setpshared.
13227 * support/xpthread_barrierattr_destroy.c: New file.
13228 * support/xpthread_barrierattr_init.c: Likewise.
13229 * support/xpthread_barrierattr_setpshared.c: Likewise.
13231 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13234 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13235 _r_debug and update DT_DEBUG for debugger.
13237 2018-05-29 Florian Weimer <fweimer@redhat.com>
13239 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13240 (tst-strtod5i.out): Likewise.
13242 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13244 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13245 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13246 (sparc64-quad-routines): New variable. Moved from ....
13247 [$(subdir) = soft-fp] (sysdep_routines): Add
13248 $(sparc64-quad-routines). Moved from ....
13249 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13250 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13251 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13253 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13254 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13255 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13256 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13257 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13258 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13259 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13260 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13261 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13262 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13263 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13264 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13265 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13266 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13267 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13268 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13269 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13270 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13271 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13272 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13273 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13274 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13275 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13276 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13277 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13278 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13279 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13280 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13281 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13282 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13283 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13284 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13285 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13286 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13287 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13288 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13289 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13290 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13291 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13292 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13293 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13294 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13295 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13296 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13297 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13298 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13299 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13300 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13301 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13302 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13303 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13304 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13305 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13306 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13307 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13308 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13310 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13312 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13313 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13314 (sparc32-quad-routines): New variable. Moved from ....
13315 [$(subdir) = soft-fp] (sysdep_routines): Add
13316 $(sparc32-quad-routines). Moved from ....
13317 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13318 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13320 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13321 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13322 * sysdeps/sparc/sparc32/q_add.c: ... here.
13323 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13324 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13325 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13326 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13327 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13328 * sysdeps/sparc/sparc32/q_div.c: ... here.
13329 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13330 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13331 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13332 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13333 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13334 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13335 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13336 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13337 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13338 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13339 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13340 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13341 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13342 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13343 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13344 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13345 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13346 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13347 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13348 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13349 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13350 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13351 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13352 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13353 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13354 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13355 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13356 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13357 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13358 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13359 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13360 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13361 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13362 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13363 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13364 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13365 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13366 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13367 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13368 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13369 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13370 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13371 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13372 * sysdeps/sparc/sparc32/q_util.c: ... here.
13373 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13374 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13375 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13376 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13378 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13379 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13381 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13382 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13383 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13384 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13386 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13392 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13393 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13395 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13398 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13401 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13403 * sysdeps/sh/Implies: Remove sh/soft-fp.
13404 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13405 * sysdeps/sh/sfp-machine.h: ... here.
13407 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13409 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13410 (__mempcpy_erms): Skip zero length.
13411 (__memmove_erms): Likewise.
13412 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13413 (__memset_erms): Likewise.
13415 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13417 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13418 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13419 Add functions moved from ....
13420 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13421 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13422 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13424 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13425 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13426 * sysdeps/alpha/e_sqrtl.c: ... here.
13427 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13428 * sysdeps/alpha/local-soft-fp.h: ... here.
13429 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13430 * sysdeps/alpha/ots_add.c: ... here.
13431 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13432 * sysdeps/alpha/ots_cmp.c: ... here.
13433 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13434 * sysdeps/alpha/ots_cmpe.c: ... here.
13435 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13436 * sysdeps/alpha/ots_cvtqux.c: ... here.
13437 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13438 * sysdeps/alpha/ots_cvtqx.c: ... here.
13439 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13440 * sysdeps/alpha/ots_cvttx.c: ... here.
13441 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13442 * sysdeps/alpha/ots_cvtxq.c: ... here.
13443 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13444 * sysdeps/alpha/ots_cvtxt.c: ... here.
13445 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13446 * sysdeps/alpha/ots_div.c: ... here.
13447 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13448 * sysdeps/alpha/ots_mul.c: ... here.
13449 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13450 * sysdeps/alpha/ots_nintxq.c: ... here.
13451 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13452 * sysdeps/alpha/ots_sub.c: ... here.
13453 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13454 * sysdeps/alpha/sfp-machine.h: ... here.
13456 2018-05-23 Florian Weimer <fweimer@redhat.com>
13464 Switch to extern IDNA implementation (libidn2).
13465 * libidn: Remove subdirectory.
13466 * LICENSES: Do not mention licensing conditions for the removed
13468 * config.h.in (HAVE_LIBIDN): Remove.
13469 * include/dlfcn.h (__libc_dlopen): Update comment.
13470 * include/idna.h: Remove file.
13471 * inet/Makefile (routines): Add idna.
13472 (tests-static, tests-internal): Add tst-idna_name_classify.
13473 (LOCALES): Generate locales for tests.
13474 (tst-idna_name_classify.out): Depend on generated locales.
13475 * inet/idna_name_classify.c: New file.
13476 * inet/tst-idna_name_classify.c: Likewise.
13477 * inet/net-internal.h (__idna_to_dns_encoding)
13478 (__idna_from_dns_encoding): Declare.
13479 * inet/net-internal.h (enum idna_name_classification): Define.
13480 (__idna_name_classify): Declare.
13481 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13482 __idna_from_dns_encoding.
13483 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13484 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13485 name as a fallback in case of encoding errors.
13486 (getnameinfo): Use DEPRECATED_NI_IDN.
13487 * inet/idna.c: New file.
13488 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13489 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13490 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13491 (modules-names): Add tst-no-libidn2.
13492 (extra-test-objs): Add tst-no-libidn2.os.
13493 (LDFLAGS-tst-no-libidn2.so): Set soname.
13494 (LOCALES): Set, and generate locales.
13495 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13496 (tst-resolv-ai_idn-latin1): Likewise.
13497 (tst-resolv-ai_idn-nolibidn2): Likewise.
13498 (tst-resolv-ai_idn.out): Depend on locales.
13499 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13500 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13502 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13503 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13504 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13505 * resolv/tst-resolv-ai_idn.c: New file.
13506 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13507 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13508 * resolv/tst-no-libidn2.c: Likewise.
13509 * support/support_format_addrinfo.c (format_ai_flags): Do not
13510 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13511 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13512 (gaih_inet): Call __idna_to_dns_encoding and
13513 __idna_from_dns_encoding, and use the original (punycode) name if
13514 __idna_from_dns_encoding fails due to an encoding error.
13515 (getaddrinfo): Use DEPRECATED_AI_IDN.
13516 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13517 * sysdeps/unix/inet/configure: Remove file.
13518 * sysdeps/unix/inet/configure.ac: Likewise.
13520 2018-05-23 Florian Weimer <fweimer@redhat.com>
13522 Implement allocate_once.
13523 * include/allocate_once.h: New file.
13524 * misc/allocate_once.c: Likewise.
13525 * misc/tst-allocate_once.c: Likewise.
13526 * misc/Makefile (routines): Add allocate_once.
13527 (tests-internal): Add tst-allocate_once.
13528 (generated): Add tst-allocate_once.mtrace,
13529 tst-allocate_once-mem.out.
13530 (tests-special): Add tst-allocate_once-mem.out.
13531 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13532 (tst-allocate_once-mem.out): Call mtrace.
13533 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13535 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13538 * string/test-memcpy.c (do_test1): New function.
13539 (test_main): Call it.
13541 2018-05-23 Andreas Schwab <schwab@suse.de>
13545 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13546 (L(preloop_large)): Save initial destination pointer in %r11 and
13547 use it instead of %rax after the loop.
13548 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13550 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13552 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13553 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13554 -I../soft-fp. Moved from ....
13555 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13556 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13557 * sysdeps/aarch64/e_sqrtl.c: ... here.
13558 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13559 * sysdeps/aarch64/sfp-machine.h: ... here.
13561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13562 -Wmaybe-uninitialized around access to fq[0].
13563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13567 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13568 aliases for non-libc case of versioned symbols.
13569 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13570 (llseek): Define as compat symbol if
13571 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13573 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13574 Make into a compat symbol, disabled for minimum symbol version
13575 GLIBC_2.28 and later.
13576 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13578 2018-05-22 Florian Weimer <fweimer@redhat.com>
13580 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13581 not add -mpreferred-stack-boundary=4.
13582 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13583 (stack-align-test-flags): Likewise.
13584 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13586 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13587 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13588 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13589 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13590 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13591 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13592 (CFLAGS-tst-align2.c): Likewise.
13594 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13596 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13597 (index_arch_Prefer_FSRM): Likewise.
13598 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13599 Also check Prefer_FSRM.
13600 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13601 Also return OPTIMIZE (erms) for Prefer_FSRM.
13603 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13605 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13606 (index_cpu_FSRM): Likewise.
13607 (reg_FSRM): Likewise.
13609 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13611 * math/gen-tgmath-tests.py: Import sys.
13612 (Tests.__init__): Initialize macros_seen.
13613 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13614 if requested to do so for this macro.
13615 (Tests.add_all_tests): Take argument for macro for which to
13617 (Tests.check_macro_list): New function.
13618 (main): Handle check-list argument and argument specifying macro
13619 for which to generate tests.
13620 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13621 [PYTHON] (tgmath3-macro-tests): Likewise.
13622 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13623 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13624 not test-tgmath3.c.
13625 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13626 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13628 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13629 [PYTHON] ($(foreach
13630 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13632 [PYTHON] (tests-special): Add
13633 $(objpfx)test-tgmath3-macro-list.out.
13634 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13636 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13637 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13641 * time/tzset.c (SECSPERDAY): Cast to time_t.
13642 * time/tst-y2039.c: New file.
13643 * time/Makefile (tests): Add tst-y2039.
13645 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13647 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13648 (PREFETCH_ONE_SET): Remove duplicate line.
13650 2018-05-17 Florian Weimer <fweimer@redhat.com>
13652 * sysdeps/generic/math-type-macros-double.h: Include
13653 <math-nan-payload-double.h> after <libm-alias-double.h>.
13654 * sysdeps/generic/math-type-macros-float.h: Include
13655 <math-nan-payload-float.h> after <libm-alias-float.h>.
13656 * sysdeps/generic/math-type-macros-float128.h: Include
13657 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13658 * sysdeps/generic/math-type-macros-ldouble.h: Include
13659 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13661 2018-05-17 Andreas Schwab <schwab@suse.de>
13663 * resolv/res_send.c (__res_context_send): Don't set errno when
13664 returing error after malloc failure.
13666 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13668 * nptl/allocatestack.c (allocate_stack): Remove the
13669 !__ASSUME_PRIVATE_FUTEX paths.
13670 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13671 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13673 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13674 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13675 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13676 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13677 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13678 !__ASSUME_PRIVATE_FUTEX path.
13679 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13680 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13681 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13682 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13683 !__ASSUME_PRIVATE_FUTEX macros.
13684 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13685 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13687 * sysdeps/unix/sysv/linux/kernel-features.h
13688 (__ASSUME_PRIVATE_FUTEX): Removed.
13690 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13692 * math/Makefile (libm-narrow-fns): Add div.
13693 (libm-test-funcs-narrow): Likewise.
13694 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13695 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13696 * math/gen-auto-libm-tests.c (test_functions): Add div.
13697 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13698 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13699 (NARROW_DIV_TRIVIAL): Likewise.
13700 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13702 (__ddivl): Likewise.
13703 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13705 (CFLAGS-nldbl-ddiv.c): New variable.
13706 (CFLAGS-nldbl-fdiv.c): Likewise.
13707 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13709 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13711 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13712 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13713 * math/auto-libm-test-in: Add tests of div.
13714 * math/auto-libm-test-out-narrow-div: New generated file.
13715 * math/libm-test-narrow-div.inc: New file.
13716 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13719 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13720 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13721 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13730 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13731 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13732 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13733 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13735 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13761 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13764 * nscd/nscd-client.h (sendfileall): Remove prototype.
13765 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13766 (handle_request): Use writeall instead of sendfileall.
13767 * nscd/aicache.c (addhstaiX): Likewise.
13768 * nscd/grpcache.c (cache_addgr): Likewise.
13769 * nscd/hstcache.c (cache_addhst): Likewise.
13770 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13771 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13772 * nscd/pwdcache.c (cache_addpw): Likewise.
13773 * nscd/servicescache.c (cache_addserv): Likewise.
13774 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13775 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13779 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13781 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13782 Include <string/strncat.c>.
13783 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13785 (__GI___strncat): New hidden alias.
13787 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13789 * sysdeps/mips/mips32/libm-test-ulps: Update.
13790 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13792 2018-05-16 Florian Weimer <fweimer@redhat.com>
13794 * support/Makefile (libsupport-routines): Add support_quote_blob,
13795 support_test_compare_blob.
13796 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13797 * support/check.h (TEST_COMPARE_BLOB): Define.
13798 (support_test_compare_blob): Declare.
13799 * support/support.h (support_quote_blob): Declare.
13800 * support/support_quote_blob.c: New file.
13801 * support/support_test_compare_blob.c: Likewise.
13802 * support/tst-support_quote_blob.c: Likewise.
13803 * support/tst-test_compare_blob.c: Likewise.
13805 2018-05-16 Florian Weimer <fweimer@redhat.com>
13807 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13808 of <strtod_nan_double.h>.
13809 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13810 instead of SET_MANTISSA.
13811 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13812 of include <strtod_nan_float.h>.
13813 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13814 instead of <strtod_nan_ldouble.h>.
13815 * stdlib/strtod_nan_double.h: Move to ...
13816 * sysdeps/generic/math-nan-payload-double.h: ... here.
13817 (FLOAT): Remove definition.
13818 (SET_MANTISSA): Rename to ...
13819 (SET_NAN_PAYLOAD): ... this.
13820 * stdlib/strtod_nan_float.h: Move to ...
13821 * sysdeps/generic/math-nan-payload-float.h: ... here.
13822 (FLOAT): Remove definition.
13823 (SET_MANTISSA): Rename to ...
13824 (SET_NAN_PAYLOAD): ... this.
13825 * sysdeps/generic/math-type-macros-double.h: Include
13826 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13827 instead of <math-svid-compat.h>.
13828 * sysdeps/generic/math-type-macros-float.h: Include
13829 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13830 instead of <math-svid-compat.h>.
13831 * sysdeps/generic/math-type-macros-float128.h: Include
13832 <math-nan-payload-float128.h>.
13833 * sysdeps/generic/math-type-macros-ldouble.h: Include
13834 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13835 instead of <math-svid-compat.h>.
13836 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13837 check for definition.
13838 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13839 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13840 Include <ieee754_float128.h>.
13841 (FLOAT): Remove definition.
13842 (SET_MANTISSA): Rename to ...
13843 (SET_NAN_PAYLOAD): ... this.
13844 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13845 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13846 Do not include <float128_private.h>.
13847 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13849 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13850 (FLOAT): Remove definition.
13851 (SET_MANTISSA): Rename to ...
13852 (SET_NAN_PAYLOAD): ... this.
13853 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13854 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13855 (FLOAT): Remove definition.
13856 (SET_MANTISSA): Rename to ...
13857 (SET_NAN_PAYLOAD): ... this.
13858 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13859 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13860 (FLOAT): Remove definition.
13861 (SET_MANTISSA): Rename to ...
13862 (SET_NAN_PAYLOAD): ... this.
13863 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13864 of "../stdlib/strtod_nan_double.h".
13865 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13866 of "../stdlib/strtod_nan_float.h".
13867 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13868 instead of "../stdlib/strtod_nan_ldouble.h".
13869 * manual/arith.texi (Parsing of Floats): Adjust comment.
13871 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13873 * math/Makefile (libm-narrow-fns): Add mul.
13874 (libm-test-funcs-narrow): Likewise.
13875 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13876 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13877 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13878 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13879 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13880 (NARROW_MUL_TRIVIAL): Likewise.
13881 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13882 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13884 (__dmull): Likewise.
13885 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13887 (CFLAGS-nldbl-dmul.c): New variable.
13888 (CFLAGS-nldbl-fmul.c): Likewise.
13889 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13891 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13893 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13894 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13895 * math/auto-libm-test-in: Add tests of mul.
13896 * math/auto-libm-test-out-narrow-mul: New generated file.
13897 * math/libm-test-narrow-mul.inc: New file.
13898 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13901 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13902 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13903 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13909 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13910 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13911 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13912 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13913 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13914 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13915 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13917 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13943 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13945 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13946 with *%eax in call.
13948 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13950 * sysdeps/i386/ldsodefs.h: Removed.
13951 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13952 * sysdeps/x86/ldsodefs.h: This.
13953 (La_i86_regs): New.
13954 (La_i86_retval): Likewise.
13955 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13956 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13958 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13960 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13963 2018-05-13 Alan Modra <amodra@gmail.com>
13965 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13966 R_PARISC_TLS_DTPOFF32 reloc addend.
13968 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13970 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13971 * math/math.h: Restrict the prototype definition for the functions
13972 issignaling(_Float128) and iszero(_Float128); and template
13973 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13974 __HAVE_FLOAT128_UNLIKE_LDBL.
13975 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13976 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13977 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13978 __f128() constants; define the type _Float128 as long double;
13979 and reuse long double in __CFLOAT128.
13981 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13983 * sysdeps/generic/math_private.h: Do not include
13985 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13987 * math/fromfp.h: Include <math-barriers.h>.
13988 * math/math-narrow.h: Likewise.
13989 * math/s_nextafter.c: Likewise.
13990 * math/s_nexttowardf.c: Likewise.
13991 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13992 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13993 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13994 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14005 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14010 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14011 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14012 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14013 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14014 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14015 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14016 * sysdeps/ieee754/k_standardl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14033 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14034 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14035 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14036 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14037 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14038 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14040 2018-05-11 Florian Weimer <fweimer@redhat.com>
14042 Use 64-bit epoch values in the time zone file parser.
14043 * include/time.h (internal_time_t): Define.
14044 (__tzfile_compute): Use it.
14045 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14047 (transitions): Switch to internal_time_t.
14048 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14050 (__tzfile_compute): Use internal_time_t for timer argument. Check
14051 for truncation before calling __offtime.
14053 2018-05-11 Florian Weimer <fweimer@redhat.com>
14056 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14057 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14059 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14060 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14061 export without --enable-obsolete-rpc.
14062 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14063 symbol. This should not have been exported, ever.
14065 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14068 * localedata/locales/gd_GB (abmon): Fix typo in May:
14069 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14071 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14073 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14074 Use multiple registers to copy data in loop tail.
14076 * sysdeps/aarch64/multiarch/memmove_falkor.S
14077 (__memmove_falkor): Use multiple registers to move data in
14080 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14082 * math/math-underflow.h: New file.
14083 * sysdeps/generic/math_private.h: Do not include <float.h>.
14084 (fabs_tg): Remove macro. Moved to math-underflow.h.
14085 (min_of_type_f): Likewise.
14086 (min_of_type_): Likewise.
14087 (min_of_type_l): Likewise.
14088 (min_of_type_f128): Likewise.
14089 (min_of_type): Likewise.
14090 (math_check_force_underflow): Likewise.
14091 (math_check_force_underflow_nonneg): Likewise.
14092 (math_check_force_underflow_complex): Likewise.
14093 * math/e_exp2_template.c: Include <math-underflow.h>.
14094 * math/k_casinh_template.c: Likewise.
14095 * math/s_catan_template.c: Likewise.
14096 * math/s_catanh_template.c: Likewise.
14097 * math/s_ccosh_template.c: Likewise.
14098 * math/s_cexp_template.c: Likewise.
14099 * math/s_clog10_template.c: Likewise.
14100 * math/s_clog_template.c: Likewise.
14101 * math/s_csin_template.c: Likewise.
14102 * math/s_csinh_template.c: Likewise.
14103 * math/s_csqrt_template.c: Likewise.
14104 * math/s_ctan_template.c: Likewise.
14105 * math/s_ctanh_template.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14124 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14125 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14126 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14127 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14128 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14133 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14134 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14135 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14136 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14137 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14138 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14142 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14145 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14146 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14170 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14174 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14176 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14177 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14181 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14183 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14184 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14186 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14191 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14193 * sysdeps/generic/math-barriers.h: New file.
14194 * sysdeps/generic/math_private.h [!math_opt_barrier]
14195 (math_opt_barrier): Move to math-barriers.h.
14196 [!math_opt_barrier] (math_force_eval): Likewise.
14197 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14198 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14200 (math_force_eval): Likewise.
14201 * sysdeps/alpha/fpu/math-barriers.h: New file.
14202 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14204 (math_force_eval): Likewise.
14205 * sysdeps/x86/fpu/math-barriers.h: New file.
14206 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14208 (math_force_eval): Likewise.
14209 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14210 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14211 multiple-include guard for rename.
14212 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14213 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14215 (math_force_eval): Likewise.
14217 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14221 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14223 * stdlib/Makefile (test-bz22786): New test.
14224 * stdlib/test-bz22786.c: New test.
14226 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14228 * include/math-narrow-eval.h: New file. Contents moved from ....
14229 * sysdeps/generic/math_private.h: ... here.
14230 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14231 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14232 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14233 * stdlib/strtod_l.c: Likewise.
14234 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14235 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14236 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14238 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14239 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14240 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14243 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14245 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14246 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14247 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14250 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14251 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14252 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14256 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14257 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14258 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14259 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14260 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14261 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14262 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14264 2018-05-08 Andreas Schwab <schwab@suse.de>
14266 * sysdeps/nptl/internaltypes.h: Fix comment.
14268 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14270 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14271 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14274 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14276 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14277 of I into loop header.
14278 * benchtests/bench-memmove-walk.c
14279 (test_main): Likewise.
14281 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14284 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14285 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14287 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14290 * elf/dl-load.c (open_verify): Fix stack overflow.
14291 * elf/Makefile (tst-big-note): New test.
14292 * elf/tst-big-note-lib.S: New.
14293 * elf/tst-big-note.c: New.
14295 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14297 * scripts/abilist.awk: Ignore absolute symbols.
14298 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14299 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14300 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14301 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14302 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14303 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14304 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14305 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14306 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14307 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14308 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14309 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14391 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14405 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14433 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14454 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14479 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14544 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14545 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14559 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14572 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14598 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14607 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14612 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14641 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14646 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14651 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14654 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14655 Use atomic_load_acquire to load __tid.
14657 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14659 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14660 Restore the pointer into %rdx, after syscall and use %rdx,
14661 instead of %rsi, to restore context.
14663 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14665 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14666 Pop the pointer into %rdx after syscall and use %rdx, instead
14667 of %rsi, to restore context.
14669 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14671 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14672 handlers after setjmp.
14673 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14675 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14676 <libc-pointer-arith.h>.
14677 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14678 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14679 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14680 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14681 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14682 * sysdeps/x86/__longjmp_cancel.S: New file.
14683 * sysdeps/x86/longjmp.c: Likewise.
14684 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14686 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14688 * NEWS: Add ustat.h deprecation entry.
14689 * bits/ustat.h: Remove file.
14690 * misc/sys/ustat.h: Likewise.
14691 * misc/ustat.h: Likewise.
14692 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14693 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14694 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14695 compatibility mode.
14696 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14697 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14698 generic Linux implementation.
14700 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14702 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14703 * math/w_expl_compat.c: Likewise.
14704 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14706 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14708 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14710 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14712 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14713 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14714 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14716 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14719 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14720 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14723 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14725 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14727 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14728 * math/w_asin_template.c: Likewise.
14729 * math/w_atanh_template.c: Likewise.
14731 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14733 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14734 to powerpc/powerpc64/be for big-endian.
14735 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14738 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14739 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14740 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14741 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14742 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14743 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14744 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14745 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14746 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14747 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14748 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14749 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14750 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14751 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14752 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14753 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14754 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14755 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14756 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14757 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14758 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14759 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14760 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14761 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14762 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14763 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14764 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14765 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14766 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14767 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14768 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14769 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14771 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14772 adjusted to imply powerpc64 and older processors on powerpc64/be.
14773 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14774 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14775 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14776 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14777 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14778 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14779 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14780 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14781 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14782 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14783 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14784 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14785 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14786 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14787 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14788 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14789 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14790 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14791 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14792 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14793 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14794 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14795 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14796 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14797 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14798 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14799 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14800 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14801 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14802 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14803 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14805 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14806 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14807 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14808 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14810 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14811 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14812 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14813 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14815 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14816 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14817 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14818 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14819 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14820 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14821 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14822 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14823 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14824 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14825 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14827 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14828 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14829 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14830 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14831 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14832 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14833 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14834 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14835 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14836 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14837 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14839 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14840 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14841 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14842 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14843 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14844 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14845 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14846 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14847 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14848 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14849 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14850 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14852 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14853 and adjusted to imply olders processors.
14854 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14855 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14856 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14857 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14858 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14859 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14860 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14861 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14862 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14863 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14864 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14883 powerpc64 and adjusted.
14884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14889 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14891 * sysdeps/tile: Remove.
14892 * sysdeps/unix/sysv/linux/tile: Likewise.
14893 * README (tilegx-*-linux-gnu): Remove from list of supported
14895 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14896 contribution of support for generic Linux kernel syscall
14898 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14899 tilegx configurations.
14900 (Config.install_linux_headers): Do not handle tile.
14901 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14903 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14904 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14905 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14906 conditional undefine and redefine.
14907 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14909 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14910 conditional undefine and redefine.
14912 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14914 * signal/tst-sigaction.c: New file to test BZ #23069.
14915 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14917 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14920 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14921 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14922 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14923 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14925 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14927 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14928 _DIRENT_MATCHES_DIRENT64 is not defined.
14929 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14930 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14932 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14933 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14935 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14937 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14938 version to GCC 8 branch.
14940 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14942 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14943 (check_no_hidden): Use type of original function when declaring
14946 * sysdeps/unix/sysv/linux/sys/ptrace.h
14947 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14948 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14949 (struct __ptrace_seccomp_metadata): New type.
14950 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14951 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14952 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14953 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14954 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14955 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14957 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14959 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14960 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14961 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14962 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14963 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14964 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14965 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14967 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14969 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14971 * dirent/versionsort.c (versionsort): Likewise.
14972 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14973 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14974 * dirent/versionsort64.c (versionsort64): Likewise.
14975 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14976 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14977 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14978 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14979 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14980 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14981 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14982 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14983 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14984 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14987 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14988 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14990 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14992 * elf/elf.h (NT_PPC_PKEY): New macro.
14994 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14997 * localedata/locales/hr_HR: fix thousands_sep and
15000 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15002 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15003 (XTABS): Define to TAB3.
15005 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15007 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15009 * dirent/scandir-tail-common.c: New file.
15010 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15011 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15012 * dirent/scandir.c: Use scandir-tail-common.c.
15013 * dirent/scandirat.c: Likewise.
15014 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15015 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15016 if _DIRENT_MATCHES_DIRENT64 is defined.
15017 * dirent/scandirat64.c (scandirat64): Likewise.
15018 * include/dirent.h (__scandir_tail): Only define iff
15019 _DIRENT_MATCHES_DIRENT64 is not defined.
15020 (__scandir64_tail): Define regardless.
15021 (__scandirat, scandirat64): Remove libc_hidden_proto.
15022 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15023 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15025 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15026 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15027 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15028 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15030 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15032 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15034 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15036 (_dl_aarch64_cap_flags): Add asimdfhm.
15038 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15040 * sysdeps/nios2/libm-test-ulps: Update.
15042 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15044 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15045 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15047 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15049 (_DIRENT_MATCHES_DIRENT64): Undef
15050 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15051 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15052 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15053 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15054 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15055 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15056 use getdents64 syscalls as base.
15057 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15058 symbol if required.
15059 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15060 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15061 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15063 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15064 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15065 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15066 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15068 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15069 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15071 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15073 * scripts/test_printers_common.py (init_test): Disable lock elision.
15075 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15077 * math/test-tgmath.c (count_double, count_float,
15078 count_ldouble, count_cdouble, count_cfloat,
15079 count_cldouble): Use volatile int.
15081 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15083 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15084 (conformtest-xfail-conds): Add i386-gnu.
15085 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15087 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15088 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15089 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15090 msqid_ds.msg_lrpid): Likewise.
15091 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15093 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15094 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15095 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15096 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15098 (struct statvfs64): Likewise.
15099 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15101 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15102 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15103 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15104 instead of wait_queue.
15105 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15106 instead of vm_area_struct.
15107 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15108 struct sched_param definition to it.
15109 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15110 * bits/types/struct_sched_param.h: New file.
15111 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15112 <bits/types/struct_sched_param.h> instead of <sched.h>.
15113 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15114 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15115 generic version but include <bits/pthreadtypes.h> to make struct
15116 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15117 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15119 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15120 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15121 [__USE_XOPEN] (OFDEL): New macro.
15122 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15123 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15124 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15126 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15127 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15128 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15130 * sysdeps/i386/sys/ucontext.h: Likewise.
15131 * sysdeps/m68k/sys/ucontext.h: Likewise.
15132 * sysdeps/mips/sys/ucontext.h: Likewise.
15133 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15134 * sysdeps/mach/hurd/i386/Makefile
15135 (test-xfail-POSIX/fcntl.h/conform): Add.
15136 (test-xfail-POSIX/signal.h/conform): Add.
15137 (test-xfail-POSIX/semaphore.h/conform): Add.
15138 (test-xfail-POSIX/regex.h/conform): Add.
15139 (test-xfail-POSIX/aio.h/conform): Add.
15140 (test-xfail-POSIX/mqueue.h/conform): Add.
15141 (test-xfail-POSIX/sys/types.h/conform): Add.
15142 (test-xfail-UNIX98/fcntl.h/conform): Add.
15143 (test-xfail-UNIX98/netdb.h/conform): Add.
15144 (test-xfail-UNIX98/signal.h/conform): Add.
15145 (test-xfail-UNIX98/semaphore.h/conform): Add.
15146 (test-xfail-UNIX98/regex.h/conform): Add.
15147 (test-xfail-UNIX98/aio.h/conform): Add.
15148 (test-xfail-UNIX98/ftw.h/conform): Add.
15149 (test-xfail-UNIX98/mqueue.h/conform): Add.
15150 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15151 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15152 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15153 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15154 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15155 (test-xfail-UNIX98/sys/types.h/conform): Add.
15156 (test-xfail-UNIX98/stdlib.h/conform): Add.
15157 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15158 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15159 (test-xfail-POSIX2008/netdb.h/conform): Add.
15160 (test-xfail-POSIX2008/signal.h/conform): Add.
15161 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15162 (test-xfail-POSIX2008/regex.h/conform): Add.
15163 (test-xfail-POSIX2008/aio.h/conform): Add.
15164 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15165 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15166 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15167 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15168 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15169 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15170 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15171 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15172 (test-xfail-XOPEN2K/signal.h/conform): Add.
15173 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15174 (test-xfail-XOPEN2K/regex.h/conform): Add.
15175 (test-xfail-XOPEN2K/aio.h/conform): Add.
15176 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15177 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15178 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15179 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15180 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15181 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15182 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15183 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15184 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15185 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15186 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15187 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15188 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15189 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15190 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15191 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15192 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15193 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15194 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15195 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15196 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15197 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15198 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15199 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15200 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15201 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15202 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15204 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15205 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15207 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15209 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15210 --enable-obsolete for powerpc-linux-gnuspe.
15212 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15214 * conform/data/sys/un.h-data: Allow sun_ prefix.
15215 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15217 * sysdeps/mach/include/mach.h: Likewise.
15218 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15219 * sysdeps/mach/include/mach_error.h: Likewise.
15221 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15223 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15224 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15225 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15226 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15228 2018-04-16 Andreas Schwab <schwab@suse.de>
15231 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15233 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15235 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15236 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15238 2018-04-12 DJ Delorie <dj@redhat.com>
15240 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15243 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15245 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15246 (struct kernel_sigaction): Use the same definition on 31bit as is used
15249 2018-04-09 Florian Weimer <fweimer@redhat.com>
15252 * resolv/res_send.c (send_dg): Use designated initializers instead
15253 of assignment to zero-initialize other fields of struct mmsghdr.
15255 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15257 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15258 __READDIR_ALIAS): Undefine after usage.
15259 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15260 __READDIR_R_ALIAS): Likewise.
15261 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15262 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15263 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15264 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15265 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15266 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15267 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15268 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15269 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15270 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15271 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15272 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15273 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15274 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15275 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15276 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15277 * sysdeps/unix/sysv/linux/readdir.c: New file.
15278 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15279 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15280 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15282 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15284 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15286 * manual/charset.texi (Converting a Character): Fix typo.
15288 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15292 * sysdeps/arm/libm-test-ulps: Update.
15294 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15295 as base implementation.
15296 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15297 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15300 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15301 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15302 remove unrequired definitions and update comments.
15303 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15304 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15305 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15306 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15307 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15308 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15309 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15310 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15312 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15313 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15314 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15315 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15316 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15317 and RESET_SA_RESTORER hooks.
15319 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15321 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15323 2018-04-05 Florian Weimer <fweimer@redhat.com>
15325 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15326 integer overflow, memory leak on error, and indeterminate errno
15327 value. Add a null wide character to terminate the result string.
15328 * manual/charset.texi (Converting a Character): Mention embedded
15329 null bytes in the mbrtowc input string. Explain what happens in
15330 the -2 result case. Do not claim that mbrtowc is simple or
15331 obvious to use. Adjust the description of the code example. Use
15332 @code, not @var, for concrete variables.
15334 2018-04-05 Florian Weimer <fweimer@redhat.com>
15336 * manual/examples/mbstouwcs.c: New file.
15337 * manual/charset.texi (Converting a Character): Include it.
15339 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15341 * include/dirent.h (dirfd): Add hidden proto.
15342 * dirent/dirfd.c (dirfd): Add hidden def.
15343 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15344 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15346 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15348 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15349 sin, cos and sincos to 1 ULP.
15351 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15354 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15356 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15357 * elf/tst-absolute-sym.c: New file.
15358 * elf/tst-absolute-sym-lib.c: New file.
15359 * elf/tst-absolute-sym-lib.lds: New file.
15360 * elf/Makefile (tests): Add `tst-absolute-sym'.
15361 (modules-names): Add `tst-absolute-sym-lib'.
15362 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15363 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15364 ($(objpfx)tst-absolute-sym): New dependency.
15367 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15369 (SYMBOL_ADDRESS): New macro.
15370 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15371 SYMBOL_ADDRESS for symbol address calculation.
15372 * elf/dl-runtime.c (_dl_fixup): Likewise.
15373 (_dl_profile_fixup): Likewise.
15374 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15375 * elf/rtld.c (dl_main): Likewise.
15376 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15377 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15378 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15379 (elf_machine_rela): Likewise.
15380 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15381 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15382 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15383 (elf_machine_rela): Likewise.
15384 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15385 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15386 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15387 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15389 (elf_machine_reloc): Likewise.
15390 (elf_machine_got_rel): Likewise.
15391 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15392 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15393 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15397 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15400 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15402 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15407 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15410 2018-04-04 Zack Weinberg <zackw@panix.com>
15412 * sysdeps/generic/internal-signals.h: Include signal.h,
15413 sigsetops.h, and stdbool.h.
15414 (__libc_signal_block_all): Actually block all signals.
15415 (__libc_signal_block_app): Likewise.
15416 (__libc_signal_restore_set): Actually restore the signal mask.
15418 2018-04-04 Florian Weimer <fweimer@redhat.com>
15420 inet: Actually build and run tst-deadline.
15421 * inet/Makefile (tests-internal): Add tst-deadline and do not
15422 overwrite the variable.
15423 (tests-static-internal): Remove variable.
15425 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15428 * bits/uio-ext.h (RWF_APPEND): New.
15429 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15430 * manual/llio.texi: Document RWF_APPEND.
15431 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15432 (RWF_SUPPORTED): Add RWF_APPEND.
15434 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15437 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15438 check for internal nptl signals.
15439 * nptl/sigaction.c (__sigaction): Likewise.
15440 * signal/sigaddset.c (sigaddset): Likewise.
15441 * signal/sigdelset.c (sigdelset): Likewise.
15442 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15443 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15445 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15446 to filter out internal nptl signals.
15447 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15448 also check realtime signals using standard macros.
15449 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15450 __is_internal_signal, __libc_signal_block_all,
15451 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15452 * sysdeps/nptl/sigfillset.c: Remove file.
15453 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15454 Change return to bool.
15455 (__clear_internal_signals): Remove SIGTIMER clean since it is
15456 equal to SIGCANEL on Linux.
15457 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15458 signal set was constructed using standard functions.
15460 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15462 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15463 ifname is too long.
15464 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15465 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15466 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15468 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15469 * signal/sigaddset.c: Include <sigsetopts.h>.
15470 * signal/sigdelset.c: Likewise.
15472 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15474 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15476 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15477 logic as sin and cos.
15479 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15481 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15482 inputs. Return correct sign.
15483 (do_sincos): Remove small input check before do_sin, let do_sin set
15488 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15490 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15491 (do_cos_slow): Likewise.
15492 (do_sin_slow): Likewise.
15493 (reduce_and_compute): Likewise.
15498 (sloww1): Likewise.
15499 (sloww2): Likewise.
15501 (bslow1): Likewise.
15502 (bslow2): Likewise.
15503 (cslow2): Likewise.
15505 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15507 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15508 (do_cos): Remove corp parameter and calculations.
15509 (do_sin): Likewise.
15510 (do_sincos): Remove cor variable.
15511 (__sin): Use do_sincos for huge inputs.
15513 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15514 (reduce_and_compute_sincos): Remove unused function.
15516 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15518 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15519 reduce_sincos, improve accuracy to 136 bits.
15520 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15521 (__sin): Use improved reduction and simplified do_sincos calculation.
15523 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15525 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15527 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15528 (do_sincos_2): Likewise.
15529 (__sin): Remove middle range reduction case.
15531 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15534 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15536 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15540 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15542 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15544 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15547 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15549 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15550 Remove definitions.
15551 (opendir_oflags): Use O_DIRECTORY regardless.
15552 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15553 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15555 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15557 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15558 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15560 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15561 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15562 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15563 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15564 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15565 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15567 * htl/Makefile: Bump licence to LGPL 2.1+.
15568 * htl/alloca_cutoff.c: Likewise.
15569 * htl/cthreads-compat.c: Likewise.
15570 * htl/lockfile.c: Likewise.
15571 * htl/pt-alloc.c: Likewise.
15572 * htl/pt-cancel.c: Likewise.
15573 * htl/pt-cleanup.c: Likewise.
15574 * htl/pt-create.c: Likewise.
15575 * htl/pt-dealloc.c: Likewise.
15576 * htl/pt-detach.c: Likewise.
15577 * htl/pt-exit.c: Likewise.
15578 * htl/pt-getattr.c: Likewise.
15579 * htl/pt-initialize.c: Likewise.
15580 * htl/pt-internal.h: Likewise.
15581 * htl/pt-join.c: Likewise.
15582 * htl/pt-self.c: Likewise.
15583 * htl/pt-setcancelstate.c: Likewise.
15584 * htl/pt-setcanceltype.c: Likewise.
15585 * htl/pt-sigmask.c: Likewise.
15586 * htl/pt-spin-inlines.c: Likewise.
15587 * htl/pt-testcancel.c: Likewise.
15588 * htl/pt-yield.c: Likewise.
15589 * htl/tests/test-1.c: Likewise.
15590 * htl/tests/test-10.c: Likewise.
15591 * htl/tests/test-11.c: Likewise.
15592 * htl/tests/test-12.c: Likewise.
15593 * htl/tests/test-13.c: Likewise.
15594 * htl/tests/test-14.c: Likewise.
15595 * htl/tests/test-15.c: Likewise.
15596 * htl/tests/test-16.c: Likewise.
15597 * htl/tests/test-17.c: Likewise.
15598 * htl/tests/test-2.c: Likewise.
15599 * htl/tests/test-3.c: Likewise.
15600 * htl/tests/test-4.c: Likewise.
15601 * htl/tests/test-5.c: Likewise.
15602 * htl/tests/test-6.c: Likewise.
15603 * htl/tests/test-7.c: Likewise.
15604 * htl/tests/test-8.c: Likewise.
15605 * htl/tests/test-9.c: Likewise.
15606 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15607 * sysdeps/htl/bits/cancelation.h: Likewise.
15608 * sysdeps/htl/bits/pthread-np.h: Likewise.
15609 * sysdeps/htl/bits/pthread.h: Likewise.
15610 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15611 * sysdeps/htl/bits/semaphore.h: Likewise.
15612 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15613 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15614 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15615 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15616 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15617 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15618 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15619 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15620 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15621 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15622 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15623 * sysdeps/htl/old_pt-atfork.c: Likewise.
15624 * sysdeps/htl/pt-atfork.c: Likewise.
15625 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15626 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15627 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15628 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15629 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15630 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15631 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15632 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15633 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15634 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15635 * sysdeps/htl/pt-attr-init.c: Likewise.
15636 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15637 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15638 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15639 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15640 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15641 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15642 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15643 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15644 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15645 * sysdeps/htl/pt-attr.c: Likewise.
15646 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15647 * sysdeps/htl/pt-barrier-init.c: Likewise.
15648 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15649 * sysdeps/htl/pt-barrier.c: Likewise.
15650 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15651 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15652 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15653 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15654 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15655 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15656 * sysdeps/htl/pt-cond-init.c: Likewise.
15657 * sysdeps/htl/pt-cond-signal.c: Likewise.
15658 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15659 * sysdeps/htl/pt-cond-wait.c: Likewise.
15660 * sysdeps/htl/pt-cond.c: Likewise.
15661 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15662 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15663 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15664 * sysdeps/htl/pt-condattr-init.c: Likewise.
15665 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15666 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15667 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15668 * sysdeps/htl/pt-equal.c: Likewise.
15669 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15670 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15671 * sysdeps/htl/pt-getschedparam.c: Likewise.
15672 * sysdeps/htl/pt-getspecific.c: Likewise.
15673 * sysdeps/htl/pt-init-specific.c: Likewise.
15674 * sysdeps/htl/pt-key-create.c: Likewise.
15675 * sysdeps/htl/pt-key-delete.c: Likewise.
15676 * sysdeps/htl/pt-key.h: Likewise.
15677 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15678 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15679 * sysdeps/htl/pt-mutex-init.c: Likewise.
15680 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15681 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15682 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15683 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15684 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15685 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15686 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15687 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15688 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15689 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15690 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15691 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15692 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15693 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15694 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15695 * sysdeps/htl/pt-mutexattr.c: Likewise.
15696 * sysdeps/htl/pt-once.c: Likewise.
15697 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15698 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15699 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15700 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15701 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15702 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15703 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15704 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15705 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15706 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15707 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15708 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15709 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15710 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15711 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15712 * sysdeps/htl/pt-setschedparam.c: Likewise.
15713 * sysdeps/htl/pt-setschedprio.c: Likewise.
15714 * sysdeps/htl/pt-setspecific.c: Likewise.
15715 * sysdeps/htl/pt-spin.c: Likewise.
15716 * sysdeps/htl/pt-startup.c: Likewise.
15717 * sysdeps/htl/pthread.h: Likewise.
15718 * sysdeps/htl/sem-close.c: Likewise.
15719 * sysdeps/htl/sem-destroy.c: Likewise.
15720 * sysdeps/htl/sem-getvalue.c: Likewise.
15721 * sysdeps/htl/sem-init.c: Likewise.
15722 * sysdeps/htl/sem-open.c: Likewise.
15723 * sysdeps/htl/sem-post.c: Likewise.
15724 * sysdeps/htl/sem-timedwait.c: Likewise.
15725 * sysdeps/htl/sem-trywait.c: Likewise.
15726 * sysdeps/htl/sem-unlink.c: Likewise.
15727 * sysdeps/htl/sem-wait.c: Likewise.
15728 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15729 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15730 * sysdeps/mach/htl/pt-block.c: Likewise.
15731 * sysdeps/mach/htl/pt-spin.c: Likewise.
15732 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15733 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15734 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15735 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15736 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15737 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15738 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15739 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15740 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15741 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15742 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15743 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15744 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15745 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15746 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15747 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15748 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15749 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15750 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15751 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15752 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15753 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15754 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15755 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15756 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15757 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15758 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15759 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15760 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15761 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15762 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15763 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15764 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15765 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15766 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15767 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15768 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15769 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15770 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15771 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15772 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15773 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15774 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15776 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15777 * README: Remove the mention of out-of-tree patches needed for
15780 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15781 (UTIME_NOW, UTIME_OMIT): Define macros.
15783 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15784 instead of pthread_detach.
15785 (__cthread_fork): Call __pthread_create instead of pthread_create.
15786 (__cthread_keycreate): Call __pthread_key_create instead of
15787 pthread_key_create.
15788 (__cthread_getspecific): Call __pthread_getspecific instead of
15789 pthread_getspecific.
15790 (__cthread_setspecific): Call __pthread_setspecific instead of
15791 pthread_setspecific.
15792 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15793 __pthread_mutex_unlock instead of pthread_mutex_lock and
15794 pthread_mutex_unlock.
15795 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15796 ___pthread_get_cleanup_stack.
15797 (__pthread_get_cleanup_stack): New strong alias.
15798 * htl/pt-create.c: Include <pthreadP.h>.
15799 (entry_point): Call __pthread_exit instead of pthread_exit.
15800 (pthread_create): Rename to __pthread_create.
15801 (pthread_create): New strong alias.
15802 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15803 (pthread_detach): New strong alias.
15804 (__pthread_detach): Call __pthread_cond_broadcast instead of
15805 pthread_cond_broadcast.
15806 * htl/pt-exit.c: Include <pthreadP.h>.
15807 (__pthread_exit): Call __pthread_setcancelstate and
15808 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15809 __pthread_get_cleanup_stack.
15810 * htl/pt-testcancel.c: Include <pthreadP.h>.
15811 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15812 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15813 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15814 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15815 pthread_attr_getstacksize.
15816 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15817 Rename to __pthread_attr_getstackaddr.
15818 (pthread_attr_getstackaddr): New strong alias.
15819 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15820 Rename to __pthread_attr_getstacksize.
15821 (pthread_attr_getstacksize): New strong alias.
15822 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15823 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15824 (pthread_attr_setstack): New strong alias.
15825 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15826 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15827 pthread_attr_getstacksize, pthread_attr_setstacksize and
15828 pthread_attr_setstackaddr.
15829 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15830 Rename to __pthread_attr_setstackaddr.
15831 (pthread_attr_setstackaddr): New strong alias.
15832 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15833 Rename to __pthread_attr_setstacksize.
15834 (pthread_attr_setstacksize): New strong alias.
15835 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15836 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15838 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15839 (__pthread_key_create): New hidden def.
15840 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15841 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15842 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15843 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15844 __pthread_setspecific, __pthread_setcancelstate,
15845 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15846 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15847 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15849 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15850 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15851 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15852 (pthread_attr_setstackaddr): New strong alias.
15853 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15854 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15855 (pthread_attr_setstacksize): New strong alias.
15856 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15857 (call_exit): Call __pthread_exit instead of pthread_exit.
15858 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15859 (_pthread_mutex_init): New hidden definition.
15860 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15861 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15862 instead of pthread_attr_init and pthread_attr_setstack.
15864 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15865 __vm_deallocate instead of vm_allocate and vm_deallocate.
15866 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15868 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15870 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15872 * hurd/siginfo.c: Include <libioP.h>.
15873 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15874 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15876 * mach/devstream.c: Include <libioP.h>.
15877 (dealloc_ref): Call __mach_port_deallocate instead of
15878 mach_port_deallocate.
15879 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15880 Call __mach_port_deallocate instead of mach_port_deallocate.
15881 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15883 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15885 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15886 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15887 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15889 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15891 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15892 instead of sysconf.
15893 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15894 __clock_gettime instead of clock_gettime.
15895 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15896 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15897 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15898 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15899 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15901 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15902 __clock_gettime and __nanosleep instead of clock_gettime and
15904 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15905 __hurd_catch_signal.
15906 (hurd_catch_signal): New strong alias.
15907 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15908 __hurd_catch_signal instead of hurd_catch_signal.
15909 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15910 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15911 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15912 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15913 (_hurd_thread_sigstate): Add hidden def.
15914 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15916 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15917 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15918 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15919 __hurd_file_name_path_lookup.
15920 (hurd_file_name_path_lookup): New strong alias.
15921 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15922 hurd_file_name_path_lookup.
15923 * mach/errstring.c (mach_error_type): Add hidden def.
15924 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15925 * mach/mutex-init.c (__mutex_init): Add hidden def.
15926 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15927 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15928 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15929 * sysdeps/mach/hurd/getcwd.c
15930 (_hurd_canonicalize_directory_name_internal): Rename to
15931 __hurd_canonicalize_directory_name_internal.
15932 (_hurd_canonicalize_directory_name_internal): New strong alias.
15933 (__canonicalize_directory_name_internal, __getcwd): Call
15934 __hurd_canonicalize_directory_name_internal instead of
15935 _hurd_canonicalize_directory_name_internal.
15936 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15937 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15939 * sysdeps/hurd/include/hurd.h: New file.
15940 * sysdeps/hurd/include/hurd/fd.h: New file.
15941 * sysdeps/hurd/include/hurd/signal.h: New file.
15942 * sysdeps/mach/include/lock-intern.h: New file.
15943 * sysdeps/mach/include/mach.h: New file.
15944 * sysdeps/mach/include/mach/mig_support.h: New file.
15945 * sysdeps/mach/include/mach_error.h: New file.
15946 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15948 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15949 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15950 _HEADER_H_HIDDEN_DEF macro.
15951 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15952 _hurd_fd_error_signal): Add hidden prototype.
15953 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15955 * libio/iolibio.h (_IO_puts): New hidden prototype.
15956 * libio/ioputs.c (_IO_puts): New hidden def.
15957 * sysdeps/mach/hurd/localplt.data: New file.
15959 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15960 Amos Jeffries <squid3@treenet.co.nz>
15961 David Michael <fedora.dm0@gmail.com>
15962 Marco Gerards <marco@gnu.org>
15963 Marcus Brinkmann <marcus@gnu.org>
15964 Neal H. Walfield <neal@gnu.org>
15965 Pino Toscano <toscano.pino@tiscali.it>
15966 Richard Braun <rbraun@sceen.net>
15967 Roland McGrath <roland@gnu.org>
15968 Samuel Thibault <samuel.thibault@ens-lyon.org>
15969 Thomas DiModica <ricinwich@yahoo.com>
15970 Thomas Schwinge <tschwinge@gnu.org>
15972 * htl: New directory.
15973 * sysdeps/htl: New directory.
15974 * sysdeps/hurd/htl: New directory.
15975 * sysdeps/i386/htl: New directory.
15976 * sysdeps/mach/htl: New directory.
15977 * sysdeps/mach/hurd/htl: New directory.
15978 * sysdeps/mach/hurd/i386/htl: New directory.
15979 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15980 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15981 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15983 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15985 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15986 signals in thread created for runing timers.
15988 2018-04-01 Florian Weimer <fweimer@redhat.com>
15990 * support/support_format_addrinfo.c (support_format_addrinfo):
15991 Include unknown error number in formatted result.
15993 2018-03-29 Florian Weimer <fweimer@redhat.com>
15995 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15998 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16000 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16001 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16002 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16003 (__ASSUME_CLONE_BACKWARDS): Define.
16005 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16008 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16009 early when linux sentinel value is set.
16011 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16013 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16015 2018-03-27 Andreas Schwab <schwab@suse.de>
16018 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16019 allocation of private copy of nsaddr_list fails.
16021 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16024 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16025 * sysdeps/unix/sysv/linux/umount.c: ... here.
16026 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16027 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16028 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16029 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16031 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16032 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16034 2018-03-26 Andreas Schwab <schwab@suse.de>
16036 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16037 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16038 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16039 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16040 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16041 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16042 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16043 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16044 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16045 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16046 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16047 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16048 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16049 (R_RISCV_NUM): Define.
16051 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16053 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16054 TLS declaration of errno.
16055 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16057 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16058 (ARCH_SETUP_TLS): Likewise.
16059 * sysdeps/mach/hurd/libc-start.h: New file copied from
16060 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16061 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16062 instead of __libc_setup_tls.
16063 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16064 __libc_setup_tls before initializing libpthread and running _hurd_init
16065 which starts the signal thread.
16066 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16068 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16070 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16073 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16074 after it is defined.
16076 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16077 Max Horn <max@quendi.de>
16081 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16083 * string/test-memmove.c (do_test2): New testcase.
16085 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16087 * sysdeps/generic/frame.h: Remove file.
16088 * sysdeps/arm/frame.h: Likewise.
16089 * sysdeps/hppa/frame.h: Likewise.
16090 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16092 (GET_FRAME): Likewise.
16093 (GET_STACK): Likewise.
16094 (CALL_SIGHANDLER): Likewise.
16095 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16097 (GET_FRAME): Likewise.
16098 (GET_STACK): Likewise.
16099 (CALL_SIGHANDLER): Likewise.
16100 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16101 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16102 (GET_FRAME): Likewise.
16103 (GET_STACK): Likewise.
16104 (CALL_SIGHANDLER): Likewise.
16105 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16106 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16107 (GET_FRAME): Likewise.
16108 (GET_STACK): Likewise.
16109 (ADVANCE_STACK_FRAME): Likewise.
16110 (CALL_SIGHANDLER): Likewise.
16111 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16112 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16113 (GET_FRAME): Likewise.
16114 (GET_STACK): Likewise.
16115 (CALL_SIGHANDLER): Likewise.
16116 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16117 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16118 (GET_FRAME): Likewise.
16119 (GET_STACK): Likewise.
16120 (CALL_SIGHANDLER): Likewise.
16121 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16122 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16123 (GET_FRAME): Likewise.
16124 (GET_STACK): Likewise.
16125 (CALL_SIGHANDLER): Likewise.
16126 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16127 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16128 (GET_FRAME): Likewise.
16129 (GET_STACK): Likewise.
16130 (CALL_SIGHANDLER): Likewise.
16131 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16132 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16133 (GET_FRAME): Likewise.
16134 (GET_STACK): Likewise.
16135 (CALL_SIGHANDLER): Likewise.
16136 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16137 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16138 (GET_FRAME): Likewise.
16139 (GET_STACK): Likewise.
16140 (CALL_SIGHANDLER): Likewise.
16141 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16142 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16143 (GET_FRAME): Likewise.
16144 (GET_STACK): Likewise.
16145 (CALL_SIGHANDLER): Likewise.
16146 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16147 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16148 (GET_FRAME): Likewise.
16149 (GET_STACK): Likewise.
16150 (CALL_SIGHANDLER): Likewise.
16151 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16152 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16153 (GET_FRAME): Likewise.
16154 (GET_STACK): Likewise.
16155 (CALL_SIGHANDLER): Likewise.
16156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16157 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16158 (FIRST_FRAME_POINTER): Likewise.
16159 (ADVANCE_STACK_FRAME): Likewise.
16160 (GET_STACK): Likewise.
16161 (GET_FRAME): Likewise.
16162 (CALL_SIGHANDLER): Likewise.
16163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16164 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16165 (ADVANCE_STACK_FRAME): Likewise.
16166 (GET_STACK): Likewise.
16167 (GET_FRAME): Likewise.
16168 (CALL_SIGHANDLER): Likewise.
16169 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16170 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16171 (GET_FRAME): Likewise.
16172 (GET_STACK): Likewise.
16173 (CALL_SIGHANDLER): Likewise.
16174 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16175 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16176 (GET_FRAME): Likewise.
16177 (GET_STACK): Likewise.
16178 (CALL_SIGHANDLER): Likewise.
16180 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16182 * sysdeps/x86_64/backtrace.c: Move to ....
16183 * debug/backtrace.c: ... here.
16184 * sysdeps/aarch64/backtrace.c: Remove file.
16185 * sysdeps/alpha/backtrace.c: Likewise.
16186 * sysdeps/hppa/backtrace.c: Likewise.
16187 * sysdeps/ia64/backtrace.c: Likewise.
16188 * sysdeps/mips/backtrace.c: Likewise.
16189 * sysdeps/nios2/backtrace.c: Likewise.
16190 * sysdeps/riscv/backtrace.c: Likewise.
16191 * sysdeps/sh/backtrace.c: Likewise.
16192 * sysdeps/tile/backtrace.c: Likewise.
16194 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16197 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16200 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16203 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16204 possibly overflowing computations.
16206 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16208 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16209 values from Linux-specific section now that it is in the GNU section.
16210 * sysdeps/gnu/errlist.c: Regenerate.
16212 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16214 * math/Makefile (libm-narrow-fns): Add sub.
16215 (libm-test-funcs-narrow): Likewise.
16216 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16217 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16218 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16219 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16220 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16221 (NARROW_SUB_TRIVIAL): Likewise.
16222 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16224 (__dsubl): Likewise.
16225 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16227 (CFLAGS-nldbl-dsub.c): New variable.
16228 (CFLAGS-nldbl-fsub.c): Likewise.
16229 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16231 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16233 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16234 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16235 * math/auto-libm-test-in: Add tests of sub.
16236 * math/auto-libm-test-out-narrow-sub: New generated file.
16237 * math/libm-test-narrow-sub.inc: New file.
16238 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16239 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16240 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16241 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16242 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16243 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16244 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16249 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16252 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16253 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16254 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16255 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16257 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16258 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16259 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16260 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16262 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16263 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16264 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16265 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16266 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16285 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16288 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16290 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16292 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16294 2018-03-18 Richard Braun <rbraun@sceen.net>
16296 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16299 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16301 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16302 (__libc_cleanup_fct): Define function.
16303 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16304 __libc_cleanup_end): Rewrite implementation using
16305 __attribute__ ((__cleanup__)).
16306 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16307 * hurd/Makefile (routines): Add hurdlock.
16308 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16310 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16311 * hurd/hurdpid.c: Include <lowlevellock.h>
16312 (_S_msg_proc_newids): Use lll_wait to synchronize.
16313 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16314 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16315 * mach/Makefile (lock-headers): Remove machine-lock.h.
16316 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16318 (__spin_lock_t): New type.
16319 (__SPIN_LOCK_INITIALIZER): New macro.
16320 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16321 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16322 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16323 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16324 (__mutex_init): Initialize with lll.
16325 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16326 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16328 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16329 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16330 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16331 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16332 (__setpgid): Use lll for synchronization.
16333 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16334 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16335 instead of <cthreads.h>.
16336 (_IO_lock_inexpensive): New macro
16337 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16338 (__libc_lock_self0): New declaration.
16339 (__libc_lock_owner_self): New macro.
16340 (__libc_key_t): Remove type.
16341 (_LIBC_LOCK_INITIALIZER): New macro.
16342 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16343 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16344 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16345 __libc_lock_define_initialized_recursive,
16346 __rtld_lock_define_initialized_recursive,
16347 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16348 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16349 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16350 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16351 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16352 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16353 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16355 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16356 * hurd/hurdlock.c: New file.
16357 * hurd/hurdlock.h: New file.
16358 * mach/lowlevellock.h: New file
16360 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16362 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16363 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16364 when opening a symlink with O_NOFOLLOW.
16365 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16366 path when flags contains O_NOFOLLOW.
16367 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16368 if flags contains O_DIRECTORY and the result is a directory.
16369 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16370 oneself when the pointer given in D is nul (as set by ext2fs).
16371 * sysdeps/mach/hurd/mlockall.c: New file.
16372 * sysdeps/mach/hurd/munlockall.c: New file.
16374 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16376 * hurd/hurdsig.c: Include <pthread.h>.
16377 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16378 get the signal thread stack layout.
16379 * hurd/Makefile (headers): Remove threadvar.h.
16380 (inline-headers): Remove threadvar.h.
16381 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16382 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16383 __hurd_threadvar_max, __hurd_errno_location.
16384 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16385 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16386 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16387 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16388 unless TLS is not initialized yet, in which case we do not need a
16389 critical section yet anyway.
16390 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16392 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16394 (__hurd_threadvar_index): Remove enum.
16395 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16396 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16398 (__hurd_reply_port0): New variable declaration.
16399 (__hurd_local_reply_port): New macro.
16400 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16401 (interrupted_reply_port_location): Add thread_t parameter. Use it
16402 with THREAD_TCB to access thread-local variables.
16403 (_hurdsig_abort_rpcs): Pass ss->thread to
16404 interrupted_reply_port_location.
16405 (_hurd_internal_post_signal): Likewise.
16406 (_hurdsig_init): Use presence of cthread_fork instead of
16407 __hurd_threadvar_stack_mask to start signal thread by hand.
16408 Remove signal thread threadvar initialization.
16409 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16410 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16411 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16413 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16415 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16416 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16417 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16418 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16419 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16420 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16421 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16423 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16424 <hurd/threadvar.h>.
16425 [IS_IN(rtld)] (rtld_errno): New variable.
16426 [IS_IN(rtld)] (__errno_location): New weak function.
16427 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16428 * sysdeps/mach/hurd/errno.c: Remove file.
16429 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16430 (__fork): Remove THREADVAR_SPACE macro and its use.
16431 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16433 (init): Do not initialize threadvar.
16434 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16436 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16437 __hurd_local_reply_port instead of threadvar.
16438 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16439 _hurd_sigstate fields.
16440 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16441 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16442 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16443 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16444 instead of threadvar.
16445 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16446 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16447 (use_threadvar, global_reply_port): Remove variables.
16448 (__hurd_reply_port0): New variable.
16449 (__mig_get_reply_port): Use __hurd_local_reply_port and
16450 __hurd_reply_port0 instead of threadvar.
16451 (__mig_dealloc_reply_port): Likewise.
16452 (__mig_init): Do not initialize threadvar.
16453 * sysdeps/mach/hurd/profil.c: Fix comment.
16454 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16455 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16456 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16457 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16458 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16459 __cthread_setspecific.
16460 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16461 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16462 __cthread_t instead of cthread_fork, cthread_detach,
16463 pthread_getattr_np, pthread_attr_getstack.
16464 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16465 __cthread_keycreate.
16466 (cthread_getspecific): Rename to __cthread_getspecific.
16467 (cthread_setspecific): Rename to __cthread_setspecific.
16468 (__libc_getspecific): Use __cthread_getspecific instead of
16469 cthread_getspecific.
16470 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16471 __cthread_keycreate instead of cthread_keycreate.
16472 (__libc_setspecific): Use __cthread_setspecific instead of
16473 cthread_setspecific.
16474 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16477 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16478 testing whether it is defined.
16480 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16482 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16484 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16485 * sysdeps/mach/i386/thread_state.h
16486 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16488 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16490 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16492 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16493 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16495 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16497 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16498 descriptor instead of creating a new one.
16499 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16501 * mach/setup-thread.c: Include <ldsodefs.h>.
16502 (__mach_setup_thread): Call _dl_allocate_tls, pass
16503 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16504 MACHINE_THREAD_STATE_FLAVOR, before getting
16505 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16506 MACHINE_THREAD_STATE_FLAVOR with the result.
16507 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16508 MACHINE_THREAD_STATE_FIX_NEW.
16509 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16510 too. Add original thread parameter.
16512 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16514 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16515 Remove inline function.
16517 * sysdeps/i386/fpu/libm-test-ulps: Update.
16518 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16520 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16522 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16525 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16527 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16528 (__sincos_code): Remove define and undefine.
16529 [__FAST_MATH__] (__sincos): Remove inline function.
16530 [__FAST_MATH__] (__sincosf): Remove inline function.
16531 [__FAST_MATH__] (__sincosl): Remove inline function.
16532 (__atan2l): Remove inline functions.
16533 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16534 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16536 (floor): Remove inline function.
16538 [__FAST_MATH__] (__ldexp_code): Remove macro.
16539 [__FAST_MATH__] (ldexp): Remove inline function.
16540 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16541 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16542 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16543 [__USE_ISOC99] (__lrint_code): Remove macro.
16544 [__USE_ISOC99] (__llrint_code): Likewise.
16545 [__USE_ISOC99] (lrintf): Remove inline function.
16546 [__USE_ISOC99] (lrint): Likewise.
16547 [__USE_ISOC99] (lrintl): Likewise.
16548 [__USE_ISOC99] (llrint): Likewise.
16549 [__USE_ISOC99] (llrintf): Likewise.
16550 [__USE_ISOC99] (llrintl): Likewise.
16552 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16554 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16555 (__ieee754_sqrtf): Remove.
16556 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16557 (__ieee754_sqrtf): Remove.
16558 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16559 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16560 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16561 (__ieee754_sqrtf): Remove.
16562 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16563 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16566 (__ieee754_sqrt): Remove.
16567 (__ieee754_sqrtf): Remove.
16568 (__ieee754_sqrtl): Remove.
16569 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16570 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16571 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16572 (__ieee754_sqrtf): Remove.
16573 (__ieee754_sqrtl): Remove.
16575 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16577 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16578 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16579 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16580 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16581 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16583 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16584 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16586 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16587 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16588 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16589 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16590 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16591 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16592 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16593 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16594 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16595 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16596 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16597 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16599 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16600 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16601 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16602 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16603 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16604 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16608 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16609 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16610 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16611 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16612 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16613 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16614 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16615 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16616 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16617 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16618 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16619 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16620 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16621 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16622 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16623 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16624 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16625 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16627 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16629 * include/math.h (sqrt): Declare with asm redirect.
16632 (sqrtf128): Likewise.
16633 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16634 nonlib and libnldbl with -fmath-errno.
16635 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16636 * math/w_sqrt_template.c: Likewise.
16637 * math/w_sqrtf_compat.c: Likewise.
16638 * math/w_sqrtl_compat.c: Likewise.
16639 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16640 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16641 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16644 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16646 * benchtests/Makefile: Define _ISOMAC.
16647 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16648 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16649 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16650 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16651 * benchtests/bench-timing.h: Define attribute_hidden.
16653 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16655 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16658 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16661 * localedata/locales/cs_CZ (mon): Rename to...
16663 (mon): Import from CLDR (genitive case).
16665 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16668 * localedata/locales/el_CY (abmon): Rename to...
16669 (ab_alt_mon): This.
16670 (abmon): Import from CLDR (abbreviated genitive case).
16671 * localedata/locales/el_GR (abmon): Rename to...
16672 (ab_alt_mon): This.
16673 (abmon): Import from CLDR (abbreviated genitive case).
16675 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16678 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16680 2018-03-15 Robert Buj <robert.buj@gmail.com>
16683 * localedata/locales/ca_ES (abmon): Rename to...
16684 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16685 (mon): Rename to...
16687 (abmon): Import from CLDR (genitive case, month names preceded by
16690 (abday): Synchronize with CLDR.
16691 (d_t_fmt): Likewise.
16695 (LC_TIME): Improve indentation.
16696 (LC_TELEPHONE): Likewise.
16697 (LC_NAME): Likewise.
16698 (LC_ADDRESS): Likewise.
16700 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16702 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16703 (lrintf): Remove definitions used only with old GCC.
16704 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16705 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16706 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16707 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16708 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16709 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16710 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16711 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16712 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16713 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16714 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16715 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16716 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16717 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16718 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16719 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16720 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16721 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16722 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16723 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16724 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16725 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16726 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16727 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16728 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16729 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16730 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16731 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16733 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16735 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16736 instruction to unbreak builds with binutils 2.26 and older.
16738 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16740 * sysdeps/aarch64/strncmp.S (count): New macro.
16741 (strncmp): Store misaligned length in SRC1 in COUNT.
16742 (mutual_align): Adjust.
16743 (misaligned8): Load dword at a time when it is safe.
16745 2018-03-12 Zack Weinberg <zackw@panix.com>
16749 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16750 if the _IO_EOF_SEEN bit is already set; update commentary.
16751 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16752 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16754 * support/support_openpty.c, support/tty.h: New files.
16755 * support/Makefile (libsupport-routines): Add support_openpty.
16757 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16759 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16760 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16762 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16764 * po/pt_BR.po: Update translations.
16766 2018-03-12 David Michael <fedora.dm0@gmail.com>
16768 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16769 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16770 get a port to the startup server.
16772 2018-03-11 Zack Weinberg <zackw@panix.com>
16774 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16775 before nldbl-compat.h.
16777 2018-03-10 Zack Weinberg <zackw@panix.com>
16779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16780 math.h or math_private.h.
16782 * sysdeps/alpha/fpu/s_isnan.c
16783 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16784 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16786 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16787 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16788 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16790 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16791 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16794 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16795 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16797 Include math_private.h.
16799 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16800 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16801 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16802 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16803 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16804 * sysdeps/powerpc/power7/fpu/s_logb.c:
16805 Include math.h and math_private.h.
16807 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16808 uses of $at in .set noat / .set at.
16810 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16812 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16813 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16814 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16815 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16818 2018-03-09 Florian Weimer <fweimer@redhat.com>
16820 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16823 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16826 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16827 Add nop before __startcontext, add explaining comments.
16829 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16832 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16834 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16835 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16836 Do not build hardware transactional code for __SPE__.
16837 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16838 (__lll_trylock_elision): Likewise.
16839 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16840 (__lll_unlock_elision): Likewise.
16842 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16843 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16844 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16845 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16846 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16847 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16848 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16849 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16850 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16851 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16852 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16853 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16854 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16855 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16856 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16858 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16859 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16860 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16861 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16862 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16863 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16864 (__ASSUME_CLONE_BACKWARDS): Define.
16865 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16866 __clone2 if __NR_clone2 is defined.
16867 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16868 (__ASSUME_CLONE_BACKWARDS): Likewise.
16869 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16870 (__ASSUME_CLONE_BACKWARDS): Likewise.
16871 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16872 (__ASSUME_CLONE2): Likewise.
16873 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16874 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16875 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16876 variants and the define architecture can use.
16877 (__ASSUME_CLONE_DEFAULT): Define as default.
16878 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16879 (__ASSUME_CLONE_BACKWARDS): Likewise.
16880 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16881 (__ASSUME_CLONE_BACKWARDS): Likewise.
16882 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16883 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16885 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16887 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16889 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16892 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16893 (do_test_limit): Likewise.
16895 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16896 for every implementation.
16897 (do_test): Likewise.
16899 * benchtests/bench-strncmp.c: Convert output to json.
16901 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16903 * io/futimens.c: Add missing start-of-file descriptive comment.
16904 * io/utime.c: Likewise.
16905 * misc/futimesat.c: Likewise.
16906 * misc/utimes.c: Likewise.
16907 * sysdeps/mach/hurd/futimesat.c: Likewise.
16908 * sysdeps/mach/hurd/utimes.c: Likewise.
16909 * sysdeps/posix/utime.c: Likewise.
16910 * sysdeps/posix/utimes.c: Likewise.
16911 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16912 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16913 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16914 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16916 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16918 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16920 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16921 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16922 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16923 (__futimens): Move implementation to...
16924 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16925 utime_tvalue_from_tspec): ... new helper functions.
16926 (hurd_futimens): New function.
16927 * sysdeps/mach/hurd/futimesat.c: New file.
16928 * sysdeps/mach/hurd/utimensat.c: New file.
16930 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16932 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16933 UTIME_OMIT): New macros.
16934 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16935 before reverting to converting time spec to time value and calling
16937 * sysdeps/mach/hurd/utime-helper.c: New file.
16938 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16939 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16940 reverting to utime_tvalue_from_tval and __file_utimes.
16941 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16942 (__lutimes): Just call hurd_futimens after lookup.
16943 * sysdeps/mach/hurd/utimes.c: Likewise.
16945 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16947 * bits/sigaction.h: Add include guard.
16948 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16949 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16950 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16951 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16952 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16953 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16954 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16955 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16956 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16958 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16960 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16961 -Wmaybe-uninitialized for -Os.
16962 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16965 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16967 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16968 __INO_T_MATCHES_INO64_T is defined.
16969 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16970 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16972 * dirent/alphasort64.c: Likewise.
16973 * dirent/scandir.c: Likewise.
16974 * dirent/scandir64-tail.c: Likewise.
16975 * dirent/scandir64.c: Likewise.
16976 * dirent/scandirat.c: Likewise.
16977 * dirent/scandirat64.c: Likewise.
16978 * dirent/versionsort.c: Likewise.
16979 * dirent/versionsort64.c: Likewise.
16980 * include/dirent.h: Likewise.
16982 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16983 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16984 for socketpair endpoint.
16985 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16986 WRITE_BUFFER_SIZE as buffer size for sending socket.
16987 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16988 issue on system where send is implemented with sendto syscall.
16989 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16990 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16991 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16992 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16995 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16996 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16997 sa_restorer for vDSO case.
16998 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17000 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17002 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17003 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17004 * hurd/hurd/ioctl.h: Include <mach/port.h>
17005 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17006 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17007 <mach/mach_types.h> and <mach/message.h>.
17008 (headers): Move mach/param.h to bits/mach/param.h.
17009 * sysdeps/mach/i386/mach/param.h: Move file to ...
17010 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17011 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17013 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17014 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17015 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17016 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17017 trivial, for C++ conformity.
17018 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17019 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17020 Process mig output through $(migheadersed).
17021 * hurd/Makefile (migheadersed): Define variable.
17022 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17023 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17025 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17026 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17027 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17028 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17029 <bits/types/sigset_t.h>.
17030 [!defined __USE_GNU]: Do not #error out.
17031 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17032 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17033 Include <stddef.h> and <bits/types/sigset_t.h>
17034 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17035 instead of sighandler_t.
17036 * stdlib/errno.h (error_t): Move definition to...
17037 * bits/types/error_t.h: ... new header.
17038 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17039 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17040 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17041 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17042 * hurd/hurd.h: Include <bits/types/error_t.h>
17043 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17044 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17045 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17046 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17047 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17048 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17049 * sysdeps/mach/hurd/futimens.c: New file.
17051 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17054 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17055 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17056 * nscd/gai.c (__nss_hosts_database): Readd definition.
17057 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17058 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17059 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17061 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17063 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17064 (ifunc_one): Likewise.
17066 2018-03-01 DJ Delorie <dj@delorie.com>
17069 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17072 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17074 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17075 `match_pid' parameter.
17076 (td_ta_thr_iter): Update accordingly.
17078 2018-03-01 Florian Weimer <fweimer@redhat.com>
17080 * nptl/Makefile (install-lib-ldscripts): Remove.
17081 (install): Remove rule.
17082 ($(inst_libdir)/libpthread.so): Likewise.
17084 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17087 * localedata/locales/an_ES: update month and day names,
17088 improve d_fmt, improve postal_fmt, add country_post,
17091 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17093 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17094 Ukrainian instead of Bulgarian.
17096 2018-03-01 Florian Weimer <fweimer@redhat.com>
17098 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17101 2018-03-01 Florian Weimer <fweimer@redhat.com>
17103 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17104 * nptl/Makefile (routines): Add pthread_atfork.
17105 (static-only-routines): Set to pthread_atfork.
17106 (libpthread-routines): Remove pthread_atfork.
17107 (libpthread-static-only-routines): Remove.
17108 (install): Update comment.
17109 (libpthread.so): Do not install libpthread_nonshared.a.
17110 (tests): Do not link with libpthread_nonshared.a.
17111 (generated): Remove libpthread_nonshared.a.
17112 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17113 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17114 with libpthread_nonshared.a.
17116 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17119 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17120 (libc_feholdexcept_setroundf128): New macro.
17121 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17124 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17126 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17127 * include/inttypes.h: New file.
17129 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17131 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17132 -Os in two more places.
17134 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17136 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17137 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17138 be sorted correctly at the moment because of a bug.
17140 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17142 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17143 treat ñ as a primary different character, sync the collation
17144 for Spanish with CLDR.
17145 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17146 * localedata/Makefile: Add new test files.
17147 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17148 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17150 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17151 * localedata/am_ET.UTF-8.in: New test file.
17152 * localedata/az_AZ.UTF-8.in: Likewise.
17153 * localedata/be_BY.UTF-8.in: Likewise.
17154 * localedata/ber_DZ.UTF-8.in: Likewise.
17155 * localedata/ber_MA.UTF-8.in: Likewise.
17156 * localedata/bg_BG.UTF-8.in: Likewise.
17157 * localedata/br_FR.UTF-8.in: Likewise.
17158 * localedata/cmn_TW.UTF-8.in: Likewise.
17159 * localedata/crh_UA.UTF-8.in: Likewise.
17160 * localedata/csb_PL.UTF-8.in: Likewise.
17161 * localedata/cv_RU.UTF-8.in: Likewise.
17162 * localedata/cy_GB.UTF-8.in: Likewise.
17163 * localedata/dz_BT.UTF-8.in: Likewise.
17164 * localedata/eo.UTF-8.in: Likewise.
17165 * localedata/es_ES.UTF-8.in: Likewise.
17166 * localedata/fa_IR.UTF-8.in: Likewise.
17167 * localedata/fi_FI.UTF-8.in: Likewise.
17168 * localedata/fil_PH.UTF-8.in: Likewise.
17169 * localedata/fur_IT.UTF-8.in: Likewise.
17170 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17171 * localedata/ha_NG.UTF-8.in: Likewise.
17172 * localedata/ig_NG.UTF-8.in: Likewise.
17173 * localedata/ik_CA.UTF-8.in: Likewise.
17174 * localedata/kk_KZ.UTF-8.in: Likewise.
17175 * localedata/ku_TR.UTF-8.in: Likewise.
17176 * localedata/ky_KG.UTF-8.in: Likewise.
17177 * localedata/ln_CD.UTF-8.in: Likewise.
17178 * localedata/mi_NZ.UTF-8.in: Likewise.
17179 * localedata/ml_IN.UTF-8.in: Likewise.
17180 * localedata/mn_MN.UTF-8.in: Likewise.
17181 * localedata/mr_IN.UTF-8.in: Likewise.
17182 * localedata/mt_MT.UTF-8.in: Likewise.
17183 * localedata/nb_NO.UTF-8.in: Likewise.
17184 * localedata/om_KE.UTF-8.in: Likewise.
17185 * localedata/os_RU.UTF-8.in: Likewise.
17186 * localedata/ps_AF.UTF-8.in: Likewise.
17187 * localedata/ro_RO.UTF-8.in: Likewise.
17188 * localedata/ru_RU.UTF-8.in: Likewise.
17189 * localedata/sc_IT.UTF-8.in: Likewise.
17190 * localedata/se_NO.UTF-8.in: Likewise.
17191 * localedata/sq_AL.UTF-8.in: Likewise.
17192 * localedata/sv_SE.UTF-8.in: Likewise.
17193 * localedata/szl_PL.UTF-8.in: Likewise.
17194 * localedata/tg_TJ.UTF-8.in: Likewise.
17195 * localedata/tk_TM.UTF-8.in: Likewise.
17196 * localedata/tt_RU.UTF-8.in: Likewise.
17197 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17198 * localedata/ug_CN.UTF-8.in: Likewise.
17199 * localedata/uz_UZ.UTF-8.in: Likewise.
17200 * localedata/vi_VN.UTF-8.in: Likewise.
17201 * localedata/yi_US.UTF-8.in: Likewise.
17202 * localedata/yo_NG.UTF-8.in: Likewise.
17203 * localedata/zh_CN.UTF-8.in: Likewise.
17204 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17205 file and fix bugs in the collation.
17206 * localedata/locales/az_AZ: Likewise.
17207 * localedata/locales/be_BY: Likewise.
17208 * localedata/locales/ber_DZ: Likewise.
17209 * localedata/locales/ber_MA: Likewise.
17210 * localedata/locales/bg_BG: Likewise.
17211 * localedata/locales/br_FR: Likewise.
17212 * localedata/locales/br_FR@euro: Likewise.
17213 * localedata/locales/ca_ES: Likewise.
17214 * localedata/locales/cns11643_stroke: Likewise.
17215 * localedata/locales/crh_UA: Likewise.
17216 * localedata/locales/cs_CZ: Likewise.
17217 * localedata/locales/csb_PL: Likewise.
17218 * localedata/locales/cv_RU: Likewise.
17219 * localedata/locales/cy_GB: Likewise.
17220 * localedata/locales/da_DK: Likewise.
17221 * localedata/locales/dz_BT: Likewise.
17222 * localedata/locales/en_CA: Likewise.
17223 * localedata/locales/eo: Likewise.
17224 * localedata/locales/es_CU: Likewise.
17225 * localedata/locales/es_EC: Likewise.
17226 * localedata/locales/es_ES: Likewise.
17227 * localedata/locales/es_US: Likewise.
17228 * localedata/locales/et_EE: Likewise.
17229 * localedata/locales/fa_IR: Likewise.
17230 * localedata/locales/fi_FI: Likewise.
17231 * localedata/locales/fil_PH: Likewise.
17232 * localedata/locales/fur_IT: Likewise.
17233 * localedata/locales/gez_ER@abegede: Likewise.
17234 * localedata/locales/ha_NG: Likewise.
17235 * localedata/locales/hr_HR: Likewise.
17236 * localedata/locales/hsb_DE: Likewise.
17237 * localedata/locales/hu_HU: Likewise.
17238 * localedata/locales/ig_NG: Likewise.
17239 * localedata/locales/ik_CA: Likewise.
17240 * localedata/locales/is_IS: Likewise.
17241 * localedata/locales/iso14651_t1_pinyin: Likewise.
17242 * localedata/locales/kk_KZ: Likewise.
17243 * localedata/locales/ku_TR: Likewise.
17244 * localedata/locales/ky_KG: Likewise.
17245 * localedata/locales/ln_CD: Likewise.
17246 * localedata/locales/lt_LT: Likewise.
17247 * localedata/locales/lv_LV: Likewise.
17248 * localedata/locales/mi_NZ: Likewise.
17249 * localedata/locales/ml_IN: Likewise.
17250 * localedata/locales/mn_MN: Likewise.
17251 * localedata/locales/mr_IN: Likewise.
17252 * localedata/locales/mt_MT: Likewise.
17253 * localedata/locales/nb_NO: Likewise.
17254 * localedata/locales/om_KE: Likewise.
17255 * localedata/locales/os_RU: Likewise.
17256 * localedata/locales/pl_PL: Likewise.
17257 * localedata/locales/ps_AF: Likewise.
17258 * localedata/locales/ro_RO: Likewise.
17259 * localedata/locales/ru_RU: Likewise.
17260 * localedata/locales/ru_UA: Likewise.
17261 * localedata/locales/sc_IT: Likewise.
17262 * localedata/locales/se_NO: Likewise.
17263 * localedata/locales/si_LK: Likewise.
17264 * localedata/locales/sq_AL: Likewise.
17265 * localedata/locales/sv_FI: Likewise.
17266 * localedata/locales/sv_FI@euro: Likewise.
17267 * localedata/locales/sv_SE: Likewise.
17268 * localedata/locales/szl_PL: Likewise.
17269 * localedata/locales/tg_TJ: Likewise.
17270 * localedata/locales/ti_ER: Likewise.
17271 * localedata/locales/tk_TM: Likewise.
17272 * localedata/locales/tl_PH: Likewise.
17273 * localedata/locales/tr_TR: Likewise.
17274 * localedata/locales/tt_RU: Likewise.
17275 * localedata/locales/tt_RU@iqtelif: Likewise.
17276 * localedata/locales/ug_CN: Likewise.
17277 * localedata/locales/uk_UA: Likewise.
17278 * localedata/locales/uz_UZ: Likewise.
17279 * localedata/locales/uz_UZ@cyrillic: Likewise.
17280 * localedata/locales/vi_VN: Likewise.
17281 * localedata/locales/yi_US: Likewise.
17282 * localedata/locales/yo_NG: Likewise.
17284 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17286 * gen-locales.mk: Make test files which contain @ modifiers in their
17288 * localedata/gen-locale.sh: Likewise.
17290 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17292 * posix/tst-fnmatch.input: Fix results for range expressions
17294 * posix/tst-regexloc.c: Do not use a range expression for
17295 de_DE.ISO-8859-1 locale.
17297 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17299 * posix/bug-regex5.c: Fix test case because with the new
17300 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17301 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17304 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17306 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17307 downloaded from ISO, the collation order of @-. and space has changed.
17308 Therefore, this test file needed to be adapted.
17309 * localedata/fr_CA.UTF-8.in: Likewise.
17310 * localedata/fr_FR.UTF-8.in: Likewise.
17311 * localedata/uk_UA.UTF-8.in: Likewise.
17313 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17315 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17316 order of ȥ in the new iso14651_t1_common file.
17317 * localedata/pl_PL.UTF-8.in: Likewise.
17319 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17321 * localedata/locales/iso14651_t1_common: Add sections for various
17322 scripts to the iso14651_t1_common file.
17324 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17326 * localedata/locales/iso14651_t1_common: Use the code point of a
17327 character in the fourth collation level instead of IGNORE for all
17328 entries which have IGNORE on all 4 levels.
17330 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17332 * localedata/locales/iso14651_t1_common: Add some convenient collation
17333 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17334 rules similar to those in CLDR.
17336 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17338 * localedata/locales/iso14651_t1_common: The new version of this
17339 file downloaded from ISO contained several syntax errors which
17340 are fixed by this patch.
17342 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17344 * localedata/locales/iso14651_t1_common: replace all <U.....>
17345 with <U000.....> because glibc understands only 4 digit or 8 digit
17347 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17349 * localedata/locales/iso14651_t1_common: Necessary changes
17350 to make the file downloaded from ISO usable by glibc.
17352 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17355 * localedata/locales/iso14651_t1_common: Update file to
17356 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17358 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17360 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17361 of <nptl/pthreadP.h>
17362 (thread_attr_compare): Move function to...
17363 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17364 * sysdeps/nptl/timer_routines.h: ... new header.
17365 * sysdeps/mach/hurd/gai_misc.h: New file.
17367 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17369 * string/strcoll_l.c: Include <libc-diag.h>.
17370 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17371 declarations of seq1 and seq2.
17374 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17375 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17377 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17381 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17382 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17383 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17384 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17385 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17386 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17388 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17390 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17391 macros used in __ptrace_request.
17393 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17396 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17398 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17399 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17400 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17403 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17406 * ctype/ctype.c (tolower): Use libc_hidden_def.
17407 (toupper): Likewise.
17408 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17409 [!_ISOMAC] (toupper): Likewise.
17411 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17413 * localedata/Makefile: Remove --quiet argument when
17416 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17419 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17421 * localedata/locales/pt_PT (LC_TIME): likewise
17423 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17426 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17427 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17428 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17430 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17434 * nptl/Makefile (routines): Remove unregister-atfork.
17435 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17436 (fork_handler_alloc): Remove function.
17437 (fork_handlers, fork_handler_init): New variables.
17438 (__fork_lock): Rename to atfork_lock.
17439 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17440 to use a dynamic array to add/remove atfork handlers.
17441 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17442 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17443 Remove declaration.
17444 (fork_handler): Remove next, refcntr, and need_signal member.
17445 (__run_fork_handler_type): New enum.
17446 (__run_fork_handlers): New prototype.
17447 * nptl/register-atfork.c: Remove file.
17448 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17450 * sysdeps/nptl/nptl-signals.h: Move to ...
17451 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17453 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17454 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17455 unnecessary check for SIGTIMER.
17456 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17457 remove unnecessary removal of SIGTIMER.
17458 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17459 include-signals.h rename.
17460 * nptl/pthreadP.h: Likewise.
17461 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17462 __is_internal_signal instead of __nptl_is_internal_signal.
17464 2018-02-22 Andrew Waterman <andrew@sifive.com>
17467 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17468 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17469 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17470 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17472 2018-02-22 DJ Delorie <dj@delorie.com>
17474 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17476 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17478 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17479 do_misaligned, not misaligned8.
17481 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17483 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17484 Add memcpy_thunderx2.
17485 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17487 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17488 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17489 and IS_THUNDERX2PA checks.
17490 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17491 Use macro to set name appropriately.
17492 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17493 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17494 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17496 (IS_THUNDERX2): New macro.
17498 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17500 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17502 2018-02-21 Zack Weinberg <zackw@panix.com>
17504 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17505 Define here, unconditionally.
17506 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17507 * libio/libioP.h: Remove #if 0 blocks.
17508 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17509 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17510 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17512 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17513 Assume weak_alias is always defined.
17515 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17516 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17517 Remove #if 0 and #ifdef TODO blocks.
17518 Assume text_set_element is always defined.
17520 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17521 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17522 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17524 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17525 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17526 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17527 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17528 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17529 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17530 Reformat bit flags for _flags field to make occupancy clearer.
17532 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17533 Keep definitions consistent with those in libio/libio.h.
17535 * libio/libio.h (_IO_file_flags): Remove macro.
17536 All uses changed to _flags.
17538 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17539 (__HAVE_COLUMN, _IO_BE): Don't define.
17540 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17541 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17542 * libio/libioP.h (EOF): Don't define.
17543 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17544 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17545 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17546 testing _IO_UNIFIED_JUMPTABLES.
17548 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17549 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17550 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17551 (_IO_size_t): Delete; all uses changed to size_t.
17552 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17553 (_IO_off_t): Delete; all uses changed to off_t.
17554 (_IO_off64_t): Delete; all uses changed to off64_t.
17555 (_IO_pid_t): Delete; all uses changed to pid_t.
17556 (_IO_uid_t): Delete; all uses changed to uid_t.
17557 (_IO_wint_t): Delete; all uses changed to wint_t.
17558 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17559 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17560 (_IO_cookie_io_functions_t): Delete; all uses changed to
17561 cookie_io_functions_t.
17562 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17563 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17564 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17565 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17567 * libio/iofopncook.c: Remove unnecessary forward declarations.
17568 * libio/iolibio.h: Correct outdated commentary.
17569 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17570 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17571 Remove unnecessary casts.
17572 * stdio-common/getline.c: Use _IO_getdelim directly.
17573 Don't redefine ssize_t.
17574 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17575 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17576 Remove outdated comments.
17577 * stdio-common/vfscanf.c: Don't redefine va_list.
17579 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17580 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17581 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17582 which are always true, and __cplusplus, which is always false.
17584 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17588 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17589 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17590 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17591 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17593 [!_ISOMAC] (putc_unlocked): Likewise.
17594 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17595 define inline if [__USE_EXTERN_INLINES].
17596 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17601 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17602 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17603 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17604 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17605 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17607 * time/tzfile.c (__tzfile_read): Likewise.
17609 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17612 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17614 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17616 * io/fcntl.h: Fix a typo in a comment.
17618 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17621 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17622 define _DEFAULT_SOURCE.
17623 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17625 2018-02-21 Florian Weimer <fweimer@redhat.com>
17628 * elf/cache.c (save_cache): Call fsync on temporary file before
17630 (save_aux_cache): Call fdatasync on temporary file before renaming
17633 2018-02-21 Florian Weimer <fweimer@redhat.com>
17636 * include/caller.h: Remove file.
17637 * elf/dl-caller.c: Likewise.
17638 * elf/Makefile (dl-routines): Remove dl-caller.
17639 (shared-only-routines): Do not add dl-caller.
17640 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17642 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17644 (dl_open_worker): Do not call __check_caller.
17645 (_dl_open): Do not set caller_dl_open member.
17646 * elf/rtld.c (_rtld_global_ro): Do not initialize
17647 _dl_check_caller member.
17648 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17649 _dl_check_caller member.
17650 (_dl_check_caller): Remove declaration.
17651 * sysdeps/unix/sysv/linux/dl-execstack.c
17652 (_dl_make_stack_executable): Do not call __check_caller.
17654 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17656 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17657 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17659 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17661 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17664 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17667 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17668 of 199606L, 200112L, and 200809L.
17669 (_XOPEN_SOURCE): Document special values of 600 and 700.
17670 (_ISOC11_SOURCE): Document macro.
17671 (_ATFILE_SOURCE): Likewise.
17672 (_FORTIFY_SOURCE): Likewise.
17674 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17678 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17679 and define as weak alias of __ferror_unlocked. Use
17681 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17683 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17684 function if [__USE_EXTERN_INLINES].
17685 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17688 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17691 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17693 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17696 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17697 the GLIBC_2.1 version.
17699 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17702 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17703 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17704 intl/tst-gettext-de.po from po/de.po by removing the
17705 POT-Creation-Date line.
17706 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17708 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17711 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17713 * mach/Makefile (headers): Add mach/param.h.
17714 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17715 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17716 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17717 (__ptsname_r): Move implementation to...
17718 (__ptsname_internal): ... new function. Add filling the STP
17721 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17723 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17726 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17728 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17731 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17733 * nptl/Makefile (tst-mutex8-ENV): Delete.
17734 * nptl/tst-mutex8.c (check_type):
17735 Add runtime check if mutex will be elided.
17737 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17741 * manual/install.texi (Configuring and compiling): Describe
17742 passing CC and CFLAGS on configure command line, not as
17743 environment variables. Use @code markup on those variables.
17744 Specify what options go in CC and what go in CFLAGS. Note the
17745 requirement to compile with optimization.
17746 * INSTALL: Regenerated.
17749 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17750 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17751 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17752 __sigprocmask instead of sigprocmask.
17753 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17755 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17756 __sigsetjmp and sigprocmask.
17759 * include/argz.h (argz_next): Use libc_hidden_proto.
17760 (__argz_next): Likewise.
17761 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17762 (argz_next): Use libc_hidden_weak.
17765 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17767 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17771 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17773 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17777 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17778 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17779 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17780 (__feof_unlocked): New declaration, and inline function if
17781 [__USE_EXTERN_INLINES].
17782 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17783 instead of feof_unlocked.
17784 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17785 * nss/nsswitch.c (nss_parse_file): Likewise.
17786 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17788 * time/getdate.c (__getdate_r): Likewise.
17789 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17790 Define as macro to call __feof_unlocked.
17792 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17794 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17796 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17798 * math/Makefile: Remove mpexp.c and mplog.c
17799 * sysdeps/i386/fpu/mpexp.c: Delete file.
17800 * sysdeps/i386/fpu/mplog.c: Likewise.
17801 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17802 * sysdeps/ia64/fpu/mplog.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17804 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17805 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17806 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17807 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17808 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17809 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17810 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17811 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17812 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17813 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17814 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17815 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17816 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17817 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17818 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17820 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17822 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17824 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17826 * sysdeps/sh/libm-test-ulps: Update.
17828 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17830 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17833 2018-02-12 Zack Weinberg <zackw@panix.com>
17836 * posix/sys/types.h: Don't include sys/sysmacros.h.
17837 * misc/sys/sysmacros.h: Remove the conditional deprecation
17838 warnings for the macros defined by this header.
17840 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17842 * manual/probes.texi: Remove slowexp probes.
17843 * math/Makefile: Remove slowexp.
17844 * sysdeps/generic/math_private.h (__slowexp): Remove.
17845 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17846 document error bounds.
17847 * sysdeps/i386/fpu/slowexp.c: Remove.
17848 * sysdeps/ia64/fpu/slowexp.c: Remove.
17849 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17850 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17851 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17852 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17853 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17854 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17855 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17856 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17857 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17858 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17859 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17861 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17864 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17865 * benchtests/pow-inputs: Update comment for slow path cases.
17866 * manual/probes.texi (slowpow_p10): Delete removed probe.
17867 (slowpow_p10): Likewise.
17868 * math/Makefile: Remove halfulp.c and slowpow.c.
17869 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17870 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17871 (__halfulp): Remove.
17872 (__slowpow): Remove.
17873 * sysdeps/i386/fpu/halfulp.c: Delete file.
17874 * sysdeps/i386/fpu/slowpow.c: Likewise.
17875 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17876 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17878 improve comments and add error analysis.
17879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17880 (power1): Remove function:
17881 (log1): Remove error argument, add error analysis.
17882 (my_log2): Remove function.
17883 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17884 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17885 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17886 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17887 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17888 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17889 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17890 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17891 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17892 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17893 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17894 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17895 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17896 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17898 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17900 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17901 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17903 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17906 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17907 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17908 and PTRACE_SETHBPREGS.
17910 2018-02-10 Zack Weinberg <zackw@panix.com>
17913 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17915 * malloc/tst-malloc-stats-cancellation.c: New test case.
17916 * malloc/Makefile: Add new test case.
17918 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17920 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17922 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17924 * math/Makefile (libm-narrow-fns): Add add.
17925 (libm-test-funcs-narrow): Likewise.
17926 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17927 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17928 * math/gen-auto-libm-tests.c (test_functions): Add add.
17929 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17930 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17931 (NARROW_ADD_TRIVIAL): Likewise.
17932 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17934 (__daddl): Likewise.
17935 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17937 (CFLAGS-nldbl-dadd.c): New variable.
17938 (CFLAGS-nldbl-fadd.c): Likewise.
17939 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17941 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17943 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17944 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17945 * math/auto-libm-test-in: Add tests of add.
17946 * math/auto-libm-test-out-narrow-add: New generated file.
17947 * math/libm-test-narrow-add.inc: New file.
17948 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17951 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17952 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17953 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17954 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17955 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17956 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17959 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17960 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17962 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17963 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17964 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17965 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17967 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17995 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17996 (f128-pairs): New variable.
17997 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17998 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18000 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18001 Also make tests add $(f128-loader-link) to gnulib-tests.
18003 2018-02-09 DJ Delorie <dj@redhat.com>
18006 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18007 64-bit ELF type for 64-bit ELF objects.
18009 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18011 * math/libm-test-driver.c (snan_tests_arg): New variable.
18012 * math/libm-test-support.h (snan_tests_arg): New declaration.
18013 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18015 * math/Makefile (test-type-pairs): New variable.
18016 (test-type-pairs-f64xf128-yes): Likewise.
18017 (tests): Add test-narrow-macros.
18018 (libm-test-funcs-narrow): New variable.
18019 (libm-test-c-narrow): Likewise.
18020 (generated): Add $(libm-test-c-narrow).
18021 (libm-tests-base-narrow): New variable.
18022 (libm-tests-narrow): Likewise.
18023 (libm-tests): Add $(libm-tests-narrow).
18024 (libm-tests-for-type): Handle $(libm-tests-narrow).
18025 (libm-test-c-narrow-obj): New variable.
18026 ($(libm-test-c-narrow-obj)): New rule.
18027 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18028 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18029 $(o-iterator) to set dependencies and CFLAGS.
18030 * math/gen-auto-libm-tests.c: Document use for narrowing
18032 (output_for_one_input_case): Take argument NARROW.
18033 (generate_output): Likewise. Update call to
18034 output_for_one_input_case.
18035 (main): Take --narrow option. Update call to generate_output.
18036 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18037 (apply_lit): Update call to _apply_lit.
18038 (apply_arglit): New function.
18039 (parse_args): Handle "a" arguments.
18040 (parse_auto_input): Handle format names using ":".
18041 * math/README.libm-test: Document "a" parameter type.
18042 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18043 (ARG_TYPE_TRUE_MIN): Likewise.
18044 (ARG_TYPE_MAX): Likwise.
18045 (ARG_MIN_EXP): Likewise.
18046 (ARG_MAX_EXP): Likewise.
18047 (ARG_MANT_DIG): Likewise.
18048 (TEST_COND_arg_ibm128): Likewise.
18049 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18050 (TEST_COND_arg_fmt): New macro.
18051 (init_max_error): Update prototype.
18052 * math/libm-test-support.c (test_ibm128): New variable.
18053 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18054 instead of using [TEST_COND_ibm128] conditional.
18055 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18056 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18057 [TEST_NARROW] (TEST_MSG): New definition.
18058 (arg_plus_zero): New macro.
18059 (arg_minus_zero): Likewise.
18060 (arg_plus_infty): Likewise.
18061 (arg_minus_infty): Likewise.
18062 (arg_qnan_value_pl): Likewise.
18063 (arg_qnan_value): Likewise.
18064 (arg_snan_value_pl): Likewise.
18065 (arg_snan_value): Likewise.
18066 (arg_max_value): Likewise.
18067 (arg_min_value): Likewise.
18068 (arg_min_subnorm_value): Likewise.
18069 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18070 (RUN_TEST_LOOP_aa_f): New macro.
18071 (TEST_SUFF): New macro.
18072 (TEST_SUFF_STR): Likewise.
18073 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18074 (TEST_COND_any_ibm128): New macro.
18075 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18076 this_func. Update call to init_max_error.
18077 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18078 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18079 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18080 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18081 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18082 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18083 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18084 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18085 * math/test-math-vector.h (TEST_NARROW): Likewise.
18086 * math/test-arg-double.h: New file.
18087 * math/test-arg-float128.h: Likewise.
18088 * math/test-arg-float32x.h: Likewise.
18089 * math/test-arg-float64.h: Likewise.
18090 * math/test-arg-float64x.h: Likewise.
18091 * math/test-arg-ldouble.h: Likewise.
18092 * math/test-math-narrow.h: Likewise.
18093 * math/test-narrow-macros.c: Likewise.
18094 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18095 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18096 test-narrow-macros-ldbl-64.
18097 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18099 * math/bits/mathcalls-narrow.h: New file.
18100 * include/bits/mathcalls-narrow.h: Likewise.
18101 * math/math-narrow.h: Likewise.
18102 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18103 (__MATHCALL_NARROW_ARGS_2): Likewise.
18104 (__MATHCALL_NARROW_ARGS_3): Likewise.
18105 (__MATHCALL_NARROW_NORMAL): Likewise.
18106 (__MATHCALL_NARROW_REDIR): Likewise.
18107 (__MATHCALL_NARROW): Likewise.
18108 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18109 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18111 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18112 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18113 (libm-narrow-fns): New variable.
18114 (libm-narrow-types-basic): Likewise.
18115 (libm-narrow-types-ldouble-yes): Likewise.
18116 (libm-narrow-types-float128-yes): Likewise.
18117 (libm-narrow-types-float128-alias-yes): Likewise.
18118 (libm-narrow-types): Likewise.
18119 (libm-routines): Add narrowing functions.
18120 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18121 (libc_feholdexcept_setroundf128): New macro.
18122 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18123 * sysdeps/ieee754/float128/float128_private.h: Include
18124 <math/math-narrow.h>.
18125 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18126 Undefine and redefine.
18127 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18128 (libm_alias_float_ldouble): Undefine and redefine.
18129 (libm_alias_double_ldouble): Likewise.
18131 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18133 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18135 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18138 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18140 * manual/creature.texi: Convert references to gcc.info to gcc.
18141 * manual/stdio.texi: Likewise.
18142 * manual/string.texi: Likewise.
18144 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18147 * posix/bits/types.h (__int_least8_t): New typedef.
18148 (__uint_least8_t): Likewise.
18149 (__int_least16_t): Likewise.
18150 (__uint_least16_t): Likewise.
18151 (__int_least32_t): Likewise.
18152 (__uint_least32_t): Likewise.
18153 (__int_least64_t): Likewise.
18154 (__uint_least64_t): Likewise.
18155 * sysdeps/generic/stdint.h (int_least8_t): Define using
18157 (int_least16_t): Define using __int_least16_t.
18158 (int_least32_t): Define using __int_least32_t.
18159 (int_least64_t): Define using __int_least64_t.
18160 (uint_least8_t): Define using __uint_least8_t.
18161 (uint_least16_t): Define using __uint_least16_t.
18162 (uint_least32_t): Define using __uint_least32_t.
18163 (uint_least64_t): Define using __uint_least64_t.
18164 * wcsmbs/uchar.h: Include <bits/types.h>.
18165 (char16_t): Define using __uint_least16_t conditional only on
18167 (char32_t): Define using __uint_least32_t conditional only on
18169 * wcsmbs/test-char-types.c: New file.
18170 * wcsmbs/Makefile (tests): Add test-char-types.
18172 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18175 2018-02-07 Zack Weinberg <zackw@panix.com>
18177 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18178 Delete all contents except for definitions of _G_HAVE_MMAP and
18179 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18180 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18181 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18184 * libio/libio.h: Don't include bits/_G_config.h here.
18185 Include stddef.h with __need_wchar_t defined. Include
18186 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18187 Define _IO_iconv_t here, directly.
18188 Don't define _IO_HAVE_ST_BLKSIZE.
18189 * libio/libioP.h: Include _G_config.h here. Move include of
18190 shlib-compat.h up with rest of includes. Simplify conditionals
18191 controlling definition of _IO_JUMPS_OFFSET.
18193 * csu/init.c: Remove always-true #if around entire file.
18194 Don't include stdio.h. Set _IO_stdin_used to hardwired
18195 constant 0x20001, and update commentary.
18196 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18197 Replace all uses of _G_va_list with __gnuc_va_list.
18198 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18199 instead of #if _IO_HAVE_ST_BLKSIZE.
18200 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18201 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18204 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18205 multiple-include guard to match.
18206 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18208 Remove preprocessor conditionals that are always true and/or
18209 redundant to other preprocessor conditionals in the same nest.
18210 Include shlib-compat.h unconditionally.
18211 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18212 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18213 defined after including stdio.h.
18214 Use __BEGIN_DECLS/__END_DECLS.
18216 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18217 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18218 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18220 2018-02-07 Zack Weinberg <zackw@panix.com>
18222 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18223 New single-type headers split from _G_config.h.
18224 * libio/bits/types/cookie_io_functions_t.h
18225 * libio/bits/types/struct_FILE.h
18226 New single-type headers split from libio.h.
18228 * libio/Makefile: Install the above new headers. Don't install
18229 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18231 * libio/_G_config.h, libio/libio.h: Delete file.
18233 * libio/bits/libio.h: Remove improper-inclusion guard.
18234 Include stdio.h and don't repeat anything that it does.
18235 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18236 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18237 __io_read_fn as cookie_read_function_t,
18238 __io_write_fn as cookie_write_function_t,
18239 __io_seek_fn as cookie_seek_function_t,
18240 __io_close_fn as cookie_close_function_t,
18241 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18242 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18243 here, in the "compatibility defines" section. Remove an #if 0
18244 block. Use the "body" macros from bits/types/struct_FILE.h to
18245 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18246 and _IO_ferror_unlocked.
18247 Move prototypes of __uflow and __overflow...
18249 * libio/stdio.h: ...here. Don't include bits/libio.h.
18250 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18251 directly from stdarg.h. Include bits/types/__fpos_t.h,
18252 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18253 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18254 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18255 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18256 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18257 __ssize_t, not _IO_ssize_t. Unconditionally define
18258 BUFSIZ as 8192 and EOF as (-1).
18260 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18261 macros from bits/types/struct_FILE.h instead of _IO_* macros
18262 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18263 instead of _IO_ssize_t.
18264 * libio/bits/stdio2.h: Similarly.
18266 * libio/iolibio.h: Add multiple-include guard.
18267 Include bits/libio.h after stdio.h.
18268 * libio/libioP.h: Add multiple-include guard.
18269 Include stdio.h and bits/libio.h before iolibio.h.
18271 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18272 * include/bits/types/cookie_io_functions_t.h
18273 * include/bits/types/struct_FILE.h: New wrappers.
18275 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18276 Get definitions of _G_fpos_t and _G_fpos64_t from
18277 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18278 respectively. Remove improper-inclusion guards.
18280 * conform/data/stdio.h-data: Update expectations of va_list.
18281 * scripts/check-installed-headers.sh: Remove special case for
18282 libio.h and _G_config.h.
18284 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18288 * include/sys/sysmacros.h [!_ISOMAC]
18289 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18290 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18291 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18292 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18294 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18295 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18297 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18298 Undefine and redefine to add use __gnu_dev_ prefix.
18299 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18301 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18302 and define as hidden inline function.
18303 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18305 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18307 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18308 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18309 (gnu_dev_minor): Likewise.
18310 (gnu_dev_makedev): Likewise.
18311 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18313 * posix/wordexp.c (exec_comm_child): Likewise.
18314 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18315 instead of minor and __gnu_dev_major instead of major.
18316 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18317 __gnu_dev_major instead of major.
18318 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18319 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18320 instead of gnu_dev_minor.
18321 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18322 (SLAVE_P): Likewise.
18323 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18324 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18328 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18330 * locale/weightwc.h (findidx): Likewise.
18332 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18334 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18335 (slowlog_inexact): Likewise
18336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18337 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18339 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18342 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18343 missing second underscore to parameter name.
18345 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18351 * bits/byteswap.h: Update file comment. Do not include
18352 <bits/byteswap-16.h>.
18353 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18355 (__bswap_16): Define as inline function.
18356 (__bswap_constant_32): Reformat definition.
18357 (__bswap_32): Always define as inline function, not macro, using
18358 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18359 otherwise __bswap_constant_32.
18360 (__bswap_constant_64): Reformat definition. Do not use
18361 __extension__ here.
18362 (__bswap_64): Always define as inline function, not macro. Use
18363 __extension__ on function definition. Use __builtin_bswap64 if
18364 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18365 * string/test-endian-file-scope.c: New file.
18366 * string/test-endian-sign-conversion.c: Likewise.
18367 * string/Makefile (headers): Remove bits/byteswap-16.h.
18368 (tests): Add test-endian-file-scope and
18369 test-endian-sign-conversion.
18370 (CFLAGS-test-endian-sign-conversion.c): New variable.
18371 * bits/byteswap-16.h: Remove file.
18372 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18373 * sysdeps/ia64/bits/byteswap.h: Likewise.
18374 * sysdeps/m68k/bits/byteswap.h: Likewise.
18375 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18376 * sysdeps/s390/bits/byteswap.h: Likewise.
18377 * sysdeps/tile/bits/byteswap.h: Likewise.
18378 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18379 * sysdeps/x86/bits/byteswap.h: Likewise.
18382 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18383 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18384 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18385 199901L] (__restrict): Define to restrict.
18388 * string/testcopy.c: Include <support/support.h>. Do not include
18389 <malloc.h>. Use <support/test-driver.c>.
18390 (main): Rename to do_test. Make static. Use xmalloc instead of
18394 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18395 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18396 (SSIZE_MAX): Define to INT_MAX.
18397 * posix/test-ssize-max.c: New file.
18398 * posix/Makefile (tests): Add test-ssize-max.
18401 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18402 <support/support.h>. Do not include <malloc.h>.
18403 (query_auxv): Use xmalloc instead of malloc.
18406 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18407 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18410 2018-02-06 Florian Weimer <fweimer@redhat.com>
18413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18414 Use scratch_buffer instead of extend_alloca.
18416 2018-02-06 Zack Weinberg <zackw@panix.com>
18418 * libio/stdio.h: Don't define getc or putc as macros.
18419 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18420 not _IO_getc and _IO_putc.
18422 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18423 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18425 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18427 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18428 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18430 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18433 * elf/elf.h (NT_PRFPREG): New macro.
18434 (NT_S390_VXRS_LOW): Likewise.
18435 (NT_S390_VXRS_HIGH): Likewise.
18436 (NT_S390_GS_CB): Likewise.
18437 (NT_S390_GS_BC): Likewise.
18438 (NT_S390_RI_CB): Likewise.
18440 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18441 (MAP_SYNC): New macro.
18442 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18444 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18445 (MAP_SYNC): Likewise.
18446 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18447 (MAP_SYNC): Likewise.
18448 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18449 (MAP_SYNC): Likewise.
18450 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18451 (MAP_SYNC): Likewise.
18452 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18453 (MAP_SYNC): Likewise.
18454 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18455 (MAP_SYNC): Likewise.
18456 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18458 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18461 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18462 (MAP_SHARED_VALIDATE): New macro.
18463 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18464 (MAP_SHARED_VALIDATE): Likewise.
18466 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18468 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18469 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18470 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18472 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18474 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18475 (DT_NUM): Updated to 35.
18477 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18479 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18480 __builtin_expect with __glibc_likely and __glibc_unlikely.
18481 (elf_machine_rela): Likewise.
18482 (elf_machine_lazy_rel): Likewise.
18484 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18487 __builtin_expect with __glibc_likely and __glibc_unlikely.
18488 (elf_machine_lazy_rel): Likewise.
18490 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18493 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18495 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18497 2018-02-05 Andreas Schwab <schwab@suse.de>
18500 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18503 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18505 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18506 not check against PTHREAD_STACK_MIN.
18508 2018-02-02 Sean McKean <smckean83@gmail.com>
18511 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18513 2018-02-02 Florian Weimer <fweimer@redhat.com>
18516 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18517 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18518 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18519 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18520 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18521 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18522 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18523 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18524 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18525 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18526 * misc/tst-preadvwritev2.c (do_test): Call it.
18527 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18529 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18531 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18533 * benchtests/bench-memcmp.c: Print json instead of plain text.
18535 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18538 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18540 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18542 (s390_sthyi): New syscall.
18544 * sysdeps/generic/ldbl-classify-compat.h: New file.
18545 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18546 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18547 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18548 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18549 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18550 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18551 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18552 <ldbl-classify-compat.h>.
18553 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18554 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18555 <ldbl-classify-compat.h>.
18556 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18557 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18558 <ldbl-classify-compat.h>.
18559 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18561 <ldbl-classify-compat.h>.
18562 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18564 <ldbl-classify-compat.h>.
18565 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18567 <ldbl-classify-compat.h>.
18568 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18569 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18570 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18571 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18572 * sysdeps/microblaze/math_private.h: Likewise.
18573 * sysdeps/nios2/math_private.h: Likewise.
18574 * sysdeps/sh/math_private.h: Likewise.
18576 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18577 * sysdeps/m68k/coldfire/math_private.h: ... here.
18578 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18579 * sysdeps/tile/math_private.h: Likewise.
18580 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18582 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18585 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18587 (libc_fetestexcept): Likewise.
18588 (libc_feupdateenv_test): Likewise.
18589 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18590 (libc_fetestexcept): Likewise.
18591 (libc_feupdateenv_test): Likewise.
18592 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18593 (libc_fetestexcept): Likewise.
18594 (libc_feupdateenv_test): Likewise.
18595 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18596 (libc_fetestexcept): Likewise.
18597 (libc_feupdateenv_test): Likewise.
18599 * sysdeps/generic/math_private.h
18600 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18601 New inline function.
18602 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18605 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18606 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18607 * sysdeps/generic/math_private.h
18608 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18610 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18612 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18614 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18616 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18618 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18620 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18621 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18622 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18623 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18624 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18625 (__fegetenv): Likewise.
18626 (fesetenv): Likewise.
18627 (__fesetenv): Likewise.
18628 (feupdateenv): Likewise.
18629 (__feupdateenv): Likewise.
18630 (fegetround): Likewise.
18631 (__fegetround): Likewise.
18632 (fesetround): Likewise.
18633 (__fesetround): Likewise.
18635 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18636 (feraiseexcept): New macro.
18637 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18638 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18640 (__feraiseexcept): Likewise.
18641 (feclearexcept): Likewise.
18642 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18643 (__feraiseexcept): Likewise.
18644 (feclearexcept): Likewise.
18645 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18646 (__feraiseexcept): Likewise.
18647 (feclearexcept): Likewise.
18648 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18649 (__feraiseexcept): Likewise.
18650 (feclearexcept): Likewise.
18651 (fetestexcept): Likewise.
18653 * sysdeps/m68k/coldfire/math-tests.h: New file.
18655 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18656 * sysdeps/m68k/bits/fenv.h: ... here.
18657 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18659 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18661 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18663 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18665 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18667 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18669 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18670 (__FE_UNDEFINED): New enum constant.
18671 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18673 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18675 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18677 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18678 to match generic bits/fenv.h.
18679 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18682 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18684 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18685 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18686 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18687 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18689 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18690 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18691 Joseph Myers <joseph@codesourcery.com>
18694 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18695 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18696 computation using c.
18697 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18698 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18699 computation using c.
18701 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18703 * version.h (RELEASE): Set to "development".
18704 (VERSION): Set to "2.27.9000".
18705 * NEWS (2.28): New section.
18707 * version.h (RELEASE): Set to "stable".
18708 (VERSION): Set to "2.27".
18709 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18711 * NEWS: Add the list of bugs fixed in 2.27.
18713 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18715 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18716 against PTHREAD_STACK_MIN.
18718 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18720 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18722 (Rafal Luzynski, Andreas Schwab): Update.
18724 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18727 * NEWS: List the languages which actually use the alternative
18728 months feature in this release. Also explain that "alt_mon" and
18729 "ab_alt_mon" are optional.
18731 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18734 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18736 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18738 * manual/install.texi (Tools for Compilation): Update the newest
18739 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18740 * INSTALL: Regenerated.
18742 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18744 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18745 instead of __builtin_expect.
18747 2018-01-30 Florian Weimer <fweimer@redhat.com>
18749 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18751 * nss/tst-nss-getpwent.c (do_test): Likewise.
18753 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18756 * localedata/locales/hr_HR (mon): Rename to...
18758 (mon): Import from CLDR (genitive case).
18759 (d_t_fmt): Update the comment.
18761 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18763 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18764 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18765 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18767 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18769 * mach/Versions: Fix version when __mach_host_self_ was added.
18770 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18771 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18772 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18773 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18774 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18775 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18776 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18777 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18778 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18779 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18780 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18781 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18782 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18783 || to respect codestyle.
18784 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18785 (do_test_bz20181): Rename accordingly.
18786 * malloc/malloc.c: Include <assert.h>.
18787 (assert): Do not define.
18788 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18789 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18790 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18791 * sysdeps/mach/hurd/hp-timing.h: New file.
18792 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18794 2018-01-29 Darius Rad <darius@bluespec.com>
18796 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18798 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18800 * sysdeps/init_array/crti.S (.section .init_array): Add
18801 PREINIT_FUNCTION when defined.
18802 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18803 * config.h.in: Regenerate.
18804 * manual/platform.texi: Add RISC-V documenation for
18805 __riscv_flush_icache.
18806 * sysdeps/riscv/__longjmp.S: New file.
18807 * sysdeps/riscv/backtrace.c: Likewise.
18808 * sysdeps/riscv/bits/endian.h: Likewise.
18809 * sysdeps/riscv/bits/setjmp.h: Likewise.
18810 * sysdeps/riscv/bits/wordsize.h: Likewise.
18811 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18812 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18813 * sysdeps/riscv/dl-trampoline.S: Likewise.
18814 * sysdeps/riscv/gccframe.h: Likewise.
18815 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18816 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18817 * sysdeps/riscv/machine-gmon.h: Likewise.
18818 * sysdeps/riscv/memusage.h: Likewise.
18819 * sysdeps/riscv/setjmp.S: Likewise.
18820 * sysdeps/riscv/sys/asm.h: Likewise.
18821 * sysdeps/riscv/tls-macros.h: Likewise.
18822 * sysdeps/riscv/dl-tls.h: New file.
18823 * sysdeps/riscv/libc-tls.c: Likewise.
18824 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18825 * sysdeps/riscv/nptl/tls.h: Likewise.
18826 * sysdeps/riscv/stackinfo.h: Likewise.
18827 * sysdeps/riscv/bits/fenv.h: New file.
18828 * sysdeps/riscv/e_sqrtl.c: Likewise.
18829 * sysdeps/riscv/fpu_control.h: Likewise.
18830 * sysdeps/riscv/math-tests.h: Likewise.
18831 * sysdeps/riscv/nofpu/Implies: Likewise.
18832 * sysdeps/riscv/sfp-machine.h: Likewise.
18833 * sysdeps/riscv/tininess.h: Likewise.
18834 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18835 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18836 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18837 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18838 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18839 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18840 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18841 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18842 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18843 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18844 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18845 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18846 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18847 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18848 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18849 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18850 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18851 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18852 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18853 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18854 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18855 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18856 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18857 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18858 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18859 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18860 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18861 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18862 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18863 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18864 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18865 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18866 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18867 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18868 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18869 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18870 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18871 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18872 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18873 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18874 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18875 * sysdeps/riscv/rvf/math_private.h: Likewise.
18876 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18877 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18878 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18879 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18880 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18881 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18882 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18883 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18884 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18885 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18886 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18887 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18888 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18889 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18890 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18891 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18892 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18893 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18894 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18895 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18896 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18897 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18898 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18899 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18900 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18901 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18902 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18903 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18904 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18905 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18906 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18907 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18908 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18909 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18910 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18911 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18912 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18913 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18914 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18915 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18916 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18917 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18918 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18919 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18920 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18921 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18922 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18923 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18924 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18925 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18926 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18927 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18928 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18929 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18930 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18931 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18932 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18933 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18934 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18935 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18936 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18937 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18938 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18939 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18940 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18941 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18942 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18943 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18944 * sysdeps/riscv/Implies: New file.
18945 * sysdeps/riscv/Makefile: Likewise.
18946 * sysdeps/riscv/configure: Likewise.
18947 * sysdeps/riscv/configure.ac: Likewise.
18948 * sysdeps/riscv/nptl/Makefile: Likewise.
18949 * sysdeps/riscv/preconfigure: Likewise.
18950 * sysdeps/riscv/rv64/Implies-after: Likewise.
18951 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18952 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18953 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18954 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18955 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18956 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18957 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18958 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18959 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18960 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18961 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18962 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18963 (Config): Likewise.
18965 2018-01-29 Florian Weimer <fweimer@redhat.com>
18968 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18969 libnsl_hidden_proto.
18970 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18971 libnsl_hidden_proto.
18972 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18973 * nis/Makefile (libnsl-routines): Add nss-default only for
18974 build-obsolete-nsl.
18975 * nis/nis_defaults.c (__nis_default_ttl): Add
18976 libnsl_hidden_nolink_def.
18977 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18979 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18980 * nis/ypclnt.c (yp_maplist): Likewise.
18982 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18985 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18987 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18989 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18990 clean -dxfq for git updates when replacing sources.
18992 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18993 --disable-libcilkrts unconditionally, not just for the final GCC
18996 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18999 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19002 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19005 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19008 * localedata/locales/be_BY (mon): Rename to...
19009 (alt_mon): This, then synchronize with CLDR (nominative case).
19010 (abmon): Rename to...
19011 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19012 (mon): Import from CLDR (genitive case).
19014 * localedata/locales/be_BY@latin (mon): Rename to...
19016 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19018 * localedata/locales/be_BY@latin (lang_name): Reworded to
19019 "biełaruskaja mova".
19021 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19024 * localedata/locales/el_CY (mon): Renamed to...
19026 (mon): Import from CLDR (genitive case).
19027 * localedata/locales/el_GR: Likewise.
19029 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19032 * localedata/locales/ru_RU (mon): Rename to...
19034 (abmon): Rename to...
19035 (ab_alt_mon): This.
19036 (mon): Import from CLDR (genitive case).
19037 (abmon): Copy from the old content except the 5th month which is
19038 now in the genitive case, even when abbreviated.
19039 * localedata/locales/ru_UA: Likewise.
19040 * time/tst-strptime.c (day_tests): Add an actual example of
19041 a difference between %b and %Ob in Russian.
19043 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19045 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19046 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19048 * resolv/res-close.c: Include <stdlib.h>.
19049 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19050 <sys/wait.h>, <time.h>, <sys/uio.h>.
19051 (NOT_CANCEL_H): Add inclusion guard.
19052 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19053 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19054 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19056 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19057 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19058 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19060 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19061 timer_ptr2id to cast struct timer_node * to void *.
19062 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19063 --disable-libcilkrts to gcc configure.
19064 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19065 and make them the default for now.
19066 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19067 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19068 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19069 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19070 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19072 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19073 __task_terminate would ever return successfully.
19074 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19076 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19077 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19078 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19079 critical section to make code simpler and avoid warning.
19080 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19081 critical section to make code simpler and avoid warning.
19082 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19083 const char * instead of char *.
19084 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19085 __hurd_file_name_split, hurd_file_name_split,
19086 __hurd_directory_name_split, hurd_directory_name_split,
19087 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19088 hurd_file_name_path_lookup): Make lookup function parameter take a
19089 const char *name instead of char *name.
19090 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19091 __hurd_directory_name_split): Likewise.
19092 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19093 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19094 * sysdeps/mach/hurd/check_native.c: New file.
19095 * sysdeps/mach/hurd/check_pf.c: New file.
19096 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19097 (__freeifaddrs): Define macro to freeifaddrs.
19098 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19099 * sysdeps/mach/libmachuser.abilist: New file.
19100 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19101 (do_test_bz20181): Rename accordingly.
19102 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19103 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19105 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19106 version only if __USE_EXTERN_INLINES is defined.
19107 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19108 __hurd_sockfail): Likewise.
19109 (_hurd_fd_get): Always declare functions, and provide inline versions
19110 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19111 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19112 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19113 _hurd_port_set): Always declare functions, and provide inline versions
19114 only if __USE_EXTERN_INLINES and _LIBC are defined and
19116 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19117 _hurd_critical_section_unlock): Likewise.
19118 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19119 * __hurd_threadvar_location): Likewise.
19120 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19121 _hurd_userlink_clear): Likewise.
19122 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19123 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19124 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19125 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19126 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19127 __spin_lock_locked): Likewise.
19128 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19129 __spin_lock_locked): Likewise.
19130 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19131 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19132 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19133 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19134 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19135 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19136 _POSIX_NO_TRUNC): Define to 0.
19137 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19138 check size against PTHREAD_STACK_MIN.
19139 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19140 IS_IN(libpthread)]: Include <sigsetops.h>.
19141 * mach/Makefile (user-interfaces): Add mach/gnumach.
19142 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19143 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19144 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19145 instead of invalid -1.
19146 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19147 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19148 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19151 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19153 * hurd/fcntl-internal.h: New file.
19155 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19157 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19159 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19161 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19164 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19165 Build only shared objects.
19167 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19169 * README: Update for hppa.
19171 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19173 * sysdeps/sparc/fpu/libm-test-ulps: Update
19174 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19176 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19180 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19183 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19184 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19185 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19186 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19189 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19192 * bits/types/__cancel_jmp_buf_tag.h: New file.
19193 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19194 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19195 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19196 * nptl/Makefile (headers): Add
19197 bits/types/__cancel_jmp_buf_tag.h.
19198 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19199 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19200 * sysdeps/nptl/pthread.h: Include
19201 <bits/types/__cancel_jmp_buf_tag.h>.
19202 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19204 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19206 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19209 * localedata/locales/uk_UA (mon): Renamed to...
19211 (alt_digits): "0" removed and then renamed to...
19213 (date_fmt): Definition changed not to use the alternative
19216 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19218 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19219 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19220 * elf/elf.h (EF_RISCV_RVC): New define.
19221 (EF_RISCV_FLOAT_ABI): Likewise.
19222 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19223 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19224 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19225 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19226 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19228 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19230 2018-01-25 Andreas Schwab <schwab@suse.de>
19232 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19234 * sysdeps/gnu/configure: Regenerate.
19235 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19236 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19238 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19239 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19240 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19241 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19242 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19244 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19246 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19247 URL, and run autoconf, make it the default for now.
19249 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19251 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19252 soft-float ColdFire configuration.
19254 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19255 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19256 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19258 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19261 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19263 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19265 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19268 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19269 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19270 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19273 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19276 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19277 Rename to __reserved and add comment.
19278 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19279 Rename to __reserved.
19281 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19283 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19284 i686-gnu configurations.
19285 (Context.run_builds): Include mig, gnumach and hurd in components
19287 (Context.checkout): Add mig, gnumach and hurd to components.
19288 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19290 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19291 (Config.build): Install gnumach headers, build mig and install
19292 hurd headers for 'gnu' OS.
19293 (Config.install_gnumach_headers): New function.
19294 (Config.install_hurd_headers): Likewise.
19295 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19296 when building for 'gnu' OS.
19298 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19300 * manual/tunables.texi (Hardware Capability Tunables): Fix
19303 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19305 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19306 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19307 (ALTMON_11, ALTMON_12): Improve documentation.
19308 * manual/time.texi (strftime): Likewise.
19310 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19313 * localedata/locales/pl_PL: Alternative month names added,
19314 primary month names are genitive now.
19315 * time/tst-strptime.c (day_tests): Actually use a genitive case
19316 of a month name in Polish language.
19318 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19321 * manual/locale.texi: Document ALTMON_1..12 constants for
19322 nl_langinfo. Specify when to use ALTMON instead of MON.
19323 * manual/time.texi (strftime, strptime): Document GNU extension
19324 permitting O modifier with %B and %b. Specify when to use
19327 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19330 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19331 names, define them as the same as abbreviated month names explicitly.
19332 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19333 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19334 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19335 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19336 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19337 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19338 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19339 _NL_WABALTMON_12): New enum constants.
19340 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19341 wab_alt_mon, and ab_alt_mon_defined members.
19342 (time_output): Output ab_alt_mon and wab_alt_mon members.
19343 (time_read): Read them, initialize them as copies of abmon and wabmon
19344 respectively if they are missing, initialize ab_alt_mon_defined.
19345 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19346 * locale/programs/locfile-kw.h: Regenerate.
19347 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19348 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19350 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19351 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19352 (__strftime_internal): Handle %Ob and %Oh formats.
19353 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19354 (__strptime_internal): Handle %Ob and %Oh formats.
19355 * time/tst-strptime.c (day_tests): Add more tests to parse different
19356 forms of month names including the new %Ob format specifier.
19358 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19361 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19362 define them as the same as primary full month names explicitly.
19363 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19364 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19365 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19366 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19367 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19368 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19369 _NL_WALTMON_12): New enum constants.
19370 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19371 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19373 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19374 walt_mon, and alt_mon_defined members.
19375 (time_output): Output alt_mon and walt_mon members.
19376 (time_read): Read them, initialize them as copies of mon and wmon
19377 respectively if they are missing, initialize alt_mon_defined.
19378 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19379 * locale/programs/locfile-kw.h: Regenerate.
19380 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19381 * localedata/tst-langinfo.c (map): Add tests for the new constants
19382 ALTMON_1 .. ALTMON_12.
19383 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19385 * time/strftime_l.c (f_altmonth): New macro.
19386 (__strftime_internal): Handle %OB format.
19387 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19388 (__strptime_internal): Handle %OB format.
19389 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19390 of month names including the new %OB format specifier.
19392 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19395 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19396 from ABORT_TRANSACTION.
19397 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19398 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19399 ABORT_TRANSACTION_IMPL): Likewise.
19400 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19401 Linux code, but remove the code that aborts transactions.
19403 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19405 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19407 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19409 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19410 in date: "2004-14-09" should be "2004-09-14".
19411 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19412 "2003-15-09" should be "2003-09-15".
19414 2018-01-18 Arjun Shankar <arjun@redhat.com>
19420 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19422 (_int_memalign): check for integer overflow before calling
19424 * malloc/tst-malloc-too-large.c: New test.
19425 * malloc/Makefile: Add tst-malloc-too-large.
19427 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19429 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19430 in date: "2017-24-07" should be "2017-07-24".
19431 * localedata/locales/mai_IN: Likewise.
19432 * localedata/locales/mai_NP: Likewise.
19434 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19436 * po/ru.po: Update translations.
19438 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19441 * sysdeps/hppa/backtrace.c: New file.
19443 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19446 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19447 align La_x86_64_retval to VEC_SIZE.
19449 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19451 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19452 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19454 2018-01-16 Florian Weimer <fweimer@redhat.com>
19456 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19457 Move tst-thread-exit-clobber ...
19458 [$(CXX)] (tests-unsupported): ... to here.
19460 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19462 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19463 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19464 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19465 (_dl_aarch64_cap_flags): Update.
19466 (_DL_HWCAP_COUNT): Update.
19468 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19470 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19471 (_DL_HWCAP_LAST): Remove.
19472 (_DL_HWCAP_COUNT): Move to ...
19473 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19474 (_DL_HWCAP_COUNT): ... here.
19476 2018-01-16 Florian Weimer <fweimer@redhat.com>
19478 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19479 mode with GNU extensions.
19481 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19483 * elf/elf.h (NT_ARM_SVE): Define.
19485 2018-01-15 Florian Weimer <fweimer@redhat.com>
19488 * nptl/tst-minstack-throw.cc: New file.
19489 * nptl/Makefile (tests): Add tst-minstack-throw.
19490 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19491 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19493 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19495 * scripts/build-many-glibcs.py (Context.checkout): Default
19496 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19499 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19502 * elf/elf.h (DF_1_STUB): Define.
19503 (DF_1_PIE): Define.
19505 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19508 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19509 Do not add 0.5 to integer or out-of-range arguments.
19511 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19513 * po/bg.po: Update translations.
19514 * po/cs.po: Likewise.
19515 * po/de.po: Likewise.
19516 * po/ko.po: Likewise.
19517 * po/pl.po: Likewise.
19518 * po/sv.po: Likewise.
19519 * po/uk.po: Likewise.
19520 * po/vi.po: Likewise.
19522 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19524 * aarch64/start.S (_start): Use __wrap_main.
19525 (__wrap_main): New local symbol.
19527 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19531 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19532 generic_getcwd if the path returned by getcwd syscall is not absolute.
19533 * io/tst-getcwd-abspath.c: New test.
19534 * io/Makefile (tests): Add tst-getcwd-abspath.
19536 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19538 * malloc/malloc.c (malloc_consolidate): Add size check.
19540 2018-01-12 Florian Weimer <fweimer@redhat.com>
19542 * support/write_message.c (write_message): Preserve errno.
19543 * support/check.c (print_failure): Likewise.
19544 * support/support_test_verify_impl.c (support_test_verify_impl):
19546 * support/support_test_compare_failure.c
19547 (support_test_compare_failure): Likewise.
19549 2018-01-12 Florian Weimer <fweimer@redhat.com>
19552 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19553 Prevent installation of libnsl.so.
19554 (libnsl-inhibit-o): Do not build (or install) static libraries.
19556 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19559 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19560 before the day number which may produce a double space.
19561 (date_fmt): Likewise.
19563 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19565 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19566 instead of fegetenv.
19568 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19571 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19572 comment to say exceptions are discarded.
19573 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19575 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19578 2018-01-11 Florian Weimer <fweimer@redhat.com>
19580 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19583 2018-01-11 Florian Weimer <fweimer@redhat.com>
19586 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19587 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19589 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19592 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19593 negative arguments in test for NaN or infinity argument.
19595 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19597 * po/libc.pot: Regenerate.
19599 2018-01-10 Florian Weimer <fweimer@redhat.com>
19602 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19603 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19605 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19607 * hurd/hurd/fd.h: Include <fcntl.h>
19608 (__hurd_at_flags): New function.
19609 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19610 with call to __hurd_at_flags.
19611 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19612 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19614 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19615 (__access_noerrno): Use __faccessat_common instead of access_common.
19616 (__access): Likewise.
19617 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19618 with a call to __faccessat.
19619 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19620 (__faccessat_common): ... this. Move implementation of __access into it when
19621 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19622 reauthenticate_cwdir_at helper to implement AT mechanism.
19623 (__faccessat_noerrno): New function, just calls __faccessat_common.
19624 (__faccessat): New function, just calls __faccessat_common.
19625 (faccessat): Define weak alias.
19627 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19630 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19631 (CFLAGS-s_fmaxmagl.c): New variable.
19632 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19636 long int for arguments of possibly overflowing addition or
19638 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19640 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19643 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19644 (CFLAGS-e_remainderl.c): New variable.
19647 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19649 (CFLAGS-s_cacoshl.c): Likewise.
19650 (CFLAGS-s_casinhl.c): Likewise.
19651 (CFLAGS-s_catanl.c): Likewise.
19652 (CFLAGS-s_catanhl.c): Likewise.
19653 (CFLAGS-s_cexpl.c): Likewise.
19654 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19655 (CFLAGS-s_csinhl.c): Likewise.
19656 (CFLAGS-s_clogl.c): Likewise.
19657 (CFLAGS-s_clog10l.c): Likewise.
19658 (CFLAGS-s_csinl.c): Likewise.
19659 (CFLAGS-s_csqrtl.c): Likewise.
19661 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19662 2017-01-09 Svante Signell <svante.signell@gmail.com>
19664 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19665 (_hurd_exec_paths): New function.
19666 * hurd/hurd.h (_hurd_exec): Deprecate function.
19667 (_hurd_exec_paths): Declare function.
19668 * hurd/Versions: Export _hurd_exec_paths.
19669 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19670 (__execve): Use __getcwd to build absolute path, and use
19671 _hurd_exec_paths instead of _hurd_exec.
19672 * sysdeps/mach/hurd/spawni.c: Likewise.
19673 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19676 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19678 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19679 test instead of failing in case of ENOENT returned by posix_openpt.
19681 2018-01-08 Florian Weimer <fweimer@redhat.com>
19683 resolv: Support binary labels in test framework.
19684 * support/resolv_test.c (struct to_be_freed): Remove.
19685 (struct compressed_name): New.
19686 (allocate_compressed_name, ascii_tolower)
19687 (compare_compressed_name): New functions.
19688 (struct resolv_response_builder): Update type of
19689 compression_offsets for use with tsearch. Rempve to_be_freed.
19690 (response_push_pointer_to_free): Remove function.
19691 (resolv_response_add_name): Rewrite using struct compressed_name
19692 and tsearch instead of hsearch_r.
19693 (response_builder_allocate): Remove initialization of
19694 compression_offsets.
19695 (response_builder_free): Update for removal of to_be_freed. Use
19696 tdestroy instead of hdestroy_r.
19697 * resolv/Makefile (tests): Add tst-resolv-binary.
19698 (tst-resolv-binary): Link with -lresolv -lpthread.
19700 2018-01-08 Florian Weimer <fweimer@redhat.com>
19702 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19703 time. Pass positive flag instead of negative flag to
19704 support_test_compare_failure.
19705 (support_test_compare_failure): Change negative parameter to
19707 * support/support_test_compare_failure.c (report)
19708 (support_test_compare_failure): Likewise.
19709 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19710 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19712 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19715 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19716 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19717 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19719 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19721 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19723 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19724 Add s_sincosf-sse2 and s_sincosf-fma.
19725 (CFLAGS-s_sincosf-fma.c): New.
19726 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19727 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19728 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19729 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19730 __sincosf is defined.
19732 2018-01-08 Florian Weimer <fweimer@redhat.com>
19734 * nptl/tst-thread-exit-clobber.cc: New file.
19735 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19737 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19738 (tests): Add tst-thread-exit-clobber.
19739 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19741 2018-01-08 Florian Weimer <fweimer@redhat.com>
19743 * support/check.h (support_static_assert): Define.
19744 (TEST_COMPARE): Use it.
19746 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19748 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19749 [!__RLIM_T_MATCHES_RLIM64_T]
19750 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19751 __getrlimit64. Add libc_hidden_weak.
19753 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19755 * elf/elf.h (R_RISCV_NONE): New define.
19756 (R_RISCV_32): Likewise.
19757 (R_RISCV_64): Likewise.
19758 (R_RISCV_RELATIVE): Likewise.
19759 (R_RISCV_COPY): Likewise.
19760 (R_RISCV_JUMP_SLOT): Likewise.
19761 (R_RISCV_TLS_DTPMOD32): Likewise.
19762 (R_RISCV_TLS_DTPMOD64): Likewise.
19763 (R_RISCV_TLS_DTPREL32): Likewise.
19764 (R_RISCV_TLS_DTPREL64): Likewise.
19765 (R_RISCV_TLS_TPREL32): Likewise.
19766 (R_RISCV_TLS_TPREL64): Likewise.
19767 * Makerules (make-link-multidir): Make directories before linking into
19769 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19771 (VDSO_HASH_LINUX_4_15): Likewise.
19772 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19773 in subdirectories of lib.
19774 * nptl/Makefile (/librt.so): Always depend on
19775 "$(shared-thread-library)".
19777 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19779 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19780 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19781 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19783 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19784 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19786 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19787 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19788 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19789 * sysdeps/gnu/glob-lstat-compat.c: New file.
19790 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19791 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19793 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19795 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19796 Reserve 16 chars to reloc_addr before calling _itoa_word.
19798 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19801 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19802 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19804 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19805 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19807 * resource/tst-getrlimit.c: Add copyright header.
19809 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19810 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19812 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19813 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19814 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19815 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19817 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19818 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19819 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19820 RLIM64_INFINITY): Fix values to match the kernel ones.
19821 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19822 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19823 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19824 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19825 getrlimit64@@GLIBC_2_27.
19826 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19828 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19829 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19830 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19831 setrlimit, getrlimit64 and setrlimit64.
19833 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19836 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19837 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19839 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19841 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19842 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19843 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19845 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19849 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19850 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19854 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19855 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19856 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19857 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19859 2018-01-04 Florian Weimer <fweimer@redhat.com>
19862 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19863 Align the stack before calling exit.
19864 * stdlib/tst-makecontext-align.c: New file.
19865 * stdlib/Makefile (tests): Add tst-makecontext-align.
19867 2018-01-04 Florian Weimer <fweimer@redhat.com>
19869 Add support for calling dlvsym from libc.so.
19870 * include/dlfcn.h (__libc_dlvsym): Declare.
19871 * elf/Makefile (tests-static-internal): Add
19872 tst-libc_dlvsym-static.
19873 (tests-internal): Add tst-libc_dlvsym.
19874 (modules-names): Add tst-libc_dlvsym-dso.
19875 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19876 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19877 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19878 object tst-libc_dlvsym-dso.so needs to be built before running
19880 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19881 * elf/Versions: Export __libc_dlvsym.
19882 * elf/dl-libc.c (struct do_dlvsym_args): New.
19883 (do_dlvsym, __libc_dlvsym): New functions.
19884 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19885 (_dl_open_hook2): New variable.
19886 (__libc_register_dl_open_hook): Set it.
19887 * elf/tst-libc_dlvsym-dso.c: New file.
19888 * elf/tst-libc_dlvsym-static.c: Likewise.
19889 * elf/tst-libc_dlvsym.c: Likewise.
19890 * elf/tst-libc_dlvsym.h: Likewise.
19892 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19894 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19895 include <sys/mount.h>.
19897 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19899 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19900 Add __NO_MATH_ERRNO__ check.
19902 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19904 * sysdeps/mips/mips32/libm-test-ulps: Update.
19905 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19907 2018-01-02 Florian Weimer <fweimer@redhat.com>
19909 * misc/tst-pselect.c: Add copyright header.
19911 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19913 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19915 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19917 (settrlimit): Rename into setrlimit.
19918 (__sttrlimit): Rename into __setrlimit.
19920 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19921 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19922 never defined in that case.
19924 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19926 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19928 * sysdeps/arm/libm-test-ulps: Update.
19930 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19931 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19933 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19935 * NEWS: Add cosf and sincosf to list of optimized functions.
19937 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19940 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19941 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19942 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19943 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19945 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19948 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19950 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19951 making a copy of it.
19953 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19955 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19956 trailing whitespace removed.
19957 * scripts/config.guess: Update to version 2018-01-01.
19958 * scripts/config.sub: Update to version 2018-01-01.
19959 * scripts/move-if-change: Update from gnulib.
19961 * NEWS: Update copyright dates.
19962 * catgets/gencat.c (print_version): Likewise.
19963 * csu/version.c (banner): Likewise.
19964 * debug/catchsegv.sh: Likewise.
19965 * debug/pcprofiledump.c (print_version): Likewise.
19966 * debug/xtrace.sh (do_version): Likewise.
19967 * elf/ldconfig.c (print_version): Likewise.
19968 * elf/ldd.bash.in: Likewise.
19969 * elf/pldd.c (print_version): Likewise.
19970 * elf/sotruss.sh: Likewise.
19971 * elf/sprof.c (print_version): Likewise.
19972 * iconv/iconv_prog.c (print_version): Likewise.
19973 * iconv/iconvconfig.c (print_version): Likewise.
19974 * locale/programs/locale.c (print_version): Likewise.
19975 * locale/programs/localedef.c (print_version): Likewise.
19976 * login/programs/pt_chown.c (print_version): Likewise.
19977 * malloc/memusage.sh (do_version): Likewise.
19978 * malloc/memusagestat.c (print_version): Likewise.
19979 * malloc/mtrace.pl: Likewise.
19980 * manual/libc.texinfo: Likewise.
19981 * nptl/version.c (banner): Likewise.
19982 * nscd/nscd.c (print_version): Likewise.
19983 * nss/getent.c (print_version): Likewise.
19984 * nss/makedb.c (print_version): Likewise.
19985 * posix/getconf.c (main): Likewise.
19986 * scripts/test-installation.pl: Likewise.
19987 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19989 * All files with FSF copyright notices: Update copyright dates
19990 using scripts/update-copyrights.
19991 * locale/programs/charmap-kw.h: Regenerated.
19992 * locale/programs/locfile-kw.h: Likewise.
19994 2017-12-31 Zack Weinberg <zackw@panix.com>
19996 * libio/bits/libio-ldbl.h: Correct check for improper
19997 inclusion. Add own multiple include guard.
19999 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20000 Dmitry V. Levin <ldv@altlinux.org>
20004 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20005 string token expansion. Check for NULL pointer or empty string possibly
20006 returned by expand_dynamic_string_token.
20007 (decompose_rpath): Check for empty path after dynamic string
20010 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20013 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20015 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20016 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20017 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20018 and PTRACE_SYSCALL.
20019 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20024 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20026 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20027 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20028 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20029 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20031 bits/ptrace-shared.h.
20032 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20033 <bits/ptrace-shared.h>.
20034 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20035 __ptrace_peeksiginfo_flags, ptrace): Remove.
20036 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20037 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20040 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20042 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20045 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20046 end of the loop. Improve comments.
20048 2017-12-29 Zack Weinberg <zackw@panix.com>
20051 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20052 might be set on success.
20054 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20057 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20058 is unchanged on success.
20060 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20062 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20064 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20065 expand_dynamic_string_token): Likewise.
20066 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20069 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20072 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20073 is set and name contains ':', and all code depending on these checks.
20075 2017-12-24 Zack Weinberg <zackw@panix.com>
20077 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20078 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20080 * libio/libio.h: Rename the original version of this file to
20081 libio/bits/libio.h. Error out if not included by stdio.h or the
20083 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20084 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20085 if not included by bits/libio.h or the stub _G_config.h.
20086 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20087 sysdeps/unix/sysv/linux/bits. Error out if not included by
20088 bits/libio.h or the stub _G_config.h.
20089 * libio/stdio.h: Include bits/libio.h, not libio.h.
20090 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20091 well as libio.h and _G_config.h.
20093 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20094 * libio/strfile.h, stdio-common/vfscanf.c
20095 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20096 Include stdio.h, not _G_config.h nor libio.h.
20097 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20098 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20100 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20102 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20105 * stdlib/getrandom.c (getrandom): Fix comment.
20106 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20108 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20111 * manual/arith.texi (strtoul): Fix a typo.
20114 * manual/arith.texi (finite): Fix the description of the return
20117 2017-12-22 Eric Blake <ebb9@byu.net>
20119 Avoid gcc warnings on cygwin
20120 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20121 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20122 Avoid unused variable.
20124 2017-12-22 Florian Weimer <fweimer@redhat.com>
20126 * io/Makefile (routines): Add copy_file_range.
20127 (tests): Add tst-copy_file_range.
20128 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20129 * io/Versions (GLIBC_2.27): Export copy_file_range.
20130 * io/copy_file_range-compat.c: New file.
20131 * io/copy_file_range.c: Likewise.
20132 * io/tst-copy_file_range-compat.c: Likewise.
20133 * io/tst-copy_file_range.c: Likewise.
20134 * manual/llio.texi (Copying File Data): New section.
20135 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20136 * support/Makefile (libsupport-routines): Add support-xfstat,
20137 xftruncate, xlseek.
20138 * support/support-xfstat.c: New file.
20139 * support/xftruncate.c: Likewise.
20140 * support/xlseek.c: Likewise.
20141 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20142 * sysdeps/unix/sysv/linux/**.abilist: Update.
20143 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20145 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20147 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20148 disable-multi-arch variant to aarch64-linux-gnu.
20150 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20152 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20153 trailing whitespace removed.
20154 * scripts/config.guess: Update to version 2017-12-17.
20155 * scripts/config.sub: Update to version 2017-11-23.
20156 * scripts/install-sh: Update to version 2017-09-23.17.
20157 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20159 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20161 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20162 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20163 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20164 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20165 * sysdeps/tile/crtn.S: Likewise.
20166 * sysdeps/tile/dl-start.S (_start): Likewise.
20167 * sysdeps/tile/dl-trampoline.S: Likewise.
20168 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20169 * sysdeps/tile/start.S (_start): Likewise.
20170 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20171 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20172 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20173 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20174 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20175 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20176 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20178 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20180 * sysdeps/tile/preconfigure: Remove tilegx folder.
20181 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20182 * sysdeps/tile/Implies: ... here.
20183 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20184 * sysdeps/tile/Makefile: ... here.
20185 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20186 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20187 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20188 * sysdeps/tile/bits/wordsize.h: ... here.
20189 * sysdeps/tile/tilegx/*: Move to ...
20190 * sysdeps/tile/*: ... here.
20191 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20192 * sysdeps/tile/tilegx32/Implies: ... here.
20193 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20194 * sysdeps/tile/tilegx64/Implies: ... here.
20195 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20197 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20198 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20199 * sysdeps/unix/sysv/linux/tile/*: ... here.
20200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20201 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20203 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20205 * README: Remove tilepro-*-linux-gnu from supported architecture.
20206 * scripts/build-many-glibcs.py: Likewise.
20207 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20208 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20209 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20210 elf_machine_matches_host, elf_machine_dynamic,
20211 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20212 howto, elf_machine_rela): Likewise.
20213 * sysdeps/tile/dl-start.S (_start): Likewise.
20214 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20215 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20216 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20217 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20218 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20219 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20221 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20222 * sysdeps/tile/preconfigure: Likewise.
20223 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20224 POINTER_CHK_GUARD): Likewise.
20225 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20226 * sysdeps/tile/start.S (_start): Likewise.
20227 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20229 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20230 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20232 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20233 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20234 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20236 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20237 * sysdeps/tile/tilepro/Implies: Remove file.
20238 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20239 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20240 * sysdeps/tile/tilepro/memchr.c: Likewise.
20241 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20242 * sysdeps/tile/tilepro/memset.c: Likewise.
20243 * sysdeps/tile/tilepro/memusage.h: Likewise.
20244 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20245 * sysdeps/tile/tilepro/strchr.c: Likewise.
20246 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20247 * sysdeps/tile/tilepro/strlen.c: Likewise.
20248 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20249 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20250 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20251 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20252 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20253 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20254 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20256 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20257 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20258 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20259 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20260 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20261 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20262 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20263 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20264 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20265 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20266 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20267 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20268 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20269 tilepro mention in comment.
20271 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20272 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20273 * nptl/pthread_join_common.c: New file: common function used on
20274 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20275 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20276 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20277 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20278 (cleanup): Move definition to pthread_join_common.c.
20279 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20280 Remove superflous checks.
20281 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20284 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20286 * sysdeps/aarch64/libm-test-ulps: Update.
20288 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20290 * sysdeps/aarch64/memset.S (MEMSET): Define.
20292 2017-12-20 Florian Weimer <fweimer@redhat.com>
20295 nptl: Provide full implementation of pthread_self in libc.so.
20296 * nptl/Makefile (routines): Add pthread_self.
20297 (libpthread-routines): Replace pthread_self with
20298 compat-pthread_self.
20299 * nptl/forward.c (pthread_self): Remove.
20300 * nptl/nptl-init.c (pthread_functions): Do not initialize
20302 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20303 * nptl/compat-pthread_self.c: New file.
20304 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20305 Remove ptr_pthread_self.
20307 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20309 * posix/regcomp.c: Fix spelling in comments.
20310 * posix/regex.h: Likewise.
20311 * posix/regex_internal.c: Likewise.
20312 * posix/regexec.c: Likewise.
20314 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20317 * math/Makefile [C++] (tests): Add test for iseqsig.
20318 * math/math.h [C++] (iseqsig): New implementation, which does
20319 not rely on __MATH_TG/__builtin_types_compatible_p.
20320 * math/test-math-iseqsig.cc: New file.
20321 * sysdeps/powerpc/powerpc64le/Makefile
20322 (CFLAGS-test-math-iseqsig.cc): New variable.
20324 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20326 * elf/dl-load.c (is_trusted_path): Remove.
20327 (fillin_rpath): Remove check_trusted argument and its use,
20328 all callers changed.
20330 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20333 * Makeconfig (link-pie-before-libc): Replace -pie with
20334 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20335 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20336 (tst-dlopen-aout-no-pie): New.
20337 (LDFLAGS-tst-prelink): Removed.
20338 (tst-prelink-no-pie): New.
20339 (LDFLAGS-tst-main1): Removed.
20340 (tst-main1-no-pie): New.
20341 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20342 (tst-gmon-no-pie): New.
20344 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20346 * manual/install.texi: Document that --enable-static-pie
20348 * INSTALL: Regenerated.
20350 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20353 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20356 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20360 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20364 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20367 <errno.h>. Include "eexp.tbl".
20368 (half): New constant.
20370 (__ieee754_exp): Rewrite.
20371 (__slowexp): Remove prototype.
20372 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20373 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20374 * sysdeps/i386/fpu/slowexp.c: Likewise.
20375 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20376 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20377 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20378 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20380 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20381 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20383 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20384 (CPPFLAGS-slowexp.c): Remove variable.
20385 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20386 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20387 (CFLAGS-slowexp-fma.c): Remove variable.
20388 (CFLAGS-slowexp-fma4.c): Likewise.
20389 (CFLAGS-slowexp-avx.c): Likewise.
20390 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20392 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20393 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20394 * math/Makefile (type-double-routines): Remove slowexp.
20395 * manual/probes.texi (slowexp_p6): Remove.
20396 (slowexp_p32): Likewise.
20398 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20400 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20403 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20405 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20409 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20412 <errno.h>. Include "eexp.tbl".
20413 (half): New constant.
20415 (__ieee754_exp): Rewrite.
20416 (__slowexp): Remove prototype.
20417 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20418 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20419 * sysdeps/i386/fpu/slowexp.c: Likewise.
20420 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20421 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20422 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20425 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20426 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20428 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20429 (CPPFLAGS-slowexp.c): Remove variable.
20430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20431 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20432 (CFLAGS-slowexp-fma.c): Remove variable.
20433 (CFLAGS-slowexp-fma4.c): Likewise.
20434 (CFLAGS-slowexp-avx.c): Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20439 * math/Makefile (type-double-routines): Remove slowexp.
20440 * manual/probes.texi (slowexp_p6): Remove.
20441 (slowexp_p32): Likewise.
20443 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20444 James Clarke <jrtc27@jrtc27.com>
20447 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20450 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20453 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20456 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20459 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20460 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20461 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20462 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20465 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20468 * bits/types/__cancel_jmp_buf_tag.h: New file.
20469 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20470 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20471 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20472 * nptl/Makefile (headers): Add
20473 bits/types/__cancel_jmp_buf_tag.h.
20474 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20475 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20476 * sysdeps/nptl/pthread.h: Include
20477 <bits/types/__cancel_jmp_buf_tag.h>.
20478 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20480 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20482 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20484 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20485 --enable-static-pie variants to x86_64, x32 and i686.
20487 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20490 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20491 argument for attrubutes. All callers changed.
20492 (__inline_mathop1): Likewise. All callers changed.
20493 (__inline_mathop): Likewise. All callers changed.
20494 [__USE_MISC] (scalbn): Use __inline_forward instead of
20495 __inline_forward_c.
20496 [__USE_ISOC99] (scalbln): Likewise.
20497 [__USE_ISOC99] (nearbyint): Likewise.
20498 [__USE_ISOC99] (lrint): Likewise.
20499 [__USE_MISC] (scalbnf): Likewise.
20500 [__USE_ISOC99] (scalblnf): Likewise.
20501 [__USE_ISOC99] (nearbyintf): Likewise.
20502 [__USE_ISOC99] (lrintf): Likewise.
20503 [__USE_MISC] (scalbnl): Likewise.
20504 [__USE_ISOC99] (scalblnl): Likewise.
20505 [__USE_ISOC99] (nearbyintl): Likewise.
20506 [__USE_ISOC99] (lrintl): Likewise.
20507 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20508 __inline_mathop and __m81_defun changed.
20510 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20511 CPU or FPU for ARM hard-float configurations.
20513 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20515 * nptl/tst-attr3.c: Include <libc-diag.h>.
20516 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20518 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20520 * string/tester.c (test_strncat): Also disable -Warray-bounds
20521 warnings for two tests.
20523 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20526 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20527 $(cc-pie-default) == yes.
20528 * config.make.in (cc-pie-default): New.
20529 * configure.ac (libc_cv_pie_default): Renamed to ...
20530 (libc_cv_cc_pie_default): This.
20531 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20532 * configure: Regenerated.
20534 2017-12-18 Florian Weimer <fweimer@redhat.com>
20537 ld.so: Harden dl-libc/libdl hooks.
20538 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20539 (rtld_active): New function.
20540 * dlfcn/dladdr.c (__dladdr): Call it.
20541 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20542 * dlfcn/dlclose.c (__dlcose): Likewise.
20543 * dlfcn/dlerror.c (__dlerror): Likewise.
20544 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20545 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20546 * dlfcn/dlopen.c (__dlopen): Likewise.
20547 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20548 * dlfcn/dlsym.c (__dlsym): Likewise.
20549 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20550 * libio/vtables.c (_IO_vtable_check): Likewise.
20551 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20552 (__libc_dlclose): Likewise.
20553 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20556 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20559 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20560 buffers for readlink input and output.
20562 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20565 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20566 inhibit_stack_protector.
20569 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20570 inhibit_stack_protector.
20572 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20575 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20576 code and invocation.
20578 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20580 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20582 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20585 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20587 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20589 * sysdeps/s390/fpu/libm-test-ulps: Update.
20591 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20595 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20597 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20598 constants to s_sincosf.h file.
20599 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20600 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20602 * sysdeps/ieee754/flt-32/s_sincosf.h:
20605 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20608 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20611 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20614 * INSTALL: Regenerated.
20615 * Makeconfig (real-static-start-installed-name): New.
20616 (pic-default): Updated for --enable-static-pie.
20617 (pie-default): New for --enable-static-pie.
20618 (default-pie-ldflag): Likewise.
20619 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20620 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20621 Replace $(static-start-installed-name) with
20622 $(real-static-start-installed-name).
20623 (+prectorT): Updated for --enable-static-pie.
20624 (+postctorT): Likewise.
20625 (CFLAGS-.o): Add $(pie-default).
20626 (CFLAGS-.op): Likewise.
20627 * NEWS: Mention --enable-static-pie.
20628 * config.h.in (ENABLE_STATIC_PIE): New.
20629 * configure.ac (--enable-static-pie): New configure option.
20630 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20631 (have-static-pie): Likewise.
20632 Enable static PIE if linker supports --no-dynamic-linker.
20633 (ENABLE_STATIC_PIE): New AC_DEFINE.
20634 (enable-static-pie): New LIBC_CONFIG_VAR.
20635 * configure: Regenerated.
20636 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20637 gr$(start-installed-name) for --enable-static-pie.
20638 (extra-objs): Likewise.
20639 (install-lib): Likewise.
20640 (extra-objs): Add static-reloc.o and static-reloc.os
20641 ($(objpfx)$(start-installed-name)): Also depend on
20642 $(objpfx)static-reloc.o.
20643 ($(objpfx)r$(start-installed-name)): New.
20644 ($(objpfx)g$(start-installed-name)): Also depend on
20645 $(objpfx)static-reloc.os.
20646 ($(objpfx)gr$(start-installed-name)): New.
20647 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20649 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20651 * csu/static-reloc.c: New file.
20652 * elf/Makefile (routines): Add dl-reloc-static-pie.
20653 (elide-routines.os): Likewise.
20654 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20655 (tst-tls1-static-non-pie-no-pie): New.
20656 * elf/dl-reloc-static-pie.c: New file.
20657 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20658 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20659 STATIC_PIE_BOOTSTRAP.
20660 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20661 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20662 (tests-static): Likewise.
20663 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20664 (tst-gmon-static-no-pie): New.
20665 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20666 (CRT-tst-gmon-static-pie): Likewise.
20667 (tst-gmon-static-pie-ENV): Likewise.
20668 (tests-special): Likewise.
20669 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20670 (clean-tst-gmon-static-pie-data): Likewise.
20671 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20672 * gmon/tst-gmon-static-pie.c: New file.
20673 * manual/install.texi: Document --enable-static-pie.
20674 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20675 (_dl_get_dl_main_map): Likewise.
20676 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20677 * sysdeps/x86_64/configure.ac: Likewise.
20678 * sysdeps/i386/configure: Regenerated.
20679 * sysdeps/x86_64/configure: Likewise.
20680 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20681 (ASFLAGS-.op): Likewise.
20683 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20685 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20686 * posix/tst-mmap-offset.c (fname): Use /tmp.
20687 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20689 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20691 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20693 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20695 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20698 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20700 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20701 --with-float=hard for arm-linux-gnueabihf configurations.
20704 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20705 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20706 ($(mo-installed)): Use $(objpfx)%.mo.
20707 (realclean): Remove rule.
20709 * po/Makefile (linguas): Remove rule and dependencies.
20710 (linguas.mo): Likewise.
20711 (.PHONY): Do not depend on linguas and linguas.mo.
20712 (podir): Remove variable.
20713 (pofiles): Likewise.
20714 [$(pofiles)] (%.po): Remove rule.
20716 * sysdeps/sparc/sparc32/Makefile
20717 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20718 start-of-line whitespace in argument of echo.
20719 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20720 with whitespace. Generate __wrap_.udiv alias.
20721 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20722 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20723 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20724 * sysdeps/sparc/sparc32/urem.S: Likewise.
20726 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20728 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20729 for aligned inputs.
20731 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20733 * benchtests/bench-strcmp.c: Print output in JSON format.
20735 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20737 2017-12-14 Florian Weimer <fweimer@redhat.com>
20741 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20742 the expanded path string.
20744 2017-12-14 Florian Weimer <fweimer@redhat.com>
20748 * elf/dl-load.c (system_dirs): Update comment.
20749 (nsystem_dirs_len): Use array_length.
20750 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20752 2017-12-14 Florian Weimer <fweimer@redhat.com>
20754 Simplify compiling most of support/ outside of glibc.
20755 * support/check_addrinfo.c: Include <string.h>.
20756 * support/check_dns_packet.c: Likewise.
20757 * support/check_hostent.c: Likewise.
20758 * support/support_can_chroot.c: Include <support/xunistd.h>.
20759 * support/support_format_addrinfo.c: Include <stdlib.h>
20760 * support/support_format_dns_packet.c: Include <stdbool.h>.
20761 * support/support_format_hostent.c: Include <stdlib.h>.
20762 * support/support_format_netent.c: Likewise.
20763 * support/support_write_string.c: Include <support/xunistd.h>.
20764 * support/xdlfcn.c: Include <stddef.h>.
20766 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20768 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20770 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20771 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20773 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20774 (sysdeps_routines): Add memset-niagara7.
20775 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20779 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20780 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20781 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20782 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20783 Add niagara7 option.
20784 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20787 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20788 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20789 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20791 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20793 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20794 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20795 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20796 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20797 and __memmove_niagara7.
20798 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20799 Add niagara7 option.
20800 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20801 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20802 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20803 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20804 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20806 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20808 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20809 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20810 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20811 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20813 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20814 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20815 _dl_sparc_cap_flags array.
20816 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20818 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20820 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20821 time whenever possible.
20823 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20825 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20826 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20828 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20830 * soft-fp/fmadf4.c: Move to ....
20831 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20832 * soft-fp/fmasf4.c: Move to ....
20833 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20834 * soft-fp/fmatf4.c: Move to ....
20835 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20836 * sysdeps/ieee754/soft-fp/Makefile: New file.
20837 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20838 * sysdeps/arm/preconfigure: Regenerated.
20839 * sysdeps/arm/nofpu/Implies: New file.
20840 * sysdeps/arm/s_fma.c: Remove file.
20841 * sysdeps/arm/s_fmaf.c: Likewise.
20842 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20843 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20844 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20845 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20846 * sysdeps/microblaze/s_fma.c: Remove file.
20847 * sysdeps/microblaze/s_fmaf.c: Likewise.
20848 * sysdeps/mips/mips32/nofpu/Implies: New file.
20849 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20850 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20851 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20852 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20853 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20854 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20855 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20857 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20858 * sysdeps/nios2/s_fma.c: Remove file.
20859 * sysdeps/nios2/s_fmaf.c: Likewise.
20860 * sysdeps/sh/nofpu/Implies: New file.
20861 * sysdeps/sh/s_fma.c: Remove file.
20862 * sysdeps/sh/s_fmaf.c: Likewise.
20863 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20864 * sysdeps/tile/s_fma.c: Remove file.
20865 * sysdeps/tile/s_fmaf.c: Likewise.
20867 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20869 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20870 Add s_cosf-sse2 and s_cosf-fma.
20871 (CFLAGS-s_cosf-fma.c): New.
20872 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20873 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20874 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20876 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20878 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20880 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20882 * libio/Makefile (tests): Add tst-bz22415.
20883 (tst-bz22415-ENV): New rule.
20884 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20885 (tests-special): Add tst-bz22415-mem.out.
20886 ($(objpfx)tst-bz22415-mem.out): New rule.
20887 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20888 in case of a successful seek operation.
20889 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20890 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20891 buffer is required.
20892 * libio/tst-bz22415.c: New test.
20894 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20896 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20898 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20899 __IPC_64 to 0 to avoid IPC_64 being set.
20901 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20904 * math/bits/mathcalls.h (nextafter): Remove const.
20905 (nexttoward): Likewise.
20907 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20909 * configure.ac (--with-fp): Remove configure option.
20910 (with_fp_cond): New variable.
20911 (libc_cv_with_fp): New configure test. Use this variable instead
20913 * configure: Regenerated.
20914 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20915 * manual/install.texi (Configuring and compiling): Remove
20917 * INSTALL: Regenerated.
20918 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20919 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20920 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20921 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20922 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20923 use --without-fp to configure glibc.
20925 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20927 * manual/locale.texi (nl_langinfo): Fix a typo.
20929 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20932 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20934 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20936 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20937 (CFLAGS-argp-parse.c): Likewise.
20938 (CFLAGS-argp-fmtstream.c): Likewise.
20939 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20940 (CPPFLAGS-sha512-crypt.c): Likewise.
20941 (CPPFLAGS-md5-crypt.c): Likewise.
20942 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20943 (CFLAGS-stack_chk_fail_local.c): Likewise.
20944 (CFLAGS-backtrace.c): Likewise.
20945 (CFLAGS-sprintf_chk.c): Likewise.
20946 (CFLAGS-snprintf_chk.c): Likewise.
20947 (CFLAGS-vsprintf_chk.c): Likewise.
20948 (CFLAGS-vsnprintf_chk.c): Likewise.
20949 (CFLAGS-asprintf_chk.c): Likewise.
20950 (CFLAGS-vasprintf_chk.c): Likewise.
20951 (CFLAGS-obprintf_chk.c): Likewise.
20952 (CFLAGS-dprintf_chk.c): Likewise.
20953 (CFLAGS-vdprintf_chk.c): Likewise.
20954 (CFLAGS-printf_chk.c): Likewise.
20955 (CFLAGS-fprintf_chk.c): Likewise.
20956 (CFLAGS-vprintf_chk.c): Likewise.
20957 (CFLAGS-vfprintf_chk.c): Likewise.
20958 (CFLAGS-gets_chk.c): Likewise.
20959 (CFLAGS-fgets_chk.c): Likewise.
20960 (CFLAGS-fgets_u_chk.c): Likewise.
20961 (CFLAGS-fread_chk.c): Likewise.
20962 (CFLAGS-fread_u_chk.c): Likewise.
20963 (CFLAGS-swprintf_chk.c): Likewise.
20964 (CFLAGS-vswprintf_chk.c): Likewise.
20965 (CFLAGS-wprintf_chk.c): Likewise.
20966 (CFLAGS-fwprintf_chk.c): Likewise.
20967 (CFLAGS-vwprintf_chk.c): Likewise.
20968 (CFLAGS-vfwprintf_chk.c): Likewise.
20969 (CFLAGS-fgetws_chk.c): Likewise.
20970 (CFLAGS-fgetws_u_chk.c): Likewise.
20971 (CFLAGS-read_chk.c): Likewise.
20972 (CFLAGS-pread_chk.c): Likewise.
20973 (CFLAGS-pread64_chk.c): Likewise.
20974 (CFLAGS-recv_chk.c): Likewise.
20975 (CFLAGS-recvfrom_chk.c): Likewise.
20976 (CFLAGS-tst-longjmp_chk.c): Likewise.
20977 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20978 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20979 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20980 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20981 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20982 (CFLAGS-tst-chk1.c): Likewise.
20983 (CFLAGS-tst-chk2.c): Likewise.
20984 (CFLAGS-tst-chk3.c): Likewise.
20985 (CFLAGS-tst-chk4.cc): Likewise.
20986 (CFLAGS-tst-chk5.cc): Likewise.
20987 (CFLAGS-tst-chk6.cc): Likewise.
20988 (CFLAGS-tst-lfschk1.c): Likewise.
20989 (CFLAGS-tst-lfschk2.c): Likewise.
20990 (CFLAGS-tst-lfschk3.c): Likewise.
20991 (CFLAGS-tst-lfschk4.cc): Likewise.
20992 (CFLAGS-tst-lfschk5.cc): Likewise.
20993 (CFLAGS-tst-lfschk6.cc): Likewise.
20994 (CFLAGS-tst-ssp-1.c): Likewise.
20995 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20996 (CFLAGS-scandir64.c): Likewise.
20997 (CFLAGS-scandir-tail.c): Likewise.
20998 (CFLAGS-scandir64-tail.c): Likewise.
20999 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21000 (CFLAGS-dl-tunables.c): Likewise.
21001 (CFLAGS-dl-runtime.c): Likewise.
21002 (CFLAGS-dl-lookup.c): Likewise.
21003 (CFLAGS-dl-iterate-phdr.c): Likewise.
21004 (CFLAGS-vismain.c): Likewise.
21005 (CFLAGS-tst-linkall-static.c): Likewise.
21006 (CFLAGS-tst-linkall-static.c): Likewise.
21007 (CPPFLAGS-dl-load.c): Likewise.
21008 (CFLAGS-ldconfig.c): Likewise.
21009 (CFLAGS-dl-cache.c): Likewise.
21010 (CFLAGS-cache.c): Likewise.
21011 (CFLAGS-rtld.c): Likewise.
21012 (CFLAGS-multiload.c): Likewise.
21013 (CFLAGS-filtmod1.c): Likewise.
21014 (CFLAGS-tst-align.c): Likewise.
21015 (CFLAGS-tst-align2.c): Likewise.
21016 (CFLAGS-tst-alignmod.c): Likewise.
21017 (CFLAGS-tst-alignmod2.c): Likewise.
21018 (CPPFLAGS-tst-execstack.c): Likewise.
21019 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21020 (CFLAGS-tst-latepthreadmod.c): Likewise.
21021 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21022 (CFLAGS-getgrnam_r.c): Likewise.
21023 (CFLAGS-getgrent_r.c): Likewise.
21024 (CFLAGS-getgrent.c): Likewise.
21025 (CFLAGS-fgetgrent.c): Likewise.
21026 (CFLAGS-fgetgrent_r.c): Likewise.
21027 (CFLAGS-putgrent.c): Likewise.
21028 (CFLAGS-initgroups.c): Likewise.
21029 (CFLAGS-getgrgid.c): Likewise.
21030 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21031 (CFLAGS-getsgent.c): Likewise.
21032 (CFLAGS-fgetsgent.c): Likewise.
21033 (CFLAGS-fgetsgent_r.c): Likewise.
21034 (CFLAGS-putsgent.c): Likewise.
21035 (CFLAGS-getsgnam.c): Likewise.
21036 (CFLAGS-getsgnam_r.c): Likewise.
21037 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21038 (CFLAGS-iconv_charmap.c): Likewise.
21039 (CFLAGS-dummy-repertoire.c): Likewise.
21040 (CFLAGS-charmap.c): Likewise.
21041 (CFLAGS-linereader.c): Likewise.
21042 (CFLAGS-simple-hash.c): Likewise.
21043 (CFLAGS-gconv_conf.c): Likewise.
21044 (CFLAGS-iconvconfig.c): Likewise.
21045 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21046 (CFLAGS-gethstbyad.c): Likewise.
21047 (CFLAGS-gethstbynm_r.c): Likewise.
21048 (CFLAGS-gethstbynm.c): Likewise.
21049 (CFLAGS-gethstbynm2_r.c): Likewise.
21050 (CFLAGS-gethstbynm2.c): Likewise.
21051 (CFLAGS-gethstent_r.c): Likewise.
21052 (CFLAGS-gethstent.c): Likewise.
21053 (CFLAGS-rcmd.c): Likewise.
21054 (CFLAGS-getnetbynm_r.c): Likewise.
21055 (CFLAGS-getnetbynm.c): Likewise.
21056 (CFLAGS-getnetbyad_r.c): Likewise.
21057 (CFLAGS-getnetbyad.c): Likewise.
21058 (CFLAGS-getnetent_r.c): Likewise.
21059 (CFLAGS-getnetent.c): Likewise.
21060 (CFLAGS-getaliasent_r.c): Likewise.
21061 (CFLAGS-getaliasent.c): Likewise.
21062 (CFLAGS-getrpcent_r.c): Likewise.
21063 (CFLAGS-getrpcent.c): Likewise.
21064 (CFLAGS-getservent_r.c): Likewise.
21065 (CFLAGS-getservent.c): Likewise.
21066 (CFLAGS-getprtent_r.c): Likewise.
21067 (CFLAGS-getprtent.c): Likewise.
21068 (CFLAGS-either_ntoh.c): Likewise.
21069 (CFLAGS-either_hton.c): Likewise.
21070 (CFLAGS-getnetgrent.c): Likewise.
21071 (CFLAGS-getnetgrent_r.c): Likewise.
21072 (CFLAGS-tst-checks-posix.c): Likewise.
21073 (CFLAGS-tst-sockaddr.c): Likewise.
21074 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21075 (CFLAGS-tst-translit.c): Likewise.
21076 (CFLAGS-tst-gettext2.c): Likewise.
21077 (CFLAGS-tst-codeset.c): Likewise.
21078 (CFLAGS-tst-gettext3.c): Likewise.
21079 (CFLAGS-tst-gettext4.c): Likewise.
21080 (CFLAGS-tst-gettext5.c): Likewise.
21081 (CFLAGS-tst-gettext6.c): Likewise.
21082 * io/Makefile (CFLAGS-open.c): Likewise.
21083 (CFLAGS-open64.c): Likewise.
21084 (CFLAGS-creat.c): Likewise.
21085 (CFLAGS-creat64.c): Likewise.
21086 (CFLAGS-fcntl.c): Likewise.
21087 (CFLAGS-poll.c): Likewise.
21088 (CFLAGS-ppoll.c): Likewise.
21089 (CFLAGS-lockf.c): Likewise.
21090 (CFLAGS-statfs.c): Likewise.
21091 (CFLAGS-fstatfs.c): Likewise.
21092 (CFLAGS-statvfs.c): Likewise.
21093 (CFLAGS-fstatvfs.c): Likewise.
21094 (CFLAGS-fts.c): Likewise.
21095 (CFLAGS-fts64.c): Likewise.
21096 (CFLAGS-ftw.c): Likewise.
21097 (CFLAGS-ftw64.c): Likewise.
21098 (CFLAGS-lockf.c): Likewise.
21099 (CFLAGS-posix_fallocate.c): Likewise.
21100 (CFLAGS-posix_fallocate64.c): Likewise.
21101 (CFLAGS-fallocate.c): Likewise.
21102 (CFLAGS-fallocate64.c): Likewise.
21103 (CFLAGS-read.c): Likewise.
21104 (CFLAGS-write.c): Likewise.
21105 (CFLAGS-test-stat.c): Likewise.
21106 (CFLAGS-test-lfs.c): Likewise.
21107 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21108 (CFLAGS-fputc.c): Likewise.
21109 (CFLAGS-fputwc.c): Likewise.
21110 (CFLAGS-freopen64.c): Likewise.
21111 (CFLAGS-freopen.c): Likewise.
21112 (CFLAGS-fseek.c): Likewise.
21113 (CFLAGS-fseeko64.c): Likewise.
21114 (CFLAGS-fseeko.c): Likewise.
21115 (CFLAGS-ftello64.c): Likewise.
21116 (CFLAGS-ftello.c): Likewise.
21117 (CFLAGS-fwide.c): Likewise.
21118 (CFLAGS-genops.c): Likewise.
21119 (CFLAGS-getc.c): Likewise.
21120 (CFLAGS-getchar.c): Likewise.
21121 (CFLAGS-getwc.c): Likewise.
21122 (CFLAGS-getwchar.c): Likewise.
21123 (CFLAGS-iofclose.c): Likewise.
21124 (CFLAGS-iofflush.c): Likewise.
21125 (CFLAGS-iofgetpos64.c): Likewise.
21126 (CFLAGS-iofgetpos.c): Likewise.
21127 (CFLAGS-iofgets.c): Likewise.
21128 (CFLAGS-iofgetws.c): Likewise.
21129 (CFLAGS-iofputs.c): Likewise.
21130 (CFLAGS-iofputws.c): Likewise.
21131 (CFLAGS-iofread.c): Likewise.
21132 (CFLAGS-iofsetpos64.c): Likewise.
21133 (CFLAGS-iofsetpos.c): Likewise.
21134 (CFLAGS-ioftell.c): Likewise.
21135 (CFLAGS-iofwrite.c): Likewise.
21136 (CFLAGS-iogetdelim.c): Likewise.
21137 (CFLAGS-iogetline.c): Likewise.
21138 (CFLAGS-iogets.c): Likewise.
21139 (CFLAGS-iogetwline.c): Likewise.
21140 (CFLAGS-ioputs.c): Likewise.
21141 (CFLAGS-ioseekoff.c): Likewise.
21142 (CFLAGS-ioseekpos.c): Likewise.
21143 (CFLAGS-iosetbuffer.c): Likewise.
21144 (CFLAGS-iosetvbuf.c): Likewise.
21145 (CFLAGS-ioungetc.c): Likewise.
21146 (CFLAGS-ioungetwc.c): Likewise.
21147 (CFLAGS-oldfileops.c): Likewise.
21148 (CFLAGS-oldiofclose.c): Likewise.
21149 (CFLAGS-oldiofgetpos64.c): Likewise.
21150 (CFLAGS-oldiofgetpos.c): Likewise.
21151 (CFLAGS-oldiofsetpos64.c): Likewise.
21152 (CFLAGS-oldiofsetpos.c): Likewise.
21153 (CFLAGS-peekc.c): Likewise.
21154 (CFLAGS-putc.c): Likewise.
21155 (CFLAGS-putchar.c): Likewise.
21156 (CFLAGS-putwc.c): Likewise.
21157 (CFLAGS-putwchar.c): Likewise.
21158 (CFLAGS-rewind.c): Likewise.
21159 (CFLAGS-wfileops.c): Likewise.
21160 (CFLAGS-wgenops.c): Likewise.
21161 (CFLAGS-oldiofopen.c): Likewise.
21162 (CFLAGS-iofopen.c): Likewise.
21163 (CFLAGS-iofopen64.c): Likewise.
21164 (CFLAGS-oldtmpfile.c): Likewise.
21165 (CFLAGS-tst_putwc.c): Likewise.
21166 * locale/Makefile (CFLAGS-md5.c): Likewise.
21167 (CFLAGS-charmap.c): Likewise.
21168 (CFLAGS-locfile.c): Likewise.
21169 (CFLAGS-charmap-dir.c): Likewise.
21170 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21171 (CFLAGS-getpt.c): Likewise.
21172 (CFLAGS-pt_chown.c): Likewise.
21173 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21174 (CFLAGS-obstack.c): Likewise.
21175 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21176 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21177 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21178 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21179 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21180 (CFLAGS-test-tgmath.c): Likewise.
21181 (CFLAGS-test-tgmath2.c): Likewise.
21182 (CFLAGS-test-tgmath-ret.c): Likewise.
21183 (CFLAGS-test-powl.c): Likewise.
21184 (CFLAGS-test-snan.c): Likewise.
21185 (CFLAGS-test-signgam-finite.c): Likewise.
21186 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21187 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21188 (CFLAGS-test-signgam-uchar.c): Likewise.
21189 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21190 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21191 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21192 (CFLAGS-test-signgam-uint.c): Likewise.
21193 (CFLAGS-test-signgam-uint-init.c): Likewise.
21194 (CFLAGS-test-signgam-uint-static.c): Likewise.
21195 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21196 (CFLAGS-test-signgam-ullong.c): Likewise.
21197 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21198 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21199 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21200 (CFLAGS-test-math-cxx11.cc): Likewise.
21201 (CFLAGS-test-math-isinff.cc): Likewise.
21202 (CFLAGS-test-math-iszero.cc): Likewise.
21203 (CFLAGS-test-math-issignaling.cc): Likewise.
21204 (CFLAGS-test-math-iscanonical.cc): Likewise.
21205 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21206 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21207 (CFLAGS-test-flt-eval-method.c): Likewise.
21208 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21209 (CFLAGS-test-finite-macros.c): Likewise.
21210 * misc/Makefile (CFLAGS-select.c): Likewise.
21211 (CFLAGS-tsearch.c): Likewise.
21212 (CFLAGS-lsearch.c): Likewise.
21213 (CFLAGS-pselect.c): Likewise.
21214 (CFLAGS-readv.c): Likewise.
21215 (CFLAGS-writev.c): Likewise.
21216 (CFLAGS-preadv.c): Likewise.
21217 (CFLAGS-preadv64.c): Likewise.
21218 (CFLAGS-pwritev.c): Likewise.
21219 (CFLAGS-pwritev64.c): Likewise.
21220 (CFLAGS-preadv2.c): Likewise.
21221 (CFLAGS-preadv64v2.c): Likewise.
21222 (CFLAGS-pwritev2.c): Likewise.
21223 (CFLAGS-pwritev64v2.c): Likewise.
21224 (CFLAGS-usleep.c): Likewise.
21225 (CFLAGS-syslog.c): Likewise.
21226 (CFLAGS-error.c): Likewise.
21227 (CFLAGS-getpass.c): Likewise.
21228 (CFLAGS-mkstemp.c): Likewise.
21229 (CFLAGS-mkstemp64.c): Likewise.
21230 (CFLAGS-getsysstats.c): Likewise.
21231 (CFLAGS-getusershell.c): Likewise.
21232 (CFLAGS-err.c): Likewise.
21233 (CFLAGS-tst-tsearch.c): Likewise.
21234 (CFLAGS-msync.c): Likewise.
21235 (CFLAGS-fdatasync.c): Likewise.
21236 (CFLAGS-fsync.c): Likewise.
21237 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21238 (CFLAGS-unwind.c): Likewise.
21239 (CFLAGS-unwind-forcedunwind.c): Likewise.
21240 (CFLAGS-pthread_cancel.c): Likewise.
21241 (CFLAGS-pthread_setcancelstate.c): Likewise.
21242 (CFLAGS-pthread_setcanceltype.c): Likewise.
21243 (CFLAGS-cancellation.c): Likewise.
21244 (CFLAGS-libc-cancellation.c): Likewise.
21245 (CFLAGS-pthread_exit.c): Likewise.
21246 (CFLAGS-forward.c): Likewise.
21247 (CFLAGS-pthread_testcancel.c): Likewise.
21248 (CFLAGS-pthread_join.c): Likewise.
21249 (CFLAGS-pthread_timedjoin.c): Likewise.
21250 (CFLAGS-pthread_once.c): Likewise.
21251 (CFLAGS-pthread_cond_wait.c): Likewise.
21252 (CFLAGS-sem_wait.c): Likewise.
21253 (CFLAGS-sem_timedwait.c): Likewise.
21254 (CFLAGS-fcntl.c): Likewise.
21255 (CFLAGS-lockf.c): Likewise.
21256 (CFLAGS-pread.c): Likewise.
21257 (CFLAGS-pread64.c): Likewise.
21258 (CFLAGS-pwrite.c): Likewise.
21259 (CFLAGS-pwrite64.c): Likewise.
21260 (CFLAGS-wait.c): Likewise.
21261 (CFLAGS-waitpid.c): Likewise.
21262 (CFLAGS-sigwait.c): Likewise.
21263 (CFLAGS-msgrcv.c): Likewise.
21264 (CFLAGS-msgsnd.c): Likewise.
21265 (CFLAGS-tcdrain.c): Likewise.
21266 (CFLAGS-open.c): Likewise.
21267 (CFLAGS-open64.c): Likewise.
21268 (CFLAGS-pause.c): Likewise.
21269 (CFLAGS-recv.c): Likewise.
21270 (CFLAGS-send.c): Likewise.
21271 (CFLAGS-accept.c): Likewise.
21272 (CFLAGS-sendto.c): Likewise.
21273 (CFLAGS-connect.c): Likewise.
21274 (CFLAGS-recvfrom.c): Likewise.
21275 (CFLAGS-recvmsg.c): Likewise.
21276 (CFLAGS-sendmsg.c): Likewise.
21277 (CFLAGS-close.c): Likewise.
21278 (CFLAGS-read.c): Likewise.
21279 (CFLAGS-write.c): Likewise.
21280 (CFLAGS-nanosleep.c): Likewise.
21281 (CFLAGS-sigsuspend.c): Likewise.
21282 (CFLAGS-msync.c): Likewise.
21283 (CFLAGS-fdatasync.c): Likewise.
21284 (CFLAGS-fsync.c): Likewise.
21285 (CFLAGS-pt-system.c): Likewise.
21286 (CFLAGS-tst-cleanup2.c): Likewise.
21287 (CFLAGS-tst-cleanupx2.c): Likewise.
21288 (CFLAGS-flockfile.c): Likewise.
21289 (CFLAGS-ftrylockfile.c): Likewise.
21290 (CFLAGS-funlockfile.c): Likewise.
21291 (CFLAGS-tst-initializers1.c): Likewise.
21292 (CFLAGS-tst-initializers1-c89.c): Likewise.
21293 (CFLAGS-tst-initializers1-c99.c): Likewise.
21294 (CFLAGS-tst-initializers1-c11.c): Likewise.
21295 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21296 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21297 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21298 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21299 (CFLAGS-nscd_getgr_r.c): Likewise.
21300 (CFLAGS-nscd_gethst_r.c): Likewise.
21301 (CFLAGS-nscd_getai.c): Likewise.
21302 (CFLAGS-nscd_initgroups.c): Likewise.
21303 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21304 (CFLAGS-pause.c): Likewise.
21305 (CFLAGS-pread.c): Likewise.
21306 (CFLAGS-pread64.c): Likewise.
21307 (CFLAGS-pwrite.c): Likewise.
21308 (CFLAGS-pwrite64.c): Likewise.
21309 (CFLAGS-sleep.c): Likewise.
21310 (CFLAGS-wait.c): Likewise.
21311 (CFLAGS-waitid.c): Likewise.
21312 (CFLAGS-waitpid.c): Likewise.
21313 (CFLAGS-getopt.c): Likewise.
21314 (CFLAGS-wordexp.c): Likewise.
21315 (CFLAGS-sysconf.c): Likewise.
21316 (CFLAGS-pathconf.c): Likewise.
21317 (CFLAGS-fpathconf.c): Likewise.
21318 (CFLAGS-spawn.c): Likewise.
21319 (CFLAGS-spawnp.c): Likewise.
21320 (CFLAGS-spawni.c): Likewise.
21321 (CFLAGS-glob.c): Likewise.
21322 (CFLAGS-glob64.c): Likewise.
21323 (CFLAGS-getconf.c): Likewise.
21324 (CFLAGS-nanosleep.c): Likewise.
21325 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21326 (CFLAGS-getpwent.c): Likewise.
21327 (CFLAGS-getpw.c): Likewise.
21328 (CFLAGS-fgetpwent_r.c): Likewise.
21329 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21330 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21331 (CFLAGS-mq_timedreceive.c): Likewise.
21332 (CFLAGS-mq_timedsend.c): Likewise.
21333 (CFLAGS-clock_nanosleep.c): Likewise.
21334 (CFLAGS-librt-cancellation.c): Likewise.
21335 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21336 (CFLAGS-getspent.c): Likewise.
21337 (CFLAGS-fgetspent.c): Likewise.
21338 (CFLAGS-fgetspent_r.c): Likewise.
21339 (CFLAGS-putspent.c): Likewise.
21340 (CFLAGS-getspnam.c): Likewise.
21341 (CFLAGS-getspnam_r.c): Likewise.
21342 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21343 (CFLAGS-sigsuspend.c): Likewise.
21344 (CFLAGS-sigtimedwait.c): Likewise.
21345 (CFLAGS-sigwait.c): Likewise.
21346 (CFLAGS-sigwaitinfo.c): Likewise.
21347 (CFLAGS-sigreturn.c): Likewise.
21348 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21349 (CFLAGS-vfwprintf.c): Likewise.
21350 (CFLAGS-tmpfile.c): Likewise.
21351 (CFLAGS-tmpfile64.c): Likewise.
21352 (CFLAGS-tempname.c): Likewise.
21353 (CFLAGS-psignal.c): Likewise.
21354 (CFLAGS-vprintf.c): Likewise.
21355 (CFLAGS-cuserid.c): Likewise.
21356 (CFLAGS-errlist.c): Likewise.
21357 (CFLAGS-siglist.c): Likewise.
21358 (CFLAGS-scanf15.c): Likewise.
21359 (CFLAGS-scanf17.c): Likewise.
21360 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21361 (CFLAGS-msort.c): Likewise.
21362 (CFLAGS-qsort.c): Likewise.
21363 (CFLAGS-system.c): Likewise.
21364 (CFLAGS-fmtmsg.c): Likewise.
21365 (CFLAGS-strfmon.c): Likewise.
21366 (CFLAGS-strfmon_l.c): Likewise.
21367 (CFLAGS-strfromd.c): Likewise.
21368 (CFLAGS-strfromf.c): Likewise.
21369 (CFLAGS-strfroml.c): Likewise.
21370 (CFLAGS-tst-bsearch.c): Likewise.
21371 (CFLAGS-tst-qsort.c): Likewise.
21372 (CFLAGS-tst-makecontext2.c): Likewise.
21373 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21374 (CFLAGS-xnlm_prot.c): Likewise.
21375 (CFLAGS-xrstat.c): Likewise.
21376 (CFLAGS-xyppasswd.c): Likewise.
21377 (CFLAGS-xklm_prot.c): Likewise.
21378 (CFLAGS-xrex.c): Likewise.
21379 (CFLAGS-xsm_inter.c): Likewise.
21380 (CFLAGS-xmount.c): Likewise.
21381 (CFLAGS-xrusers.c): Likewise.
21382 (CFLAGS-xspray.c): Likewise.
21383 (CFLAGS-xnfs_prot.c): Likewise.
21384 (CFLAGS-xrquota.c): Likewise.
21385 (CFLAGS-xkey_prot.c): Likewise.
21386 (CFLAGS-auth_unix.c): Likewise.
21387 (CFLAGS-key_call.c): Likewise.
21388 (CFLAGS-pmap_rmt.c): Likewise.
21389 (CFLAGS-clnt_perr.c): Likewise.
21390 (CFLAGS-openchild.c): Likewise.
21391 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21392 (CFLAGS-msgsnd.c): Likewise.
21393 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21394 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21395 (CFLAGS-tzset.c): Likewise.
21396 (CFLAGS-getdate.c): Likewise.
21397 (CFLAGS-test_time.c): Likewise.
21398 (CPPFLAGS-tst-tzname.c): Likewise.
21399 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21400 (CFLAGS-zic.c): Likewise.
21401 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21402 (CFLAGS-wcswidth.c): Likewise.
21403 (CFLAGS-wcstol.c): Likewise.
21404 (CFLAGS-wcstoul.c): Likewise.
21405 (CFLAGS-wcstoll.c): Likewise.
21406 (CFLAGS-wcstoull.c): Likewise.
21407 (CFLAGS-wcstod.c): Likewise.
21408 (CFLAGS-wcstold.c): Likewise.
21409 (CFLAGS-wcstof128.c): Likewise.
21410 (CFLAGS-wcstof.c): Likewise.
21411 (CFLAGS-wcstol_l.c): Likewise.
21412 (CFLAGS-wcstoul_l.c): Likewise.
21413 (CFLAGS-wcstoll_l.c): Likewise.
21414 (CFLAGS-wcstoull_l.c): Likewise.
21415 (CFLAGS-wcstod_l.c): Likewise.
21416 (CFLAGS-wcstold_l.c): Likewise.
21417 (CFLAGS-wcstof128_l.c): Likewise.
21418 (CFLAGS-wcstof_l.c): Likewise.
21419 (CPPFLAGS-tst-wchar-h.c): Likewise.
21420 (CPPFLAGS-wcstold_l.c): Likewise.
21422 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21424 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21426 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21427 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21429 * manual/tunables.texi (Hardware Capability Tunables): Document
21430 glibc.tune.cached_memopt.
21431 * sysdeps/powerpc/cpu-features.c: New file.
21432 * sysdeps/powerpc/cpu-features.h: New file.
21433 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21434 _dl_powerpc_cpu_features.
21435 * sysdeps/powerpc/dl-tunables.list: New file.
21436 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21437 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21438 (INIT_ARCH): Initialize use_aligned_memopt.
21439 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21440 IS_IN(rtld))]: Restrict dl_platform_init availability and
21441 initialize CPU features used by tunables.
21442 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21443 Add memcpy-power8-cached.
21444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21445 __memcpy_power8_cached.
21446 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21447 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21450 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21452 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21453 (CFLAGS-noinl-tester.c): Likewise.
21454 (CFLAGS-tst-strlen.c): Likewise.
21455 (CFLAGS-stratcliff.c): Likewise.
21456 (CFLAGS-test-ffs.c): Likewise.
21457 (CFLAGS-tst-inlcall.c): Likewise.
21458 (CFLAGS-tst-xbzero-opt.c): Likewise.
21459 (CFLAGS-memcpy.c): Likewise.
21460 (CFLAGS-wordcopy.c): Likewise.
21462 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21464 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21465 Store r15 on stack and add cfi rule.
21466 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21469 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21472 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21475 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21478 Add s_sinf-sse2 and s_sinf-fma.
21479 (CFLAGS-s_sinf-fma.c): New.
21480 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21481 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21482 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21484 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21486 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21488 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21491 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21492 part of result to imaginary part of argument if it is zero and the
21493 real part of the argument is not finite.
21494 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21495 of result to real part of argument if it is zero and the imaginary
21496 part of the argument is not finite.
21498 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21501 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21502 and to the list of locales to be built for testing.
21503 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21504 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21505 and build the collation rules upon that.
21507 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21509 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21510 * manual/math.texi (Mathematics): Document support for _Float32.
21511 * math/Makefile (test-types): Add float32.
21512 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21513 * stdlib/Versions (GLIBC_2.27): Likewise.
21514 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21515 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21516 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21520 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21521 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21522 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21523 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21524 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21525 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21526 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21527 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21528 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21529 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21530 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21531 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21532 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21533 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21534 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21535 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21537 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21559 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21560 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21561 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21562 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21563 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21564 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21565 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21566 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21567 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21568 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21577 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21578 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21579 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21580 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21581 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21582 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21583 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21584 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21586 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21588 * stdlib/strtof.c: Include <bits/floatn.h>
21589 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21590 and later undefine as macro. Define as weak alias if
21592 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21593 and later undefine as macro. Define as weak alias if
21595 * stdlib/strtof_l.c: Include <bits/floatn.h>
21596 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21597 and later undefine as macro. Define as weak alias if
21599 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21600 and later undefine as macro. Define as weak alias if
21603 * stdlib/strfromf.c: Include <bits/floatn.h>.
21604 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21605 and later undefine as macro and define as weak alias.
21607 * math/test-float32.h: New file.
21609 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21610 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21611 (libm_alias_float_other_r): Create f32 alias.
21612 (libm_alias_float_r): Use semicolon before call to
21613 libm_alias_float_other_r.
21615 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21616 second argument to libm_alias_float_other.
21617 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21618 second argument to libm_alias_float_other.
21619 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21620 argument to libm_alias_float_other.
21623 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21624 real part of result for argument 0 + i * NaN.
21625 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21626 results for tests of 0 + i * NaN.
21628 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21630 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21632 2017-12-06 David S. Miller <davem@davemloft.net>
21634 * sysdeps/sparc/fpu/libm-test-ulps: Update
21635 exp_{downward,towardzero,upward} ulps.
21637 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21639 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21642 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21644 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21646 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21648 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21651 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21654 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21655 and to the list of locales to be built for testing.
21656 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21657 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21658 and build the collation rules upon that.
21660 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21662 * NEWS: Add sinf to list of optimized functions.
21664 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21666 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21667 (__HAVE_FLOAT32X): Likewise.
21668 * manual/math.texi (Mathematics): Document support for _Float64
21670 * math/Makefile (test-types): Add float64 and float32x.
21671 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21673 * stdlib/Versions (GLIBC_2.27): Likewise.
21674 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21675 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21676 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21677 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21678 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21679 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21680 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21681 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21682 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21683 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21684 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21685 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21686 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21687 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21689 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21690 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21691 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21692 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21693 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21694 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21695 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21697 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21698 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21699 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21700 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21701 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21719 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21721 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21722 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21723 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21724 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21725 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21726 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21727 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21736 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21737 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21738 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21739 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21740 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21741 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21742 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21743 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21745 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21747 * bits/floatn-common.h: Include <bits/long-double.h>.
21748 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21749 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21750 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21751 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21752 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21753 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21754 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21755 (__builtin_huge_valf64): Use __builtin_huge_vall.
21756 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21757 (__builtin_inff64): Use __builtin_infl.
21758 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21759 (__builtin_nanf64): Use __builtin_nanl.
21760 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21761 (__builtin_nansf64): Use __builtin_nansl.
21763 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21764 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21765 Carlos O'Donnell <carlos@redhat.com>
21767 * elf/dl-tunables.list: Add elision parameters.
21768 * manual/tunables.texi: Add entries about elision tunable.
21769 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21770 Add callback functions to dynamically enable/disable elision.
21771 Add multiple callbacks functions to set elision parameters.
21772 Deleted __libc_enable_secure check.
21773 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21774 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21775 * configure: Regenerated.
21776 * configure.ac: Option enable_lock_elision was deleted.
21777 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21778 * config.make.in: Remove references to enable_lock_elision.
21779 * manual/install.texi: Elision configure option was removed.
21780 * INSTALL: Regenerated to remove enable_lock_elision.
21782 Disable elision so it can verify error case for destroying a mutex.
21783 * sysdeps/powerpc/nptl/elide.h:
21784 Cleanup ENABLE_LOCK_ELISION check.
21785 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21786 * sysdeps/s390/configure: Regenerated.
21787 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21788 * nptl/tst-mutex8.c:
21789 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21790 * sysdeps/powerpc/powerpc32/sysdep.h:
21791 Deleted all ENABLE_LOCK_ELISION checks.
21792 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21793 * sysdeps/powerpc/sysdep.h: Likewise.
21794 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21795 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21796 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21797 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21798 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21799 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21800 enable-lock-elision.
21802 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21804 * stdlib/strtod.c: Include <bits/floatn.h>.
21805 (BUILD_DOUBLE): New macro.
21806 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21807 (strtof64): Define and later undefine as macro. Define as weak
21808 alias if [!USE_WIDE_CHAR].
21809 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21810 (wcstof64): Define and later undefine as macro. Define as weak
21811 alias if [USE_WIDE_CHAR].
21812 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21813 (strtof32x): Define and later undefine as macro. Define as weak
21814 alias if [!USE_WIDE_CHAR].
21815 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21816 (wcstof32x): Define and later undefine as macro. Define as weak
21817 alias if [USE_WIDE_CHAR].
21818 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21819 (BUILD_DOUBLE): New macro.
21820 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21821 (strtof64_l): Define and later undefine as macro. Define as weak
21822 alias if [!USE_WIDE_CHAR].
21823 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21824 (wcstof64_l): Define and later undefine as macro. Define as weak
21825 alias if [USE_WIDE_CHAR].
21826 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21827 (strtof32x_l): Define and later undefine as macro. Define as weak
21828 alias if [!USE_WIDE_CHAR].
21829 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21830 (wcstof32x_l): Define and later undefine as macro. Define as weak
21831 alias if [USE_WIDE_CHAR].
21833 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21835 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21836 (reduced): Use ones as double instead of integer.
21838 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21840 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21842 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21844 * stdlib/strfromd.c: Include <bits/floatn.h>.
21845 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21846 and later undefine as macro and define as weak alias.
21847 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21850 * math/test-float32x.h: New file.
21851 * math/test-float64.h: Likewise.
21853 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21854 (libm_alias_double_other_r_f64): New macro.
21855 (libm_alias_double_other_r_f32x): Likewise.
21856 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21857 libm_alias_double_other_r_f32x.
21858 (libm_alias_double_r): Use semicolon before call to
21859 libm_alias_double_other_r.
21860 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21862 (libm_alias_double_other_r_f64): New macro.
21863 (libm_alias_double_other_r_f32x): Likewise.
21864 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21865 libm_alias_double_other_r_f32x.
21867 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21869 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21871 (SINF_FUNC): Likewise. Replace floor with simple casts.
21873 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21876 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21877 and to the list of locales to be built for testing.
21878 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21879 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21880 and build the collation rules upon that.
21882 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21884 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21885 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21886 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21887 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21888 instead of __insn__xxx.
21889 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21890 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21891 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21892 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21893 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21894 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21896 2017-12-05 Florian Weimer <fweimer@redhat.com>
21898 Linux: Implement interfaces for memory protection keys
21899 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21901 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21902 * support/xunistd.h (xsysconf): Declare.
21903 * support/xraise.c: New file.
21904 * support/xsigaction.c: Likewise.
21905 * support/xsignal.c: Likewise.
21906 * support/xsysconf.c: Likewise.
21907 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21908 pkey_set, pkey_get, pkey_mprotect.
21909 [misc] (tests): Add tst-pkey.
21910 (tst-pkey): Link with -lpthread.
21911 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21912 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21913 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21914 (PKEY_DISABLE_WRITE): Define.
21915 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21917 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21918 (SEGV_PKUERR): Add.
21919 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21920 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21921 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21922 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21924 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21925 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21926 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21927 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21928 * sysdeps/unix/sysv/linux/**.abilist: Update.
21930 2017-12-05 Florian Weimer <fweimer@redhat.com>
21932 * support/tst-test_compare.c (subprocess): Use long long instead
21933 of long argument for consistent type width across 32-bit and
21934 64-bit architectures.
21935 (do_test): Adjust expected output.
21937 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21939 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21940 (cosf): Define using libm_alias_float.
21941 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21942 (fabsf): Define using libm_alias_float.
21943 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21944 (fmaf): Define using libm_alias_float.
21945 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21946 (rintf): Define using libm_alias_float.
21947 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21948 (sinf): Define using libm_alias_float.
21949 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21950 <libm-alias-float.h>.
21951 (modff): Define using libm_alias_float.
21952 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21953 <libm-alias-float.h>.
21954 (logbf): Define using libm_alias_float.
21955 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21956 <libm-alias-float.h>.
21957 (ceilf): Define using libm_alias_float.
21958 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21959 <libm-alias-float.h>.
21960 (copysignf): Define using libm_alias_float.
21961 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21962 <libm-alias-float.h>.
21963 (floorf): Define using libm_alias_float.
21964 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21965 <libm-alias-float.h>.
21966 (llrintf): Define using libm_alias_float.
21967 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21968 <libm-alias-float.h>.
21969 (llroundf): Define using libm_alias_float.
21970 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21971 <libm-alias-float.h>.
21972 (lrintf): Define using libm_alias_float.
21973 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21974 <libm-alias-float.h>.
21975 (lroundf): Define using libm_alias_float.
21976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21977 <libm-alias-float.h>.
21978 (nearbyintf): Define using libm_alias_float.
21979 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21980 <libm-alias-float.h>.
21981 (rintf): Define using libm_alias_float.
21982 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21983 <libm-alias-float.h>.
21984 (roundf): Define using libm_alias_float.
21985 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21986 <libm-alias-float.h>.
21987 (truncf): Define using libm_alias_float.
21988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21989 Include <libm-alias-float.h>.
21990 (ceilf): Define using libm_alias_float.
21991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21992 Include <libm-alias-float.h>.
21993 (copysignf): Define using libm_alias_float.
21994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21995 Include <libm-alias-float.h>.
21996 (floorf): Define using libm_alias_float.
21997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21998 Include <libm-alias-float.h>.
21999 (llrintf): Define using libm_alias_float.
22000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22001 Include <libm-alias-float.h>.
22002 (llroundf): Define using libm_alias_float.
22003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22004 Include <libm-alias-float.h>.
22005 (logbf): Define using libm_alias_float.
22006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22007 Include <libm-alias-float.h>.
22008 (lrintf): Define using libm_alias_float.
22009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22010 Include <libm-alias-float.h>.
22011 (lroundf): Define using libm_alias_float.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22013 Include <libm-alias-float.h>.
22014 (modff): Define using libm_alias_float.
22015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22016 Include <libm-alias-float.h>.
22017 (roundf): Define using libm_alias_float.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22019 Include <libm-alias-float.h>.
22020 (truncf): Define using libm_alias_float.
22021 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22022 <libm-alias-float.h>.
22023 (llrintf): Define using libm_alias_float.
22024 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22025 <libm-alias-float.h>.
22026 (llroundf): Define using libm_alias_float.
22027 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22028 <libm-alias-float.h>.
22029 (ceilf): Define using libm_alias_float.
22030 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22031 <libm-alias-float.h>.
22032 (floorf): Define using libm_alias_float.
22033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22034 <libm-alias-float.h>.
22035 (llroundf): Define using libm_alias_float.
22036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22037 <libm-alias-float.h>.
22038 (lroundf): Define using libm_alias_float.
22039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22040 <libm-alias-float.h>.
22041 (roundf): Define using libm_alias_float.
22042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22043 <libm-alias-float.h>.
22044 (truncf): Define using libm_alias_float.
22045 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22046 <libm-alias-float.h>.
22047 (copysignf): Define using libm_alias_float.
22048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22049 <libm-alias-float.h>.
22050 (llrintf): Define using libm_alias_float.
22051 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22052 <libm-alias-float.h>.
22053 (llroundf): Define using libm_alias_float.
22054 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22055 <libm-alias-float.h>.
22056 (lrintf): Define using libm_alias_float.
22057 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22058 <libm-alias-float.h>.
22059 (lroundf): Define using libm_alias_float.
22060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22061 <libm-alias-float.h>.
22062 (ceilf): Define using libm_alias_float.
22063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22064 <libm-alias-float.h>.
22065 (copysignf): Define using libm_alias_float.
22066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22067 <libm-alias-float.h>.
22068 (cosf): Define using libm_alias_float.
22069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22070 <libm-alias-float.h>.
22071 (floorf): Define using libm_alias_float.
22072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22073 <libm-alias-float.h>.
22074 (llrintf): Define using libm_alias_float.
22075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22076 <libm-alias-float.h>.
22077 (llroundf): Define using libm_alias_float.
22078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22079 <libm-alias-float.h>.
22080 (logbf): Define using libm_alias_float.
22081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22082 <libm-alias-float.h>.
22083 (modff): Define using libm_alias_float.
22084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22085 <libm-alias-float.h>.
22086 (roundf): Define using libm_alias_float.
22087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22088 <libm-alias-float.h>.
22089 (sinf): Define using libm_alias_float.
22090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22091 <libm-alias-float.h>.
22092 (truncf): Define using libm_alias_float.
22093 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22094 <libm-alias-float.h>.
22095 (ceilf): Define using libm_alias_float.
22096 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22097 <libm-alias-float.h>.
22098 (copysignf): Define using libm_alias_float.
22099 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22100 <libm-alias-float.h>.
22101 (floorf): Define using libm_alias_float.
22102 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22103 <libm-alias-float.h>.
22104 (llrintf): Define using libm_alias_float.
22105 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22106 <libm-alias-float.h>.
22107 (llroundf): Define using libm_alias_float.
22108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22109 <libm-alias-float.h>.
22110 (nearbyintf): Define using libm_alias_float.
22111 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22112 <libm-alias-float.h>.
22113 (rintf): Define using libm_alias_float.
22114 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22115 <libm-alias-float.h>.
22116 (roundf): Define using libm_alias_float.
22117 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22118 <libm-alias-float.h>.
22119 (truncf): Define using libm_alias_float.
22120 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22121 <libm-alias-float.h>.
22122 (ceilf): Define using libm_alias_float.
22123 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22124 <libm-alias-float.h>.
22125 (floorf): Define using libm_alias_float.
22126 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22127 <libm-alias-float.h>.
22128 (llroundf): Define using libm_alias_float.
22129 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22130 <libm-alias-float.h>.
22131 (roundf): Define using libm_alias_float.
22132 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22133 <libm-alias-float.h>.
22134 (truncf): Define using libm_alias_float.
22135 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22136 <libm-alias-float.h>.
22137 (copysignf): Define using libm_alias_float.
22138 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22139 <libm-alias-float.h>.
22140 (llrintf): Define using libm_alias_float.
22141 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22142 <libm-alias-float.h>.
22143 (llroundf): Define using libm_alias_float.
22144 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22145 <libm-alias-float.h>.
22146 (cosf): Define using libm_alias_float.
22147 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22148 <libm-alias-float.h>.
22149 (llrintf): Define using libm_alias_float.
22150 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22151 <libm-alias-float.h>.
22152 (llroundf): Define using libm_alias_float.
22153 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22154 <libm-alias-float.h>.
22155 (sinf): Define using libm_alias_float.
22157 2017-12-04 Florian Weimer <fweimer@redhat.com>
22159 * support/check.h (TEST_COMPARE): Define.
22160 (support_test_compare_failure): Declare.
22161 * support/Makefile (libsupport-routines): Add
22162 support_test_compare_failure.
22163 (tests): Add tst-test_compare.
22164 * support /support_test_compare_failure.c: New file.
22165 * support/tst-test_compare.c: Likewise.
22167 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22170 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22171 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22172 available, this rewrite of the collation rules does reproduce
22173 the test file in the same order.
22175 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22178 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22179 digraphs in the month and day names. Using single code points for
22180 digraphs is deprecated. While there are dedicated Unicode
22181 codepoints, for the digraphs, these are included for backwards
22182 compatibility and modern texts use a sequence of Basic Latin
22183 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22184 This makes the month and day names agree exactly with CLDR now,
22185 CLDR does not use the single code points for the digraphs either.
22187 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22189 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22191 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22193 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22196 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22198 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22199 Define only for libc.so.
22201 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22204 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22205 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22206 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22209 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22212 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22214 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22217 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22218 PREINIT_FUNCTION_WEAK is nonzero.
22219 (gmon_initializer): New function. Put procedure label for it in
22220 .init_array section.
22221 (_init): Don't call PREINIT_FUNCTION.
22222 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22223 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22224 value when map argument is null.
22226 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22227 depi instruction from PIC pc-relative sequence.
22228 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22229 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22230 (elf_machine_load_address): Likewise.
22231 (elf_machine_runtime_setup): Likewise.
22233 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22235 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22236 <libm-alias-double.h>.
22237 (logb): Define using libm_alias_double.
22238 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22239 <libm-alias-double.h>.
22240 (copysign): Define using libm_alias_double.
22241 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22242 <libm-alias-double.h>.
22243 (llrint): Define using libm_alias_double.
22244 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22245 <libm-alias-double.h>.
22246 (llround): Define using libm_alias_double.
22247 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22248 <libm-alias-double.h>.
22249 (lrint): Define using libm_alias_double.
22250 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22251 <libm-alias-double.h>.
22252 (lround): Define using libm_alias_double.
22253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22254 Include <libm-alias-double.h>.
22255 (copysign): Define using libm_alias_double.
22256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22257 Include <libm-alias-double.h>.
22258 (llrint): Define using libm_alias_double.
22259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22260 Include <libm-alias-double.h>.
22261 (llround): Define using libm_alias_double.
22262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22263 <libm-alias-double.h>.
22264 (logb): Define using libm_alias_double.
22265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22266 Include <libm-alias-double.h>.
22267 (lrint): Define using libm_alias_double.
22268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22269 Include <libm-alias-double.h>.
22270 (lround): Define using libm_alias_double.
22271 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22272 <libm-alias-double.h>.
22273 (llrint): Define using libm_alias_double.
22274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22275 <libm-alias-double.h>.
22276 (llround): Define using libm_alias_double.
22277 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22278 <libm-alias-double.h>.
22279 (llround): Define using libm_alias_double.
22280 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22281 <libm-alias-double.h>.
22282 (lround): Define using libm_alias_double.
22283 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22284 <libm-alias-double.h>.
22285 (copysign): Define using libm_alias_double.
22286 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22287 <libm-alias-double.h>.
22288 (llrint): Define using libm_alias_double.
22289 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22290 <libm-alias-double.h>.
22291 (llround): Define using libm_alias_double.
22292 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22293 <libm-alias-double.h>.
22294 (lrint): Define using libm_alias_double.
22295 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22296 <libm-alias-double.h>.
22297 (lround): Define using libm_alias_double.
22298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22299 <libm-alias-double.h>.
22300 (copysign): Define using libm_alias_double.
22301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22302 <libm-alias-double.h>.
22303 (llrint): Define using libm_alias_double.
22305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22306 <libm-alias-double.h>.
22307 (llround): Define using libm_alias_double.
22308 (lround): Likewise.
22309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22310 <libm-alias-double.h>.
22311 (logb): Define using libm_alias_double.
22312 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22313 <libm-alias-double.h>.
22314 (copysign): Define using libm_alias_double.
22315 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22316 <libm-alias-double.h>.
22317 (llrint): Define using libm_alias_double.
22319 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22320 <libm-alias-double.h>.
22321 (llround): Define using libm_alias_double.
22322 (lround): Likewise.
22323 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22324 <libm-alias-double.h>.
22325 (llround): Define using libm_alias_double.
22326 (lround): Likewise.
22327 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22328 <libm-alias-double.h>.
22329 (copysign): Define using libm_alias_double.
22330 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22331 <libm-alias-double.h>.
22332 (llrint): Define using libm_alias_double.
22334 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22335 <libm-alias-double.h>.
22336 (llround): Define using libm_alias_double.
22337 (lround): Likewise.
22338 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22339 <libm-alias-double.h>.
22340 (llrint): Define using libm_alias_double.
22342 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22343 <libm-alias-double.h>.
22344 (llround): Define using libm_alias_double.
22345 (lround): Likewise.
22347 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22350 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22351 compat symbol based on llround.
22353 * sysdeps/powerpc/power7/fpu/s_logb.c
22354 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22355 symbol based on __logb, not on logb.
22356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22357 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22359 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22361 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22362 (rint): Define using libm_alias_double.
22363 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22364 <libm-alias-double.h>.
22365 (modf): Define using libm_alias_double.
22366 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22367 <libm-alias-double.h>.
22368 (ceil): Define using libm_alias_double.
22369 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22370 <libm-alias-double.h>.
22371 (floor): Define using libm_alias_double.
22372 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22373 <libm-alias-double.h>.
22374 (nearbyint): Define using libm_alias_double.
22375 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22376 <libm-alias-double.h>.
22377 (rint): Define using libm_alias_double.
22378 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22379 <libm-alias-double.h>.
22380 (round): Define using libm_alias_double.
22381 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22382 <libm-alias-double.h>.
22383 (trunc): Define using libm_alias_double.
22384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22385 <libm-alias-double.h>.
22386 (ceil): Define using libm_alias_double.
22387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22388 Include <libm-alias-double.h>.
22389 (floor): Define using libm_alias_double.
22390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22391 <libm-alias-double.h>.
22392 (modf): Define using libm_alias_double.
22393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22394 Include <libm-alias-double.h>.
22395 (round): Define using libm_alias_double.
22396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22397 Include <libm-alias-double.h>.
22398 (trunc): Define using libm_alias_double.
22399 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22400 <libm-alias-double.h>.
22401 (ceil): Define using libm_alias_double.
22402 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22403 <libm-alias-double.h>.
22404 (floor): Define using libm_alias_double.
22405 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22406 <libm-alias-double.h>.
22407 (round): Define using libm_alias_double.
22408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22409 <libm-alias-double.h>.
22410 (trunc): Define using libm_alias_double.
22411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22412 <libm-alias-double.h>.
22413 (ceil): Define using libm_alias_double.
22414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22415 <libm-alias-double.h>.
22416 (floor): Define using libm_alias_double.
22417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22418 <libm-alias-double.h>.
22419 (modf): Define using libm_alias_double.
22420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22421 <libm-alias-double.h>.
22422 (round): Define using libm_alias_double.
22423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22424 <libm-alias-double.h>.
22425 (trunc): Define using libm_alias_double.
22426 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22427 <libm-alias-double.h>.
22428 (ceil): Define using libm_alias_double.
22429 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22430 <libm-alias-double.h>.
22431 (floor): Define using libm_alias_double.
22432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22433 <libm-alias-double.h>.
22434 (nearbyint): Define using libm_alias_double.
22435 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22436 <libm-alias-double.h>.
22437 (rint): Define using libm_alias_double.
22438 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22439 <libm-alias-double.h>.
22440 (round): Define using libm_alias_double.
22441 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22442 <libm-alias-double.h>.
22443 (trunc): Define using libm_alias_double.
22444 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22445 <libm-alias-double.h>.
22446 (ceil): Define using libm_alias_double.
22447 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22448 <libm-alias-double.h>.
22449 (floor): Define using libm_alias_double.
22450 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22451 <libm-alias-double.h>.
22452 (round): Define using libm_alias_double.
22453 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22454 <libm-alias-double.h>.
22455 (trunc): Define using libm_alias_double.
22457 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22458 (fabs): Define using libm_alias_double.
22459 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22460 (fma): Define using libm_alias_double.
22461 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22462 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22463 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22464 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22466 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22468 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22470 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22471 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22472 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22475 due redirect macro.
22477 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22479 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22481 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22483 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22484 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22485 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22486 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22489 (libm-sysdep_routines): Add s_nearbyintf-generic and
22490 s_nearbyint-generic.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22504 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22515 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22526 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22537 (sysdep_calls): New rule.
22538 (sysdep_routines): Use sysdep_calls as base.
22539 (libm-sysdep_routines): Add generic rule for symbols shared with
22540 libc. Add s_copysign-generic and s_copysign-generic objects.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22550 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22553 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22554 the list of locales to be built for testing.
22555 * localedata/is_IS.UTF-8.in: New file.
22556 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22559 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22561 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22562 <libm-alias-float.h>.
22563 (fabsf): Define using libm_alias_float.
22565 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22567 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22569 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22571 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22572 <libm-alias-float.h>.
22573 (fabsf): Define using libm_alias_float.
22574 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22575 <libm-alias-float.h>.
22576 (lrintf): Define using libm_alias_float.
22577 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22578 <libm-alias-float.h>.
22579 (rintf): Define using libm_alias_float.
22581 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22582 <libm-alias-double.h>.
22583 (fabs): Define using libm_alias_double.
22584 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22585 <libm-alias-double.h>.
22586 (lrint): Define using libm_alias_double.
22587 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22588 <libm-alias-double.h>.
22589 (rint): Define using libm_alias_double.
22591 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22592 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22593 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22594 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22595 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22596 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22597 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22598 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22599 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22600 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22601 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22602 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22603 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22604 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22605 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22606 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22607 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22608 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22610 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22611 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22612 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22614 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22615 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22616 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22618 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22619 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22620 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22621 s_expm1_template.c.
22622 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22623 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22624 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22626 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22627 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22628 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22629 s_floor_template.c.
22630 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22631 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22632 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22633 s_frexp_template.c.
22634 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22635 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22636 s_lrint_template.c.
22637 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22638 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22639 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22641 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22642 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22643 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22644 s_nearbyint_template.c.
22645 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22646 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22647 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22648 s_remquo_template.c.
22649 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22650 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22651 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22653 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22654 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22655 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22657 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22658 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22659 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22660 s_sincos_template.c.
22661 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22662 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22663 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22665 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22666 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22667 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22669 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22670 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22671 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22672 s_trunc_template.c.
22673 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22674 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22675 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22676 s_atan.c instead of including s_atan.c.
22677 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22678 s_atanf.c instead of including s_atanf.c.
22679 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22680 s_atanl.c instead of including s_atanl.c.
22681 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22682 instead of s_atan.c.
22683 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22684 instead of s_atanf.c.
22685 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22686 instead of s_atanl.c.
22688 * scripts/update-copyrights: Do not handle intl/plural.c
22691 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22694 * configure.ac (BISON): Require to be present.
22695 * configure: Regenerated.
22696 * intl/Makefile (generated): Add plural.c.
22697 [$(BISON) != no]: Make code unconditional.
22698 (plural.c): Change rule to $(objpfx)plural.c.
22699 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22700 * intl/plural.c: Remove.
22701 * manual/install.texi (Tools for Compilation): Document bison as
22703 * INSTALL: Regenerated.
22705 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22707 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22708 <libm-alias-double.h>.
22709 (llrint): Define using libm_alias_double.
22710 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22711 <libm-alias-float.h>.
22712 (llrintf): Define using libm_alias_float.
22713 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22714 <libm-alias-ldouble.h>.
22715 (llrintl): Define using libm_alias_ldouble.
22717 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22718 declare_mgen_alias instead of weak_alias.
22719 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22720 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22721 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22723 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22725 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22727 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22728 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22729 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22731 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22732 Add submul_1-generic.
22733 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22734 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22735 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22737 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22738 Add addmul_1-generic.
22739 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22740 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22741 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22743 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22745 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22746 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22747 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22749 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22751 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22752 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22753 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22755 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22757 According to CLDR, collation rules for Serbian and Bosnian
22758 should be the same as for Croatian.
22761 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22762 and to the list of locales to be built for testing.
22763 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22764 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22765 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22766 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22768 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22770 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22771 to make test case pass.
22772 * localedata/hr_HR.UTF-8.in: Add more test strings.
22774 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22776 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22778 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22780 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22781 the list of locales to built for testing.
22782 * localedata/hr_HR.UTF-8.in: New file.
22784 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22787 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22789 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22790 CLDR (except use ligatures for the digraphs, CLDR does not use
22791 the ligatures), add first_workday, some fixes in the date and time
22793 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22795 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22796 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22797 Add int_p_cs_precedes and int_n_cs_precedes.
22798 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22799 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22801 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22802 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22804 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22805 and lang_lib. Change postal_fmt.
22807 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22809 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22811 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22812 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22813 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22814 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22815 * sysdeps/generic/setjmpP.h: New file.
22816 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22817 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22818 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22819 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22820 Add jmp_buf-ssp.sym.
22821 (tests): Add tst-saved_mask-1.
22823 2017-11-30 Arjun Shankar <arjun@redhat.com>
22827 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22828 instead of request2size.
22830 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22833 (__lllrint): Remove alias.
22834 (lllrint): Likewise.
22835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22836 (__lllrintf): Likewise.
22837 (lllrintf): Likewise.
22839 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22840 <libm-alias-float.h>.
22841 (copysignf): Define using libm_alias_float.
22842 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22843 <libm-alias-float.h>.
22844 (fabsf): Define using libm_alias_float.
22845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22846 Include <libm-alias-float.h>.
22847 (copysignf): Define using libm_alias_float.
22848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22849 <libm-alias-float.h>.
22850 (fabsf): Define using libm_alias_float.
22851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22852 <libm-alias-float.h>.
22853 (fdimf): Define using libm_alias_float.
22854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22855 <libm-alias-float.h>.
22856 (fmaf): Define using libm_alias_float.
22857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22858 <libm-alias-float.h>.
22859 (llrintf): Define using libm_alias_float.
22860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22861 Include <libm-alias-float.h>.
22862 (nearbyintf): Define using libm_alias_float.
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22864 <libm-alias-float.h>.
22865 (rintf): Define using libm_alias_float.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22867 <libm-alias-float.h>.
22868 (llrintf): Define using libm_alias_float.
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22870 <libm-alias-float.h>.
22871 (lrintf): Define using libm_alias_float.
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22873 <libm-alias-float.h>.
22874 (nearbyintf): Define using libm_alias_float.
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22876 <libm-alias-float.h>.
22877 (rintf): Define using libm_alias_float.
22878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22879 <libm-alias-float.h>.
22880 (ceilf): Define using libm_alias_float.
22881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22882 <libm-alias-float.h>.
22883 (floorf): Define using libm_alias_float.
22884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22885 <libm-alias-float.h>.
22886 (fmaf): Define using libm_alias_float.
22887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22888 <libm-alias-float.h>.
22889 (lrintf): Define using libm_alias_float.
22890 (llrintf): Likewise.
22891 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22892 <libm-alias-float.h>.
22893 (nearbyintf): Define using libm_alias_float.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22895 <libm-alias-float.h>.
22896 (rintf): Define using libm_alias_float.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22898 <libm-alias-float.h>.
22899 (truncf): Define using libm_alias_float.
22900 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22901 <libm-alias-float.h>.
22902 (copysignf): Define using libm_alias_float.
22903 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22904 <libm-alias-float.h>.
22905 (fabsf): Define using libm_alias_float.
22906 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22907 <libm-alias-float.h>.
22908 (lrintf): Define using libm_alias_float.
22909 (llrintf): Likewise.
22910 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22911 <libm-alias-float.h>.
22912 (nearbyintf): Define using libm_alias_float.
22913 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22914 <libm-alias-float.h>.
22915 (rintf): Define using libm_alias_float.
22917 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22919 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22920 <libm-alias-double.h>.
22921 (copysign): Define using libm_alias_double.
22922 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22923 <libm-alias-double.h>.
22924 (fabs): Define using libm_alias_double.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22926 Include <libm-alias-double.h>.
22927 (copysign): Define using libm_alias_double.
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22929 <libm-alias-double.h>.
22930 (fabs): Define using libm_alias_double.
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22932 <libm-alias-double.h>.
22933 (fdim): Define using libm_alias_double.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22935 <libm-alias-double.h>.
22936 (fma): Define using libm_alias_double.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22938 <libm-alias-double.h>.
22939 (llrint): Define using libm_alias_double.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22941 Include <libm-alias-double.h>.
22942 (nearbyint): Define using libm_alias_double.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22944 <libm-alias-double.h>.
22945 (rint): Define using libm_alias_double.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22947 <libm-alias-double.h>.
22948 (fabs): Define using libm_alias_double.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22950 <libm-alias-double.h>.
22951 (llrint): Define using libm_alias_double.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22953 <libm-alias-double.h>.
22954 (nearbyint): Define using libm_alias_double.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22956 <libm-alias-double.h>.
22957 (rint): Define using libm_alias_double.
22958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22959 <libm-alias-double.h>.
22960 (ceil): Define using libm_alias_double.
22961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22962 <libm-alias-double.h>.
22963 (floor): Define using libm_alias_double.
22964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22965 <libm-alias-double.h>.
22966 (fma): Define using libm_alias_double.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22968 <libm-alias-double.h>.
22969 (lrint): Define using libm_alias_double.
22970 (llrint): Likewise.
22971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22972 <libm-alias-double.h>.
22973 (nearbyint): Define using libm_alias_double.
22974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22975 <libm-alias-double.h>.
22976 (rint): Define using libm_alias_double.
22977 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22978 <libm-alias-double.h>.
22979 (trunc): Define using libm_alias_double.
22980 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22981 <libm-alias-double.h>.
22982 (copysign): Define using libm_alias_double.
22983 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22984 <libm-alias-double.h>.
22985 (fabs): Define using libm_alias_double.
22986 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22987 <libm-alias-double.h>.
22988 (lrint): Define using libm_alias_double.
22989 (llrint): Likewise.
22990 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22991 <libm-alias-double.h>.
22992 (nearbyint): Define using libm_alias_double.
22993 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22994 <libm-alias-double.h>.
22995 (rint): Define using libm_alias_double.
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23000 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23002 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23003 SPARC --disable-multi-arch glibc variants.
23005 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23006 <libm-alias-float.h>.
23007 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23009 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23010 <libm-alias-float.h>.
23011 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23013 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23014 <libm-alias-float.h>.
23015 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23017 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23018 <libm-alias-float.h>.
23019 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23021 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23022 <libm-alias-float.h>.
23023 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23025 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23026 <libm-alias-float.h>.
23027 (ceilf): Define using libm_alias_float.
23028 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23029 <libm-alias-float.h>.
23030 (floorf): Define using libm_alias_float.
23031 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23032 <libm-alias-float.h>.
23033 (fmaf): Define using libm_alias_float.
23034 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23035 <libm-alias-float.h>.
23036 (nearbyintf): Define using libm_alias_float.
23037 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23038 <libm-alias-float.h>.
23039 (rintf): Define using libm_alias_float.
23040 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23041 <libm-alias-float.h>.
23042 (truncf): Define using libm_alias_float.
23043 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23044 (copysignf): Define using libm_alias_float.
23045 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23046 (cosf): Define using libm_alias_float.
23047 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23048 (fabsf): Define using libm_alias_float.
23049 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23050 (fmaxf): Define using libm_alias_float.
23051 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23052 (fminf): Define using libm_alias_float.
23053 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23054 (llrintf): Define using libm_alias_float.
23055 [!__ILP32__] (lrintf): Likewise.
23056 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23057 (sincosf): Define using libm_alias_float.
23058 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23059 (sinf): Define using libm_alias_float.
23060 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23061 (lrintf): Define using libm_alias_float.
23063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23064 <libm-alias-double.h>.
23065 (atan): Define using libm_alias_double.
23066 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23067 <libm-alias-double.h>.
23068 (ceil): Define using libm_alias_double.
23069 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23070 <libm-alias-double.h>.
23071 (floor): Define using libm_alias_double.
23072 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23073 <libm-alias-double.h>.
23074 (fma): Define using libm_alias_double.
23075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23076 <libm-alias-double.h>.
23077 (nearbyint): Define using libm_alias_double.
23078 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23079 <libm-alias-double.h>.
23080 (rint): Define using libm_alias_double.
23081 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23082 <libm-alias-double.h>.
23083 (sin): Define using libm_alias_double.
23085 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23086 <libm-alias-double.h>.
23087 (tan): Define using libm_alias_double.
23088 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23089 <libm-alias-double.h>.
23090 (trunc): Define using libm_alias_double.
23091 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23092 (copysign): Define using libm_alias_double.
23093 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23094 (fabs): Define using libm_alias_double.
23095 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23096 (fmax): Define using libm_alias_double.
23097 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23098 (fmin): Define using libm_alias_double.
23099 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23100 (llrint): Define using libm_alias_double.
23101 [!__ILP32__] (lrint): Likewise.
23102 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23103 (lrint): Define using libm_alias_double.
23105 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23107 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23108 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23118 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23128 (libm-sysdep_routines): Add s_nearbyint-generic and
23129 s_nearbyintf-generic objects.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23134 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23135 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23138 Add s_finitef-generic and s_finite-generic objects.
23139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23147 Add s_isinff-generic and s_isinf-generic objects.
23148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23156 Add s_isnanf-generic and s_isnan-generic objects.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23164 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23168 (sysdep_routines): Use sysdep_calls as base.
23169 (libm-sysdep_routines): Add generic rule for symbols shared with
23170 libc. Add s_signbit-generic and s_signbitf-generic objects.
23171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23178 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23180 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23181 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23182 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23183 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23184 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23185 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23186 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23187 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23188 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23189 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23190 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23191 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23192 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23193 libm_alias_float_r.
23194 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23195 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23197 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23198 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23199 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23200 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23201 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23202 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23203 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23204 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23205 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23206 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23208 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23210 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23211 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23212 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23213 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23214 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23215 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23216 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23217 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23218 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23219 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23220 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23221 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23222 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23223 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23224 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23225 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23226 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23227 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23228 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23230 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23231 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23232 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23233 * sysdeps/ia64/fpu/w_lgammaf_main.c
23234 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23235 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23237 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23238 Alexandre Oliva <aoliva@redhat.com>
23241 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23242 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23244 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23246 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23247 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23248 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23249 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23250 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23251 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23252 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23253 instead of “ifdef DIACRIT_BACKWARD”.
23255 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23257 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23258 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23259 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23260 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23261 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23262 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23270 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23271 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23272 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23273 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23274 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23276 ($(have-as-vis3) == yes): Remove conditional.
23277 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23293 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23294 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23296 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23298 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23299 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23300 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23301 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23302 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23303 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23304 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23305 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23306 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23307 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23308 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23309 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23310 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23311 libm_alias_double_r.
23312 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23314 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23315 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23316 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23317 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23318 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23319 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23320 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23321 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23322 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23323 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23324 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23326 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23328 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23329 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23330 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23331 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23332 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23333 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23334 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23335 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23336 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23337 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23338 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23339 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23340 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23341 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23342 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23343 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23344 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23345 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23347 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23348 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23349 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23350 * sysdeps/ia64/fpu/w_lgamma_main.c
23351 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23352 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23354 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23356 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23357 address of $global$ into %dp register earlier. Use pc-relative
23358 instruction sequence for PIC case.
23360 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23362 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23363 (asinhf): Define using libm_alias_float.
23364 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23365 (atanf): Define using libm_alias_float.
23366 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23367 (cbrtf): Define using libm_alias_float.
23368 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23369 (ceilf): Define using libm_alias_float.
23370 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23371 (copysignf): Define using libm_alias_float.
23372 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23373 (expm1f): Define using libm_alias_float.
23374 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23375 (fabsf): Define using libm_alias_float.
23376 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23377 (floorf): Define using libm_alias_float.
23378 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23379 (fmaxf): Define using libm_alias_float.
23380 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23381 (fminf): Define using libm_alias_float.
23382 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23383 (frexpf): Define using libm_alias_float.
23384 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23385 (llrintf): Define using libm_alias_float.
23386 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23387 (logbf): Define using libm_alias_float.
23388 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23389 (lrintf): Define using libm_alias_float.
23390 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23391 (nearbyintf): Define using libm_alias_float.
23392 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23393 (remquof): Define using libm_alias_float.
23394 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23395 (rintf): Define using libm_alias_float.
23396 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23397 (truncf): Define using libm_alias_float.
23398 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23399 <libm-alias-float.h>.
23400 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23402 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23403 <libm-alias-float.h>.
23404 (expf): Define using libm_alias_float, or libm_alias_float_other
23406 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23407 <libm-alias-float.h>.
23408 (log2f): Define using libm_alias_float, or libm_alias_float_other
23410 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23411 <libm-alias-float.h>.
23412 (logf): Define using libm_alias_float, or libm_alias_float_other
23414 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23415 <libm-alias-float.h>.
23416 (powf): Define using libm_alias_float, or libm_alias_float_other
23418 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23419 <libm-alias-float.h>.
23420 (cosf): Define using libm_alias_float.
23421 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23422 <libm-alias-float.h>.
23423 (sincosf): Define using libm_alias_float.
23424 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23425 <libm-alias-float.h>.
23426 (sinf): Define using libm_alias_float.
23427 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23428 (fmaxf): Define using libm_alias_float.
23429 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23430 (fminf): Define using libm_alias_float.
23431 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23432 <libm-alias-float.h>.
23433 (fmaf): Define using libm_alias_float.
23435 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23436 (asinh): Define using libm_alias_double.
23437 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23438 (atan): Define using libm_alias_double.
23439 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23440 (cbrt): Define using libm_alias_double.
23441 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23442 (ceil): Define using libm_alias_double.
23443 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23444 (copysign): Define using libm_alias_double.
23445 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23446 (expm1): Define using libm_alias_double.
23447 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23448 (fabs): Define using libm_alias_double.
23449 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23450 (fdim): Define using libm_alias_double.
23451 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23452 (floor): Define using libm_alias_double.
23453 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23454 (fmax): Define using libm_alias_double.
23455 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23456 (fmin): Define using libm_alias_double.
23457 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23458 (frexp): Define using libm_alias_double.
23459 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23460 (llrint): Define using libm_alias_double.
23461 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23462 (logb): Define using libm_alias_double.
23463 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23464 (lrint): Define using libm_alias_double.
23465 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23466 (nearbyint): Define using libm_alias_double.
23467 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23468 (remquo): Define using libm_alias_double.
23469 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23470 (rint): Define using libm_alias_double.
23471 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23472 (trunc): Define using libm_alias_double.
23473 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23474 (fmax): Define using libm_alias_double.
23475 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23476 (fmin): Define using libm_alias_double.
23477 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23478 (fma): Define using libm_alias_double.
23480 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23483 * elf/dl-hwcaps.c (ROUND): Removed.
23484 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23485 and ELF_NOTE_NEXT_OFFSET.
23486 * elf/dl-load.c (ROUND): Removed.
23487 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23488 * elf/readelflib.c (ROUND): Removed.
23489 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23490 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23491 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23492 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23494 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23496 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23497 [!__fmaf] (fmaf): Define using libm_alias_float.
23499 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23500 [!__fma] (fma): Define using libm_alias_double.
23501 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23503 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23506 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23507 and implement the collation rules for cs from CLDR on top of that.
23508 * Makefile: Add cs_CZ.UTF-8 to test-input.
23509 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23511 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23513 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23515 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23516 Icarus Sparry <icarus.w.sparry@intel.com>
23518 * benchtests/Makefile:Add BENCHSET to allow subsets of
23519 benchmarks to be run.
23520 * benchtests/README: Add documentation for: Running subsets of
23523 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23525 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23526 range of tests names.
23528 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23529 result from property and remove "max", min" and "mean" from
23530 required properties based on benchtests/bench-skeleton.c.
23532 2017-11-28 Florian Weimer <fweimer@redhat.com>
23535 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23536 due to Internet requirement.
23537 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23539 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23541 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23543 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23544 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23545 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23546 (sysdep_routines): Add memset-ultra1.
23547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23549 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23550 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23551 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23552 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23553 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23554 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23555 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23558 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23560 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23561 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23562 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23563 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23564 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23565 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23566 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23568 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23569 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23570 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23571 (sysdep_routines): Add memcpy-ultra1.
23572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23573 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23575 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23577 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23578 (cfloat_versions): Take function argument without trailing 'f'.
23579 Call libm_alias_float_other.
23580 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23581 * sysdeps/alpha/fpu/cargf.c: Likewise.
23582 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23583 * sysdeps/alpha/fpu/conjf.c: Likewise.
23584 * sysdeps/alpha/fpu/crealf.c: Likewise.
23585 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23586 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23587 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23588 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23589 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23590 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23591 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23592 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23593 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23594 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23595 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23596 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23597 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23598 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23599 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23600 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23601 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23602 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23603 (clog10f): Use libm_alias_float_other.
23604 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23605 (ceilf): Define using libm_alias_float.
23606 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23607 (copysignf): Define using libm_alias_float.
23608 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23609 (fabsf): Define using libm_alias_float.
23610 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23611 (floorf): Define using libm_alias_float.
23612 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23613 (fmaxf): Define using libm_alias_float.
23614 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23615 (fminf): Define using libm_alias_float.
23616 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23617 (lrintf): Define using libm_alias_float.
23618 (llrintf): Likewise.
23619 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23620 (lroundf): Define using libm_alias_float.
23621 (llroundf): Likewise.
23622 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23623 (rintf): Define using libm_alias_float.
23624 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23625 (truncf): Define using libm_alias_float.
23627 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23628 (ceilf): Define using libm_alias_float.
23629 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23630 (floorf): Define using libm_alias_float.
23631 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23632 (fmaf): Define using libm_alias_float.
23633 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23634 (fmaxf): Define using libm_alias_float.
23635 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23636 (fminf): Define using libm_alias_float.
23637 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23638 (llrintf): Define using libm_alias_float.
23639 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23640 (llroundf): Define using libm_alias_float.
23641 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23642 (lrintf): Define using libm_alias_float.
23643 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23644 (lroundf): Define using libm_alias_float.
23645 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23646 <libm-alias-float.h>.
23647 (nearbyintf): Define using libm_alias_float.
23648 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23649 (rintf): Define using libm_alias_float.
23650 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23651 (roundf): Define using libm_alias_float.
23652 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23653 (truncf): Define using libm_alias_float.
23655 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23656 (ceil): Define using libm_alias_double.
23657 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23658 (copysign): Define using libm_alias_double.
23659 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23660 (fabs): Define using libm_alias_double.
23661 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23662 (floor): Define using libm_alias_double.
23663 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23664 (fmax): Define using libm_alias_double.
23665 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23666 (fmin): Define using libm_alias_double.
23667 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23668 (lrint): Define using libm_alias_double.
23669 (llrint): Likewise.
23670 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23671 (lround): Define using libm_alias_double.
23672 (llround): Likewise.
23673 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23674 (rint): Define using libm_alias_double.
23675 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23676 (trunc): Define using libm_alias_double.
23678 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23679 (libm_alias_double_r): Add semicolon after weak_alias call.
23681 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23683 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23684 (ceil): Define using libm_alias_double.
23685 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23686 (floor): Define using libm_alias_double.
23687 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23688 (fma): Define using libm_alias_double.
23689 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23690 (fmax): Define using libm_alias_double.
23691 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23692 (fmin): Define using libm_alias_double.
23693 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23694 (llrint): Define using libm_alias_double.
23695 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23696 (llround): Define using libm_alias_double.
23697 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23698 (lrint): Define using libm_alias_double.
23699 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23700 (lround): Define using libm_alias_double.
23701 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23702 (nearbyint): Define using libm_alias_double.
23703 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23704 (rint): Define using libm_alias_double.
23705 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23706 (round): Define using libm_alias_double.
23707 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23708 (trunc): Define using libm_alias_double.
23710 2017-11-27 Florian Weimer <fweimer@redhat.com>
23712 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23713 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23714 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23715 (tests): Add tst-mlock2.
23716 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23718 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23719 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23720 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23721 for mlock. Document mlock2.
23723 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23725 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23726 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23728 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23730 * sysdeps/x86/Makeconfig: New file.
23731 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23732 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23733 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23734 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23735 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23736 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23737 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23739 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23740 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23741 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23742 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23743 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23744 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23745 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23746 * manual/math.texi (Mathematics): Document support for _Float64x.
23747 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23748 * stdlib/Versions (GLIBC_2.27): Likewise.
23749 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23750 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23751 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23752 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23753 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23754 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23755 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23756 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23757 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23758 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23759 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23760 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23765 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23766 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23767 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23768 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23769 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23770 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23771 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23772 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23773 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23774 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23775 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23776 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23777 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23778 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23780 2017-11-27 Andreas Schwab <schwab@suse.de>
23782 * elf/Makefile (dl-routines): Add dl-sort-maps.
23783 * elf/dl-sort-maps.c: New file.
23784 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23785 (_dl_sort_maps): Declare.
23786 * elf/dl-fini.c (_dl_sort_fini): Remove.
23787 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23788 * elf/dl-close.c (_dl_close_worker): Likewise.
23789 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23791 * elf/dl-open.c (dl_open_worker): Likewise.
23793 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23795 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23796 using libm_alias_float128.
23797 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23799 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23801 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23802 (setpayloadsigf128): Likewise.
23803 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23805 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23808 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23809 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23810 -mfloat128 to CFLAGS.
23812 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23814 (CFLAGS-libm-test-support-float64x.c): New variable.
23815 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23816 $(f128-loader-link) to gnulib-tests.
23818 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23819 (libm_alias_float128_other_r): If
23820 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23822 (libm_alias_float128_r): Add semicolon after weak_alias call.
23823 * sysdeps/generic/libm-alias-ldouble.h
23824 (libm_alias_ldouble_other_r_f128): New macro.
23825 (libm_alias_ldouble_other_r_f64x): Likewise.
23826 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23827 and libm_alias_ldouble_other_r_f64x.
23828 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23829 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23830 (libm_alias_ldouble_other_r_f128): New macro.
23831 (libm_alias_ldouble_other_r_f64x): Likewise.
23832 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23833 and libm_alias_ldouble_other_r_f64x.
23835 * stdlib/strfroml.c: Always include <stdlib.h>.
23836 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23837 undefine as macro and define as weak alias.
23838 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23839 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23841 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23842 Define and later undefine as macro and define as weak alias.
23844 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23845 Define and later undefine as macro. Define as weak alias if
23847 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23848 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23849 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23850 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23851 Define and later undefine as macro. Define as weak alias if
23853 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23854 Define and later undefine as macro. Define as weak alias if
23856 * sysdeps/ieee754/float128/strtof128_l.c
23857 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23858 Define and later undefine as macro. Define as weak alias if
23860 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23861 Define and later undefine as macro. Define as weak alias if
23863 * sysdeps/ieee754/ldbl-128/strtold_l.c
23864 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23865 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23866 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23867 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23868 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23869 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23870 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23871 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23872 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23873 * sysdeps/ieee754/ldbl-96/strtold_l.c
23874 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23875 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23876 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23877 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23879 * math/test-float64x.h: New file.
23880 * math/Makefile (type-float64x-yes): New variable.
23881 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23883 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23884 function-like macro.
23885 (min_of_type_): Likewise.
23886 (min_of_type_l): Likewise.
23887 (min_of_type_f128): Likewise.
23888 (min_of_type): Pass () as last argument of __MATH_TG.
23890 * stdlib/tst-strtod-round-skeleton.c
23891 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23894 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23895 for combinations of long double with _Float64 and _Float64x.
23897 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23898 (__DECL_SIMD_cosf32): Likewise.
23899 (__DECL_SIMD_cosf64): Likewise.
23900 (__DECL_SIMD_cosf32x): Likewise.
23901 (__DECL_SIMD_cosf64x): Likewise.
23902 (__DECL_SIMD_cosf128x): Likewise.
23903 (__DECL_SIMD_sinf16): Likewise.
23904 (__DECL_SIMD_sinf32): Likewise.
23905 (__DECL_SIMD_sinf64): Likewise.
23906 (__DECL_SIMD_sinf32x): Likewise.
23907 (__DECL_SIMD_sinf64x): Likewise.
23908 (__DECL_SIMD_sinf128x): Likewise.
23909 (__DECL_SIMD_sincosf16): Likewise.
23910 (__DECL_SIMD_sincosf32): Likewise.
23911 (__DECL_SIMD_sincosf64): Likewise.
23912 (__DECL_SIMD_sincosf32x): Likewise.
23913 (__DECL_SIMD_sincosf64x): Likewise.
23914 (__DECL_SIMD_sincosf128x): Likewise.
23915 (__DECL_SIMD_logf16): Likewise.
23916 (__DECL_SIMD_logf32): Likewise.
23917 (__DECL_SIMD_logf64): Likewise.
23918 (__DECL_SIMD_logf32x): Likewise.
23919 (__DECL_SIMD_logf64x): Likewise.
23920 (__DECL_SIMD_logf128x): Likewise.
23921 (__DECL_SIMD_expf16): Likewise.
23922 (__DECL_SIMD_expf32): Likewise.
23923 (__DECL_SIMD_expf64): Likewise.
23924 (__DECL_SIMD_expf32x): Likewise.
23925 (__DECL_SIMD_expf64x): Likewise.
23926 (__DECL_SIMD_expf128x): Likewise.
23927 (__DECL_SIMD_powf16): Likewise.
23928 (__DECL_SIMD_powf32): Likewise.
23929 (__DECL_SIMD_powf64): Likewise.
23930 (__DECL_SIMD_powf32x): Likewise.
23931 (__DECL_SIMD_powf64x): Likewise.
23932 (__DECL_SIMD_powf128x): Likewise.
23934 * stdlib/Versions (libc): Move entries for wcstof128 and
23935 wcstof128_l to ....
23936 * wcsmbs/Versions (libc): ... here.
23937 Include <float128-abi.h>.
23939 2017-11-24 Florian Weimer <fweimer@redhat.com>
23941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23942 bits/mman-shared.h.
23943 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23944 <bits/mman-shared.h>.
23945 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23947 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23948 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23949 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23950 <bits/mman-shared.h>.
23952 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23955 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23956 posix_memalign/free.
23957 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23959 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23962 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23963 and implement the collation rules for pl from CLDR on top of that.
23964 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23965 of locales to be built for testing.
23966 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23968 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23970 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23971 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23972 libm_alias_ldouble_other.
23973 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23974 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23975 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23976 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23977 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23978 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23979 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23980 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23981 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23982 libm_alias_ldouble_r.
23983 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23984 libm_alias_ldouble_other.
23985 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23986 (log10l): Likewise.
23987 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23988 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23989 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23990 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23991 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23992 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23993 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23994 (atan2l): Likewise.
23995 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23996 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23997 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23998 libm_alias_ldouble.
23999 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24001 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24002 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24003 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24005 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24006 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24007 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24008 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24009 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24010 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24011 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24012 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24013 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24014 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24015 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24016 libm_alias_ldouble.
24017 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24018 libm_alias_ldouble_other.
24019 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24020 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24021 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24022 libm_alias_ldouble.
24023 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24024 libm_alias_ldouble_other.
24025 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24026 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24027 * sysdeps/ia64/fpu/w_lgammal_main.c
24028 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24029 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24031 2017-11-23 Florian Weimer <fweimer@redhat.com>
24033 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24034 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24035 alike. Remove freeres marker.
24036 * malloc/arena.c (arena_thread_freeres): Call
24037 tcache_thread_shutdown.
24039 2017-11-23 Florian Weimer <fweimer@redhat.com>
24042 Export nscd hash function as __nss_hash.
24043 * include/nss.h (__nss_hash): Declare.
24044 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24046 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24047 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24049 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24050 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24051 * nss/Makefiles (routines): Add nss_hash.
24052 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24053 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24054 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24055 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24057 2017-11-23 Florian Weimer <fweimer@redhat.com>
24060 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24061 Return error code, not -1.
24062 * signal/tst-sigwait-eintr.c: New file.
24063 * signal/Makefile (tests): Add tst-sigwait-eintr.
24065 2017-11-23 Florian Weimer <fweimer@redhat.com>
24067 Linux: Add memfd_create system call wrapper
24068 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24070 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24071 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24072 [__USE_GNU] (memfd_create): Declare.
24073 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24074 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24075 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24076 * sysdeps/unix/sysv/linux/**.abilist: Update.
24077 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24079 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24081 * localedata/gen-locale.sh: Fix typo in variable name.
24083 * resolv/res_debug.c (p_secstodate): Condition definition on
24084 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24085 directly as __p_secstodate, and as a compat symbol. Do not use
24086 libresolv_hidden_def.
24087 * resolv/resolv.h (p_secstodate): Remove macro and function
24089 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24090 using p_secstodate.
24091 * include/resolv.h (__p_secstodate): Do not use
24092 libresolv_hidden_proto.
24093 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24094 (tests-internal): ... here.
24095 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24096 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24097 and declare and use __p_secstodate and use compat_symbol_reference
24099 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24100 implementation returning 77.
24103 * resolv/res_debug.c: Include <libc-diag.h>.
24104 (p_secstodate): Assert time_t at least as wide as u_long. On
24105 overflow, use integer seconds since the epoch as output, or use
24106 "<overflow>" as output and set errno to EOVERFLOW if integer
24107 seconds since the epoch would be 14 or more characters.
24108 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24110 * resolv/tst-p_secstodate.c: New file.
24111 * resolv/Makefile (tests): Add tst-p_secstodate.
24112 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24114 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24115 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24116 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24118 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24120 * posix/regcomp.c (init_word_char): Add comments.
24122 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24125 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24126 strlen to compute length of ut_user and set trailing NUL byte of
24129 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24132 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24133 using “copy "iso14651_t1"” and then implementing the
24134 collation rules for lv from CLDR on top of that.
24135 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24136 of locales to be built for testing.
24137 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24140 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24142 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24143 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24144 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24145 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24146 [__USE_MISC] (MADV_HWPOISON): New macro.
24147 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24149 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24151 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24152 -Wmissing-braces on GCC 4.9.
24154 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24156 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24157 * sysdeps/s390/s390-32/start.S (_start): Likewise
24158 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24159 (thread_start): Likewise.
24160 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24161 (thread_start): Likewise.
24162 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24163 (__makecontext_ret): Likewise.
24164 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24165 (__makecontext_ret): Likewise.
24167 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24169 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24170 __wcschrnul): Remove attribute_hidden.
24172 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24174 regex: don't assume uint64_t or uint32_t
24175 This avoids -Werror=overflow errors for 32-bit systems in
24176 the 64-bit case. Problem reported by Joseph Myers in:
24177 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24178 Also, when this code is used in Gnulib it ports to platforms
24179 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24180 them, and on some 32-bit compilers there is no uint64_t.
24181 Problem reported by Gianluigi Tiesi in:
24182 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24183 * posix/regcomp.c (init_word_char): Don't assume that the types
24184 uint64_t and uint32_t exist. Adapted from Gnulib patch
24185 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24186 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24188 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24190 * sysdeps/aarch64/memset-reg.h: New file.
24191 * sysdeps/aarch64/memset.S: Use it.
24192 (__memset): Rename to MEMSET macro.
24193 [ZVA_MACRO]: Use zva_macro.
24194 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24195 Add memset_generic and memset_falkor.
24196 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24197 (__libc_ifunc_impl_list): Add memset ifuncs.
24198 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24199 local variable zva_size.
24200 * sysdeps/aarch64/multiarch/memset.c: New file.
24201 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24202 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24203 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24204 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24205 (DCZID_DZP_MASK): New macro.
24206 (DCZID_BS_MASK): Likewise.
24207 (init_cpu_features): Read and set zva_size.
24208 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24209 (struct cpu_features): New member zva_size.
24211 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24212 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24213 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24215 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24216 backwards. Fix timing computation.
24217 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24218 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24219 on memset by N at a time. Fix timing computation.
24221 2017-11-20 Florian Weimer <fweimer@redhat.com>
24223 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24224 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24226 2017-11-19 Florian Weimer <fweimer@redhat.com>
24228 manual: Document mprotect
24229 * manual/memory.texi (Memory Protection): New section.
24230 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24231 documentation of PROT_* flags and reference the Memory Protection
24234 2017-11-19 Florian Weimer <fweimer@redhat.com>
24236 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24237 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24238 (Scatter-Gather): ... to here. Remove misleading comment.
24240 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24242 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24245 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24246 when /proc/<pid>/setgroups does not exist.
24248 2017-11-18 Florian Weimer <fweimer@redhat.com>
24250 * sysdeps/unix/sysv/linux/tst-ttyname.c
24251 (become_root_in_mount_ns): Remove.
24252 (do_in_chroot_1): Call support_enter_mount_namespace.
24253 (do_in_chroot_2): Likewise.
24254 (do_test): Call support_become_root early.
24256 2017-11-18 Florian Weimer <fweimer@redhat.com>
24258 * support/namespace.h (support_enter_mount_namespace): Declare.
24259 * support/support_enter_mount_namespace.c: New file.
24260 * support/Makefile (libsupport-routines): Add
24261 support_enter_mount_namespace.
24263 2017-11-18 Florian Weimer <fweimer@redhat.com>
24265 * support/temp_file.c (support_create_temp_directory): Use
24266 test_dir and do not rely on the presence of the XXXXXX suffix.
24267 * support/temp_file.h (support_create_temp_directory): Update
24269 * support/tst-xreadlink.c (do_test): Adjust.
24270 * support/support_chroot.c (support_chroot_create): Likewise.
24272 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24274 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24276 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24279 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24281 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24282 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24283 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24284 (ceill): Define using libm_alias_ldouble.
24285 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24286 <libm-alias-ldouble.h>.
24287 (copysignl): Define using libm_alias_ldouble.
24288 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24289 (fabsl): Define using libm_alias_ldouble.
24290 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24291 (floorl): Define using libm_alias_ldouble.
24292 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24293 (fmaxl): Define using libm_alias_ldouble.
24294 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24295 (fminl): Define using libm_alias_ldouble.
24296 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24297 (llrintl): Define using libm_alias_ldouble.
24298 (lrintl): Likewise.
24299 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24300 <libm-alias-ldouble.h>.
24301 (nearbyintl): Define using libm_alias_ldouble.
24302 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24303 (truncl): Define using libm_alias_ldouble.
24304 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24305 <libm-alias-ldouble.h>.
24306 (lrintl): Define using libm_alias_ldouble.
24308 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24309 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24310 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24311 (asinhl): Define using libm_alias_ldouble.
24312 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24313 (atanl): Define using libm_alias_ldouble.
24314 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24315 (cbrtl): Define using libm_alias_ldouble.
24316 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24317 (ceill): Define using libm_alias_ldouble.
24318 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24319 (copysignl): Define using libm_alias_ldouble.
24320 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24321 (fabsl): Define using libm_alias_ldouble.
24322 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24323 (floorl): Define using libm_alias_ldouble.
24324 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24325 (fmaxl): Define using libm_alias_ldouble.
24326 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24327 (fminl): Define using libm_alias_ldouble.
24328 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24329 (frexpl): Define using libm_alias_ldouble.
24330 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24331 (llrintl): Define using libm_alias_ldouble.
24332 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24333 (logbl): Define using libm_alias_ldouble.
24334 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24335 (lrintl): Define using libm_alias_ldouble.
24336 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24337 (nearbyintl): Define using libm_alias_ldouble.
24338 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24339 (nextafterl): Define using libm_alias_ldouble.
24340 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24341 (remquol): Define using libm_alias_ldouble.
24342 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24343 (rintl): Define using libm_alias_ldouble.
24344 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24345 (truncl): Define using libm_alias_ldouble.
24346 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24347 (fmaxl): Define using libm_alias_ldouble.
24348 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24349 (fminl): Define using libm_alias_ldouble.
24351 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24352 to C syntax instead of availability and properties of types.
24353 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24354 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24355 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24356 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24357 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24358 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24360 2017-11-17 Florian Weimer <fweimer@redhat.com>
24362 support_become_root: Enable file creation in namespaces.
24363 * support/support_become_root.c (setup_mapping): New function.
24364 (support_become_root): Call it.
24366 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24368 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24371 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24373 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24374 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24376 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24378 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24380 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24383 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24385 * INSTALL: Fix botched up regeneration.
24387 * NEWS: Update sourceare link to https.
24388 * configure.ac: Likewise.
24389 * crypt/md5test-giant.c: Likewise.
24390 * dlfcn/bug-atexit1.c: Likewise.
24391 * dlfcn/bug-atexit2.c: Likewise.
24392 * localedata/README: Likewise.
24393 * malloc/tst-mallocfork.c: Likewise.
24394 * manual/install.texi: Likewise.
24395 * nptl/tst-pthread-getattr.c: Likewise.
24396 * stdio-common/tst-fgets.c: Likewise.
24397 * stdio-common/tst-fwrite.c: Likewise.
24398 * sunrpc/Makefile: Likewise.
24399 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24400 * wcsmbs/tst-mbrtowc2.c: Likewise.
24401 * configure: Regenerate.
24402 * INSTALL: Regenerate.
24404 2017-11-15 Martin Sebor <msebor@redhat.com>
24406 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24407 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24408 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24410 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24413 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24414 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24417 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24418 Defer is_pty check until end of the function.
24419 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24422 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24423 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24424 (ttyname): Likewise.
24425 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24426 (__ttyname_r): Likewise.
24428 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24431 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24433 * manual/terminal.texi (Is It a Terminal):
24434 Mention ENODEV for ttyname and ttyname_r.
24436 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24438 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24439 constant and macro.
24441 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24442 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24443 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24444 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24445 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24446 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24448 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24450 * signal/sigrelse.c (sigrelse): Optimize implementation.
24452 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24453 (__sigpause): Rely on __sigsuspend to implement single thread
24454 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24456 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24458 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24459 kernel version to 4.14.
24461 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24464 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24465 Check if ifname is too long.
24467 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24469 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24471 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24473 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24474 was accidentally lost.
24476 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24478 * localedata/locales/az_IR: Add standard copyright header.
24480 2017-11-15 Florian Weimer <fweimer@redhat.com>
24483 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24484 not just the top one. Output a new "subheaps" statistic.
24486 2017-11-15 Florian Weimer <fweimer@redhat.com>
24489 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24490 under the per-arena lock.
24491 * malloc/Makefile (tests): Add tst-malloc_info.
24492 (tst-malloc_info): Link with libpthread.
24493 * malloc/tst-malloc_info.c: New file.
24495 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24498 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24499 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24500 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24501 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24502 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24503 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24504 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24505 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24506 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24507 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24508 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24509 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24510 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24511 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24512 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24513 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24514 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24515 (__floating_type): Likewise.
24516 (__real_integer_type): Likewise.
24517 (__complex_integer_type): Likewise.
24518 (__expr_is_real): Likewise.
24519 (__tgmath_real_type_sub): Likewise.
24520 (__tgmath_real_type): Likewise.
24521 (__tgmath_complex_type_sub): Likewise.
24522 (__tgmath_complex_type): Likewise.
24523 (__TGMATH_F128): Likewise.
24524 (__TGMATH_CF128): Likewise.
24525 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24527 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24528 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24530 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24532 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24534 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24535 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24537 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24538 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24540 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24544 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24545 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24546 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24550 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24552 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24553 for stpncpy calls for GCC 8.
24554 (test_strncat): Disable -Wstringop-truncation warning for strncat
24555 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24556 strncat call for GCC 7.
24557 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24559 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24562 * string/bug-strncat1.c: Include <libc-diag.h>.
24563 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24565 2017-11-13 Claude Paroz <claude@2xlibre.net>
24568 * localedata/locales/aa_DJ: Improved readibility by replacing
24569 <Uxxxx> sequences in the ASCII printable range by their ASCII
24570 character equivalents.
24571 * localedata/locales/aa_ER: Likewise.
24572 * localedata/locales/aa_ER@saaho: Likewise.
24573 * localedata/locales/aa_ET: Likewise.
24574 * localedata/locales/af_ZA: Likewise.
24575 * localedata/locales/agr_PE: Likewise.
24576 * localedata/locales/ak_GH: Likewise.
24577 * localedata/locales/am_ET: Likewise.
24578 * localedata/locales/anp_IN: Likewise.
24579 * localedata/locales/ar_AE: Likewise.
24580 * localedata/locales/ar_BH: Likewise.
24581 * localedata/locales/ar_DZ: Likewise.
24582 * localedata/locales/ar_EG: Likewise.
24583 * localedata/locales/ar_IN: Likewise.
24584 * localedata/locales/ar_IQ: Likewise.
24585 * localedata/locales/ar_JO: Likewise.
24586 * localedata/locales/ar_KW: Likewise.
24587 * localedata/locales/ar_LB: Likewise.
24588 * localedata/locales/ar_LY: Likewise.
24589 * localedata/locales/ar_MA: Likewise.
24590 * localedata/locales/ar_OM: Likewise.
24591 * localedata/locales/ar_QA: Likewise.
24592 * localedata/locales/ar_SA: Likewise.
24593 * localedata/locales/ar_SD: Likewise.
24594 * localedata/locales/ar_SS: Likewise.
24595 * localedata/locales/ar_SY: Likewise.
24596 * localedata/locales/ar_TN: Likewise.
24597 * localedata/locales/ar_YE: Likewise.
24598 * localedata/locales/as_IN: Likewise.
24599 * localedata/locales/ast_ES: Likewise.
24600 * localedata/locales/ayc_PE: Likewise.
24601 * localedata/locales/az_AZ: Likewise.
24602 * localedata/locales/az_IR: Likewise.
24603 * localedata/locales/be_BY: Likewise.
24604 * localedata/locales/be_BY@latin: Likewise.
24605 * localedata/locales/bem_ZM: Likewise.
24606 * localedata/locales/ber_DZ: Likewise.
24607 * localedata/locales/ber_MA: Likewise.
24608 * localedata/locales/bg_BG: Likewise.
24609 * localedata/locales/bhb_IN: Likewise.
24610 * localedata/locales/bho_IN: Likewise.
24611 * localedata/locales/bi_VU: Likewise.
24612 * localedata/locales/bn_BD: Likewise.
24613 * localedata/locales/bn_IN: Likewise.
24614 * localedata/locales/bo_CN: Likewise.
24615 * localedata/locales/bo_IN: Likewise.
24616 * localedata/locales/br_FR: Likewise.
24617 * localedata/locales/brx_IN: Likewise.
24618 * localedata/locales/bs_BA: Likewise.
24619 * localedata/locales/byn_ER: Likewise.
24620 * localedata/locales/ca_AD: Likewise.
24621 * localedata/locales/ca_ES: Likewise.
24622 * localedata/locales/ca_FR: Likewise.
24623 * localedata/locales/ca_IT: Likewise.
24624 * localedata/locales/ce_RU: Likewise.
24625 * localedata/locales/chr_US: Likewise.
24626 * localedata/locales/cmn_TW: Likewise.
24627 * localedata/locales/crh_UA: Likewise.
24628 * localedata/locales/cs_CZ: Likewise.
24629 * localedata/locales/csb_PL: Likewise.
24630 * localedata/locales/cv_RU: Likewise.
24631 * localedata/locales/cy_GB: Likewise.
24632 * localedata/locales/da_DK: Likewise.
24633 * localedata/locales/de_AT: Likewise.
24634 * localedata/locales/de_BE: Likewise.
24635 * localedata/locales/de_CH: Likewise.
24636 * localedata/locales/de_DE: Likewise.
24637 * localedata/locales/de_IT: Likewise.
24638 * localedata/locales/de_LI: Likewise.
24639 * localedata/locales/de_LU: Likewise.
24640 * localedata/locales/doi_IN: Likewise.
24641 * localedata/locales/dv_MV: Likewise.
24642 * localedata/locales/dz_BT: Likewise.
24643 * localedata/locales/el_CY: Likewise.
24644 * localedata/locales/el_GR: Likewise.
24645 * localedata/locales/en_AG: Likewise.
24646 * localedata/locales/en_AU: Likewise.
24647 * localedata/locales/en_BW: Likewise.
24648 * localedata/locales/en_CA: Likewise.
24649 * localedata/locales/en_DK: Likewise.
24650 * localedata/locales/en_GB: Likewise.
24651 * localedata/locales/en_HK: Likewise.
24652 * localedata/locales/en_IE: Likewise.
24653 * localedata/locales/en_IL: Likewise.
24654 * localedata/locales/en_IN: Likewise.
24655 * localedata/locales/en_NG: Likewise.
24656 * localedata/locales/en_NZ: Likewise.
24657 * localedata/locales/en_PH: Likewise.
24658 * localedata/locales/en_SG: Likewise.
24659 * localedata/locales/en_US: Likewise.
24660 * localedata/locales/en_ZA: Likewise.
24661 * localedata/locales/en_ZM: Likewise.
24662 * localedata/locales/en_ZW: Likewise.
24663 * localedata/locales/eo: Likewise.
24664 * localedata/locales/es_AR: Likewise.
24665 * localedata/locales/es_BO: Likewise.
24666 * localedata/locales/es_CL: Likewise.
24667 * localedata/locales/es_CO: Likewise.
24668 * localedata/locales/es_CR: Likewise.
24669 * localedata/locales/es_CU: Likewise.
24670 * localedata/locales/es_DO: Likewise.
24671 * localedata/locales/es_EC: Likewise.
24672 * localedata/locales/es_ES: Likewise.
24673 * localedata/locales/es_GT: Likewise.
24674 * localedata/locales/es_HN: Likewise.
24675 * localedata/locales/es_MX: Likewise.
24676 * localedata/locales/es_NI: Likewise.
24677 * localedata/locales/es_PA: Likewise.
24678 * localedata/locales/es_PE: Likewise.
24679 * localedata/locales/es_PR: Likewise.
24680 * localedata/locales/es_PY: Likewise.
24681 * localedata/locales/es_SV: Likewise.
24682 * localedata/locales/es_US: Likewise.
24683 * localedata/locales/es_UY: Likewise.
24684 * localedata/locales/es_VE: Likewise.
24685 * localedata/locales/et_EE: Likewise.
24686 * localedata/locales/eu_ES: Likewise.
24687 * localedata/locales/eu_ES@euro: Likewise.
24688 * localedata/locales/fa_IR: Likewise.
24689 * localedata/locales/ff_SN: Likewise.
24690 * localedata/locales/fi_FI: Likewise.
24691 * localedata/locales/fil_PH: Likewise.
24692 * localedata/locales/fo_FO: Likewise.
24693 * localedata/locales/fr_BE: Likewise.
24694 * localedata/locales/fr_CA: Likewise.
24695 * localedata/locales/fr_CH: Likewise.
24696 * localedata/locales/fr_FR: Likewise.
24697 * localedata/locales/fr_LU: Likewise.
24698 * localedata/locales/fur_IT: Likewise.
24699 * localedata/locales/fy_DE: Likewise.
24700 * localedata/locales/fy_NL: Likewise.
24701 * localedata/locales/ga_IE: Likewise.
24702 * localedata/locales/gd_GB: Likewise.
24703 * localedata/locales/gez_ER: Likewise.
24704 * localedata/locales/gez_ET: Likewise.
24705 * localedata/locales/gl_ES: Likewise.
24706 * localedata/locales/gu_IN: Likewise.
24707 * localedata/locales/gv_GB: Likewise.
24708 * localedata/locales/ha_NG: Likewise.
24709 * localedata/locales/hak_TW: Likewise.
24710 * localedata/locales/he_IL: Likewise.
24711 * localedata/locales/hi_IN: Likewise.
24712 * localedata/locales/hif_FJ: Likewise.
24713 * localedata/locales/hne_IN: Likewise.
24714 * localedata/locales/hr_HR: Likewise.
24715 * localedata/locales/hsb_DE: Likewise.
24716 * localedata/locales/ht_HT: Likewise.
24717 * localedata/locales/hu_HU: Likewise.
24718 * localedata/locales/hy_AM: Likewise.
24719 * localedata/locales/i18n: Likewise.
24720 * localedata/locales/ia_FR: Likewise.
24721 * localedata/locales/id_ID: Likewise.
24722 * localedata/locales/ig_NG: Likewise.
24723 * localedata/locales/ik_CA: Likewise.
24724 * localedata/locales/is_IS: Likewise.
24725 * localedata/locales/it_CH: Likewise.
24726 * localedata/locales/it_IT: Likewise.
24727 * localedata/locales/iu_CA: Likewise.
24728 * localedata/locales/ja_JP: Likewise.
24729 * localedata/locales/ka_GE: Likewise.
24730 * localedata/locales/kk_KZ: Likewise.
24731 * localedata/locales/kl_GL: Likewise.
24732 * localedata/locales/kn_IN: Likewise.
24733 * localedata/locales/ko_KR: Likewise.
24734 * localedata/locales/kok_IN: Likewise.
24735 * localedata/locales/ks_IN: Likewise.
24736 * localedata/locales/ks_IN@devanagari: Likewise.
24737 * localedata/locales/ku_TR: Likewise.
24738 * localedata/locales/kw_GB: Likewise.
24739 * localedata/locales/ky_KG: Likewise.
24740 * localedata/locales/lb_LU: Likewise.
24741 * localedata/locales/lg_UG: Likewise.
24742 * localedata/locales/li_BE: Likewise.
24743 * localedata/locales/li_NL: Likewise.
24744 * localedata/locales/lij_IT: Likewise.
24745 * localedata/locales/ln_CD: Likewise.
24746 * localedata/locales/lo_LA: Likewise.
24747 * localedata/locales/lt_LT: Likewise.
24748 * localedata/locales/lv_LV: Likewise.
24749 * localedata/locales/lzh_TW: Likewise.
24750 * localedata/locales/mag_IN: Likewise.
24751 * localedata/locales/mai_IN: Likewise.
24752 * localedata/locales/mg_MG: Likewise.
24753 * localedata/locales/mhr_RU: Likewise.
24754 * localedata/locales/mi_NZ: Likewise.
24755 * localedata/locales/mk_MK: Likewise.
24756 * localedata/locales/ml_IN: Likewise.
24757 * localedata/locales/mn_MN: Likewise.
24758 * localedata/locales/mni_IN: Likewise.
24759 * localedata/locales/mr_IN: Likewise.
24760 * localedata/locales/ms_MY: Likewise.
24761 * localedata/locales/mt_MT: Likewise.
24762 * localedata/locales/my_MM: Likewise.
24763 * localedata/locales/nan_TW: Likewise.
24764 * localedata/locales/nan_TW@latin: Likewise.
24765 * localedata/locales/nb_NO: Likewise.
24766 * localedata/locales/nds_DE: Likewise.
24767 * localedata/locales/nds_NL: Likewise.
24768 * localedata/locales/ne_NP: Likewise.
24769 * localedata/locales/nhn_MX: Likewise.
24770 * localedata/locales/niu_NU: Likewise.
24771 * localedata/locales/niu_NZ: Likewise.
24772 * localedata/locales/nl_AW: Likewise.
24773 * localedata/locales/nl_BE: Likewise.
24774 * localedata/locales/nl_NL: Likewise.
24775 * localedata/locales/nn_NO: Likewise.
24776 * localedata/locales/nr_ZA: Likewise.
24777 * localedata/locales/nso_ZA: Likewise.
24778 * localedata/locales/oc_FR: Likewise.
24779 * localedata/locales/om_ET: Likewise.
24780 * localedata/locales/om_KE: Likewise.
24781 * localedata/locales/or_IN: Likewise.
24782 * localedata/locales/os_RU: Likewise.
24783 * localedata/locales/pa_IN: Likewise.
24784 * localedata/locales/pa_PK: Likewise.
24785 * localedata/locales/pap_AW: Likewise.
24786 * localedata/locales/pap_CW: Likewise.
24787 * localedata/locales/pl_PL: Likewise.
24788 * localedata/locales/ps_AF: Likewise.
24789 * localedata/locales/pt_BR: Likewise.
24790 * localedata/locales/pt_PT: Likewise.
24791 * localedata/locales/quz_PE: Likewise.
24792 * localedata/locales/raj_IN: Likewise.
24793 * localedata/locales/ro_RO: Likewise.
24794 * localedata/locales/ru_RU: Likewise.
24795 * localedata/locales/ru_UA: Likewise.
24796 * localedata/locales/rw_RW: Likewise.
24797 * localedata/locales/sa_IN: Likewise.
24798 * localedata/locales/sat_IN: Likewise.
24799 * localedata/locales/sc_IT: Likewise.
24800 * localedata/locales/sd_IN: Likewise.
24801 * localedata/locales/sd_IN@devanagari: Likewise.
24802 * localedata/locales/se_NO: Likewise.
24803 * localedata/locales/sgs_LT: Likewise.
24804 * localedata/locales/shs_CA: Likewise.
24805 * localedata/locales/si_LK: Likewise.
24806 * localedata/locales/sid_ET: Likewise.
24807 * localedata/locales/sk_SK: Likewise.
24808 * localedata/locales/sl_SI: Likewise.
24809 * localedata/locales/sm_WS: Likewise.
24810 * localedata/locales/so_DJ: Likewise.
24811 * localedata/locales/so_ET: Likewise.
24812 * localedata/locales/so_KE: Likewise.
24813 * localedata/locales/so_SO: Likewise.
24814 * localedata/locales/sq_AL: Likewise.
24815 * localedata/locales/sq_MK: Likewise.
24816 * localedata/locales/sr_ME: Likewise.
24817 * localedata/locales/sr_RS: Likewise.
24818 * localedata/locales/sr_RS@latin: Likewise.
24819 * localedata/locales/ss_ZA: Likewise.
24820 * localedata/locales/st_ZA: Likewise.
24821 * localedata/locales/sv_FI: Likewise.
24822 * localedata/locales/sv_SE: Likewise.
24823 * localedata/locales/sw_KE: Likewise.
24824 * localedata/locales/sw_TZ: Likewise.
24825 * localedata/locales/szl_PL: Likewise.
24826 * localedata/locales/ta_IN: Likewise.
24827 * localedata/locales/ta_LK: Likewise.
24828 * localedata/locales/tcy_IN: Likewise.
24829 * localedata/locales/te_IN: Likewise.
24830 * localedata/locales/tg_TJ: Likewise.
24831 * localedata/locales/th_TH: Likewise.
24832 * localedata/locales/the_NP: Likewise.
24833 * localedata/locales/ti_ER: Likewise.
24834 * localedata/locales/ti_ET: Likewise.
24835 * localedata/locales/tig_ER: Likewise.
24836 * localedata/locales/tk_TM: Likewise.
24837 * localedata/locales/tl_PH: Likewise.
24838 * localedata/locales/tn_ZA: Likewise.
24839 * localedata/locales/to_TO: Likewise.
24840 * localedata/locales/tpi_PG: Likewise.
24841 * localedata/locales/tr_CY: Likewise.
24842 * localedata/locales/tr_TR: Likewise.
24843 * localedata/locales/ts_ZA: Likewise.
24844 * localedata/locales/tt_RU: Likewise.
24845 * localedata/locales/tt_RU@iqtelif: Likewise.
24846 * localedata/locales/ug_CN: Likewise.
24847 * localedata/locales/uk_UA: Likewise.
24848 * localedata/locales/unm_US: Likewise.
24849 * localedata/locales/ur_IN: Likewise.
24850 * localedata/locales/ur_PK: Likewise.
24851 * localedata/locales/uz_UZ: Likewise.
24852 * localedata/locales/uz_UZ@cyrillic: Likewise.
24853 * localedata/locales/ve_ZA: Likewise.
24854 * localedata/locales/vi_VN: Likewise.
24855 * localedata/locales/wa_BE: Likewise.
24856 * localedata/locales/wae_CH: Likewise.
24857 * localedata/locales/wal_ET: Likewise.
24858 * localedata/locales/wo_SN: Likewise.
24859 * localedata/locales/xh_ZA: Likewise.
24860 * localedata/locales/yi_US: Likewise.
24861 * localedata/locales/yo_NG: Likewise.
24862 * localedata/locales/yue_HK: Likewise.
24863 * localedata/locales/yuw_PG: Likewise.
24864 * localedata/locales/zh_CN: Likewise.
24865 * localedata/locales/zh_HK: Likewise.
24866 * localedata/locales/zh_SG: Likewise.
24867 * localedata/locales/zh_TW: Likewise.
24868 * localedata/locales/zu_ZA: Likewise.
24870 2017-11-13 Florian Weimer <fweimer@redhat.com>
24872 * support/next_to_fault.h, support/next_to_fault.c: New files.
24873 * support/Makefile (libsupport-routines): Add next_to_fault.
24874 * resolv/tst-inet_pton.c (struct next_to_fault)
24875 (next_to_fault_allocate, next_to_fault_free): Remove.
24876 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24878 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24880 * elf/dl-support.c: Include <dl-procruntime.c>.
24881 * include/link.h: Include <link_map.h>.
24882 * sysdeps/generic/dl-procruntime.c: New file.
24883 * sysdeps/generic/link_map.h: Likewise.
24884 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24885 the writable ld.so namespace.
24887 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24889 timezone: pacify GCC -Wstringop-truncation
24890 Problem reported by Martin Sebor in:
24891 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24892 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24894 2017-11-12 Florian Weimer <fweimer@redhat.com>
24896 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24898 (tests): Add tst-xreadlink.
24899 * support/support.h (xstrndup): Declare.
24900 * support/xunistd.h (xunlink, xreadlink): Declare.
24901 * support/temp_file.h (support_create_temp_directory): Declare.
24902 * support/temp_file.c (support_create_temp_directory): New function.
24903 * support/support_chroot.c (support_chroot_create): Use it.
24904 * support/xreadlink.c: New file.
24905 * support/xstrndup.c: Likewise.
24906 * support/xunlink.c: Likewise.
24907 * support/tst-xreadlink.c: Likewise.
24909 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24911 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24913 2017-11-11 Florian Weimer <fweimer@redhat.com>
24917 * resolv/res_comp.c (printable_string, binary_hnok)
24918 (binary_leading_dash): New functions.
24919 (res_hnok): Reimplement using these functions and ns_name_pton.
24920 (res_ownok): Likewise.
24921 (res_mailok): Reimplement using printable_string, ns_name_pton and
24923 (res_dnok): Reimplement using printable_string and ns_name_pton.
24924 * resolv/tst-res_hnok.c (tests): Add additional tests.
24925 (LETTERDIGITS, PRINTABLE): Define.
24926 (do_test): Adjust one_char results.
24928 2017-11-11 Florian Weimer <fweimer@redhat.com>
24931 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24932 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24934 2017-11-11 Florian Weimer <fweimer@redhat.com>
24936 * resolv/tst-ns_name_pton.c: New file.
24937 * resolv/Makefile (tests): Add tst-ns_name_pton.
24938 (tst-ns_name_pton): Link against libresolv.
24940 2017-11-11 Florian Weimer <fweimer@redhat.com>
24942 * resolv/tst-res_hnok.c: New file.
24943 * resolv/Makefile (tests): Add tst-res_hnok.
24944 (tst-res_hnok): Link against libresolv.
24946 2017-11-11 Florian Weimer <fweimer@redhat.com>
24948 * resolv/tst-resolv-network.c: Use test framework instead explicit
24951 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24953 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24954 <jmp_buf-macros.h>.
24955 [!_ISOMAC] (STR_HELPER): New.
24956 [!_ISOMAC] (STR): Likewise.
24957 [!_ISOMAC] (TEST_SIZE): Likewise.
24958 [!_ISOMAC] (TEST_ALIGN): Likewise.
24959 [!_ISOMAC] (TEST_OFFSET): Likewise.
24960 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24961 field offsets of jmp_buf as well as sigjmp_buf.
24962 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24963 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24964 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24965 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24966 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24967 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24968 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24969 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24970 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24971 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24973 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24975 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24980 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24981 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24982 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24983 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24984 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24989 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24990 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24991 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24993 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24996 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24997 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24998 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24999 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25000 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25001 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25002 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25003 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25004 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25005 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25006 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25007 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25008 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25009 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25010 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25011 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25012 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25013 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25014 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25015 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25016 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25017 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25018 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25019 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25020 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25021 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25022 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25023 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25024 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25025 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25027 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25029 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25031 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25033 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25035 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25037 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25039 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25041 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25043 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25045 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25047 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25049 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25051 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25053 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25055 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25057 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25059 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25061 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25063 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25065 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25067 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25069 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25071 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25073 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25075 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25077 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25079 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25081 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25083 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25085 * stdlib/tst-strtod.h (F16): New macro.
25091 (IF_FLOAT16): Likewise.
25092 (IF_FLOAT32): Likewise.
25093 (IF_FLOAT64): Likewise.
25094 (IF_FLOAT32X): Likewise.
25095 (IF_FLOAT64X): Likewise.
25096 (IF_FLOAT128X): Likewise.
25097 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25098 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25099 (STRTOD_TEST_FOREACH): Likewise.
25100 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25101 (CHOOSE_f64): Likewise.
25102 (CHOOSE_f32x): Likewise.
25103 (CHOOSE_f64x): Likewise.
25105 2017-11-07 Andreas Schwab <schwab@suse.de>
25107 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25109 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25112 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25114 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25117 2017-11-07 Claude Paroz <claude@2xlibre.net>
25120 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25122 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25124 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25127 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25130 * nptl/allocatestack.c (allocate_stack): Check if
25131 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25132 __PTHREAD_MUTEX_HAVE_PREV is defined.
25133 * nptl/descr.h (pthread): Likewise.
25134 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25136 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25137 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25138 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25139 * sysdeps/nptl/bits/thread-shared-types.h
25140 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25142 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25143 of __WORDSIZE for internal layout.
25144 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25145 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25146 instead of __WORDSIZE whether to use an union for __spins and __list
25148 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25150 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25151 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25153 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25154 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25156 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25157 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25159 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25160 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25162 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25163 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25165 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25166 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25168 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25169 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25171 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25172 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25174 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25175 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25177 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25178 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25180 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25181 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25183 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25184 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25186 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25187 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25189 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25190 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25192 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25193 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25196 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25198 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25199 checks for expected input type size.
25200 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25201 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25203 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25204 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25205 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25206 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25207 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25208 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25209 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25210 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25211 superflous runtime assert check.
25212 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25214 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25216 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25218 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25220 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25222 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25224 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25225 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25226 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25228 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25230 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25232 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25234 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25236 * nptl/pthread_attr_setinheritsched.c
25237 (__pthread_attr_setinheritsched): Likewise.
25238 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25240 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25242 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25243 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25244 __old_pthread_attr_setstack): Likewise.
25245 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25247 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25249 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25251 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25252 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25254 * nptl/tst-typesizes.c: Remove file.
25256 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25257 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25258 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25259 checks for internal pthread_mutex_t offsets.
25260 * sysdeps/aarch64/nptl/pthread-offsets.h
25261 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25262 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25263 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25264 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25265 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25266 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25267 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25268 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25269 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25270 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25271 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25272 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25273 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25274 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25275 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25276 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25277 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25278 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25280 2017-11-07 Florian Weimer <fweimer@redhat.com>
25282 * bits/mman-linux.h: Move ...
25283 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25285 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25288 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25290 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25291 Redefine STRNLEN as __strnlen_power8.
25293 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25295 * signal/sighold.c (sighold): Optimize implementation.
25297 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25298 __NR_rt_sigqueueinfo.
25300 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25302 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25303 assume __NR_rt_sigtimedwait.
25304 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25305 and add LIBC_CANCEL_HANDLED for cancellation marking.
25306 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25308 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25309 (sysdeps_routines): Add memchr_noneon.
25310 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25311 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25312 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25313 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25314 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25315 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25316 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25318 * sysdeps/arm/arm-ifunc.h: New file.
25319 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25320 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25321 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25322 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25323 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25324 (__memcpy_neon): Avoid create hidden alias.
25325 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25326 (__memcpy_vfp): Likewise.
25327 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25328 (sysdep_routines): Add memcpy_arm.
25329 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25331 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25334 * Makerules (make-link-multidir): New.
25335 * config.make.in (multidir): New.
25336 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25337 * configure: Regenerated.
25338 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25339 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25340 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25343 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25346 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25347 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25349 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25351 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25354 2017-11-04 Florian Weimer <fweimer@redhat.com>
25356 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25358 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25360 * math/math.h [__HAVE_DISTINCT_FLOAT16
25361 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25362 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25363 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25364 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25365 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25366 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25367 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25368 (__MATH_TG_F32): New macro.
25369 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25370 (__MATH_TG_F64X): Likewise.
25371 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25372 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25374 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25376 * po/de.po: Update translations.
25377 * po/ru.po: Likewise.
25379 2017-11-03 Florian Weimer <fweimer@redhat.com>
25381 * manual/filesys.texi (Hard Links): Document linkat.
25383 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25385 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25386 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25387 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25388 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25389 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25390 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25391 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25392 the same as _Float128.
25393 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25394 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25395 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25398 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25400 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25402 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25404 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25405 (strtof32x): Likewise.
25406 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25407 (strtof64x): Likewise.
25408 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25409 (strtof128x): Likewise.
25410 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25411 (strfromf16): Likewise.
25412 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25413 (strfromf32): Likewise.
25414 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25415 (strfromf64): Likewise.
25416 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25417 (strfromf32x): Likewise.
25418 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25419 (strfromf64x): Likewise.
25420 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25421 (strfromf128x): Likewise.
25422 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25423 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25424 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25425 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25426 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25427 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25429 2017-11-03 Richard Henderson <rth@twiddle.net>
25431 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25433 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25435 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25437 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25439 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25440 DT_TLSDESC_GOT initialization.
25441 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25442 (_dl_tlsdesc_resolve_hold): Likewise.
25443 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25444 (_dl_tlsdesc_resolve_hold): Likewise.
25445 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25446 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25448 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25450 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25452 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25455 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25456 non-lazily for R_ARM_TLS_DESC.
25458 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25461 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25462 R_ARM_TLS_DESC case.
25463 (elf_machine_lazy_rel): Remove the prelink check.
25465 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25467 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25468 DT_TLSDESC_GOT initialization.
25469 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25470 (_dl_tlsdesc_resolve_rela): Likewise.
25471 (_dl_tlsdesc_resolve_hold): Likewise.
25472 (_dl_tlsdesc_undefweak): Remove ldar.
25473 (_dl_tlsdesc_dynamic): Likewise.
25474 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25475 (_dl_tlsdesc_resolve_rela): Likewise.
25476 (_dl_tlsdesc_resolve_hold): Likewise.
25477 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25478 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25479 (_dl_tlsdesc_resolve_rela): Likewise.
25480 (_dl_tlsdesc_resolve_hold): Likewise.
25482 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25484 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25485 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25487 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25489 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25490 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25492 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25494 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25496 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25497 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25498 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25499 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25500 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25501 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25502 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25503 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25504 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25505 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25506 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25508 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25511 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25512 * localedata/locales/tpi_PG: Add standard header.
25514 2017-11-02 Florian Weimer <fweimer@redhat.com>
25516 test-errno-linux: quotactl can fail with EPERM in containers.
25517 * sysdeps/unix/sysv/linux/test-errno-linux.c
25518 (LIST, LIST_FORWARD): New macros.
25519 (check_error_in_list): New function.
25520 (test_wrp_rv): Accept list of permitted error codes.
25521 (test_wrp_rv2): Remove.
25522 (test_wrp): Call test_wrp_rv with list of error codes.
25523 (test_wrp2): Accept list of error codes.
25524 (do_test): Adjust. Allow EPERM for quotactl.
25526 2017-11-02 Florian Weimer <fweimer@redhat.com>
25528 * stdio-common/bug16.c (do_test): Use array_length.
25529 * stdio-common/errlist.c (_sys_nerr): Likewise.
25530 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25531 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25532 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25533 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25534 (do_test): Use array_length.
25535 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25536 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25537 * stdio-common/tst-printf-round.c (do_test): Likewise.
25538 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25539 (CHECK): Use array_length.
25540 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25541 * stdio-common/tstscanf.c (main): Likewise.
25542 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25544 2017-11-02 Florian Weimer <fweimer@redhat.com>
25546 Add array_length and array_end macros.
25547 * include/array_length.h: New file.
25549 2017-11-02 Florian Weimer <fweimer@redhat.com>
25552 * posix/tst-glob-tilde.c (do_noescape): New variable.
25553 (one_test): Process it.
25554 (do_test): Set do_noescape. Add unescaping test case.
25556 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25559 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25560 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25561 with appropriate macros defined and undefined.
25562 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25563 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25564 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25565 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25566 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25567 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25568 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25569 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25570 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25571 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25574 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25575 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25576 that for long double. Do not condition define and undefine of
25577 _Mdouble_complex_ on [__CFLOAT128].
25579 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25581 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25582 of <sysdeps/generic/sysdep.h>.
25583 (ALIGNARG): Removed.
25584 (ASM_SIZE_DIRECTIVE): Likewise.
25587 (ENTRY_CHK): Likewise.
25588 (END_CHK): Likewise.
25589 (syscall_error): Likewise.
25590 (mcount): Likewise.
25591 (PSEUDO_END): Likewise.
25593 (atom_text_section): Likewise.
25594 * sysdeps/x86/sysdep.h: New file.
25595 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25596 of <sysdeps/generic/sysdep.h>.
25597 (ALIGNARG): Removed.
25598 (ASM_SIZE_DIRECTIVE): Likewise.
25601 (ENTRY_CHK): Likewise.
25602 (END_CHK): Likewise.
25603 (syscall_error): Likewise.
25604 (mcount): Likewise.
25605 (PSEUDO_END): Likewise.
25607 (atom_text_section): Likewise.
25609 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25611 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25612 category of LC_CTYPE set to "i18n:2012".
25613 * localedata/locales/i18n_ctype: Regenerate.
25615 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25617 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25618 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25619 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25620 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25622 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25623 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25624 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25625 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25627 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25630 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25632 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25634 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25636 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25637 (CMPLXF32X): Likewise.
25638 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25639 (CMPLXF64X): Likewise.
25640 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25641 (CMPLXF128X): Likewise.
25644 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25645 (__MATH_EVAL_FMT2): Define to add 0.0f.
25647 2017-10-31 Alan Modra <amodra@gmail.com>
25649 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25665 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25666 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25667 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25668 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25669 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25676 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25677 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25678 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25679 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25680 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25681 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25682 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25683 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25684 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25685 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25686 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25687 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25691 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25692 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25693 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25694 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25695 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25696 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25697 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25698 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25699 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25700 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25701 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25702 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25703 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25704 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25705 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25706 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25707 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25708 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25709 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25710 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25711 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25712 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25713 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25714 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25715 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25716 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25717 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25718 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25719 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25722 include sysdep.h and math_ldbl_opt.h.
25724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25725 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25751 2017-10-31 Alan Modra <amodra@gmail.com>
25753 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25754 string/strncase_l.c, not string/strncase.c.
25755 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25756 (libc_hidden_def): Redefine.
25758 2017-10-31 Alan Modra <amodra@gmail.com>
25760 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25761 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25762 (__strcasecmp): Don't define.
25764 2017-10-31 Alan Modra <amodra@gmail.com>
25766 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25768 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25769 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25772 2017-10-31 Alan Modra <amodra@gmail.com>
25774 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25777 2017-10-31 Alan Modra <amodra@gmail.com>
25779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25780 Redefine only when SHARED.
25782 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25784 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25785 Include <bits/math-finite.h> with appropriate macros defined and
25787 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25788 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25789 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25790 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25791 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25793 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25794 [!_Mlong_double_] (_Mlong_double_): Likewise.
25795 [!_Mfloat16_] (_Mfloat16_): Likewise.
25796 [!_Mfloat32_] (_Mfloat32_): Likewise.
25797 [!_Mfloat64_] (_Mfloat64_): Likewise.
25798 [!_Mfloat128_] (_Mfloat128_): Likewise.
25799 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25800 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25801 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25802 (_Mdouble_): Define without indirection through those macros.
25803 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25804 [!_Mfloat128_] (_Mfloat128_): Likewise.
25805 [_Mlong_double_] (_Mlong_double_): Likewise.
25806 (_Mdouble_): Define without indirection through those macros.
25807 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25808 not add -D_Mlong_double_=double.
25809 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25810 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25812 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25814 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25816 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25818 * sysdeps/x86/libc-start.c: Reformat.
25820 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25823 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25824 (1): Renamed to ...
25827 (L(Src2)): Likewise.
25828 (L(1)): Renamed to ...
25831 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25833 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25834 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25835 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25836 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25837 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25838 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25839 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25840 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25841 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25842 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25843 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25844 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25845 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25846 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25847 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25848 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25849 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25850 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25851 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25852 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25853 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25854 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25855 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25856 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25857 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25858 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25859 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25860 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25861 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25862 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25863 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25864 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25865 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25866 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25867 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25868 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25869 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25870 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25871 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25872 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25873 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25874 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25875 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25876 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25877 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25878 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25879 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25880 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25881 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25882 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25883 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25884 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25885 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25886 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25887 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25888 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25889 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25890 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25891 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25892 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25893 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25894 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25895 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25896 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25897 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25898 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25900 2017-10-30 Florian Weimer <fweimer@redhat.com>
25902 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25904 * io/tst-mkdirat.c (do_test): Likewise.
25905 * io/tst-mkfifoat.c (do_test): Likewise.
25906 * io/tst-mknodat.c (do_test): Likewise.
25907 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25908 * locale/programs/locale.c (select_dirs): Likewise.
25909 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25910 * posix/bug-glob2.c (my_readdir): Likewise.
25911 * posix/tst-dir.c (main): Likewise.
25912 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25913 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25915 2017-10-30 Florian Weimer <fweimer@redhat.com>
25917 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25920 2017-10-30 Florian Weimer <fweimer@redhat.com>
25922 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25923 Convert to support/test-driver.c.
25924 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25925 New macro parameters.
25926 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25927 * posix/tst-gnuglob.c: New file.
25928 * posix/tst-gnuglob64.c: Likewise.
25929 * posix/Makefile (tests): Add tst-gnuglob64.
25931 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25934 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25935 and use a better translation for March in “mon”.
25936 * localedata/locales/csb_PL: Use more ASCII to improve the
25937 readability of the source.
25939 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25942 * localedata/locales/km_KH: Use ASCII as much
25943 as possible for better readability of the source and
25944 remove useless comments.
25945 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25946 was commented out and apparently wrong anyway because it was
25947 using Lao characters. If Buddhist era should be used
25948 for km_KH, a native speaker should write the correct formaat
25950 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25951 (According to CLDR, the first weekday for Cambodia is Sunday).
25952 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25953 (These were using Lao characters which must be wrong. If we get
25954 the correct data from a native speaker, we could add it back, until
25955 then it is better not to have name_mr and name_mrs at all than
25958 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25960 * locale/loadlocale.c: Correct size of
25961 _nl_value_type_LC_<category> arrays.
25963 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25965 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25966 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25967 with appropriate macros defined and undefined.
25968 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25969 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25970 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25971 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25972 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25974 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25976 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25979 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25981 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25982 with lowercase letters to make it agree with CLDR.
25984 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25987 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25988 first letters of yesstr and nostr in yesexpr and noexpr,
25989 not for the full words.
25990 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25991 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25992 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25993 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25994 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25995 first letters of yesstr and nostr in yesexpr and noexpr,
25996 until now only English was matched in yesexpr and noexpr.
25997 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25998 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25999 fil but not for tl. As tl and fil are very similar, using fil
26000 is probably better than using English.
26002 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26005 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26006 in yesstr and nostr.
26008 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26010 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26011 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26012 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26014 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26016 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26018 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26020 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26021 (SNANF128X): Likewise.
26023 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26024 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26025 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26026 (HUGE_VAL_F32): Likewise.
26027 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26028 (HUGE_VAL_F64): Likewise.
26029 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26030 (HUGE_VAL_F32X): Likewise.
26031 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26032 (HUGE_VAL_F64X): Likewise.
26033 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26034 (HUGE_VAL_F128X): Likewise.
26036 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26038 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26039 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26040 for the br_FR locale.
26042 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26045 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26047 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26049 * locale/programs/record-status.h: Define globals, and function
26050 prototypes. Move function bodies...
26051 * locale/programs/record-status.c: ... to here. New file.
26052 * iconv/Makefile (iconv_prog-modules): Add record-status.
26053 * locale/Makefile (lib-modules): Likewise.
26054 * iconv/iconv_prog.c: Remove verbose.
26055 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26056 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26057 record a warning about ASCII compatibility.
26058 * locale/programs/ld-monetary.c (monetary_finish): If
26059 warn_int_curr_symbol is true then record a warning about the symbol
26060 not being in our ISO 4217 list.
26061 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26062 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26063 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26064 (OPT_NO_WARN): Define.
26065 (OPT_WARN): Define.
26066 (options): Add entry for --no-warnings, and --warnings.
26067 (set_warnings): New function to enable/disable warnings.
26068 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26069 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26070 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26071 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26072 Pass flags to generate_locale.
26073 (generate_locale): Accept new flag argument and pass it to localedef
26075 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26076 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26078 * localedata/Makefile (test-input-data): Use full file name.
26079 * localedata/da_DK.in: Rename to...
26080 * localedata/da_DK.ISO-8859-1.in: ...this.
26081 * localedata/de_DE.in: Rename to...
26082 * localedata/de_DE.ISO-8859-1.in: ...this.
26083 * localedata/en_US.in: Rename to...
26084 * localedata/en_US.ISO-8859-1.in: ...this.
26085 * localedata/fr_FR.in: Rename to...
26086 * localedata/fr_FR.UTF-8.in: ... this.
26087 * localedata/hr_HR.in: Rename to...
26088 * localedata/hr_HR.ISO-8859-2.in: ...this.
26089 * localedata/hu_HU.in: Rename to...
26090 * localedata/hu_HU.UTF-8.in: ...this.
26091 * localedata/si_LK.in: Rename to...
26092 * localedata/si_LK.UTF-8.in: ...this.
26093 * localedata/sv_SE.in: Rename to...
26094 * localedata/sv_SE.ISO-8859-1.in: ...this.
26095 * localedata/tr_TR.in: Rename to...
26096 * localedata/tr_TR.UTF-8.in: ...this.
26097 * localedata/uk_UA.in: Rename to...
26098 * localedata/uk_UA.UTF-8.in: ...this.
26099 * localedata/sort-test.sh: Test file is locale name with the
26102 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26103 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26105 * localedata/locales/i18n_ctype: Regenerate.
26106 * localedata/locales/tr_TR: Likewise.
26107 * localedata/locales/translit_circle: Likewise.
26108 * localedata/locales/translit_cjk_compat: Likewise.
26109 * localedata/locales/translit_combining: Likewise.
26110 * localedata/locales/translit_compat: Likewise.
26111 * localedata/locales/translit_font: Likewise.
26112 * localedata/locales/translit_fraction: Likewise.
26114 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26116 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26117 lxvd2x/stxvd2x with lvx/stvx.
26118 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26120 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26122 * include/alloc_buffer.h: Replace "if if " with "if " in
26124 * sysdeps/mips/memcpy.S: Likkewise.
26125 * sysdeps/mips/memset.S: Likewise.
26126 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26128 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26130 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26133 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26136 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26137 yesexpr and noexpr.
26138 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26139 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26140 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26141 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26142 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26143 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26144 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26146 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26148 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26149 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26150 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26151 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26152 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26153 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26154 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26155 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26156 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26157 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26158 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26159 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26161 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26163 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26164 as possible for better readability of the source.
26165 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26166 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26167 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26168 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26169 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26170 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26171 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26172 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26173 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26174 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26175 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26176 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26177 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26178 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26179 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26180 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26181 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26182 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26183 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26184 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26185 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26186 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26187 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26188 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26189 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26190 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26191 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26192 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26193 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26194 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26195 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26196 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26197 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26198 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26199 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26200 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26201 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26202 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26203 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26204 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26205 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26206 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26207 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26208 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26209 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26210 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26211 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26212 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26213 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26214 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26215 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26216 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26217 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26218 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26219 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26220 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26221 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26222 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26223 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26224 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26225 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26226 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26227 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26228 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26229 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26230 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26231 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26232 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26233 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26234 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26235 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26236 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26237 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26238 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26239 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26240 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26241 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26242 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26243 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26244 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26245 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26246 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26247 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26248 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26249 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26250 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26251 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26252 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26253 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26254 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26255 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26256 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26257 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26258 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26259 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26260 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26261 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26262 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26263 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26264 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26265 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26266 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26267 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26268 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26269 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26270 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26271 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26272 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26273 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26274 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26275 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26276 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26277 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26278 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26279 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26280 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26281 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26282 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26283 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26284 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26285 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26286 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26287 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26288 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26289 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26290 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26291 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26292 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26293 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26294 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26295 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26296 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26297 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26298 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26299 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26300 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26301 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26302 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26303 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26304 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26305 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26306 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26307 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26308 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26309 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26310 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26311 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26312 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26313 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26314 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26315 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26316 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26317 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26318 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26319 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26320 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26321 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26322 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26323 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26324 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26325 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26326 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26327 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26328 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26329 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26330 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26331 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26332 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26333 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26334 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26335 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26336 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26337 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26338 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26340 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26342 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26343 (Use first letters of yesstr and nostr correctly instead of using
26346 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26348 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26349 (Use first letters of yesstr and nostr correctly).
26351 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26353 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26354 also check for the first characters of yesstr and nostr.
26355 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26356 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26358 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26360 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26361 also check for Chinese characters.
26363 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26365 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26366 match also for the contents of yesstr and nostr. As the first letter
26367 of yesstr and nostr is equal, checking only for the first letter
26370 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26372 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26373 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26375 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26377 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26378 of main contributor.
26380 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26382 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26383 instead of using English.
26385 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26387 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26388 by including the first letters of nostr and yesexpr in the regexp.
26389 Also make it more readable by using ASCII where possible.
26391 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26393 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26394 the first letter of nostr in the regexp. It agrees with CLDR now.
26395 Also make it more readable by using ASCII where possible.
26397 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26399 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26400 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26401 these strings contain a U+17D6 (which somewhat looks like a colon)
26402 instead of a real colon to separate the full words for “yes”
26403 and “no” from the single letter responses.
26405 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26407 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26408 it agree with CLDR (include the first letter of yesstr).
26409 Also make it more readable by using ASCII where possible.
26411 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26413 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26414 and improve yesexpr and noexpr. The yesstr and nostr apparently
26415 came from CLDR. And CLDR has a bug there: these strings contain
26416 a U+0903 (which looks like a colon) instead of a real colon
26417 to separate the full words for “yes” and “no” from the single
26420 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26422 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26423 letters of the full yesstr and nostr in yesexpr and noexpr.
26425 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26427 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26428 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26429 * localedata/locales/an_ES: Make source more readable by using ASCII
26432 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26435 * localedata/locales/yuw_PG: New file.
26436 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26437 * locale/iso-639.def: Add Yau (Uruwa).
26439 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26441 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26443 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26445 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26446 (__libc_realloc): Likewise.
26447 (_mid_memalign): Likewise.
26448 (__libc_calloc): Likewise.
26450 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26452 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26453 by adding the generic +1 and -0 as in all other locales.
26454 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26455 day names and make it more readable by using ASCII where possible.
26457 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26459 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26460 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26462 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26464 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26465 WNOHANG in waitpid call.
26467 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26469 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26470 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26472 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26473 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26474 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26475 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26476 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26477 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26478 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26479 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26482 2017-10-23 Michael Collison <michael.collison@arm.com>
26484 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26485 with __builtin_sqrt.
26486 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26487 with __builtin_sqrtf.
26488 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26489 with __builtin_ceil.
26490 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26491 with __builtin_ceilf.
26492 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26493 with __builtin_floor.
26494 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26495 with __builtin_floorf.
26496 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26497 with __builtin_fma.
26498 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26499 with __builtin_fmaf.
26500 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26501 with __builtin_fmax.
26502 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26503 with __builtin_fmaxf.
26504 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26505 with __builtin_fmin.
26506 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26507 with __builtin_fminf.
26508 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26509 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26510 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26511 with builtin_rint and conversion to int.
26512 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26513 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26514 with builtin_llround.
26515 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26516 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26517 with builtin_rint and conversion to long int.
26518 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26519 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26520 with builtin_lround.
26521 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26522 with builtin_lroundf.
26523 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26524 statements with __builtin_nearbyint.
26525 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26526 statements with __builtin_nearbyintf.
26527 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26528 with __builtin_rint.
26529 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26530 with __builtin_rintf.
26531 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26532 with __builtin_round.
26533 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26534 with __builtin_roundf.
26535 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26536 with __builtin_trunc.
26537 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26538 with __builtin_truncf.
26539 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26540 and s_l[l]round[f].c too.
26542 2017-10-23 Alan Modra <amodra@gmail.com>
26544 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26545 Adjust stack after restoring regs. Add missing LR cfi_restore.
26547 2017-10-23 Alan Modra <amodra@gmail.com>
26549 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26550 Move LR save and frame setup/teardown and LR restore to
26551 immediately around memset call. Provide cfi.
26553 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26555 * sysdeps/i386/fpu/e_powf.S: Removed.
26556 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26557 * sysdeps/i386/fpu/w_powf.c: Likewise.
26558 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26559 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26560 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26562 (CFLAGS-e_powf-sse2.c): New.
26563 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26564 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26566 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26568 * sysdeps/i386/fpu/e_log2f.S: Removed.
26569 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26570 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26571 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26572 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26573 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26575 (CFLAGS-e_log2f-sse2.c): New.
26576 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26577 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26579 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26581 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26583 (CFLAGS-e_powf-fma.c): New.
26584 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26585 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26587 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26589 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26591 (CFLAGS-e_log2f-fma.c): New.
26592 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26593 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26595 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26597 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26599 (CFLAGS-e_logf-fma.c): New.
26600 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26601 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26603 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26605 * sysdeps/i386/fpu/e_logf.S: Removed.
26606 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26607 * sysdeps/i386/fpu/w_logf.c: Likewise.
26608 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26609 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26610 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26611 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26613 (CFLAGS-e_logf-sse2.c): New.
26614 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26615 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26617 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26619 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26620 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26621 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26622 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26623 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26625 (CFLAGS-e_exp2f-sse2.c): New.
26626 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26627 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26629 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26631 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26633 (CFLAGS-e_exp2f-fma.c): New.
26634 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26635 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26637 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26639 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26640 * sysdeps/i386/fpu/e_expf.S: Likewise.
26641 * sysdeps/i386/fpu/math_errf.c: Likewise.
26642 * sysdeps/i386/fpu/w_expf.c: Likewise.
26643 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26644 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26645 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26646 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26647 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26648 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26649 Remove e_expf-ia32.
26650 (CFLAGS-e_expf-sse2.c): New.
26651 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26652 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26654 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26656 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26657 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26658 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26659 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26661 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26663 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26664 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26666 (__redirect_expf): This.
26667 (SYMBOL_NAME): Changed to expf.
26668 (__ieee754_expf): Renamed to ...
26670 (__GI___expf): This.
26671 (__ieee754_expf): Add strong_alias.
26672 (__expf_finite): Likewise.
26674 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26676 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26679 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26682 2017-10-21 Florian Weimer <fweimer@redhat.com>
26684 * posix/Makefile (tests): Add tst-glob-tilde.
26685 (tests-special): Add tst-glob-tilde-mem.out
26686 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26687 (tst-glob-tilde-mem.out): Add mtrace check.
26688 * posix/tst-glob-tilde.c: New file.
26690 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26692 * bits/floatn-common.h: New file.
26693 * math/Makefile (headers): Add bits/floatn-common.h.
26694 * bits/floatn.h: Include <bits/floatn-common.h>.
26695 * sysdeps/ia64/bits/floatn.h: Likewise.
26696 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26697 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26698 * sysdeps/powerpc/bits/floatn.h: Likewise.
26699 * sysdeps/x86/bits/floatn.h: Likewise.
26701 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26703 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26704 indicates whether compiler emits an warning for alias for
26705 functions with incompatible types.
26708 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26709 the auxiliary process is terminated by a signal before calling _exit
26712 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26715 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26717 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26718 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26719 and bit_arch_XSAVEC_Usable if needed.
26720 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26721 and bit_arch_Use_dl_runtime_resolve_opt.
26722 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26724 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26725 (bit_arch_Prefer_No_AVX512): Updated.
26726 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26727 (bit_arch_XSAVEC_Usable): New.
26728 (STATE_SAVE_OFFSET): Likewise.
26729 (STATE_SAVE_MASK): Likewise.
26730 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26731 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26732 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26733 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26734 (index_arch_XSAVEC_Usable): New.
26735 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26736 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26737 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26739 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26740 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26741 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26742 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26743 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26744 _dl_runtime_resolve_xsavec.
26745 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26747 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26748 instead of VEC_SIZE.
26749 (REGISTER_SAVE_BND0): Removed.
26750 (REGISTER_SAVE_BND1): Likewise.
26751 (REGISTER_SAVE_BND3): Likewise.
26752 (REGISTER_SAVE_RAX): Always defined to 0.
26754 (_dl_runtime_resolve_avx): Likewise.
26755 (_dl_runtime_resolve_avx_slow): Likewise.
26756 (_dl_runtime_resolve_avx_opt): Likewise.
26757 (_dl_runtime_resolve_avx512): Likewise.
26758 (_dl_runtime_resolve_avx512_opt): Likewise.
26759 (_dl_runtime_resolve_sse): Likewise.
26760 (_dl_runtime_resolve_sse_vex): Likewise.
26762 (_dl_runtime_resolve_fxsave): Likewise.
26763 (USE_XSAVE): Likewise.
26764 (_dl_runtime_resolve_xsave): Likewise.
26765 (USE_XSAVEC): Likewise.
26766 (_dl_runtime_resolve_xsavec): Likewise.
26767 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26769 (_dl_runtime_resolve_avx512_opt): Likewise.
26770 (_dl_runtime_resolve_avx): Likewise.
26771 (_dl_runtime_resolve_avx_opt): Likewise.
26772 (_dl_runtime_resolve_sse): Likewise.
26773 (_dl_runtime_resolve_sse_vex): Likewise.
26774 (_dl_runtime_resolve_fxsave): New.
26775 (_dl_runtime_resolve_xsave): Likewise.
26776 (_dl_runtime_resolve_xsavec): Likewise.
26778 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26782 * posix/glob.c (__glob): Fix one-byte overflow.
26784 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26786 * malloc/malloc.c (sysdep-cancel.h): Add include.
26788 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26790 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26792 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26794 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26795 (tests): Remove $(objpfx)ga_test depdendency.
26796 * resolv/ga_test.c: Remove file.
26798 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26801 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26802 * localedata/locales/kab_DZ: New file.
26804 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26806 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26807 _dl_relocate_static_pie instead of _dl_start to compute load
26808 address in static PIE.
26810 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26812 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26814 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26817 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26818 * localedata/locales/shn_MM: New file.
26820 2017-10-20 Florian Weimer <fweimer@redhat.com>
26823 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26824 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26825 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26826 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26827 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26828 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26830 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26832 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26834 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26836 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26839 * sysdeps/mips/bits/long-double.h: Move to ....
26840 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26842 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26844 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26846 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26847 H.J. Lu <hongjiu.lu@intel.com>
26850 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26851 GLRO(dl_platform) to NULL.
26852 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26853 (modules-names): Add tst-platformmod-1 and
26854 x86_64/tst-platformmod-2.
26855 (CFLAGS-tst-platform-1.c): New.
26856 (CFLAGS-tst-platformmod-1.c): Likewise.
26857 (CFLAGS-tst-platformmod-2.c): Likewise.
26858 (LDFLAGS-tst-platformmod-2.so): Likewise.
26859 ($(objpfx)tst-platform-1): Likewise.
26860 ($(objpfx)tst-platform-1.out): Likewise.
26861 (tst-platform-1-ENV): Likewise.
26862 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26863 * sysdeps/x86_64/tst-platform-1.c: New file.
26864 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26865 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26867 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26870 * locale/iso-639.def: Add Karbi.
26871 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26872 * localedata/locales/mjw_IN: New file.
26874 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26876 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26877 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26878 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26879 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26880 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26881 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26882 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26884 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26885 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26886 * manual/math.texi (Mathematics): Document additional architecture
26887 support for _Float128.
26888 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26889 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26890 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26891 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26892 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26893 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26894 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26895 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26896 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26897 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26898 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26899 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26900 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26901 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26902 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26904 2017-10-18 Renlin Li <renlin.li@arm.com>
26906 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26907 _DYNAMIC symbol to calculate load address.
26909 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26911 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26912 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26914 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26915 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26917 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26920 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26921 and improve readability by using more ASCII.
26922 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26923 and improve readability by using more ASCII.
26925 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26927 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26928 not all targets support atomics on bool.
26930 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26932 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26933 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26935 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26936 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26937 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26938 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26939 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26940 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26942 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26944 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26947 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26950 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26951 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26952 (do_check_remalloced_chunk): Fix build bug.
26953 (do_check_malloc_state): Add assert that checks arena->top.
26954 (malloc_consolidate): Remove initialization.
26955 (int_mallinfo): Remove call to malloc_consolidate.
26956 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26958 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26960 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26961 (have_fastchunks): Remove.
26962 (clear_fastchunks): Remove.
26963 (set_fastchunks): Remove.
26964 (malloc_state): Add have_fastchunks.
26965 (malloc_init_state): Use have_fastchunks.
26966 (do_check_malloc_state): Remove incorrect invariant checks.
26967 (_int_malloc): Use have_fastchunks.
26968 (_int_free): Likewise.
26969 (malloc_consolidate): Likewise.
26971 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26973 * malloc/malloc.c (tcache_put): Inline.
26974 (tcache_get): Inline.
26976 2017-10-17 Jordi Mallach <jordi@gnu.org>
26978 Aurelien Jarno <aurelien@aurel32.net>
26980 * localedata/locales/ca_ES@valencia: New file.
26981 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26983 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26986 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26989 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26991 * scripts/build-many-glibcs.py (Context.add_all_configs):
26992 Add arm-linux-gnueabihf multiarch extra_glibcs.
26994 * sysdeps/generic/ifunc-init.h: New file.
26995 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26997 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27000 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27001 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27002 * stdlib/tst-strfmon_l.c: adapt test case.
27004 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27006 * sysdeps/generic/float128-abi.h: New file.
27007 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27008 non-__prefixed symbols to ....
27009 * math/Versions: ... here. Include <float128-abi.h>.
27010 * stdlib/Versions ... and here. Include <float128-abi.h>
27012 2017-10-16 Florian Weimer <fweimer@redhat.com>
27014 * version.h (VERSION): Switch to ".9000" as the development
27017 2017-10-16 Florian Weimer <fweimer@redhat.com>
27020 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27021 compat_symbol_reference to access non-default version.
27023 2017-10-16 Florian Weimer <fweimer@redhat.com>
27025 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27027 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27029 * include/shlib-compat.h (compat_symbol_reference): Update
27032 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27034 * math/Makefile (test-types): Add
27035 $(type-float128-$(float128-alias-fcts)).
27036 * math/test-float128.h (TYPE_STR): Define conditional on
27037 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27038 (ULP_IDX): Likewise.
27039 (ULP_I_IDX): Likewise.
27041 * stdlib/strtold.c: Include <bits/floatn.h>
27042 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27043 and later undefine as macro. Define as weak alias if
27045 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27046 and later undefine as macro. Define as weak alias if
27048 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27049 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27050 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27051 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27052 Define and later undefine as macro. Define as weak alias if
27054 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27056 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27057 Define and later undefine as macro. Define as weak alias if
27059 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27060 Define and later undefine as macro. Define as weak alias if
27063 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27065 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27066 record_verbose messages.
27068 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27071 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27072 to silence -O3 -Wall warning with GCC 7.
27074 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27076 * Makeconfig (+link-static-before-libc): Use the first of
27077 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27078 * gmon/Makefile (tests): Add tst-gmon-static.
27079 (tests-static): Likewise.
27080 (CFLAGS-tst-gmon-static.c): New.
27081 (CRT-tst-gmon-static): Likewise.
27082 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27083 (tst-gmon-static-ENV): Likewise.
27084 (tests-special): Likewise.
27085 ($(objpfx)tst-gmon-static.out): Likewise.
27086 (clean-tst-gmon-static-data): Likewise.
27087 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27088 * gmon/tst-gmon-static-gprof.sh: New file.
27089 * gmon/tst-gmon-static.c: Likewise.
27091 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27094 * locale/programs/linereader.c (get_string): Don't warn on
27095 non-symbolic character.
27098 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27102 * locale/programs/record-status.h: New file
27103 * locale/programs/locale.c: Add comment.
27104 * locale/programs/charmap-dir.c: Don't include error.h.
27105 (charmap_opendir): Use record_error.
27106 * locale/programs/charmap.c: Don't include error.h.
27107 (charmap_read): Use record_error, and record_warning.
27108 (parse_charmap): Likewise.
27109 * locale/programs/ld-address.c: Don't include error.h.
27110 (address_finish): Use record_error, and record_warning.
27111 * locale/programs/ld-collate.c: Don't include error.h.
27112 (collate_finish): Use record_error, and record_error_at_line.
27113 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27114 (ctype_class_new): Likewise.
27115 (ctype_map_new): Likewise.
27116 (set_one_default): Likewise.
27117 (set_class_defaults): Likewise.
27118 (translit_flatten): Likewise.
27119 (allocate_arrays): Use record_error, and record_verbose.
27120 * locale/programs/ld-identification.c: Don't include error.h.
27121 (indentation_finish): Use record_error and record_warning.
27122 * locale/programs/ld-measurement.c: Don't include error.h.
27123 (measurement_finish): Use record_error.
27124 * locale/programs/ld-messages.c
27125 (message_finish): Likewise.
27126 * locale/programs/ld-monetary.c
27127 (monetary_finish): Likewise.
27128 * locale/programs/ld-name.c (name_finish): Use record_error
27129 and record_warning.
27130 * locale/programs/ld-numeric.c
27131 (numeric_finish): Use record_error.
27132 * locale/programs/ld-paper.c: Don't include error.h.
27133 (paper_finish): Use record_error.
27134 * locale/programs/ld-telephone.c: Don't include error.h.
27135 (telephone_finish): Use record_error.
27136 * locale/programs/ld-time.c (time_finish): Likewise.
27137 * locale/programs/linereader.h (lr_error): Make inline func.
27138 * locale/programs/localedef.c: Define recorded_warning_count,
27139 and recorded_error_count.
27140 (main): Use record_error. Use recorded_error_count and
27141 recorded_warning_count to issue correct error returns.
27142 (add_to_readlist): Use record_error.
27143 (find_locale): Likewise.
27144 (load_locale): Likewise.
27145 * locale/programs/localedef.h: Remove be_quiet
27146 and WITH_CUR_LOCALE.
27147 * locale/programs/locarchive.c (compare_from_file): Use
27149 * locale/programs/locfile.c (write_locale_data): Use
27151 * locale/programs/repertoire.c: Dont include error.h.
27152 (repertoire_complain): Use record_error.
27153 * localedata/tst-fmon.sh: Expect failures from localedef.
27154 * localedata/tst-locale.sh: Likewise.
27155 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27157 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27158 (REPORTS): Likewise.
27160 (i18n): Rename to...
27161 (i18n_ctype): ...this.
27162 (i18n-report): Rename to...
27163 (i18n_ctype-report): ...this.
27164 * localedata/locales/i18n_ctype: Regenerate.
27165 * localedata/locales/i18n: copy i18n_ctype.
27167 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27169 * stdlib/strfroml.c: Include <bits/floatn.h>.
27170 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27171 Define before include of <stdlib.h> and undefine afterwards, then
27172 define as weak alias.
27174 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27175 Undefine and restore default definition. Use
27176 libm_alias_ldouble_other.
27178 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27181 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27184 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27186 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27187 Assign sym_map to be map for local symbols, as TLS relocations
27188 use sym_map to determine whether the symbol is defined and to
27189 extract the TLS information.
27190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27193 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27196 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27197 (math_force_eval): Add powerpc version.
27200 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27202 (do_test): Likewise.
27203 * stdio-common/tst-printf.sh: Likewise.
27204 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27205 ifdef clause in order to set the carry bit right. Replace r0 by
27206 0 without changing the behavior.
27208 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27210 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27211 <libm-alias-ldouble.h>.
27212 (fabsl): Define using libm_alias_ldouble.
27213 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27214 <libm-alias-ldouble.h>.
27215 (fabsl): Define using libm_alias_ldouble.
27217 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27218 Remove conditional code.
27220 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27221 Rename to __clog10_internal_l.
27222 (__clog10_internal_l): Define aliases using
27223 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27226 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27228 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27229 * benchtests/sincosf-inputs: New file.
27230 * benchtests/cosf-inputs: New file.
27231 * benchtests/sinf-inputs: New file.
27233 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27235 * posix/tst-spawn.c (do_test): Wait for both children.
27237 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27240 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27241 tests-pie): Add tst-gmon-pie.
27242 (CFLAGS-tst-gmon-pie.c): New.
27243 (CRT-tst-gmon-pie): Likewise.
27244 (tst-gmon-pie-ENV): Likewise.
27245 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27246 ($(objpfx)tst-gmon-pie.out): Likewise.
27247 (clean-tst-gmon-pie-data): Likewise.
27248 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27249 * gmon/gmon.c [PIC]: Include <link.h>.
27250 [PIC] (callback): New function.
27251 (write_hist): Add an argument for load address. Subtract load
27253 (write_call_graph): Likewise.
27254 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27255 it to write_hist and write_call_graph.
27256 * gmon/tst-gmon-pie.c: New file.
27258 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27260 * math/Makefile (test-types-basic): New variable.
27261 (test-types): Likewise.
27262 (libm-test-support): Use $(test-types) instead of $(types).
27263 (libm-tests-base-normal): Likewise.
27264 (libm-tests-base-finite): Likewise.
27265 (libm-tests-base-inline): Likewise.
27266 (generated): Likewise.
27267 ($(objpfx)libm-test-support-$(t).c): Likewise.
27268 (libm-tests-for-type iterator): Likewise.
27269 (libm-test-support iterator): Likewise.
27270 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27271 (ulp_idx): Use ULP_IDX.
27272 * math/test-ldouble.h: Include <float.h>.
27273 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27274 (ULP_IDX): New macro.
27275 (ULP_I_IDX): Likewise.
27276 * math/test-double.h (ULP_IDX): Likewise.
27277 (ULP_I_IDX): Likewise.
27278 * math/test-float.h (ULP_IDX): Likewise.
27279 (ULP_I_IDX): Likewise.
27280 * math/test-float128.h (ULP_IDX): Likewise.
27281 (ULP_I_IDX): Likewise.
27283 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27285 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27286 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27287 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27288 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27289 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27290 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27291 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27294 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27295 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27296 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27297 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27299 (SINGLE_THREAD_BY_GLOBAL): Define.
27300 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27302 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27304 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27306 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27308 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27309 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27313 2017-10-11 Andreas Schwab <schwab@suse.de>
27315 * nis/Makefile (aux): Remove.
27316 * nscd/Makefile (aux): Add nscd_hash.
27317 (nscd-modules): Likewise.
27318 ($(objpfx)nscd): Don't depend on libnsl.
27319 * nscd/nscd_hash.c: New file.
27320 * nscd/nscd_hash.h: Likewise.
27321 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27322 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27323 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27324 instead of <nis/rpcsvc/nis.h>.
27325 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27327 2017-10-11 Florian Weimer <fweimer@redhat.com>
27330 Avoid large NSS buffers with many addresses, aliases.
27331 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27332 using dynarrays and struct alloc_buffer.
27333 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27334 (tst-nss-files-hosts-multi): Link with -ldl.
27335 * nss/tst-nss-files-hosts-multi.c: New file.
27337 2017-10-11 Florian Weimer <fweimer@redhat.com>
27340 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27341 scratch_buffer. Eliminate gotos.
27343 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27345 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27346 libm_alias_ldouble_other.
27347 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27348 undefine and redefine.
27349 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27350 (exp10l): Do not define here.
27351 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27352 (weak_alias): Undefine and redefine.
27353 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27354 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27355 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27356 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27358 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27359 [!__fma] (fma): Define using libm_alias_double.
27360 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27361 [!__fmaf] (fmaf): Define using libm_alias_float.
27362 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27363 (fmal): Define using libm_alias_ldouble.
27365 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27367 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27369 (libm_alias_double_other): Likewise.
27370 (libm_alias_double_r): Use libm_alias_double_other_r.
27371 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27373 (libm_alias_float_other): Likewise.
27374 (libm_alias_float_r): Use libm_alias_float_other_r.
27375 * sysdeps/generic/libm-alias-float128.h
27376 (libm_alias_float128_other_r): New macro.
27377 (libm_alias_float128_other): Likewise.
27378 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27379 * sysdeps/generic/libm-alias-ldouble.h
27380 (libm_alias_ldouble_other_r): New macro.
27381 (libm_alias_ldouble_other): Likewise.
27382 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27383 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27384 (libm_alias_double_other_r): New macro.
27385 (libm_alias_double_other): Likewise.
27386 (libm_alias_double_r): Use libm_alias_double_other_r.
27387 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27388 (libm_alias_ldouble_other_r): New macro.
27389 (libm_alias_ldouble_other): Likewise.
27390 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27391 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27392 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27393 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27394 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27395 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27396 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27397 * math/w_exp2f.c: Use libm_alias_float_other.
27398 * math/w_expf.c: Likewise.
27399 * math/w_log2f.c: Likewise.
27400 * math/w_logf.c: Likewise.
27401 * math/w_powf.c: Likewise.
27402 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27403 [!__exp2f]: Use libm_alias_float_other.
27404 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27405 [!__expf]: Use libm_alias_float_other.
27406 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27407 [!__log2f]: Use libm_alias_float_other.
27408 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27409 [!__logf]: Use libm_alias_float_other.
27410 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27411 [!__powf]: Use libm_alias_float_other.
27413 2017-10-10 Florian Weimer <fweimer@redhat.com>
27415 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27417 (_nss_files_gethostbyname3_r): Call it.
27419 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27421 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27422 error. Remove default definition of declare_mgen_alias.
27423 [!declare_mgen_alias_r]: Likewise.
27424 * sysdeps/generic/math-type-macros-double.h
27425 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27426 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27427 (declare_mgen_alias_r): Likewise.
27428 * sysdeps/generic/math-type-macros-float128.h
27429 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27430 * sysdeps/generic/math-type-macros-ldouble.h
27431 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27432 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27434 (declare_mgen_alias_r_s): Likewise.
27435 (declare_mgen_alias_r): Likewise.
27436 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27437 (lgamma_r): Define using libm_alias_double_r.
27438 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27439 (lgammaf_r): Define using libm_alias_float_r.
27440 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27441 (lgammal_r): Define using libm_alias_ldouble_r.
27442 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27443 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27445 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27447 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27448 extern declaration.
27450 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27452 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27454 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27457 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27458 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27459 * math/Makefile (test-math-cxx11): New test.
27460 * math/test-math-cxx11.cc: New file.
27462 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27464 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27466 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27467 call to allocate the slave pty file descriptor.
27469 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27471 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27472 [!__fma] (fma): Define using libm_alias_double.
27473 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27474 [!__fma] (fma): Define using libm_alias_double.
27476 * sysdeps/ieee754/float128/float128_private.h: Include
27477 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27478 (libm_alias_ldouble_r): Undefine and redefine.
27479 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27480 <libm-alias-ldouble.h>.
27481 (asinhl): Define using libm_alias_ldouble.
27482 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27483 <libm-alias-ldouble.h>.
27484 (atanl): Define using libm_alias_ldouble.
27485 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27486 <libm-alias-ldouble.h>.
27487 (cbrtl): Define using libm_alias_ldouble.
27488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27489 <libm-alias-ldouble.h>.
27490 (ceill): Define using libm_alias_ldouble.
27491 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27492 <libm-alias-ldouble.h>.
27493 (copysignl): Define using libm_alias_ldouble.
27494 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27495 <libm-alias-ldouble.h>.
27496 (cosl): Define using libm_alias_ldouble.
27497 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27498 <libm-alias-ldouble.h>.
27499 (erfl): Define using libm_alias_ldouble.
27501 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27502 <libm-alias-ldouble.h>.
27503 (expm1l): Define using libm_alias_ldouble.
27504 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27505 <libm-alias-ldouble.h>.
27506 (fabsl): Define using libm_alias_ldouble.
27507 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27508 <libm-alias-ldouble.h>.
27509 (floorl): Define using libm_alias_ldouble.
27510 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27511 <libm-alias-ldouble.h>.
27512 (fmal): Define using libm_alias_ldouble.
27513 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27514 <libm-alias-ldouble.h>.
27515 (frexpl): Define using libm_alias_ldouble.
27516 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27517 libm_alias_ldouble.
27518 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27519 <libm-alias-ldouble.h>.
27520 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27521 libm_alias_ldouble.
27522 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27523 <libm-alias-ldouble.h>.
27524 (getpayloadl): Define using libm_alias_ldouble.
27525 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27526 <libm-alias-ldouble.h>.
27527 (llrintl): Define using libm_alias_ldouble.
27528 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27529 <libm-alias-ldouble.h>.
27530 (llroundl): Define using libm_alias_ldouble.
27531 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27532 <libm-alias-ldouble.h>.
27533 (logbl): Define using libm_alias_ldouble.
27534 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27535 <libm-alias-ldouble.h>.
27536 (lrintl): Define using libm_alias_ldouble.
27537 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27538 <libm-alias-ldouble.h>.
27539 (lroundl): Define using libm_alias_ldouble.
27540 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27541 <libm-alias-ldouble.h>.
27542 (modfl): Define using libm_alias_ldouble.
27543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27544 <libm-alias-ldouble.h>.
27545 (nearbyintl): Define using libm_alias_ldouble.
27546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27547 <libm-alias-ldouble.h>.
27548 (nextafterl): Define using libm_alias_ldouble.
27549 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27550 <libm-alias-ldouble.h>.
27551 (nextupl): Define using libm_alias_ldouble.
27552 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27553 <libm-alias-ldouble.h>.
27554 (remquol): Define using libm_alias_ldouble.
27555 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27556 <libm-alias-ldouble.h>.
27557 (rintl): Define using libm_alias_ldouble.
27558 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27559 <libm-alias-ldouble.h>.
27560 (roundevenl): Define using libm_alias_ldouble.
27561 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27562 <libm-alias-ldouble.h>.
27563 (roundl): Define using libm_alias_ldouble.
27564 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27565 using libm_alias_ldouble.
27566 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27567 <libm-alias-ldouble.h>.
27568 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27569 Define using libm_alias_ldouble.
27570 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27571 <libm-alias-ldouble.h>.
27572 (sincosl): Define using libm_alias_ldouble.
27573 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27574 <libm-alias-ldouble.h>.
27575 (sinl): Define using libm_alias_ldouble.
27576 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27577 <libm-alias-ldouble.h>.
27578 (tanhl): Define using libm_alias_ldouble.
27579 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27580 <libm-alias-ldouble.h>.
27581 (tanl): Define using libm_alias_ldouble.
27582 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27583 <libm-alias-ldouble.h>.
27584 (totalorderl): Define using libm_alias_ldouble.
27585 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27586 <libm-alias-ldouble.h>.
27587 (totalordermagl): Define using libm_alias_ldouble.
27588 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27589 <libm-alias-ldouble.h>.
27590 (truncl): Define using libm_alias_ldouble.
27591 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27592 libm_alias_ldouble.
27593 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27594 libm_alias_ldouble.
27595 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27596 <libm-alias-ldouble.h>.
27597 (weak_alias): Do not undefine and redefine.
27598 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27599 (copysignl): Define with long_double_symbol only if [IS_IN
27601 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27602 <libm-alias-ldouble.h>.
27603 (weak_alias): Do not undefine and redefine.
27604 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27605 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27606 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27607 <libm-alias-ldouble.h>.
27608 (weak_alias): Do not undefine and redefine.
27609 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27610 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27611 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27612 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27615 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27616 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27617 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27618 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27619 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27621 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27624 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27627 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27628 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27630 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27634 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27636 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27639 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27640 (tcache_thread_freeres): Set tcache_shutting_down before
27641 freeing the tcache.
27642 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27643 * malloc/tst-malloc-tcache-leak.c: New file.
27645 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27647 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27648 back to powerpc32 file.
27649 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27650 (memrchr): Add __memrchr_power8 to ifunc list.
27651 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27652 extra bytes for unaligned inputs.
27654 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27656 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27657 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27659 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27660 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27662 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27664 * sysdeps/arm/libm-test-ulps: Update.
27666 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27667 <libm-alias-ldouble.h>.
27668 (asinhl): Define using libm_alias_ldouble.
27669 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27670 <libm-alias-ldouble.h>.
27671 (cbrtl): Define using libm_alias_ldouble.
27672 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27673 <libm-alias-ldouble.h>.
27674 (copysignl): Define using libm_alias_ldouble.
27675 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27676 <libm-alias-ldouble.h>.
27677 (cosl): Define using libm_alias_ldouble.
27678 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27679 <libm-alias-ldouble.h>.
27680 (erfl): Define using libm_alias_ldouble.
27682 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27683 <libm-alias-ldouble.h>.
27684 (fmal): Define using libm_alias_ldouble.
27685 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27686 <libm-alias-ldouble.h>.
27687 (frexpl): Define using libm_alias_ldouble.
27688 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27689 libm_alias_ldouble.
27690 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27691 <libm-alias-ldouble.h>.
27692 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27693 libm_alias_ldouble.
27694 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27695 <libm-alias-ldouble.h>.
27696 (getpayloadl): Define using libm_alias_ldouble.
27697 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27698 <libm-alias-ldouble.h>.
27699 (llrintl): Define using libm_alias_ldouble.
27700 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27701 <libm-alias-ldouble.h>.
27702 (llroundl): Define using libm_alias_ldouble.
27703 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27704 <libm-alias-ldouble.h>.
27705 (lrintl): Define using libm_alias_ldouble.
27706 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27707 <libm-alias-ldouble.h>.
27708 (lroundl): Define using libm_alias_ldouble.
27709 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27710 <libm-alias-ldouble.h>.
27711 (modfl): Define using libm_alias_ldouble.
27712 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27713 <libm-alias-ldouble.h>.
27714 (nextupl): Define using libm_alias_ldouble.
27715 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27716 <libm-alias-ldouble.h>.
27717 (remquol): Define using libm_alias_ldouble.
27718 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27719 <libm-alias-ldouble.h>.
27720 (roundevenl): Define using libm_alias_ldouble.
27721 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27722 <libm-alias-ldouble.h>.
27723 (roundl): Define using libm_alias_ldouble.
27724 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27725 using libm_alias_ldouble.
27726 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27727 <libm-alias-ldouble.h>.
27728 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27729 <libm-alias-ldouble.h>.
27730 (setpayloadsigl): Define using libm_alias_ldouble.
27731 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27732 <libm-alias-ldouble.h>.
27733 (sincosl): Define using libm_alias_ldouble.
27734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27735 <libm-alias-ldouble.h>.
27736 (sinl): Define using libm_alias_ldouble.
27737 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27738 <libm-alias-ldouble.h>.
27739 (tanhl): Define using libm_alias_ldouble.
27740 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27741 <libm-alias-ldouble.h>.
27742 (tanl): Define using libm_alias_ldouble.
27743 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27744 <libm-alias-ldouble.h>.
27745 (totalorderl): Define using libm_alias_ldouble.
27746 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27747 <libm-alias-ldouble.h>.
27748 (totalordermagl): Define using libm_alias_ldouble.
27749 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27750 libm_alias_ldouble.
27751 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27752 libm_alias_ldouble.
27754 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27756 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27758 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27759 (__libc_ifunc_impl_list): Likewise.
27760 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27761 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27763 * benchtests/bench-memmove-walk.c: New file.
27764 * benchtests/Makefile (string-benchset): Add it.
27766 * benchtests/bench-memset-walk.c: New file.
27767 * benchtests/Makefile (string-benchset): Add it.
27769 * benchtests/bench-memcpy-walk.c: New file.
27770 * benchtests/Makefile (string-benchset): Add it.
27772 2017-10-05 Florian Weimer <fweimer@redhat.com>
27774 nscd: Eliminate compilation time dependency in the build output.
27775 * nscd/nscd_stat.c (STATDATA_VERSION)
27776 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27777 (STATDATA_VERSION_FULL): New macro definitions.
27778 (compilation): Remove.
27779 (struct statdata): Adjust version member.
27780 (send_stats): Set version from STATDATA_VERSION_FULL.
27781 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27783 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27785 * configure.ac (--enable-add-ons): Remove option.
27786 (machine): Do not mention add-ons in comment.
27787 (LIBC_PRECONFIGURE): Likewise.
27788 (add_ons): Remove variable and sanity checks and logic to locate
27790 (add_ons_automatic): Remove variable.
27791 (configured_add_ons): Likewise.
27792 (add_ons_sfx): Likewise.
27793 (add_ons_pfx): Likewise.
27794 (add_on_subdirs): Likewise.
27795 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27796 consideration of add-ons in Implies handling.
27797 (sysdeps_add_ons): Likewise.
27798 * configure: Regenerated.
27799 * libidn/configure.ac: Remove.
27800 * libidn/configure: Likewise.
27801 * sysdeps/unix/inet/configure.ac: New file.
27802 * sysdeps/unix/inet/configure: New generated file.
27803 * sysdeps/unix/inet/Subdirs: Add libidn.
27804 * Makeconfig (sysdeps-srcdirs): Remove variable.
27805 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27806 ($(common-objpfx)config.status): Do not depend on add-on files.
27807 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27809 (all-subdirs): Do not include $(add-on-subdirs).
27810 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27811 * config.make.in (add-ons): Remove variable.
27812 (add-on-subdirs): Likewise.
27813 (sysdeps-add-ons): Likewise.
27814 * manual/Makefile (add-chapters): Remove.
27815 ($(objpfx)texis): Do not depend on $(add-chapters).
27816 (nonexamples): Do not handle $(add-chapters).
27817 (examples): Do not handle $(add-ons).
27818 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27820 * manual/install.texi (Installation): Do not mention add-ons.
27821 (--enable-add-ons): Do not document configure option.
27822 * INSTALL: Regenerated.
27823 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27824 * manual/maint.texi (Hierarchy Conventions): Do not mention
27826 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27828 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27830 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27831 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27833 2017-10-05 Andreas Schwab <schwab@suse.de>
27836 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27837 (_IO_flush_all_lockp): Always lock list_all_lock.
27838 (_IO_flush_all_linebuffered): Likewise.
27839 (_IO_unbuffer_all): Likewise.
27841 2017-10-05 Florian Weimer <fweimer@redhat.com>
27844 Do not flush stdio streams on abort.
27845 * stdlib/abort.c (fflush): Remove macro definition.
27846 (abort): Remove stages related to stdio flushing.
27848 2017-10-05 Florian Weimer <fweimer@redhat.com>
27850 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27852 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27854 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27856 2017-10-05 Florian Weimer <fweimer@redhat.com>
27858 * support/support_format_hostent.c (support_format_hostent): Add
27859 more error information for NETDB_INTERNAL.
27861 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27863 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27864 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27865 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27866 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27867 AC_DEFINE if multi-arch is enabled.
27868 * sysdeps/i386/configure: Regenerated.
27870 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27872 * Makeconfig (+link-static-before-libc): Use
27873 $(DEFAULT-LDFLAGS-$(@F)).
27874 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27875 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27876 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27878 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27880 * elf/Makefile (tests): Add tst-main1.
27881 (modules-names): Add tst-main1mod.
27882 ($(objpfx)tst-main1): New.
27883 (CRT-tst-main1): Likewise.
27884 (LDFLAGS-tst-main1): Likewise.
27885 (LDLIBS-tst-main1): Likewise.
27886 (tst-main1mod.so-no-z-defs): Likewise.
27887 * elf/tst-main1.c: New file.
27888 * elf/tst-main1mod.c: Likewise.
27890 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27892 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27894 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27896 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27897 (fma): Define using libm_alias_double.
27898 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27899 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27901 (fmal): Do not define as compat symbol here.
27902 * sysdeps/alpha/fpu/s_fma.c: New file.
27904 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27906 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27908 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27913 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27915 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27916 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27917 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27918 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27920 Include <math_ldbl_opt.h>
27921 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27923 (compat_symbol): Undefine and redefine.
27924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27926 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27927 (compat_symbol): Undefine and redefine.
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27929 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27930 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27931 GLIBC_2_1 for libm.
27932 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27933 GLIBC_2.0 copysignl symbol.
27934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27935 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27937 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27939 2017-10-04 Florian Weimer <fweimer@redhat.com>
27941 * scripts/check-local-headers.sh: Ignore nspr4 header file
27942 directory in addition to nspr.
27944 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27947 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27948 * configure: Regenerate.
27949 * crypt/Makefile (nss-cpp-flags): New variable.
27950 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27951 (CPPFLAGS-md5-crypt.c): Use it.
27952 * scripts/check-local-headers.sh: Ignore nspr header file
27955 2017-10-04 Andreas Schwab <schwab@suse.de>
27957 * nis/Makefile (services): Remove compat.
27958 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27959 ($(objpfx)libnss_compat.so): Remove rule.
27960 * nis/Versions (libnss_compat): Remove.
27961 * nss/Makefile (services): Add compat.
27962 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27963 * nss/Versions (libnss_compat): Define.
27964 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27965 Don't include <rpc/types.h>. Replace bool_t by bool.
27966 * nss/nss_compat/compat-initgroups.c: Likewise.
27967 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27968 instead of <rpcsrv/ypclnt.h>.
27969 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27970 yp_get_default_domain.
27971 * nss/nss_compat/compat-pwd.c: Likewise.
27972 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27973 yp_get_default_domain.
27974 * nss/nss_compat/nisdomain.c: New file.
27975 * nss/nss_compat/nisdomain.h: Likewise.
27977 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27980 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27981 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27983 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27987 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27989 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27991 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27992 "movl main@GOTOFF(%ebx), %eax".
27994 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27996 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27997 allow undefined _DYNAMIC in PIE libc.a.
27998 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28001 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28003 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28006 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28008 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28011 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28013 * math/test-math-iscanonical.cc (error): Replace bool with int.
28015 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28017 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28018 (modf): Define using libm_alias_double, only if [!__modf].
28019 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28020 <libm-alias-double.h>.
28021 (modf): Define using libm_alias_double, only if [!__modf].
28022 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28023 compat symbol here.
28024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28025 (weak_alias): Do not undefine and redefine.
28026 (strong_alias): Likewise.
28027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28028 (weak_alias): Likewise.
28029 (strong_alias): Likewise.
28031 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28032 (logb): Define using libm_alias_double, only if [!__logb].
28033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28034 <libm-alias-double.h>.
28035 (logb): Define using libm_alias_double, only if [!__logb].
28036 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28038 (weak_alias): Do not undefine and redefine.
28039 (strong_alias): Likewise.
28040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28041 (weak_alias): Likewise.
28042 (strong_alias): Likewise.
28044 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28046 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28047 Check SHARED instead PIC.
28049 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28051 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28052 [!__fmaf] (fmaf): Define using libm_alias_float.
28054 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28055 (frexp): Define using libm_alias_double.
28056 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28057 <libm-alias-double.h>.
28058 (frexp): Define using libm_alias_double.
28059 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28060 compat symbol here.
28062 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28065 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28066 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28067 (CFLAGS-test-math-iscanonical.cc): New variable.
28068 * math/test-math-iscanonical.cc: New file.
28069 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28070 Provide a C++ implementation based on function overloading,
28071 rather than using __MATH_TG, which uses C-only builtins.
28072 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28074 * sysdeps/powerpc/powerpc64le/Makefile
28075 (CFLAGS-test-math-iscanonical.cc): New variable.
28077 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28079 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28080 (ceil): Define using libm_alias_double.
28081 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28082 (floor): Define using libm_alias_double.
28083 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28084 <libm-alias-double.h>.
28085 (llround): Define using libm_alias_double.
28086 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28087 <libm-alias-double.h>.
28088 (lround): Define using libm_alias_double.
28089 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28090 <libm-alias-double.h>.
28091 (nearbyint): Define using libm_alias_double.
28092 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28093 <libm-alias-double.h>.
28094 (remquo): Define using libm_alias_double.
28095 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28096 (rint): Define using libm_alias_double.
28097 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28098 (round): Define using libm_alias_double.
28099 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28100 (trunc): Define using libm_alias_double.
28101 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28102 <libm-alias-double.h>.
28103 (ceil): Define using libm_alias_double.
28104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28105 <libm-alias-double.h>.
28106 (floor): Define using libm_alias_double.
28107 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28108 <libm-alias-double.h>.
28109 (llround): Define using libm_alias_double.
28110 [_LP64] (lround): Likewise.
28111 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28112 <libm-alias-double.h>.
28113 [!_LP64] (lround): Define using libm_alias_double.
28114 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28115 <libm-alias-double.h>.
28116 (nearbyint): Define using libm_alias_double.
28117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28118 <libm-alias-double.h>.
28119 (remquo): Define using libm_alias_double.
28120 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28121 <libm-alias-double.h>.
28122 (rint): Define using libm_alias_double.
28123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28124 <libm-alias-double.h>.
28125 (round): Define using libm_alias_double.
28126 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28127 <libm-alias-double.h>.
28128 (trunc): Define using libm_alias_double.
28129 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28130 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28131 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28132 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28133 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28134 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28135 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28136 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28137 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28139 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28141 * math/w_remainder.c: New file.
28142 * math/w_remainderf.c: New file.
28143 * math/w_remainderl.c: New file.
28145 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28147 * elf/rtld.c (BOOTSTRAP_MAP): New.
28148 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28149 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28151 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28153 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28156 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28158 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28159 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28160 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28161 rtld_hidden_data_ver): Define to empty.
28162 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28163 __assert_perror_fail): Likewise.
28164 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28165 (__rewinddir): Likewise.
28166 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28167 (__profile_frequency): Likewise.
28168 * include/setjmp.h (__sigsetjmp): Likewise.
28169 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28170 __libc_sigaction): Likewise.
28171 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28172 not set hidden attribute.
28173 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28174 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28175 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28176 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28177 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28178 __fxstatat64): Likewise.
28179 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28180 (__uname): Likewise.
28181 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28182 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28183 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28184 (NO_RTLD_HIDDEN): Set.
28185 * sysdeps/mach/hurd/configure: Refresh.
28186 * config.h.in: Refresh.
28188 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28190 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28191 (atan): Define using libm_alias_double.
28192 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28193 (tan): Define using libm_alias_double.
28194 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28195 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28198 define as weak alias of __atan. Do not define any aliases if
28200 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28201 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28203 as weak alias of __tan. Do not define any aliases if [__tan].
28204 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28205 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28206 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28208 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28210 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28211 and define as weak alias of __atan.
28212 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28214 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28215 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28216 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28217 define as weak alias of __tan.
28219 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28221 * math/w_lgamma.c: New file.
28222 * math/w_lgammaf.c: New file.
28223 * math/w_lgammal.c: New file.
28225 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28227 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28228 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28229 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28230 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28231 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28232 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28233 * sysdeps/i386/fpu/w_log2f.c: New file.
28234 * sysdeps/i386/fpu/w_logf.c: New file.
28235 * sysdeps/i386/fpu/w_powf.c: New file.
28236 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28237 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28238 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28240 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28241 H.J. Lu <hongjiu.lu@intel.com>
28243 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28244 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28245 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28246 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28247 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28249 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28250 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28251 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28252 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28253 * sysdeps/i386/fpu/w_exp2f.c: New file.
28254 * sysdeps/i386/fpu/w_expf.c: New file.
28255 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28256 * sysdeps/x86_64/fpu/w_expf.c: New file.
28258 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28260 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28263 * math/w_log2f.c: New file.
28264 * math/w_logf.c: New file.
28265 * math/w_powf.c: New file.
28266 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28267 * math/w_logf_compat.c (__logf_compat): Likewise.
28268 * math/w_powf_compat.c (__powf_compat): Likewise.
28269 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28270 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28271 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28272 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28273 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28274 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28275 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28276 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28277 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28278 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28279 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28280 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28281 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28282 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28283 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28292 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28293 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28294 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28295 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28296 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28301 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28302 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28303 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28305 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28307 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28308 (sysdep_routines): Add memrchr_power8.
28309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28310 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28311 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28313 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28314 (memrchr): Add __memrchr_power8 to ifunc list.
28315 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28320 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28321 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28323 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28324 (__posix_fallocate64_l64): Likewise.
28326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28329 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28330 (__sched_setaffinity_new): Add libc_hidden_proto and
28333 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28336 * include/glob.h (__glob64): Add libc_hidden_proto.
28337 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28343 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28346 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28349 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28354 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28360 * csu/version.c (__libc_print_version): Add attribute_hidden.
28362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28365 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28370 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28375 * nscd/nscd_helper.c (__nis_hash): New prototype.
28377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28380 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28381 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28383 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28384 * termios/tcgetattr.c (__tcgetattr): Likewise.
28386 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28389 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28390 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28391 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28392 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28393 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28395 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28398 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28400 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28403 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28404 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28409 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28414 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28415 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28420 * include/ifreq.h: New file.
28421 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28422 (__ifreq): Likewise.
28423 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28424 (__ifreq): Likewise.
28426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28429 * include/idna.h: New file.
28430 * inet/getnameinfo.c: Include <idna.h> instead of
28432 (__idna_to_unicode_lzlz): Removed.
28433 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28435 (__idna_to_ascii_lz): Removed.
28436 (__idna_to_unicode_lzlz): Likewise.
28438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28441 * include/plural-exp.h: New file.
28442 * intl/plural-exp.c: Include <plural-exp.h> instead of
28445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28448 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28449 "getsourcefilter.h".
28450 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28451 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28452 "getsourcefilter.h".
28453 (__get_sol): Removed.
28455 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28458 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28460 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28465 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28471 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28473 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28476 * include/search.h (__tdestroy): Add libc_hidden_proto.
28477 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28482 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28487 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28490 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28493 * include/signal.h (__kill): Add libc_hidden_proto.
28494 (__sigblock): Likewise.
28495 (__sigprocmask): Likewise.
28496 (__sigaltstack): Likewise.
28497 * signal/kill.c (__kill): Add libc_hidden_def.
28498 * signal/sigblock.c (__sigblock): Likewise.
28499 * signal/sigprocmask.c (__sigprocmask): Likewise.
28500 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28501 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28502 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28503 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28504 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28506 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28508 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28509 (__sigprocmask): Likewise.
28510 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28512 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28513 (__sigprocmask): Likewise.
28514 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28520 * include/string.h (__strsep): Add libc_hidden_proto.
28521 * string/strsep.c (__strsep): Add libc_hidden_def.
28523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28526 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28528 (__spawni): Likewise.
28530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28533 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28534 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28540 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28545 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28546 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28547 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28548 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28549 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28551 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28552 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28557 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28558 (__dcigettext): Likewise.
28560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28563 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28565 (__get_nprocs): Likewise.
28566 (__get_phys_pages): Likewise.
28567 (__get_avphys_pages): Likewise.
28568 (__get_child_max): Add attribute_hidden.
28569 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28570 (__get_nprocs): Likewise.
28571 (__get_phys_pages): Likewise.
28572 (__get_avphys_pages): Likewise.
28573 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28575 (__get_nprocs): Likewise.
28576 (__get_phys_pages): Likewise.
28577 (__get_avphys_pages): Likewise.
28578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28580 (__get_nprocs_conf): Likewise.
28581 (__get_phys_pages): Likewise.
28582 (__get_avphys_pages): Likewise.
28584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28587 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28589 (__netlink_close): Likewise.
28590 (__netlink_free_handle): Likewise.
28591 (__netlink_request): Likewise.
28593 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28596 * include/rpc/rpc.h (__rpc_thread_variables): Add
28598 (__rpc_thread_svc_cleanup): Likewise.
28599 (__rpc_thread_clnt_cleanup): Likewise.
28600 (__rpc_thread_key_cleanup): Likewise.
28602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28605 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28606 (__writev): Likewise.
28607 * misc/readv.c (__readv): Add libc_hidden_def.
28608 * misc/writev.c (__writev): Likewise.
28609 * sysdeps/posix/readv.c (__readv): Likewise.
28610 * sysdeps/posix/writev.c (__writev): Likewise.
28611 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28612 (__readv): Likewise.
28613 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28614 (__writev): Likewise.
28616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28619 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28620 (__regcomp): Add libc_hidden_proto.
28621 (__regexec): Likewise.
28622 (__regfree): Likewise.
28623 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28624 (__regfree): Likewise.
28625 * posix/regexec.c (__regexec): Likewise.
28627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28630 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28631 (__getutent): Likewise.
28632 (__getutid): Likewise.
28633 (__getutline): Likewise.
28634 (__pututline): Likewise.
28635 (__getutent_r): Likewise.
28636 (__getutid_r): Likewise.
28637 (__getutline_r): Likewise.
28638 (__utmpname): Add attribute_hidden.
28639 (__setutent): Likewise.
28640 (__endutent): Likewise.
28641 * login/getutent.c (__getutent): Add libc_hidden_def.
28642 * login/getutent_r.c (__getutent_r): Likewise.
28643 (__pututline): Likewise.
28644 * login/getutid.c (__getutid): Likewise.
28645 * login/getutid_r.c (__getutid_r): Likewise.
28646 * login/getutline.c (__getutline): Likewise.
28647 * login/getutline_r.c (__getutline_r): Likewise.
28648 * login/updwtmp.c (__updwtmp): Likewise.
28650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28653 * include/dirent.h (__opendir): Always add attribute_hidden.
28654 (__fdopendir): Likewise.
28655 (__closedir): Likewise.
28656 (__readdir): Likewise.
28657 (__readdir64): Add libc_hidden_proto.
28658 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28659 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28660 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28661 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28664 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28667 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28668 * include/netdb.h (__gethostbyaddr_r): Likewise.
28669 (__gethostbyname_r): Likewise.
28670 (__gethostbyname2_r): Likewise.
28671 (__getnetbyaddr_r): Likewise.
28672 (__getnetbyname_r): Likewise.
28673 (__getservbyname_r): Likewise.
28674 (__getservbyport_r): Likewise.
28675 (__getprotobyname_r): Likewise.
28676 (__getprotobynumber_r): Likewise.
28677 (__getnetgrent_r): Likewise.
28678 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28679 (__getrpcbynumber_r): Likewise.
28680 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28682 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28685 * include/stdio.h (__fcloseall): Add attribute_hidden.
28686 (__getline): Likewise.
28687 (__path_search): Likewise.
28688 (__gen_tempname): Likewise.
28689 (__libc_message): Likewise.
28690 (__flockfile): Likewise.
28691 (__funlockfile): Likewise.
28692 (__fxprintf): Likewise.
28693 (__fxprintf_nocancel): Likewise.
28695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28698 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28699 (__sgetsgent_r): Likewise.
28701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28704 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28705 (__statfs64): Likewise.
28706 (__fstatfs64): Likewise.
28707 * include/sys/statvfs.h (__statvfs64): Likewise.
28708 (__fstatvfs64): Likewise.
28709 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28710 (__statfs_filesize_max): Likewise.
28711 (__statfs_symlinks): Likewise.
28712 (__statfs_chown_restricted): Likewise.
28714 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28717 * include/time.h (__tzstring): Add attribute_hidden.
28718 (__tzfile_read): Likewise.
28719 (__tzfile_compute): Likewise.
28720 (__tzfile_default): Likewise.
28721 (__tzset_parse_tz): Likewise.
28722 (__offtime): Likewise.
28723 (__asctime_r): Likewise.
28724 (__tzset): Likewise.
28725 (__tz_convert): Likewise.
28726 (__getdate_r): Likewise.
28727 (__getclktck): Likewise.
28729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28732 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28733 (__nscd_unmap): Likewise.
28734 (__nscd_cache_search): Likewise.
28735 (__nscd_get_nl_timestamp): Likewise.
28736 (__nscd_getpwnam_r): Likewise.
28737 (__nscd_getpwuid_r): Likewise.
28738 (__nscd_getgrnam_r): Likewise.
28739 (__nscd_getgrgid_r): Likewise.
28740 (__nscd_gethostbyname_r): Likewise.
28741 (__nscd_gethostbyname2_r): Likewise.
28742 (__nscd_gethostbyaddr_r): Likewise.
28743 (__nscd_getai): Likewise.
28744 (__nscd_getgrouplist): Likewise.
28745 (__nscd_getservbyname_r): Likewise.
28746 (__nscd_getservbyport_r): Likewise.
28747 (__nscd_innetgr): Likewise.
28748 (__nscd_setnetgrent): Likewise.
28750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28753 * include/gmp.h: Declare internal functions only if _ISOMAC is
28755 (__mpn_extract_double): Add attribute_hidden.
28756 (__mpn_extract_long_double): Likewise.
28757 (__mpn_extract_float128): Likewise.
28758 (__mpn_construct_float): Likewise.
28759 (__mpn_construct_double): Likewise.
28760 (__mpn_construct_long_double): Likewise.
28761 (__mpn_construct_float128): Likewise.
28762 (mpn_add_1): Likewise.
28763 (mpn_addmul_1): Likewise.
28764 (mpn_add_n): Likewise.
28765 (mpn_cmp): Likewise.
28766 (mpn_divrem): Likewise.
28767 (mpn_lshift): Likewise.
28768 (mpn_mul): Likewise.
28769 (mpn_mul_1): Likewise.
28770 (mpn_rshift): Likewise.
28771 (mpn_sub_1): Likewise.
28772 (mpn_submul_1): Likewise.
28773 (mpn_sub_n): Likewise.
28775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28778 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28779 (__wcscat): Likewise.
28780 (__btowc): Likewise.
28781 (__wcrtomb): Likewise.
28782 (__mbsrtowcs): Likewise.
28783 (__wcsrtombs): Likewise.
28784 (__mbsnrtowcs): Likewise.
28785 (__wcsnrtombs): Likewise.
28786 (__wcsncpy): Likewise.
28787 (__wcpncpy): Likewise.
28788 (__wmemcpy): Likewise.
28789 (__wmempcpy): Likewise.
28790 (__wmemmove): Likewise.
28791 (__wcschrnul): Likewise.
28792 (__vfwscanf): Likewise.
28793 (__vswprintf): Likewise.
28794 (__fwprintf): Likewise.
28795 (__vfwprintf): Likewise.
28797 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28800 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28801 (__getgrgid_r): Likewise.
28802 (__getgrnam_r): Likewise.
28803 * include/pwd.h (__getpwuid_r): Likewise.
28804 (__getpwnam_r): Likewise.
28805 (__fgetpwent_r): Likewise.
28806 * include/shadow.h (__getspnam_r): Likewise.
28807 (__sgetspent_r): Likewise.
28808 (__fgetspent_r): Likewise.
28810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28813 * include/unistd.h (__access): Add attribute_hidden.
28814 (__lseek64): Likewise.
28815 (__libc_pread64): Likewise.
28816 (__pipe2): Likewise.
28817 (__sleep): Likewise.
28818 (__chdir): Likewise.
28819 (__fchdir): Likewise.
28820 (__getcwd): Likewise.
28821 (__rmdir): Likewise.
28822 (__execvpe): Likewise.
28823 (__execve): Likewise.
28824 (__setsid): Likewise.
28825 (__getuid): Likewise.
28826 (__geteuid): Likewise.
28827 (__getgid): Likewise.
28828 (__getegid): Likewise.
28829 (__getgroups): Likewise.
28830 (__group_member): Likewise.
28831 (__ttyname_r): Likewise.
28832 (__isatty): Likewise.
28833 (__readlink): Likewise.
28834 (__unlink): Likewise.
28835 (__gethostname): Likewise.
28836 (__profil): Likewise.
28837 (__getdtablesize): Likewise.
28839 (__ftruncate): Likewise.
28840 (__ftruncate64): Likewise.
28842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28845 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28846 * argp/argp-fs-xinl.c: Likewise.
28847 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28848 * argp/argp-parse.c: Include <argp.h>.
28849 * argp/argp-xinl.c: Likewise.
28850 * include/argp-fmtstream.h: New file.
28851 * include/argp.h (__argp_error): Add attribute_hidden.
28852 (__argp_failure): Likewise.
28853 (__argp_input): Likewise.
28854 (__argp_state_help): Likewise.
28856 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28859 * include/wchar.h (____wcstof_l_internal): New prototype.
28860 (____wcstod_l_internal): Likewise.
28861 (____wcstold_l_internal): Likewise.
28862 (____wcstol_l_internal): Likewise.
28863 (____wcstoul_l_internal): Likewise.
28864 (____wcstoll_l_internal): Likewise.
28865 (____wcstoull_l_internal): Likewise.
28866 (____wcstof128_l_internal): Likewise.
28867 * sysdeps/ieee754/float128/wcstof128.c
28868 (____wcstof128_l_internal): Removed.
28869 * sysdeps/ieee754/float128/wcstof128_l.c
28870 (____wcstof128_l_internal): Likewise.
28871 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28872 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28873 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28874 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28875 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28876 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28877 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28878 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28879 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28880 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28882 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28885 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28886 instead of <sys/statvfs.h>.
28887 (__internal_statvfs): Removed.
28888 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28889 instead of <sys/statvfs.h>.
28890 (__internal_statvfs64): Removed.
28891 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28892 "internal_statvfs.h" instead of <sys/statvfs.h>.
28893 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28894 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28895 instead of <sys/statvfs.h>.
28896 (__internal_statvfs): Removed.
28897 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28898 instead of <sys/statvfs.h>.
28899 (__internal_statvfs64): Removed.
28901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28904 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28905 (__gconv_close): Likewise.
28906 (__gconv): Likewise.
28907 (__gconv_find_transform): Likewise.
28908 (__gconv_lookup_cache): Likewise.
28909 (__gconv_compare_alias_cache): Likewise.
28910 (__gconv_load_cache): Likewise.
28911 (__gconv_get_path): Likewise.
28912 (__gconv_close_transform): Likewise.
28913 (__gconv_release_cache): Likewise.
28914 (__gconv_find_shlib): Likewise.
28915 (__gconv_release_shlib): Likewise.
28916 (__gconv_get_builtin_trans): Likewise.
28917 (__gconv_compare_alias): Likewise.
28918 * include/dlfcn.h (_dlerror_run): Likewise.
28919 * include/stdio.h (__fortify_fail_abort): Likewise.
28920 * include/time.h (__tz_compute): Likewise.
28921 (__strptime_internal): Likewise.
28922 * intl/gettextP.h (_nl_find_domain): Likewise.
28923 (_nl_load_domain): Likewise.
28924 (_nl_find_msg): Likewise.
28925 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28926 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28927 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28928 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28929 (__gai_find_request): Likewise.
28930 (__gai_remove_request): Likewise.
28931 (__gai_notify): Likewise.
28932 (__gai_notify_only): Likewise.
28933 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28934 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28935 (_dl_non_dynamic_init): Likewise.
28936 (_dl_aux_init): Likewise.
28937 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28938 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28940 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28941 (__wcsmbs_clone_conv): Likewise.
28942 (__wcsmbs_named_conv): Likewise.
28944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28947 * include/stdlib.h (__random): Add attribute_hidden.
28948 (__random_r): Likewise.
28949 (__srandom_r): Likewise.
28950 (__initstate_r): Likewise.
28951 (__setstate_r): Likewise.
28952 (__erand48_r): Likewise.
28953 (__nrand48_r): Likewise.
28954 (__jrand48_r): Likewise.
28955 (__srand48_r): Likewise.
28956 (__seed48_r): Likewise.
28957 (__lcong48_r): Likewise.
28958 (__drand48_iterate): Likewise.
28959 (__setenv): Likewise.
28960 (__unsetenv): Likewise.
28961 (__clearenv): Likewise.
28962 (__ptsname_r): Likewise.
28963 (__posix_openpt): Likewise.
28964 (__add_to_environ): Likewise.
28965 (__realpath): Add libc_hidden_proto.
28966 (__ecvt_r): Likewise.
28967 (__fcvt_r): Likewise.
28968 (__qecvt_r): Likewise.
28969 (__qfcvt_r): Likewise.
28970 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28971 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28976 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28977 * include/time.h (__mktime_internal): Likewise.
28978 * libio/iolibio.h (__fopen_internal): Likewise.
28980 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28982 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28984 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28985 Correct offset used to restore PIC register.
28987 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28990 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28991 code to load address of __getcontext_ret when generating PIC code.
28993 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28995 * elf/Makefile (tests-static-internal): Add
28996 tst-tls1-static-non-pie.
28997 (LDFLAGS-tst-tls1-static-non-pie): New.
28998 * elf/tst-tls1-static-non-pie.c: New file.
29000 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29002 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29003 (asinh): Define using libm_alias_double.
29004 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29005 (cbrt): Define using libm_alias_double.
29006 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29007 <libm-alias-double.h>.
29008 (copysign): Define using libm_alias_double.
29009 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29010 (erf): Define using libm_alias_double.
29012 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29013 (expm1): Define using libm_alias_double.
29014 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29015 (fabs): Define using libm_alias_double.
29016 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29018 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29019 <libm-alias-double.h>.
29020 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29022 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29023 <libm-alias-double.h>.
29024 (getpayload): Define using libm_alias_double.
29025 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29026 <libm-alias-double.h>.
29027 (llrint): Define using libm_alias_double.
29028 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29029 (lrint): Define using libm_alias_double.
29030 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29031 <libm-alias-double.h>.
29032 (nextup): Define using libm_alias_double.
29033 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29034 <libm-alias-double.h>.
29035 (roundeven): Define using libm_alias_double.
29036 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29038 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29039 <libm-alias-double.h>.
29040 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29041 using libm_alias_double.
29042 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29043 (cos): Define using libm_alias_double.
29045 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29046 <libm-alias-double.h>.
29047 (sincos): Define using libm_alias_double.
29048 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29049 (tanh): Define using libm_alias_double.
29050 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29051 <libm-alias-double.h>.
29052 (totalorder): Define using libm_alias_double.
29053 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29054 <libm-alias-double.h>.
29055 (totalordermag): Define using libm_alias_double.
29056 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29058 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29060 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29061 <libm-alias-double.h>.
29062 (getpayload): Define using libm_alias_double.
29063 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29064 <libm-alias-double.h>.
29065 (roundeven): Define using libm_alias_double.
29066 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29067 <libm-alias-double.h>.
29068 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29069 <libm-alias-double.h>.
29070 (totalorder): Define using libm_alias_double.
29071 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29072 <libm-alias-double.h>.
29073 (totalordermag): Define using libm_alias_double.
29074 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29075 libc compat symbol here.
29076 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29077 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29078 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29079 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29080 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29081 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29082 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29083 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29084 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29085 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29087 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29089 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29090 _dl_relocate_static_pie instead of _dl_start to compute load
29091 address in static PIE. Return 0 if _DYNAMIC is undefined for
29094 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29096 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29097 _DYNAMIC is undefined for static executable.
29099 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29101 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29103 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29107 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29109 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29110 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29111 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29112 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29113 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29114 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29115 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29116 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29117 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29118 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29119 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29120 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29121 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29122 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29123 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29124 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29125 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29127 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29129 * math/bits/cmathcalls.h (cimag): Remove inline.
29130 (creal): Remove inline.
29131 (conj): Remove inline.
29133 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29135 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29136 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29137 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29138 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29139 (issignalingf_inline): Likewise.
29140 (POWF_LOG2_TABLE_BITS): Likewise.
29141 (POWF_LOG2_POLY_ORDER): Likewise.
29142 (POWF_SCALE_BITS): Likewise.
29143 (POWF_SCALE): Likewise.
29144 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29145 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29146 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29148 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29150 * math/Makefile (type-float-routines): Add e_log2f_data.
29151 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29152 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29153 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29154 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29155 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29156 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29157 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29159 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29161 * math/Makefile (type-float-routines): Add e_logf_data.
29162 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29163 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29164 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29165 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29166 * sysdeps/i386/fpu/e_logf_data.c: New file.
29167 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29168 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29170 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29172 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29173 undefined _DYNAMIC in PIE libc.a.
29174 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29177 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29179 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29180 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29181 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29182 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29183 (__signbit): Remove.
29184 (__signbitl): Remove.
29185 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29186 (__signbit): Remove.
29187 (__signbitl): Remove.
29188 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29189 (__signbit): Remove.
29190 (__signbitl): Remove.
29191 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29192 (__signbit): Remove.
29193 (__signbitl): Remove.
29194 * sysdeps/tile/bits/mathinline.h: Delete file.
29195 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29196 (__signbit): Remove.
29197 (__signbitl): Remove.
29199 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29201 * math/math.h: Improve handling of C99 isgreater macros.
29202 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29203 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29204 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29205 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29206 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29208 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29210 * sysdeps/aarch64/libm-test-ulps: Update.
29212 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29215 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29216 math_opt_barrier on argument when doing arithmetic on it.
29217 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29218 Likewise. Use math_force_eval not math_opt_barrier after
29220 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29221 math_opt_barrier on argument when doing arithmetic on it.
29222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29225 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29227 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29229 (__freeifaddrs): Likewise.
29231 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29233 * include/dirent.h (__dirfd): New declaration.
29234 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29236 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29237 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29238 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29239 * include/unistd.h (__revoke): New declaration.
29240 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29242 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29243 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29245 * include/dirent.h (__seekdir): New declaration.
29246 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29247 redefine as weak alias.
29248 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29250 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29251 and use libc_hidden_def on them.
29252 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29254 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29255 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29256 instead of getifaddrs and freeifaddrs.
29258 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29261 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29262 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29263 (__dso_handle): Remove declaration.
29264 * dlfcn/tstatexit.c (__dso_handle): Removed.
29265 (main): Don't check __dso_handle.
29266 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29267 (main): Don't check __dso_handle.
29268 * include/dso_handle.h: New file.
29269 * malloc/mtrace.c: Include <dso_handle.h>.
29270 (mtrace): Pass __dso_handle directly.
29271 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29272 (__dso_handle): Remove declaration.
29273 (__pthread_atfork): Pass __dso_handle directly.
29274 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29275 (__dso_handle): Removed.
29276 * posix/wordexp-test.c: Include <dso_handle.h>.
29277 (__dso_handle): Remove declaration.
29278 (__app_register_atfork): Pass __dso_handle directly.
29279 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29280 (__dso_handle): Remove declaration.
29281 (at_quick_exit): Pass __dso_handle directly.
29282 * stdlib/atexit.c: Include <dso_handle.h>.
29283 (__dso_handle): Remove declaration.
29284 (atexit): Pass __dso_handle directly.
29285 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29286 (__dso_handle): Removed.
29288 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29290 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29293 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29295 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29296 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29297 values to correct default value for given type.
29299 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29302 * elf/Makefile (tests): Add tst-debug1.
29303 ($(objpfx)tst-debug1): New.
29304 ($(objpfx)tst-debug1.out): Likewise.
29305 ($(objpfx)tst-debug1mod1.so): Likewise.
29306 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29307 with p_filesz == 0.
29308 * elf/tst-debug1.c: New file.
29310 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29312 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29313 Define using __ifunc.
29315 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29317 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29320 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29323 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29325 2017-09-26 Florian Weimer <fweimer@redhat.com>
29327 * resolv/Makefile (tests-internal): Fix typo in comment.
29329 2017-09-26 Florian Weimer <fweimer@redhat.com>
29331 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29333 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29335 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29336 Use an union instead of a max_align_t array for __space,
29337 so that __space is the same size on all platforms.
29338 * malloc/scratch_buffer_grow_preserve.c
29339 (__libc_scratch_buffer_grow_preserve): Likewise.
29342 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29344 * posix/Makefile (routines): Add glob-lstat-compat and
29345 glob64-lstat-compat.
29346 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29347 * posix/glob-lstat-compat.c: New file.
29348 * posix/glob64-lstat-compat.c: Likewise.
29349 * posix/tst-glob_lstat_compat.c: Likewise.
29350 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29351 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29352 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29353 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29355 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29356 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29357 * posix/glob.c (glob_lstat): New function.
29358 (glob): Rename to __glob and add versioned symbol to 2.27.
29359 (glob_in_dir): Use glob_lstat.
29360 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29361 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29362 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29364 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29365 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29366 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29367 gl_lstat on glob call.
29368 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29369 and glob64 symbols.
29370 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29371 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29372 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29373 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29374 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29375 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29376 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29377 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29378 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29379 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29380 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29381 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29384 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29386 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29387 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29388 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29389 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29390 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29393 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29394 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29395 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29397 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29399 * configure.ac (AS): Require binutils 2.25 or later.
29400 * configure: Regenerated.
29402 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29405 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29408 2017-09-25 DJ Delorie <dj@redhat.com>
29411 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29414 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29416 * sysdeps/ieee754/dbl-64/sincos32.h
29417 [SINCCOS32_H]: Remove define.
29418 [SINCOS32_H]: Define.
29420 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29422 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29424 * math/w_exp2f.c: New file.
29425 * math/w_expf.c: New file.
29426 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29427 * math/w_expf_compat.c (__expf_compat): Likewise.
29428 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29429 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29430 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29431 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29432 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29433 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29434 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29435 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29436 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29437 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29438 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29439 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29440 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29441 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29450 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29451 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29452 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29453 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29454 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29459 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29460 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29461 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29463 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29465 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29466 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29467 (roundtoint, converttoint): Likewise.
29468 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29469 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29470 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29471 * sysdeps/ieee754/flt-32/math_config.h: New file.
29472 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29473 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29474 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29475 * sysdeps/i386/fpu/math_errf.c: New file.
29476 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29477 * sysdeps/ia64/fpu/math_errf.c: New file.
29478 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29479 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29481 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29483 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29484 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29485 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29486 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29487 to make sure that these symbols are defined.
29488 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29490 (__need_NULL): Do not define.
29491 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29493 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29494 CMGROUP_MAX, cmsgcred): Do not define.
29495 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29497 * bits/socket.h: Likewise.
29498 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29499 __gettimeofday instead of gettimeofday.
29500 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29501 instead of settimeofday.
29503 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29505 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29506 (asinhf): Define using libm_alias_float.
29507 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29508 (atanf): Define using libm_alias_float.
29509 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29510 (cbrtf): Define using libm_alias_float.
29511 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29512 (ceilf): Define using libm_alias_float.
29513 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29514 <libm-alias-float.h>.
29515 (copysignf): Define using libm_alias_float.
29516 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29517 (cosf): Define using libm_alias_float.
29518 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29519 (erff): Define using libm_alias_float.
29521 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29522 (expm1f): Define using libm_alias_float.
29523 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29524 (fabsf): Define using libm_alias_float.
29525 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29526 (floorf): Define using libm_alias_float.
29527 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29528 (frexpf): Define using libm_alias_float.
29529 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29531 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29532 <libm-alias-float.h>.
29533 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29535 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29536 <libm-alias-float.h>.
29537 (getpayloadf): Define using libm_alias_float.
29538 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29539 <libm-alias-float.h>.
29540 (llrintf): Define using libm_alias_float.
29541 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29542 <libm-alias-float.h>.
29543 (llroundf): Define using libm_alias_float.
29544 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29545 (logbf): Define using libm_alias_float.
29546 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29547 (lrintf): Define using libm_alias_float.
29548 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29549 (lroundf): Define using libm_alias_float.
29550 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29551 (modff): Define using libm_alias_float.
29552 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29553 <libm-alias-float.h>.
29554 (nearbyintf): Define using libm_alias_float.
29555 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29556 <libm-alias-float.h>.
29557 (nextafterf): Define using libm_alias_float.
29558 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29559 <libm-alias-float.h>.
29560 (nextupf): Define using libm_alias_float.
29561 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29562 <libm-alias-float.h>.
29563 (remquof): Define using libm_alias_float.
29564 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29565 (rintf): Define using libm_alias_float.
29566 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29567 <libm-alias-float.h>.
29568 (roundevenf): Define using libm_alias_float.
29569 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29570 (roundf): Define using libm_alias_float.
29571 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29572 using libm_alias_float.
29573 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29574 <libm-alias-float.h>.
29575 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29576 Define using libm_alias_float.
29577 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29578 <libm-alias-float.h>.
29579 (sincosf): Define using libm_alias_float.
29580 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29581 (sinf): Define using libm_alias_float.
29582 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29583 (tanf): Define using libm_alias_float.
29584 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29585 (tanhf): Define using libm_alias_float.
29586 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29587 <libm-alias-float.h>.
29588 (totalorderf): Define using libm_alias_float.
29589 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29590 <libm-alias-float.h>.
29591 (totalordermagf): Define using libm_alias_float.
29592 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29593 (truncf): Define using libm_alias_float.
29594 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29596 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29599 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29602 math/math.h: Let fpclassify use the builtin in C++ mode, even
29603 when optimazing for size.
29605 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29607 * csu/Makefile (generated): Do not add version-info.h.
29608 (before-compile): Likewise.
29609 (all-Banner-files): Remove variable.
29610 ($(objpfx)version-info.h): Remove rule.
29611 * csu/version.c (banner): Do not include "version-info.h".
29612 * libidn/Banner: Remove.
29613 * manual/contrib.texi (Simon Josefsson): New entry.
29615 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29617 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29618 Remove conditionals on LDBL_MANT_DIG.
29619 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29620 (__ieee754_lgammal_r): Likewise.
29622 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29626 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29627 _Float128 and L(). Replace _Float128 with long double and L(x)
29628 with xL, throughout the file.
29629 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29630 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29631 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29634 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29636 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29637 sysdeps/ieee754/ldbl-128ibm.
29638 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29639 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29640 of including it. Keep _Float128 and L() intact. These will be
29641 reviewed by a separate patch.
29642 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29643 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29644 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29645 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29647 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29650 (__finitef128): Define to __redirect___finitef128.
29651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29652 (__isinff128): Define to __redirect___isinff128.
29653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29654 (__isnanf128): Define to __redirect___isnanf128.
29656 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29658 * sysdeps/powerpc/powerpc64le/Makefile
29659 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29660 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29662 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29663 Carlos O'Donell <carlos@redhat.com>
29666 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29667 * stdlib/test-dlclose-exit-race.c: New file.
29668 * stdlib/test-dlclose-exit-race-helper.c: New file.
29669 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29671 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29673 * crypt/Banner: Remove file.
29674 * nptl/Banner: Likewise.
29675 * resolv/Banner: Likewise.
29676 * soft-fp/Banner: Likewise.
29677 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29678 ($(objpfx)version.d): Remove dependency on banner.h.
29679 ($(objpfx)version.os): Likewise.
29680 * nptl/version.c (banner): Do not include banner.h.
29681 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29682 Jelinek and BIND code.
29684 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29685 Carlos O'Donell <carlos@redhat.com>
29687 * support/xdlfcn.h: New file.
29688 * support/xdlfcn.c: New file.
29689 * support/Makefile (libsupport-routines): Add xdlfcn.
29690 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29692 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29695 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29696 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29697 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29698 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29699 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29700 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29701 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29702 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29704 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29705 Ricky Zhou <rickyz@google.com>
29706 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29709 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29711 (__new_exitfn): Fail registration when we finished at_exit processing.
29712 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29713 * stdlib/on_exit.c (__on_exit): Likewise.
29714 * stdlib/exit.c (__exit_funcs_done): New variable.
29715 (__run_exit_handlers): Use __exit_funcs_lock.
29716 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29718 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29719 (test-cxa_atexit-race, test-on_exit-race): New tests.
29720 * stdlib/test-atexit-race-common.c: New file.
29721 * stdlib/test-atexit-race.c: New file.
29722 * stdlib/test-at_quick_exit-race.c: New file.
29723 * stdlib/test-cxa_atexit-race.c: New file.
29724 * stdlib/test-on_exit-race.c: New file.
29726 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29728 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29729 * benchtests/exp2f-inputs: Copy of expf-inputs.
29730 * benchtests/log2f-inputs: Copy of logf-inputs.
29732 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29734 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29735 Explicitly take address of first element of array arguments in
29736 call to INLINE_SYSCALL.
29738 2017-09-19 Andreas Schwab <schwab@suse.de>
29741 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29743 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29746 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29747 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29748 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29749 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29750 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29751 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29752 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29753 * posix/Makefile (tests): Add tst-fexecve.
29754 * posix/tst-fexecve.c: New file.
29756 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29758 * benchtests/Makefile: Add logf benchmark.
29759 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29761 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29763 * benchtests/Makefile: Add expf benchmark.
29764 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29766 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29768 * csu/Makefile: Add -funwind-tables to libc-start.c.
29769 * debug/Makefile: Add -funwind-tables to backtrace.c.
29770 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29771 * sysdeps/arm/Makefile: Likewise.
29772 * sysdeps/i386/Makefile: Likewise.
29773 * sysdeps/m68k/Makefile: Likewise.
29774 * sysdeps/mips/Makefile: Likewise.
29775 * sysdeps/nios2/Makefile: Likewise.
29776 * sysdeps/sh/Makefile: Likewise.
29777 * sysdeps/sparc/Makefile: Likewise.
29779 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29781 * benchtests/Makefile (bench-math): Add trunc and truncf.
29782 (CFLAGS-bench-trunc.c): New variable.
29783 (CFLAGS-bench-truncf.c): Likewise.
29784 * benchtests/trunc-inputs: New file.
29785 * benchtests/truncf-inputs: Likewise.
29787 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29789 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29791 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29793 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29794 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29796 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29797 (exp10l): Define as weak alias.
29798 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29799 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29801 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29802 (remainderl): Define as weak alias.
29804 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29805 (fmal): Define using libm_alias_ldouble.
29806 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29807 (acoshl): Define using libm_alias_ldouble.
29808 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29809 (acosl): Define using libm_alias_ldouble.
29810 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29811 (asinl): Define using libm_alias_ldouble.
29812 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29813 (atan2l): Define using libm_alias_ldouble.
29814 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29815 (atanhl): Define using libm_alias_ldouble.
29816 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29817 (coshl): Define using libm_alias_ldouble.
29818 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29819 (exp10l): Define using libm_alias_ldouble.
29820 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29821 (exp2l): Define using libm_alias_ldouble.
29822 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29823 (expl): Define using libm_alias_ldouble.
29824 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29825 (fmodl): Define using libm_alias_ldouble.
29826 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29827 (hypotl): Define using libm_alias_ldouble.
29828 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29829 (j0l): Define using libm_alias_ldouble.
29831 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29832 (j1l): Define using libm_alias_ldouble.
29834 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29835 (jnl): Define using libm_alias_ldouble.
29837 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29838 (log10l): Define using libm_alias_ldouble.
29839 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29840 (log2l): Define using libm_alias_ldouble.
29841 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29842 (logl): Define using libm_alias_ldouble.
29843 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29844 (powl): Define using libm_alias_ldouble.
29845 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29846 (remainderl): Define using libm_alias_ldouble.
29847 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29848 (sinhl): Define using libm_alias_ldouble.
29849 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29850 (sqrtl): Define using libm_alias_ldouble.
29851 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29852 (tgammal): Define using libm_alias_ldouble.
29853 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29854 (exp10l): Do not use long_double_symbol here.
29855 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29856 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29857 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29858 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29859 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29860 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29861 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29862 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29863 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29864 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29865 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29866 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29867 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29868 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29869 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29870 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29871 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29872 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29873 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29874 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29875 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29876 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29878 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29880 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29881 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29883 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29885 * io/read.c (read): Add libc_hidden_weak.
29886 * sysdeps/mach/hurd/read.c (read): Likewise.
29887 * io/write.c (write): Likewise.
29888 * sysdeps/mach/hurd/write.c (write): Likewise.
29889 * io/pread64.c (__pread64): Likewise.
29890 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29891 * posix/pread64.c (__pread64): Add libc_hidden_def.
29893 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29895 * benchtests/scripts/compare_strings.py: New option -g.
29896 (draw_graph): Print a message that a graph is being generated.
29897 (process_results): Generate graph only if -g is passed.
29898 (main): Process option -g.
29900 * benchtests/scripts/compare_strings.py (process_results):
29901 Better spacing for output.
29903 * benchtests/scripts/compare_strings.py: Use argparse.
29904 * benchtests/README: Document existence of compare_strings.py.
29906 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29908 * math/s_fma.c: Include <libm-alias-double.h>.
29909 (fma): Define using libm_alias_double.
29910 * math/s_nextafter.c: Include <libm-alias-double.h>.
29911 (nextafter): Define using libm_alias_double.
29912 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29913 (acos): Define using libm_alias_double.
29914 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29915 (aocsh): Define using libm_alias_double.
29916 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29917 (asin): Define using libm_alias_double.
29918 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29919 (atan2): Define using libm_alias_double.
29920 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29921 (atanh): Define using libm_alias_double.
29922 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29923 (cosh): Define using libm_alias_double.
29924 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29925 (exp10): Define using libm_alias_double.
29926 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29927 (exp2): Define using libm_alias_double.
29928 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29929 (exp): Define using libm_alias_double.
29930 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29931 (fmod): Define using libm_alias_double.
29932 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29933 (hypot): Define using libm_alias_double.
29934 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29935 (j0): Define using libm_alias_double.
29937 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29938 (j1): Define using libm_alias_double.
29940 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29941 (jn): Define using libm_alias_double.
29943 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29944 (log10): Define using libm_alias_double.
29945 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29946 (log2): Define using libm_alias_double.
29947 * math/w_log_compat.c: Include <libm-alias-double.h>.
29948 (log): Define using libm_alias_double.
29949 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29950 (pow): Define using libm_alias_double.
29951 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29952 (remainder): Define using libm_alias_double.
29953 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29954 (sinh): Define using libm_alias_double.
29955 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29956 (sqrt): Define using libm_alias_double.
29957 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29958 (tgamma): Define using libm_alias_double.
29959 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29960 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29961 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29962 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29963 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29964 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29965 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29966 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29967 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29968 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29969 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29970 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29971 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29972 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29973 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29974 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29975 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29976 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29977 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29978 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29979 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29980 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29981 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29982 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29983 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29985 * math/e_acoshl.c: Remove.
29986 * math/e_acosl.c: Likewise.
29987 * math/e_asinl.c: Likewise.
29988 * math/e_atan2l.c: Likewise.
29989 * math/e_atanhl.c: Likewise.
29990 * math/e_coshl.c: Likewise.
29991 * math/e_expl.c: Likewise.
29992 * math/e_fmodl.c: Likewise.
29993 * math/e_gammal_r.c: Likewise.
29994 * math/e_hypotl.c: Likewise.
29995 * math/e_j0l.c: Likewise.
29996 * math/e_j1l.c: Likewise.
29997 * math/e_jnl.c: Likewise.
29998 * math/e_lgammal_r.c: Likewise.
29999 * math/e_log10l.c: Likewise.
30000 * math/e_log2l.c: Likewise.
30001 * math/e_logl.c: Likewise.
30002 * math/e_powl.c: Likewise.
30003 * math/e_rem_pio2l.c: Likewise.
30004 * math/e_sinhl.c: Likewise.
30005 * math/e_sqrtf128.c: Likewise.
30006 * math/e_sqrtl.c: Likewise.
30007 * math/k_cosl.c: Likewise.
30008 * math/k_sinl.c: Likewise.
30009 * math/k_tanl.c: Likewise.
30010 * math/s_asinhl.c: Likewise.
30011 * math/s_atanl.c: Likewise.
30012 * math/s_cbrtl.c: Likewise.
30013 * math/s_erfl.c: Likewise.
30014 * math/s_expm1l.c: Likewise.
30015 * math/s_log1pl.c: Likewise.
30016 * math/s_tanhl.c: Likewise.
30018 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30022 [$(subdir) = math] (sysdep_calls): New variable. Has the
30023 previous contents of sysdep_routines, but re-sorted..
30024 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30026 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30027 defined in sysdep_calls and replace by the respective m_* names.
30028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30029 (compat_symbol): Undefine to avoid duplicated compat symbols in
30032 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30034 * math/s_fmaf.c: Include <libm-alias-float.h>.
30035 (fmaf): Define using libm_alias_float.
30036 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30037 (acosf): Define using libm_alias_float.
30038 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30039 (acoshf): Define using libm_alias_float.
30040 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30041 (asinf): Define using libm_alias_float.
30042 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30043 (atan2f): Define using libm_alias_float.
30044 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30045 (atanhf): Define using libm_alias_float.
30046 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30047 (coshf): Define using libm_alias_float.
30048 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30049 (exp10f): Define using libm_alias_float.
30050 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30051 (fmodf): Define using libm_alias_float.
30052 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30053 (hypotf): Define using libm_alias_float.
30054 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30055 (j0f): Define using libm_alias_float.
30057 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30058 (j1f): Define using libm_alias_float.
30060 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30061 (jnf): Define using libm_alias_float.
30063 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30064 (log10f): Define using libm_alias_float.
30065 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30066 (log2f): Define using libm_alias_float.
30067 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30068 (logf): Define using libm_alias_float.
30069 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30070 (powf): Define using libm_alias_float.
30071 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30072 (remainderf): Define using libm_alias_float.
30073 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30074 (sinhf): Define using libm_alias_float.
30075 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30076 (sqrtf): Define using libm_alias_float.
30077 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30078 (tgammaf): Define using libm_alias_float.
30080 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30082 * include/math.h (roundeven): Change hidden_proto call to
30084 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30086 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30087 (y0): Rename to __y0 and define as weak alias.
30088 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30089 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30091 (y0f): Rename to __y0f and define as weak alias.
30092 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30094 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30095 (y1): Rename to __y1 and define as weak alias.
30096 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30097 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30099 (y1f): Rename to __y1f and define as weak alias.
30100 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30102 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30103 (yn): Rename to __yn and define as weak alias.
30104 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30105 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30107 (ynf): Rename to __ynf and define as weak alias.
30108 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30109 (fromfp): Define as weak alias.
30110 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30111 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30112 (fromfpx): Define as weak alias.
30113 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30114 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30115 __getpayload and define as weak alias.
30116 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30117 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30118 __roundeven and define as weak alias.
30119 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30120 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30122 (setpayload): Define as weak alias.
30123 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30124 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30126 (setpayloadsig): Define as weak alias.
30127 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30128 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30129 __totalorder and define as weak alias.
30130 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30131 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30132 to __totalordermag and define as weak alias.
30133 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30134 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30135 (ufromfp): Define as weak alias.
30136 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30137 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30139 (ufromfpx): Define as weak alias.
30140 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30141 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30142 Rename to __getpayload and define as weak alias.
30143 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30144 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30145 Rename to __roundeven and define as weak alias.
30146 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30147 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30148 Rename to __totalorder and define as weak alias.
30149 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30150 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30151 (totalordermag): Rename to __totalordermag and define as weak
30153 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30154 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30156 (__roundevenl): Likewise.
30157 (__totalorderl): Likewise.
30158 (__totalordermagl): Likewise
30159 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30161 (fromfpf128): Define as weak alias.
30162 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30164 (fromfpxf128): Define as weak alias.
30165 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30167 (setpayloadf128): Define as weak alias.
30168 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30169 __setpayloadsigf128.
30170 (setpayloadsigf128): Define as weak alias.
30171 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30173 (ufromfpf128): Define as weak alias.
30174 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30176 (ufromfpxf128): Define as weak alias.
30177 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30178 (fromfpf): Define as weak alias.
30179 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30181 (fromfpxf): Define as weak alias.
30182 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30183 __getpayloadf and define as weak alias.
30184 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30185 __roundevenf and define as weak alias.
30186 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30188 (setpayloadf): Define as weak alias.
30189 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30191 (setpayloadsigf): Define as weak alias.
30192 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30193 __totalorderf and define as weak alias.
30194 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30195 Rename to __totalordermagf and define as weak alias.
30196 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30198 (ufromfpf): Define as weak alias.
30199 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30201 (ufromfpxf): Define as weak alias.
30202 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30204 (fromfpl): Define as weak alias.
30205 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30207 (fromfpxl): Define as weak alias.
30208 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30209 to __getpayloadl and define as weak alias.
30210 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30211 __roundevenl and define as weak alias.
30212 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30214 (setpayloadl): Define as weak alias.
30215 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30217 (setpayloadsigl): Define as weak alias.
30218 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30219 to __totalorderl and define as weak alias.
30220 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30221 Rename to __totalordermagl and define as weak alias.
30222 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30224 (ufromfpl): Define as weak alias.
30225 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30227 (ufromfpxl): Define as weak alias.
30228 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30230 (fromfpl): Define as weak alias.
30231 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30233 (fromfpxl): Define as weak alias.
30234 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30235 Rename to __getpayloadl and define as weak alias.
30236 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30237 to __roundevenl and define as weak alias. Call __roundeven
30238 instead of roundeven.
30239 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30241 (setpayloadl): Define as weak alias.
30242 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30244 (setpayloadsigl): Define as weak alias.
30245 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30246 Rename to __totalorderl and define as weak alias.
30247 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30248 Rename to __totalordermagl and define as weak alias.
30249 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30251 (ufromfpl): Define as weak alias.
30252 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30254 (ufromfpxl): Define as weak alias.
30255 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30257 (fromfpl): Define as weak alias.
30258 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30260 (fromfpxl): Define as weak alias.
30261 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30262 __getpayloadl and define as weak alias.
30263 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30264 __roundevenl and define as weak alias.
30265 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30267 (setpayloadl): Define as weak alias.
30268 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30270 (setpayloadsigl): Define as weak alias.
30271 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30272 __totalorderl and define as weak alias.
30273 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30274 Rename to __totalordermagl and define as weak alias.
30275 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30277 (ufromfpl): Define as weak alias.
30278 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30280 (ufromfpxl): Define as weak alias.
30282 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30284 * benchtests/bench-string.h (realloc_bufs): New function.
30285 (test_init): Call it.
30286 * benchtests/bench-memset-large.c (do_test): Likewise.
30287 * benchtests/bench-memset.c (do_test): Likewise.
30289 * benchtests/bench-memset-large.c: Print output in JSON
30291 * benchtests/bench-memset.c: Likewise.
30293 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30296 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30297 * iconvdata/Makefile: Add IBM858.
30298 * iconvdata/gconv-modules: Likewise.
30299 * iconvdata/tst-tables.sh: Likewise.
30300 * iconvdata/ibm858.c: New file.
30301 * localedata/charmaps/IBM858: Likewise.
30303 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30306 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30307 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30309 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30312 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30313 and add tel_int_fmt.
30315 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30317 * sysdeps/generic/libm-alias-float128.h: New file.
30318 * sysdeps/generic/math-type-macros-float128.h: Include
30319 <libm-alias-float128.h>.
30320 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30322 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30324 * sysdeps/generic/libm-alias-ldouble.h: New file.
30325 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30326 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30327 * sysdeps/generic/math-type-macros-ldouble.h: Include
30328 <libm-alias-ldouble.h>.
30329 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30330 libm_alias_ldouble.
30332 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30334 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30335 * math/w_exp_compat.c: ... here.
30336 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30337 * math/w_expf_compat.c: ... here.
30338 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30339 * math/w_expl_compat.c: ... here.
30340 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30341 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30342 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30343 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30345 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30347 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30349 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30351 (ldexpl): Only define as compat symbol for libc, not libm.
30352 (scalbnl): Define as compat symbol for libc here.
30353 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30354 define for [IS_IN (libc)].
30355 (__ldexpl_2): Remove alias.
30356 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30357 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30358 name in long_double_symbol call.
30359 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30360 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30361 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30362 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30363 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30365 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30366 Define as compat symbol.
30368 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30370 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30371 * sysdeps/unix/sysv/linux/alpha/Makefile
30372 [$(subdir) = csu] (sysdep_routines): Remove rule.
30374 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30376 * sysdeps/generic/libm-alias-double.h: New file.
30377 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30378 * sysdeps/generic/math-type-macros-double.h: Include
30379 <libm-alias-double.h>.
30380 [declare_mgen_alias] (declare_mgen_alias): Define to use
30382 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30383 (M_LIBM_NEED_COMPAT): Remove macro.
30384 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30385 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30386 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30388 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30389 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30390 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30391 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30392 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30393 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30394 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30395 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30396 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30397 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30398 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30399 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30400 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30401 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30402 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30403 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30404 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30405 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30406 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30407 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30408 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30409 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30410 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30411 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30412 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30413 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30414 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30415 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30416 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30418 (declare_mgen_alias): New macro.
30419 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30420 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30422 (M_LIBM_NEED_COMPAT): Remove macro.
30423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30424 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30425 <first-versions.h>.
30426 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30427 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30429 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30431 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30432 (declare_mgen_alias_2): Remove.
30433 * sysdeps/generic/math-type-macros-double.h
30434 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30436 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30438 (ldexp): Define with declare_mgen_alias.
30439 (scalbn): Likewise.
30441 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30443 * grp/initgroups.c: Include config.h.
30444 (DEFAULT_CONFIG): New macro.
30445 (internal_getgrouplist): Use DEFAULT_CONFIG.
30446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30447 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30448 (DEFAULT_DEFCONFIG): New macro.
30449 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30450 * nss/grp-lookup.c: Include config.h
30451 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30452 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30453 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30454 * manual/nss.texi: Update default values section.
30456 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30459 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30461 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30462 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30463 Handle MathVec_Prefer_No_AVX512.
30464 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30465 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30468 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30470 * posix/sched_primax.c (__sched_get_priority_max): Add
30472 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30473 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30474 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30475 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30476 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30477 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30478 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30479 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30482 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30484 * sysdeps/generic/libm-alias-float.h: New file.
30485 * sysdeps/generic/math-type-macros-float.h: Include
30486 <libm-alias-float.h>.
30487 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30489 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30492 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30493 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30494 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30495 (HWCAP_IMPORTANT): Likewise.
30496 (HWCAP_X86_64): New enum.
30497 (HWCAP_X86_AVX512_1): Updated.
30498 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30499 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30500 (modules-names): Add x86_64/tst-x86_64mod-1.
30501 (LDFLAGS-tst-x86_64mod-1.so): New.
30502 ($(objpfx)tst-x86_64-1): Likewise.
30503 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30504 (tst-x86_64-1-clean): Likewise.
30505 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30506 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30508 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30510 * po/sv.po: Update translations.
30511 * po/fr.po: Likewise.
30513 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30515 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30517 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30519 * elf/rtld-Rules: Fix $(error) use.
30521 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30524 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30525 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30526 * localedata/locales/bn_BD: “Bengali” was still used in some
30527 comments. Change it to “Bangla”.
30529 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30531 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30533 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30535 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30536 thunderx2t99p1 to list of cpu names.
30537 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30538 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30540 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30542 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30543 Use strcmp instead of tunable_is_name.
30545 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30548 (F_GET_RW_HINT): New macro.
30549 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30550 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30551 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30552 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30553 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30554 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30555 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30556 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30557 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30559 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30560 (F_ADD_SEALS): New macro.
30561 [__USE_GNU] (F_GET_SEALS): Likewise.
30562 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30563 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30564 [__USE_GNU] (F_SEAL_GROW): Likewise.
30565 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30567 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30569 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30570 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30571 * posix/glob_internal.h (__glob_pattern_type):
30572 * posix/glob.c (glob):
30573 * posix/glob_pattern_p.c (__glob_pattern_p):
30576 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30577 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30578 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30579 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30580 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30582 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30583 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30584 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30585 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30586 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30587 * sysdeps/wordsize-64/glob.c: Likewise.
30588 * sysdeps/wordsize-64/glob64.c: Likewise.
30589 * sysdeps/wordsize-64/globfree.c: Likewise.
30590 * sysdeps/wordsize-64/globfree64.c: Likewise.
30591 * sysdeps/unix/sysv/linux/glob.c: New file.
30592 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30593 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30594 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30595 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30596 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30597 adds !GLOB_NO_OLD_VERSION as an extra condition.
30598 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30599 using relative path instead of absolute one.
30600 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30601 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30602 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30603 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30604 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30605 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30608 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30609 (glob): Use the same scratch buffer for both getlogin_r and
30610 getpwnam_r. Don’t require preallocation of the login name. This
30611 simplifies storage allocation, and corrects the handling of
30615 * posix/glob.c (glob): Port recent patches to platforms
30616 lacking getpwnam_r.
30617 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30618 returns an error number rather than setting errno.
30620 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30621 instead of GCC extension.
30622 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30623 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30624 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30628 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30629 * posix/bug-glob1.c: Remove file.
30630 * posix/tst-glob_symlinks.c: New file.
30631 * posix/glob.c (__lstat64): New macro.
30632 (is_dir): New function.
30633 (glob, glob_in_dir): Match symlinks even if they are dangling.
30634 (link_stat, link_exists_p): Remove. All uses removed.
30638 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30639 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30644 * posix/Makefile (routines): Add globfree, globfree64, and
30646 * posix/flexmember.h: New file.
30647 * posix/glob_internal.h: Likewise.
30648 * posix/glob_pattern_p.c: Likewise.
30649 * posix/globfree.c: Likewise.
30650 * posix/globfree64.c: Likewise.
30651 * sysdeps/gnu/globfree64.c: Likewise.
30652 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30653 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30654 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30655 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30656 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30657 * sysdeps/wordsize-64/globfree.c: Likewise.
30658 * sysdeps/wordsize-64/globfree64.c: Likewise.
30659 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30660 [NDEBUG): Remove comments.
30661 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30662 (dirent_type): New type. Use uint_fast8_t not
30663 uint8_t, as C99 does not require uint8_t.
30664 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30665 (struct readdir_result): Use dirent_type. Do not define skip_entry
30666 unless it is needed; this saves a byte on platforms lacking d_ino.
30667 (readdir_result_type, readdir_result_skip_entry):
30668 New functions, replacing ...
30669 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30670 these functions, which were removed. This makes the callers
30671 easier to read. All callers changed.
30672 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30673 (size_add_wrapv, glob_use_alloca): New static functions.
30674 (glob, glob_in_dir): Check for size_t overflow in several places,
30675 and fix some size_t checks that were not quite right.
30676 Remove old code using SHELL since Bash no longer
30678 (glob, prefix_array): Separate MS code better.
30679 (glob_in_dir): Remove old Amiga and VMS code.
30680 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30682 (glob_in_dir): Do not rely on undefined behavior in accessing
30683 struct members beyond their bounds. Use a flexible array member
30685 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30686 0/1. Caller changed.
30687 (glob): Fix memory leaks.
30688 * posix/glob64 (globfree64): Move to separate file.
30689 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30690 (globfree64): Remove hidden alias.
30691 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30693 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30695 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30697 Move compat code to separate file.
30698 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30701 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30703 * resolv/tst-resolv-qtypes.c (domain): Changed to
30704 "const char domain[] =".
30706 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30708 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30711 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30712 (TCP_MD5SIG_EXT): Likewise.
30713 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30714 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30715 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30717 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30719 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30721 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30723 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30726 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30728 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30730 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30731 before assuming that the file is empty. Avoid testing buffer content
30734 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30737 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30739 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30741 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30743 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30745 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30747 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30749 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30752 2017-09-06 Florian Weimer <fweimer@redhat.com>
30754 * malloc/dynarray_emplace_enlarge.c
30755 (__libc_dynarray_emplace_enlarge): Add missing else.
30757 2017-09-06 Florian Weimer <fweimer@redhat.com>
30760 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30761 case of failure to obtain the global conf object.
30763 2017-09-06 Florian Weimer <fweimer@redhat.com>
30766 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30767 dynarray allocation failure.
30769 2017-09-06 Florian Weimer <fweimer@redhat.com>
30771 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30772 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30773 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30775 (response): Call them. Add 'p', '6' flag processing.
30776 (test_reverse): New function.
30777 (test_get2_any): Call it.
30778 (test_no_inet6): Add 'p' test.
30779 (test_inet6): Likewise.
30781 2017-09-06 Florian Weimer <fweimer@redhat.com>
30783 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30784 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30786 (test_gai): Adjust query names. Add additional tests.
30787 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30788 test_get2. Adjust query names. Add additional tests.
30789 (test_no_inet6): New function, extracted from threadfunc.
30790 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30791 Add additional tests.
30793 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30796 * localedata/unicode-gen/utf8_gen.py: Set the width for
30797 characters with Prepended_Concatenation_Mark property to 1
30798 * localedata/charmaps/UTF-8: Updated using the improved script.
30800 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30803 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30804 use the range notation for all ranges of neighbouring characters
30805 with the same width.
30807 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30809 * sysdeps/generic/math-type-macros-double.h: Include
30810 <math-svid-compat.h>.
30811 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30812 * sysdeps/generic/math-type-macros-float.h: Include
30813 <math-svid-compat.h>.
30814 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30815 * sysdeps/generic/math-type-macros-ldouble.h: Include
30816 <math-svid-compat.h>.
30817 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30818 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30820 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30821 * math/w_acosf_compat.c: Likewise.
30822 * math/w_acosh_compat.c: Likewise.
30823 * math/w_acoshf_compat.c: Likewise.
30824 * math/w_acoshl_compat.c: Likewise.
30825 * math/w_acosl_compat.c: Likewise.
30826 * math/w_asin_compat.c: Likewise.
30827 * math/w_asinf_compat.c: Likewise.
30828 * math/w_asinl_compat.c: Likewise.
30829 * math/w_atan2_compat.c: Likewise.
30830 * math/w_atan2f_compat.c: Likewise.
30831 * math/w_atan2l_compat.c: Likewise.
30832 * math/w_atanh_compat.c: Likewise.
30833 * math/w_atanhf_compat.c: Likewise.
30834 * math/w_atanhl_compat.c: Likewise.
30835 * math/w_cosh_compat.c: Likewise.
30836 * math/w_coshf_compat.c: Likewise.
30837 * math/w_coshl_compat.c: Likewise.
30838 * math/w_exp10_compat.c: Likewise.
30839 * math/w_exp10f_compat.c: Likewise.
30840 * math/w_exp10l_compat.c: Likewise.
30841 * math/w_exp2_compat.c: Likewise.
30842 * math/w_exp2f_compat.c: Likewise.
30843 * math/w_exp2l_compat.c: Likewise.
30844 * math/w_fmod_compat.c: Likewise.
30845 * math/w_fmodf_compat.c: Likewise.
30846 * math/w_fmodl_compat.c: Likewise.
30847 * math/w_hypot_compat.c: Likewise.
30848 * math/w_hypotf_compat.c: Likewise.
30849 * math/w_hypotl_compat.c: Likewise.
30850 * math/w_j0_compat.c: Likewise.
30851 * math/w_j0f_compat.c: Likewise.
30852 * math/w_j0l_compat.c: Likewise.
30853 * math/w_j1_compat.c: Likewise.
30854 * math/w_j1f_compat.c: Likewise.
30855 * math/w_j1l_compat.c: Likewise.
30856 * math/w_jn_compat.c: Likewise.
30857 * math/w_jnf_compat.c: Likewise.
30858 * math/w_jnl_compat.c: Likewise.
30859 * math/w_lgamma_r_compat.c: Likewise.
30860 * math/w_lgammaf_r_compat.c: Likewise.
30861 * math/w_lgammal_r_compat.c: Likewise.
30862 * math/w_log10_compat.c: Likewise.
30863 * math/w_log10f_compat.c: Likewise.
30864 * math/w_log10l_compat.c: Likewise.
30865 * math/w_log2_compat.c: Likewise.
30866 * math/w_log2f_compat.c: Likewise.
30867 * math/w_log2l_compat.c: Likewise.
30868 * math/w_log_compat.c: Likewise.
30869 * math/w_logf_compat.c: Likewise.
30870 * math/w_logl_compat.c: Likewise.
30871 * math/w_pow_compat.c: Likewise.
30872 * math/w_powf_compat.c: Likewise.
30873 * math/w_powl_compat.c: Likewise.
30874 * math/w_remainder_compat.c: Likewise.
30875 * math/w_remainderf_compat.c: Likewise.
30876 * math/w_remainderl_compat.c: Likewise.
30877 * math/w_sinh_compat.c: Likewise.
30878 * math/w_sinhf_compat.c: Likewise.
30879 * math/w_sinhl_compat.c: Likewise.
30880 * math/w_sqrt_compat.c: Likewise.
30881 * math/w_sqrtf_compat.c: Likewise.
30882 * math/w_sqrtl_compat.c: Likewise.
30883 * math/w_tgamma_compat.c: Likewise.
30884 * math/w_tgammaf_compat.c: Likewise.
30885 * math/w_tgammal_compat.c: Likewise.
30886 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30887 [LIBM_SVID_COMPAT].
30888 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30889 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30890 [LIBM_SVID_COMPAT].
30891 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30892 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30893 [LIBM_SVID_COMPAT].
30894 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30895 * sysdeps/i386/fpu/w_sqrt.c: New file.
30896 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30897 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30898 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30899 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30900 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30901 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30902 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30903 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30904 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30905 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30906 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30907 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30908 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30909 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30910 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30911 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30912 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30913 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30914 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30915 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30916 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30917 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30918 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30919 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30920 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30921 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30922 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30923 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30924 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30925 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30926 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30927 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30928 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30929 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30930 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30931 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30932 * sysdeps/ia64/fpu/w_log.c: Likewise.
30933 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30934 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30935 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30936 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30937 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30938 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30939 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30940 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30941 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30942 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30943 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30944 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30945 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30946 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30947 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30948 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30949 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30950 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30951 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30952 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30953 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30954 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30955 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30956 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30957 [LIBM_SVID_COMPAT].
30958 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30959 * sysdeps/ieee754/k_standard.c: Likewise.
30960 * sysdeps/ieee754/k_standardf.c: Likewise.
30961 * sysdeps/ieee754/k_standardl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30964 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30965 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30966 long_double_symbol call on [LIBM_SVID_COMPAT].
30967 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30968 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30969 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30970 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30971 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30972 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30973 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30974 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30975 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30976 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30977 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30978 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30979 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30980 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30981 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30982 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30983 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30984 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30985 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30986 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30987 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30988 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30990 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30992 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30993 * malloc/tst-mallocstate.c: Convert from test-skeleton
30994 to test-driver. Ifdef code using TEST_COMPAT macro.
30995 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30996 * math/test-matherr.c: Likewise.
30998 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31001 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31002 comparing word with byte-swapped constant.
31004 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31007 * locale/iso-639.def: add Miskito.
31008 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31009 * localedata/locales/miq_NI: New file.
31011 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31014 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31015 (__mkdir): Likewise.
31016 * io/chmod.c (__chmod): Add libc_hidden_def.
31017 * io/mkdir.c (__mkdir): Likewise.
31018 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31019 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31020 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31021 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31023 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31025 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31029 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31030 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31032 2017-09-04 Florian Weimer <fweimer@redhat.com>
31034 * math/math.h: Issue warning if log is defined.
31036 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31038 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31039 kernel version to 4.13.
31041 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31043 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31044 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31046 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31047 just <bits/types.h>.
31048 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31049 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31050 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31051 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31052 * misc/preadv2.c: Include <errno.h>.
31053 * misc/preadv64v2.c: Include <errno.h>.
31054 * misc/pwritev2.c: Include <errno.h>.
31055 * misc/pwritev64v2.c: Include <errno.h>.
31056 * sysdeps/posix/preadv2.c: Include <errno.h>.
31057 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31058 Fix <unistd.h> inclusion.
31059 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31060 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31061 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31062 __strtoul_internal): New functions.
31063 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31064 * sysdeps/posix/system.c: Include <sigsetops.h>.
31065 * sysdeps/mach/hurd/i386/Makefile
31066 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31067 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31068 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31069 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31070 __feraiseexcept_renamed to feraiseexcept instead of
31071 __GI_feraiseexcept.
31072 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31073 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31074 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31075 RWF_NOWAIT): Define to 0 if undefined already.
31076 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31078 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31079 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31081 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31083 * manual/math.texi (pow10): Do not document.
31084 (pow10f): Likewise.
31085 (pow10l): Likewise.
31086 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31087 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31088 * math/libm-test-exp10.inc (pow10_test): Remove.
31089 (do_test): Do not call pow10.
31090 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31091 [NO_LONG_DOUBLE] (pow10l): Likewise.
31092 * math/w_exp10f_compat.c (pow10f): Likewise.
31093 * math/w_exp10l_compat.c (pow10l): Likewise.
31094 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31095 (pow10): Make into compat symbol.
31096 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31097 (pow10f): Make into compat symbol.
31098 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31099 (pow10l): Make into compat symbol.
31100 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31102 (CFLAGS-nldbl-pow10.c): Remove variable..
31103 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31104 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31105 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31106 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31107 Undefine and redefine.
31108 (pow10l): Make into compat symbol.
31109 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31110 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31111 * sysdeps/arm/libm-test-ulps: Likewise.
31112 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31113 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31114 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31115 * sysdeps/microblaze/libm-test-ulps: Likewise.
31116 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31117 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31118 * sysdeps/nios2/libm-test-ulps: Likewise.
31119 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31120 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31121 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31122 * sysdeps/sh/libm-test-ulps: Likewise.
31123 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31124 * sysdeps/tile/libm-test-ulps: Likewise.
31125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31127 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31129 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31131 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31133 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31134 "../ChangeLog.old/ChangeLog.8".
31135 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31136 "../ChangeLog.old/ChangeLog.14".
31138 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31140 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31143 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31145 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31147 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31149 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31150 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31152 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31154 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31155 32 atexit handlers.
31157 2017-09-01 Zack Weinberg <zackw@panix.com>
31159 * math/math.h (HUGE_VAL): Improve commentary.
31161 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31162 Andreas Schwab <schwab@suse.de>
31165 * include/stdio.h (__gen_tempfd): New function.
31166 * stdio-common/Makefile (routines): Add gentempfd.
31167 * stdio-common/gentempfd.c: New file.
31168 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31169 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31170 unnamed file first.
31172 2017-09-01 Florian Weimer <fweimer@redhat.com>
31176 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31177 result to determine success or failure, not the errno value.
31178 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31179 (tst-nss-files-hosts-erange): Link with -ldl.
31180 * nss/tst-nss-files-hosts-erange.c: New file.
31181 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31182 (do_test): Add NO_DATA tests.
31183 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31184 (do_test): Call it.
31186 2017-09-01 Florian Weimer <fweimer@redhat.com>
31189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31190 coming from gethostbyname2_r.
31192 2017-09-01 Florian Weimer <fweimer@redhat.com>
31194 * support/namespace.h (struct support_chroot_configuration): Add
31196 (struct support_chroot): Add path_hosts, path_host_conf.
31197 * support/support_chroot.c (write_file): New function.
31198 (support_chroot_create): Call it to process /etc/resolv.conf,
31199 /etc/hosts, /etc/host.conf.
31200 (support_chroot_free): Update.
31202 2017-09-01 Florian Weimer <fweimer@redhat.com>
31204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31205 status indicates it is set.
31207 2017-09-01 Florian Weimer <fweimer@redhat.com>
31210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31211 function lookup failures more reliable.
31213 2017-09-01 Florian Weimer <fweimer@redhat.com>
31215 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31216 (getcanonname): Likewise.
31217 (gaih_inet): Likewise.
31219 2017-09-01 Florian Weimer <fweimer@redhat.com>
31221 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31222 (getcanonname): Likewise.
31223 (gaih_inet): Likewise.
31225 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31226 Richard Henderson <rth@twiddle.net>
31228 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31229 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31230 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31231 (IREG_SIZE, OREG_SIZE): New macros.
31232 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31233 (IREG_SIZE, OREG_SIZE): New macros.
31234 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31235 (IREG_SIZE): New macro.
31236 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31237 (IREG_SIZE): New macro.
31238 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31240 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31241 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31242 (__CONCATX): Handle exceptions correctly on large values that may
31244 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31245 Initialize if not already set.
31246 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31248 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31250 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31251 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31253 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31255 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31257 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31259 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31261 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31263 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31265 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31266 (NO_CANCELLATION): Likewise.
31267 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31269 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31271 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31274 (NO_CANCELLATION): Likewise.
31275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31276 (NO_CANCELLATION): Likewise.
31277 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31279 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31281 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31283 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31285 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31287 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31288 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31290 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31292 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31295 2017-08-31 Florian Weimer <fweimer@redhat.com>
31297 * include/libc-symbols.h (internal_function): Remove.
31299 2017-08-31 Florian Weimer <fweimer@redhat.com>
31301 * stdlib/fmtmsg.c (internal_addseverity): Remove
31304 2017-08-31 Florian Weimer <fweimer@redhat.com>
31306 * stdio-common/printf_fp.c (group_number): Remove
31308 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31310 2017-08-31 Florian Weimer <fweimer@redhat.com>
31312 * posix/fnmatch.c (internal_function): Remove definition.
31313 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31314 * posix/regcomp.c (peek_token, init_word_char)
31315 (duplicate_node_closure, fetch_token, peek_token)
31316 (peek_token_bracket, build_range_exp, build_collating_symbol):
31318 * posix/regex_internal.c (re_string_construct_common)
31319 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31320 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31321 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31322 (re_string_translate_buffer, re_string_reconstruct)
31323 (re_string_peek_byte_case, re_string_fetch_byte_case)
31324 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31325 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31326 (re_node_set_add_intersect, re_node_set_init_union)
31327 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31328 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31329 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31330 (re_acquire_state_context): Likewise.
31331 * posix/regex_internal.h (internal_function): Remove definition.
31332 (re_string_realloc_buffers, build_wcs_buffer)
31333 (build_wcs_upper_buffer, build_upper_buffer)
31334 (re_string_translate_buffer, re_string_context_at)
31335 (re_string_char_size_at, re_string_wchar_at)
31336 (re_string_elem_size_at): Likewise.
31337 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31338 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31339 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31340 (re_search_internal, re_search_2_stub, re_search_stub)
31341 (re_copy_regs, prune_impossible_nodes, check_matching)
31342 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31343 (free_fail_stack_return, sift_states_iter_mb)
31344 (sift_states_backward, build_sifted_states)
31345 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31346 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31347 (check_subexp_limits, sift_states_bkref, merge_state_array)
31348 (find_recover_state, transit_state, merge_state_with_log)
31349 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31350 (transit_state_mb, transit_state_bkref, get_subexp)
31351 (get_subexp_sub, find_subexp_node, check_arrival)
31352 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31353 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31354 (check_node_accept_bytes, find_collation_sequence_value)
31355 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31356 (acquire_init_state_context, check_halt_node_context)
31357 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31358 (sub_epsilon_src_nodes): Likewise.
31359 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31360 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31361 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31362 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31363 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31364 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31365 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31366 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31367 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31368 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31369 (PREADV): Likewise.
31370 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31371 (PREADV): Likewise.
31372 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31373 (PWRITEV): Likewise.
31374 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31375 (PWRITEV): Likewise.
31376 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31377 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31379 2017-08-31 Florian Weimer <fweimer@redhat.com>
31381 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31382 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31383 Remove internal_function.
31384 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31385 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31386 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31387 (__deallocate_stack, __libc_pthread_init)
31388 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31389 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31390 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31392 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31393 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31394 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31396 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31397 (__pthread_mutex_unlock_usercnt): Likewise.
31399 2017-08-31 Florian Weimer <fweimer@redhat.com>
31401 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31402 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31403 (fts_safe_changedir): Remove internal_function.
31404 * io/ftw.c (internal_function): Remove definition.
31405 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31407 2017-08-31 Florian Weimer <fweimer@redhat.com>
31409 * inet/deadline.c (__deadline_current_time)
31410 (__deadline_from_timeval, __deadline_to_ms): Remove
31412 * inet/getnameinfo.c (nrl_domainname): Likewise.
31413 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31414 * inet/inet6_option.c (add_pad): Likewise.
31415 * inet/net-internal.h (__deadline_current_time)
31416 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31417 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31418 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31419 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31421 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31423 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31424 include <bits/nan.h>.
31425 * math/Makefile (headers): Remove bits/nan.h.
31426 * bits/nan.h: Remove.
31427 * sysdeps/ieee754/bits/nan.h: Likewise.
31428 * sysdeps/mips/bits/nan.h: Likewise.
31430 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31431 not include <bits/inf.h>.
31432 * math/Makefile (headers): Remove bits/inf.h.
31433 * bits/inf.h: Remove.
31434 * sysdeps/ieee754/bits/inf.h: Likewise.
31436 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31437 bits/huge_vall.h or bits/huge_val_flt128.h.
31438 (HUGE_VAL): Define directly here.
31439 [__USE_ISOC99] (HUGE_VALF): Likewise.
31440 [__USE_ISOC99] (HUGE_VALL): Likewise.
31441 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31442 (HUGE_VAL_F128): Likewise.
31443 * math/Makefile (headers): Remove bits/huge_val.h,
31444 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31445 * bits/huge_val.h: Remove.
31446 * bits/huge_val_flt128.h: Likewise.
31447 * bits/huge_valf.h: Likewise.
31448 * bits/huge_vall.h: Likewise.
31449 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31450 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31451 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31452 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31453 * sysdeps/sh/bits/huge_val.h: Likewise.
31454 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31455 * sysdeps/x86/bits/huge_vall.h: Likewise.
31457 2017-08-31 Florian Weimer <fweimer@redhat.com>
31459 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31461 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31463 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31464 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31465 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31466 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31467 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31469 * elf/dl-libc.c (dlerror_run): Likewise.
31470 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31471 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31472 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31473 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31475 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31476 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31477 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31478 * elf/dl-profile.c (_dl_start_profile): Likewise.
31479 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31480 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31482 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31483 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31484 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31485 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31486 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31487 (_dl_allocate_tls_storage): Likewise.
31488 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31489 (_dl_check_all_versions): Likewise.
31490 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31491 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31492 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31493 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31494 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31495 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31496 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31497 internal_function from __dl_start.
31498 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31499 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31500 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31501 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31502 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31503 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31504 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31505 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31506 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31507 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31508 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31509 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31510 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31511 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31512 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31514 (struct rtld_global_ro): Remove internal_function from the
31515 _dl_lookup_symbol_x member.
31516 (_dl_symbol_value): Remove. No longer defined anywhere.
31517 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31519 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31520 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31521 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31522 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31523 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31524 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31525 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31526 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31527 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31528 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31529 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31530 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31532 2017-08-31 Florian Weimer <fweimer@redhat.com>
31534 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31535 Remove internal_function.
31536 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31538 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31541 2017-08-31 Florian Weimer <fweimer@redhat.com>
31543 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31544 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31545 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31547 2017-08-31 Florian Weimer <fweimer@redhat.com>
31549 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31550 (__gai_enqueue_request): Remove internal_function.
31551 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31552 (__gai_remove_request, __gai_notify, __gai_notify_only)
31553 (__gai_sigqueue): Likewise.
31554 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31555 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31556 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31557 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31560 2017-08-31 Florian Weimer <fweimer@redhat.com>
31562 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31563 * include/dirent.h (__opendirat, __getdents, __getdents64)
31564 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31565 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31566 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31567 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31569 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31571 2017-08-31 Florian Weimer <fweimer@redhat.com>
31573 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31575 (GETCWD_RETURN_TYPE): Likewise.
31577 2017-08-31 Florian Weimer <fweimer@redhat.com>
31579 * include/time.h (__tz_compute, __strptime_internal): Remove
31581 * time/strptime_l.c (__strptime_internal): Likewise.
31582 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31584 2017-08-31 Florian Weimer <fweimer@redhat.com>
31586 * iconv/gconv.c (__gconv): Remove internal_function.
31587 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31588 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31589 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31590 (__gconv_release_cache): Likewise.
31591 * iconv/gconv_close.c (__gconv_close): Likewise.
31592 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31593 (read_conf_file, __gconv_get_path): Likewise.
31594 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31595 (__gconv_release_step, gen_steps, increment_counter)
31596 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31597 (__gconv_close_transform, free_modules_db): Likewise.
31598 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31600 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31601 (__gconv_find_transform, __gconv_lookup_cache)
31602 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31603 (__gconv_close_transform, __gconv_release_cache)
31604 (__gconv_loaded_object, __gconv_release_shlib)
31605 (__gconv_compare_alias): Likewise.
31606 * iconv/gconv_open.c (__gconv_open): Likewise.
31607 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31608 * iconv/iconvconfig.c (add_module): Likewise.
31609 * intl/dcigettext.c (plural_lookup, guess_category_value)
31610 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31611 * intl/eval-plural.h (plural_eval): Likewise.
31612 * intl/finddomain.c (_nl_find_domain): Likewise.
31613 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31614 (_nl_load_domain, _nl_find_msg): Likewise.
31615 (internal_function): Remove definition.
31616 * intl/loadinfo.h (internal_function): Likewise.
31617 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31619 * intl/localealias.c (internal_function): Remove definition.
31620 (read_alias_file): Remove internal_function.
31621 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31622 * intl/plural-exp.h (internal_function): Remove definition.
31623 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31625 * intl/plural.c: Regenerate.
31626 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31627 * locale/coll-lookup.c (__collidx_table_lookup)
31628 (__collseq_table_lookup): Likewise.
31629 * locale/coll-lookup.h (__collidx_table_lookup)
31630 (__collseq_table_lookup): Likewise.
31631 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31632 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31633 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31634 (_nl_unload_locale): Likewise.
31635 * locale/localeinfo.h (struct __locale_data): Remove
31636 internal_function from cleanup member.
31637 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31638 (_nl_remove_locale, _nl_load_locale_from_archive)
31639 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31640 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31641 (_nl_cleanup_time): Remove internal_function.
31642 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31643 (_nl_parse_alt_digit): Likewise.
31644 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31645 (_nl_select_era_entry): Likewise.
31646 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31647 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31648 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31649 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31650 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31652 2017-08-31 Florian Weimer <fweimer@redhat.com>
31654 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31655 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31656 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31657 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31659 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31660 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31661 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31662 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31664 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31666 2017-08-31 Florian Weimer <fweimer@redhat.com>
31668 * misc/getttyent.c (skip, value): Remove internal_function.
31669 * misc/syslog.c (openlog_internal): Likewise.
31670 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31672 2017-08-31 Florian Weimer <fweimer@redhat.com>
31674 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31675 (__nss_rewrite_field): Remove internal_function.
31676 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31677 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31678 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31679 * nss/nsswitch.c (nss_parse_file, nss_getline)
31680 (nss_parse_service_list, nss_new_service): Likewise.
31681 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31682 * nss/valid_field.c (__nss_valid_field): Likewise.
31683 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31685 2017-08-31 Florian Weimer <fweimer@redhat.com>
31687 * malloc/arena.c (__malloc_fork_lock_parent)
31688 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31689 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31690 internal_function from defintions.
31691 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31692 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31693 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31694 internal_function from declarations.
31695 * malloc/malloc.c (internal_function): Do not define.
31696 (mem2mem_check): Remove internal_function from declaration.
31697 (munmap_chunk, mremap_chunk): Remove internal_function.
31698 * malloc/mtrace.c (tr_where): Likewise.
31700 2017-08-31 Florian Weimer <fweimer@redhat.com>
31702 * include/rpc/pmap_clnt.h (__get_socket): Remove
31704 * sunrpc/auth_des.c (synchronize): Likewise.
31705 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31706 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31707 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31708 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31709 (key_call): Likewise.
31710 * sunrpc/pm_getport.c (__get_socket): Likewise.
31711 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31712 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31713 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31714 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31715 (invalidate): Likewise.
31716 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31717 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31718 (set_input_fragment, get_input_bytes): Likewise.
31720 2017-08-31 Florian Weimer <fweimer@redhat.com>
31722 * malloc/malloc.c (_int_free): Remove locked variable and related
31725 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31728 * Makerules (build-module-helper-objlist): Filter out
31729 $(elf-objpfx)sofini.os.
31730 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31733 2017-08-31 Florian Weimer <fweimer@redhat.com>
31735 * libio/fcloseall.c: Assume weak_alias is defined.
31736 * libio/feof.c: Likewise.
31737 * libio/fileno.c: Likewise.
31738 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31739 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31741 (_IO_file_open): Call __open directly.
31742 (_IO_new_file_sync): Assume ESPIPE is defined.
31743 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31744 (_IO_new_file_write): Call __write directly.
31745 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31746 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31747 * libio/genops.c: Assume _LIBC is defined.
31748 (save_for_backup): Remove internal_function.
31749 * libio/getc.c: Assume weak_alias is defined.
31750 * libio/getwc.c: Likewise.
31751 * libio/iofclose.c: Assume _LIBC is defined.
31752 * libio/iofdopen.c: Likewise.
31753 (_IO_fcntl): Remove macro definition.
31754 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31755 Call __fcntl directly.
31756 * libio/iofflush.c: Assume weak_alias is defined.
31757 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31759 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31760 * libio/iofgets.c: Likewise.
31761 * libio/iofopen.c: Assume _LIBC is defined.
31762 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31763 * libio/iofputs.c: Assume weak_alias is defined.
31764 * libio/iofread.c: Likewise.
31765 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31766 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31767 * libio/ioftell.c: Assume weak_alias is defined.
31768 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31769 * libio/iofwide.c: Assume _LIBC is defined.
31770 (_IO_fwide): Drop SHARED conditional because it is implied by
31772 * libio/iofwrite.c: Assume weak_alias is defined.
31773 * libio/iogetdelim.c: Likewise.
31774 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31775 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31776 (_IO_getwline): Call __wmemcpy directly.
31777 * libio/iopopen.c: Assume _LIBC is defined.
31778 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31779 (_IO_close): Remove macro definitions.
31780 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31782 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31784 * libio/ioputs.c: Assume weak_alias is defined.
31785 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31786 * libio/iosetbuffer.c: Assume weak_alias is defined.
31787 * libio/iosetvbuf.c: Likewise.
31788 * libio/ioungetc.c: Likewise.
31789 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31790 libc_hidden_def, libc_hidden_weak, NULL are defined.
31791 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31792 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31794 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31796 (_IO_old_file_init_internal): Drop SHARED conditional because it
31797 is implied by SHLIB_COMPAT.
31798 (_IO_old_file_fopen): Call __open directly.
31799 (_IO_old_file_sync): Assume ESPIPE is defined.
31800 (_IO_old_file_write): Call __write directly.
31801 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31802 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31803 Call __fcntl directly.
31804 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31805 (_IO_old_fgetpos): Assume EIO is defined.
31806 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31807 (_IO_old_fgetpos64): Assume EIO is defined.
31808 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31809 (_IO_old_fsetpos): Assume EIO is defined.
31810 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31811 (_IO_old_fsetpos64): Assume EIO is defined.
31812 * libio/oldiopopen.c: Assume _LIBC is defined.
31813 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31814 (_IO_close): Remove macro definitions.
31815 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31817 (_IO_old_proc_close): Call __close, __waitpid directly.
31818 * libio/put.c: Assume weak_alias is defined.
31819 * libio/stdfiles.c: Assume _LIBC is defined.
31820 * libio/stdio.c: Likewise.
31821 * libio/wfileops.c: Likewise.
31822 (_IO_wfile_sync): Assume ESPIPE is defined.
31823 * libio/wgenops.c: Assume _LIBC is defined.
31824 (save_for_wbackup): Remove internal_function.
31826 2017-08-31 Florian Weimer <fweimer@redhat.com>
31828 * malloc/malloc.c (top_check): Change return type to void. Remove
31830 * malloc/hooks.c (top_check): Likewise.
31831 (malloc_check, realloc_check, memalign_check): Adjust.
31833 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31836 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31837 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31838 sigcontext and namespace requirements.
31839 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31840 * sysdeps/m68k/sys/ucontext.h: Likewise.
31841 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31842 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31843 <bits/sigcontext.h>.
31844 (__ctx): Define earlier.
31845 (mcontext_t): Define structure contents rather than using struct
31847 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31848 __glibc_reserved1 instead of __reserved.
31849 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31850 <bits/sigcontext.h>.
31851 (__ctx): Define earlier.
31852 (mcontext_t): Define structure contents rather than using struct
31854 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31855 mcontext_t instead of struct sigcontext.
31856 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31857 <bits/sigcontext.h>.
31858 (__ctx): Define earlier.
31859 (mcontext_t): Define structure contents rather than using struct
31861 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31862 <bits/sigcontext.h>.
31863 (__ctx): Define earlier.
31864 (mcontext_t): Define structure contents rather than using struct
31866 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31867 mcontext_t instead of struct sigcontext.
31868 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31869 mcontext_t instead of struct sigcontext.
31870 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31871 <bits/sigcontext.h>.
31872 (__ctx): New macro.
31873 (struct __ia64_fpreg_mcontext): New type.
31874 (mcontext_t): Define structure contents rather than using struct
31876 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31877 (uc_sigmask): Define using __ctx.
31878 (uc_stack): Likewise.
31879 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31880 <bits/sigcontext.h>.
31881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31882 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31883 <bits/sigcontext.h>.
31884 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31885 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31886 <bits/sigcontext.h>.
31887 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31888 <bits/sigcontext.h>.
31889 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31890 <bits/sigcontext.h>.
31891 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31892 <bits/sigcontext.h>.
31893 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31894 <bits/sigcontext.h>.
31895 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31896 <bits/sigcontext.h>.
31897 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31898 <bits/sigcontext.h>.
31899 (__ctx): Define earlier.
31900 (mcontext_t): Define structure contents rather than using struct
31902 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31903 <bits/sigcontext.h>. Include <bits/types.h>.
31904 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31905 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31906 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31907 (test-xfail-UNIX98/signal.h/conform): Likewise.
31908 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31909 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31910 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31911 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31912 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31913 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31914 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31915 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31916 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31918 2017-08-30 Florian Weimer <fweimer@redhat.com>
31920 * malloc/dynarray_emplace_enlarge.c
31921 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31922 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31923 * malloc/tst-dynarray.c (test_long_overflow): New function.
31924 (do_test): Call it.
31926 2017-08-30 Florian Weimer <fweimer@redhat.com>
31928 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31929 (set_arena_corrupt): Remove definitions.
31930 (mtrim): Do not check for corrupt arena.
31931 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31934 2017-08-30 Florian Weimer <fweimer@redhat.com>
31937 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31939 (ptmalloc_init): Do not set or use check_action.
31940 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31941 call to malloc_printerr. Remove return statement.
31942 (free_check): Likewise. Remove arena unlock.
31943 (top_check): Update comment. Adjust call to malloc_printerr.
31944 Remove heap repair code.
31945 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31946 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31947 (sysmalloc): Adjust call to malloc_printerr.
31948 (munmap_chunk, __libc_realloc): Likewise. Remove return
31950 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31951 Remove errout label and corresponding gotos.
31952 (_int_free): Likewise. Remove arena unlock.
31953 (do_set_mallopt_check): Do not set check_action.
31954 (malloc_printerr): Adjust parameter list. Do not mark arena as
31956 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31958 * manual/probes.texi (Memory Allocation Probes): Remove
31959 memory_mallopt_check_action.
31961 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31963 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31964 Use pointer to uint64_t instead of long int for sp.
31966 2017-08-30 Florian Weimer <fweimer@redhat.com>
31969 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31970 without printing a backtrace. Do not leak any information in the
31972 * manual/memory.texi (Heap Consistency Checking): Update.
31973 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31975 2017-08-30 Florian Weimer <fweimer@redhat.com>
31977 Do not scale NPTL tests with available number of CPUs.
31978 * nptl/tst-cond16.c (count): Set to constant value of 8.
31979 * nptl/tst-cond18.c (count): Likewise.
31981 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31984 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31985 Define to take a second argument that is a macro that
31986 concatentates a suffix, not the suffix itself.
31987 (__CONCAT_d): New macro.
31988 (__CONCAT_f): Likewise.
31989 (__CONCAT_l): Likewise.
31991 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31993 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31996 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31997 Aurelien Jarno <aurelien@aurel32.net>
31998 Maciej W. Rozycki <macro@imgtec.com>
32001 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32002 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32003 `mips16-syscall6' and `mips16-syscall7'.
32004 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32005 (CFLAGS-mips16-syscall7.c): Remove.
32006 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32007 Remove `__mips16_syscall5', `__mips16_syscall6' and
32008 `__mips16_syscall7'.
32009 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32010 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32011 `__mips_syscall_return'.
32012 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32013 (__mips16_syscall1): Likewise.
32014 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32015 (__mips16_syscall2): Likewise.
32016 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32017 (__mips16_syscall3): Likewise.
32018 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32019 (__mips16_syscall4): Likewise.
32020 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32022 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32024 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32026 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32027 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32028 `__mips16_syscall5'. Remove prototype.
32029 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32030 `__mips16_syscall6'. Remove prototype.
32031 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32032 `__mips16_syscall7'. Remove prototype.
32033 (__nomips16, __mips16_syscall_return): Move to...
32034 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32035 (__nomips16, __mips_syscall_return): ... here.
32036 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32037 `__mips16_syscall_return' to `__mips_syscall_return'.
32038 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32039 `internal_syscall##nr'.
32040 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32041 `internal_syscall##nr'.
32042 (FORCE_FRAME_POINTER): Remove.
32043 (__mips_syscall5): New prototype.
32044 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32045 (__mips_syscall6): New prototype.
32046 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32047 (__mips_syscall7): New prototype.
32048 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32049 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32050 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32051 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32052 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32053 (sysdep_routines): Add libc-do-syscall.
32054 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32055 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32057 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32060 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32061 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32062 (advise_stack_range): New function.
32063 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32064 stack non required to advise_stack_range at allocatestack.c
32066 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32068 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32070 2017-08-29 Florian Weimer <fweimer@redhat.com>
32073 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32074 __end_fct. Mangle __end_fct after setting it to NULL.
32075 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32076 (modules-names, modules-names-tests): Add
32077 tst-gconv-init-failure-mod.
32078 (gconv-modules): New target.
32079 (tst-gconv-init-failure-mod.so): Link against libsupport.
32080 (tst-gconv-init-failure): Depend on gconv-modules,
32081 tst-gconv-init-failure-mod.so.
32082 * iconv/tst-gconv-init-failure-mod.c: New file.
32083 * iconv/tst-gconv-init-failure.c: Likewise.
32084 * iconv/test-gconv-modules: Likewise.
32086 2017-08-29 Florian Weimer <fweimer@redhat.com>
32089 * iconv/gconv_db.c (free_derivation): Remove redundant
32091 (gen_steps): Unconditionally mangle __btowc_fct after
32093 (increment_counter): Likewise. Do not call init_fct for internal
32096 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32099 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32100 (_MSUF_): Remove macro.
32101 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32103 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32104 (__REDIRFROM_X): New macro.
32105 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32107 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32108 (__REDIRTO_X): Likewise.
32109 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32111 (__MATH_REDIRCALL_2): Likewise.
32112 (__MATH_REDIRCALL_INTERNAL): Likewise.
32113 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32114 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32115 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32116 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32117 * math/test-finite-macros.c: New file.
32118 * math/Makefile (tests): Add test-finite-macros.
32119 (CFLAGS-test-finite-macros.c): New variable.
32121 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32122 Jeff Law <law@redhat.com>
32125 Mangle NULL pointers in iconv/gconv.
32126 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32127 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32128 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32129 is non-NULL before demangling the end_fct. Check for NULL
32130 end_fct after demangling.
32131 (__gconv_release_step): Demangle the end_fct before checking
32132 it for NULL. Remove assert on __shlibc_handle != NULL.
32133 (gen_steps): Don't check btowc_fct for NULL before mangling.
32134 Demangle init_fct before checking for NULL.
32135 (increment_counter): Likewise.
32136 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32137 end_fct for NULL before mangling.
32138 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32141 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32144 * locale/iso-639.def: add Morisyen.
32146 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32149 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32150 (iszero): New C++ implementation that does not use
32151 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32152 signaling nans are enabled, since __builtin_types_compatible_p
32153 is a C-only feature.
32154 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32155 defined, include ieee754_float128.h for access to the union and
32156 member ieee854_float128.ieee.
32157 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32158 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32159 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32160 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32161 options of test-math-zero on powerpc64le.
32163 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32165 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32166 Change double to float.
32168 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32170 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32172 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32173 conditional code; define contents only for [LIBM_SVID_COMPAT].
32175 2017-08-28 Florian Weimer <fweimer@redhat.com>
32177 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32178 (abi-lp64_be-options): Remove.
32179 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32180 (abi-hard-options): Likewise.
32181 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32182 (abi-o32_hard-options, abi-o32_soft_2008-options)
32183 (abi-o32_hard_2008-options, abi-n32_soft-options)
32184 (abi-n32_hard-options, abi-n32_soft_2008-options)
32185 (abi-n32_hard_2008-options, abi-n64_soft-options)
32186 (abi-n64_hard-options, abi-n64_soft_2008-options)
32187 (abi-n64_hard_2008-options): Likewise.
32188 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32189 (abi-64-v1-options, abi-64-v2-options): Likewise.
32190 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32191 (abi-64-options): Likewise.
32192 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32193 (abi-64-options): Likewise.
32194 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32195 (abi-64-options): Likewise.
32196 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32197 (abi-64-options, abi-x32-options): Likewise.
32199 2017-08-28 Florian Weimer <fweimer@redhat.com>
32201 Store supported list of SYS_* system calls in the source tree.
32202 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32203 (bits/syscall.h): Generate from list file.
32204 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32205 [$(subdir) = misc] (tests): Add tst-syscall-list.
32206 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32207 [$(subdir) = misc] (tst-syscall-list-macros.list)
32208 [$(subdir) = misc] (tst-syscall-list-nr.list)
32209 (tst-syscall-list-sys.list): Helper targets for new
32210 tst-syscall-list test.
32211 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32212 tst-syscall-list.sh.
32213 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32214 target. Do not include bits/syscall.d.
32215 [$(subdir) = misc] (generated): Do not update.
32216 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32217 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32218 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32219 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32221 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32223 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32224 (tst-cxa_atexit, tst-on_exit): Likewise.
32225 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32226 tst-cxa_atexit, and tst-on_exit.
32227 * stdlib/tst-atexit-common.c: New file.
32228 * stdlib/tst-atexit.c: New file.
32229 * stdlib/tst-at_quick_exit.c: New file.
32230 * stdlib/tst-cxa_atexit.c: New file.
32231 * stdlib/tst-on_exit.c: New file.
32233 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32235 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32236 * mach/stack_chk_fail_local.c: New file.
32237 * hurd/stack_chk_fail_local.c: New file.
32238 * mach/Machrules ($(interface-library)-routines): Add
32239 stack_chk_fail_local.
32240 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32241 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32242 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32243 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32244 * hurd/Makefile (CFLAGS-hurdstartup.o,
32245 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32247 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32249 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32250 (index_cpu_*, index_arch_*): Removed.
32252 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32254 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32255 Use uint64_t instead of unsigned long.
32257 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32259 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32260 [__HAVE_DISTINCT_FLOAT128].
32262 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32263 of <bits/math-finite.h>.
32264 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32265 inclusion of <bits/math-finite.h>.
32266 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32267 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32268 __NO_LONG_DOUBLE_MATH].
32269 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32270 (__MATH_REDIRCALL_2): Likewise.
32271 (__MATH_REDIRCALL_INTERNAL): Likewise.
32272 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32273 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32274 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32288 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32289 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32290 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32293 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32294 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32295 w_sqrtf_compat-ppc32.
32297 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32299 * math/math.h [defined __cplusplus] (issignaling): In the long
32300 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32301 is not defined. Call __issignaling, otherwise.
32303 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32305 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32306 syscall definitions and replace __builtin_expect with __glibc_likely.
32307 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32309 (SYSCALL_CANCELLABLE): Removedefinition
32310 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32312 (PSEUDO_END): Likewise.
32313 [IS_IN (libpthread)] (CENABLE): Likewise.
32314 [IS_IN (libpthread)] (CDISABLE): Likewise.
32315 [IS_IN (libc)] (CENABLE): Likewise.
32316 [IS_IN (libc)] (CENABLE): Likewise.
32317 [IS_IN (librt)] (CDISABLE): Likewise.
32318 [IS_IN (librt)] (CDISABLE): Likewise.
32319 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32320 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32322 (PSEUDO_END): Likewise.
32323 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32324 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32325 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32326 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32327 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32328 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32329 (CENABLE): Likewise.
32330 (CDISABLE): Likewise.
32331 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32332 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32334 (PSEUDO_END): Likewise.
32335 [IS_IN (libpthread)] (CENABLE): Likewise.
32336 [IS_IN (libpthread)] (CDISABLE): Likewise.
32337 [IS_IN (libc)] (CENABLE): Likewise.
32338 [IS_IN (libc)] (CENABLE): Likewise.
32339 [IS_IN (librt)] (CDISABLE): Likewise.
32340 [IS_IN (librt)] (CDISABLE): Likewise.
32341 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32342 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32344 (PSEUDO_END): Likewise.
32345 [IS_IN (libpthread)] (CENABLE): Likewise.
32346 [IS_IN (libpthread)] (CDISABLE): Likewise.
32347 [IS_IN (libc)] (CENABLE): Likewise.
32348 [IS_IN (libc)] (CENABLE): Likewise.
32349 [IS_IN (librt)] (CDISABLE): Likewise.
32350 [IS_IN (librt)] (CDISABLE): Likewise.
32351 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32352 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32354 (PSEUDO_END): Likewise.
32355 [IS_IN (libpthread)] (CENABLE): Likewise.
32356 [IS_IN (libpthread)] (CDISABLE): Likewise.
32357 [IS_IN (libc)] (CENABLE): Likewise.
32358 [IS_IN (libc)] (CENABLE): Likewise.
32359 [IS_IN (librt)] (CDISABLE): Likewise.
32360 [IS_IN (librt)] (CDISABLE): Likewise.
32361 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32362 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32364 (PSEUDO_END): Likewise.
32365 [IS_IN (libpthread)] (CENABLE): Likewise.
32366 [IS_IN (libpthread)] (CDISABLE): Likewise.
32367 [IS_IN (libc)] (CENABLE): Likewise.
32368 [IS_IN (libc)] (CENABLE): Likewise.
32369 [IS_IN (librt)] (CDISABLE): Likewise.
32370 [IS_IN (librt)] (CDISABLE): Likewise.
32371 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32372 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32374 (PSEUDO_END): Likewise.
32375 [IS_IN (libpthread)] (CENABLE): Likewise.
32376 [IS_IN (libpthread)] (CDISABLE): Likewise.
32377 [IS_IN (libc)] (CENABLE): Likewise.
32378 [IS_IN (libc)] (CENABLE): Likewise.
32379 [IS_IN (librt)] (CDISABLE): Likewise.
32380 [IS_IN (librt)] (CDISABLE): Likewise.
32381 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32382 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32384 (PSEUDO_END): Likewise.
32385 [IS_IN (libpthread)] (CENABLE): Likewise.
32386 [IS_IN (libpthread)] (CDISABLE): Likewise.
32387 [IS_IN (libc)] (CENABLE): Likewise.
32388 [IS_IN (libc)] (CENABLE): Likewise.
32389 [IS_IN (librt)] (CDISABLE): Likewise.
32390 [IS_IN (librt)] (CDISABLE): Likewise.
32391 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32392 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32394 (PSEUDO_END): Likewise.
32395 [IS_IN (libpthread)] (CENABLE): Likewise.
32396 [IS_IN (libpthread)] (CDISABLE): Likewise.
32397 [IS_IN (libc)] (CENABLE): Likewise.
32398 [IS_IN (libc)] (CENABLE): Likewise.
32399 [IS_IN (librt)] (CDISABLE): Likewise.
32400 [IS_IN (librt)] (CDISABLE): Likewise.
32401 (SINGLE_THREAD_P): Likewise.
32402 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32404 (PSEUDO_END): Likewise.
32405 [IS_IN (libpthread)] (CENABLE): Likewise.
32406 [IS_IN (libpthread)] (CDISABLE): Likewise.
32407 [IS_IN (libc)] (CENABLE): Likewise.
32408 [IS_IN (libc)] (CENABLE): Likewise.
32409 [IS_IN (librt)] (CDISABLE): Likewise.
32410 [IS_IN (librt)] (CDISABLE): Likewise.
32411 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32412 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32414 (PSEUDO_END): Likewise.
32415 [IS_IN (libpthread)] (CENABLE): Likewise.
32416 [IS_IN (libpthread)] (CDISABLE): Likewise.
32417 [IS_IN (libc)] (CENABLE): Likewise.
32418 [IS_IN (libc)] (CENABLE): Likewise.
32419 [IS_IN (librt)] (CDISABLE): Likewise.
32420 [IS_IN (librt)] (CDISABLE): Likewise.
32421 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32422 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32423 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32424 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32425 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32427 (PSEUDO_END): Likewise.
32428 [IS_IN (libpthread)] (CENABLE): Likewise.
32429 [IS_IN (libpthread)] (CDISABLE): Likewise.
32430 [IS_IN (libc)] (CENABLE): Likewise.
32431 [IS_IN (libc)] (CENABLE): Likewise.
32432 [IS_IN (librt)] (CDISABLE): Likewise.
32433 [IS_IN (librt)] (CDISABLE): Likewise.
32434 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32437 (PSEUDO_END): Likewise.
32438 [IS_IN (libpthread)] (CENABLE): Likewise.
32439 [IS_IN (libpthread)] (CDISABLE): Likewise.
32440 [IS_IN (libc)] (CENABLE): Likewise.
32441 [IS_IN (libc)] (CENABLE): Likewise.
32442 [IS_IN (librt)] (CDISABLE): Likewise.
32443 [IS_IN (librt)] (CDISABLE): Likewise.
32444 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32445 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32447 (PSEUDO_END): Likewise.
32448 [IS_IN (libpthread)] (CENABLE): Likewise.
32449 [IS_IN (libpthread)] (CDISABLE): Likewise.
32450 [IS_IN (libc)] (CENABLE): Likewise.
32451 [IS_IN (libc)] (CENABLE): Likewise.
32452 [IS_IN (librt)] (CDISABLE): Likewise.
32453 [IS_IN (librt)] (CDISABLE): Likewise.
32454 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32457 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32458 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32460 (PSEUDO_END): Likewise.
32461 [IS_IN (libpthread)] (CENABLE): Likewise.
32462 [IS_IN (libpthread)] (CDISABLE): Likewise.
32463 [IS_IN (libc)] (CENABLE): Likewise.
32464 [IS_IN (libc)] (CENABLE): Likewise.
32465 [IS_IN (librt)] (CDISABLE): Likewise.
32466 [IS_IN (librt)] (CDISABLE): Likewise.
32467 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32468 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32470 (PSEUDO_END): Likewise.
32471 [IS_IN (libpthread)] (CENABLE): Likewise.
32472 [IS_IN (libpthread)] (CDISABLE): Likewise.
32473 [IS_IN (libc)] (CENABLE): Likewise.
32474 [IS_IN (libc)] (CENABLE): Likewise.
32475 [IS_IN (librt)] (CDISABLE): Likewise.
32476 [IS_IN (librt)] (CDISABLE): Likewise.
32477 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32479 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32481 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32483 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32485 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32487 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32490 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32491 middle and outer with size_t instead of int. Repleace %d and
32492 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32493 "MAX (outer, nchars - 64)" to support unsigned outer and
32494 nchars. Also exit loop when outer == 0.
32496 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32498 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32499 * include/signal.h (__sigsuspend_nocancel): Likewise.
32500 * include/time.h (__nanosleep_nocancel): Likewise.
32501 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32502 * login/utmp_file.c: Include non cancellable syscall header.
32503 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32506 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32508 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32509 .byte sequences with AVX512F instructions.
32510 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32511 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32512 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32515 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32518 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32519 Steve Ellcey <sellcey@cavium.com>
32521 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32522 Use PTR_REG macro in cmp instruction.
32524 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32526 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32527 Change the return type of the ifunc resolver to match the return
32528 type of the target function.
32530 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32533 (preadv64): Likewise.
32534 (pwrite64(: Likewise.
32535 (pwritev64): Likewise.
32537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32538 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32539 (LOAD_ARGS_0): Likewise.
32540 (LOAD_ARGS_1): Likewise.
32541 (LOAD_ARGS_2): Likewise.
32542 (LOAD_ARGS_3): Likewise.
32543 (LOAD_ARGS_4): Likewise.
32544 (LOAD_ARGS_5): Likewise.
32545 (LOAD_ARGS_6): Likewise.
32546 (LOAD_REGS_0): Likewise.
32547 (LOAD_REGS_1): Likewise.
32548 (LOAD_REGS_2): Likewise.
32549 (LOAD_REGS_3): Likewise.
32550 (LOAD_REGS_4): Likewise.
32551 (LOAD_REGS_5): Likewise.
32552 (LOAD_REGS_6): Likewise.
32553 (ASM_ARGS_0): Likewise.
32554 (ASM_ARGS_1): Likewise.
32555 (ASM_ARGS_2): Likewise.
32556 (ASM_ARGS_3): Likewise.
32557 (ASM_ARGS_4): Likewise.
32558 (ASM_ARGS_5): Likewise.
32559 (ASM_ARGS_6): Likewise.
32560 (LOAD_ARGS_TYPES_1): Likewise.
32561 (LOAD_ARGS_TYPES_2): Likewise.
32562 (LOAD_ARGS_TYPES_3): Likewise.
32563 (LOAD_ARGS_TYPES_4): Likewise.
32564 (LOAD_ARGS_TYPES_5): Likewise.
32565 (LOAD_ARGS_TYPES_6): Likewise.
32566 (LOAD_REGS_TYPES_1): Likewise.
32567 (LOAD_REGS_TYPES_2): Likewise.
32568 (LOAD_REGS_TYPES_3): Likewise.
32569 (LOAD_REGS_TYPES_4): Likewise.
32570 (LOAD_REGS_TYPES_5): Likewise.
32571 (LOAD_REGS_TYPES_6): Likewise.
32572 (TYPEFY): New define.
32573 (ARGIFY): Likewise.
32574 (internal_syscall0): Likewise.
32575 (internal_syscall1): Likewise.
32576 (internal_syscall2): Likewise.
32577 (internal_syscall3): Likewise.
32578 (internal_syscall4): Likewise.
32579 (internal_syscall5): Likewise.
32580 (internal_syscall6): Likewise.
32581 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32582 (INTERNAL_SYSCALL_NCS): Remove define.
32583 (internal_syscall1): Add define.
32585 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32587 * math/w_remainder_compat.c: Remove duplicate inclusion of
32588 math-svid-compat.h.
32589 * math/w_remainderf_compat.c: Likewise.
32590 * math/w_remainderl_compat.c: Likewise.
32592 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32596 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32599 * math/tgmath.h (__floating_type): Simplify definitions.
32600 (__real_integer_type): New macro.
32601 (__complex_integer_type): Likewise.
32602 (__expr_is_real): Likewise.
32603 (__tgmath_real_type_sub): Update comment to describe handling of
32605 (__tgmath_complex_type_sub): New macro.
32606 (__tgmath_complex_type): Likewise.
32607 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32608 (__TGMATH_CF128): Use __expr_is_real.
32609 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32611 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32612 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32613 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32616 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32618 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32620 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32622 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32625 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32626 nanosleep_not_cancel with __nanosleep_nocancel.
32627 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32628 (__nanosleep_nocancel): New macro.
32629 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32631 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32633 (__nanosleep_nocancel): New prototype.
32635 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32636 pause_not_cancel with __pause_nocancel.
32637 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32638 (__pause_nocancel): New macro.
32639 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32641 (__pause_nocancel): New prototype.
32642 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32644 2017-08-22 Martin Sebor <msebor@redhat.com>
32646 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32647 to return a pointer to the same type as the target function.
32649 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32653 * include/printf.h (__printf_fphex): Add attribute_hidden.
32654 (__guess_grouping): New prototype.
32655 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32656 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32657 libc_hidden_proto and libc_hidden_def.
32658 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32659 (__vstrfmon_l): Remove the third argument passed to
32662 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32664 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32665 definition for issignaling that does not rely on __MATH_TG,
32666 since __MATH_TG uses __builtin_types_compatible_p, which is only
32667 available in C mode.
32668 (CFLAGS-test-math-issignaling.cc): New variable.
32669 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32670 * math/test-math-issignaling.cc: New test for C++ implementation
32671 of type-generic issignaling.
32672 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32673 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32674 options of test-math-issignaling on powerpc64le.
32676 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32678 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32680 (hidden_proto): Likewise.
32681 (hidden_tls_proto): Likewise.
32682 (__hidden_proto): Likewise.
32684 2017-08-22 Florian Weimer <fweimer@redhat.com>
32686 math: Statically link tests of internal functionality.
32687 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32689 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32690 (gmp-objs): Remove assignment.
32691 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32693 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32696 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32698 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32700 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32703 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32704 variable definitions above inclusion of ../Rules.
32706 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32708 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32709 case calling __builtin_unreachable.
32711 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32713 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32714 __waitpid_nocancel.
32715 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32716 (__waitpid_nocancel): New macro.
32717 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32719 (__waitpid_nocancel): Replace macro with a function.
32720 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32723 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32725 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32726 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32728 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32729 __writev_nocancel_nostatus.
32730 (write_call_graph): Likewise.
32731 (write_bb_counts): Likewise.
32732 * resolv/herror.c (herror): Likewise.
32733 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32735 (__writev_nocancel_nostatus): New macro.
32736 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32738 (__writev_nocancel_nostatus): New function.
32740 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32743 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32745 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32747 (hidden_proto): Likewise.
32748 (hidden_tls_proto): Likewise.
32749 (__hidden_proto): Likewise.
32752 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32753 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32764 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32765 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32766 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32767 GLIBC_2.0 sqrtl symbol.
32769 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32770 [__USE_MISC] (_LIB_VERSION): Likewise.
32771 [__USE_MISC] (struct exception): Likewise.
32772 [__USE_MISC] (matherr): Likewise.
32773 [__USE_MISC] (DOMAIN): Likewise.
32774 [__USE_MISC] (SING): Likewise.
32775 [__USE_MISC] (OVERFLOW): Likewise.
32776 [__USE_MISC] (UNDERFLOW): Likewise.
32777 [__USE_MISC] (TLOSS): Likewise.
32778 [__USE_MISC] (PLOSS): Likewise.
32779 [__USE_MISC] (HUGE): Likewise.
32780 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32781 * math/math-svid-compat.h: New file.
32782 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32784 * include/math.h [!_ISOMAC] (__matherr): Remove.
32785 * manual/arith.texi (FP Exceptions): Do not document matherr.
32786 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32787 (tests-internal): New variable.
32788 (install-lib): Do not add libieee.a.
32789 (non-lib.a): Likewise.
32790 (extra-objs): Do not add libieee.a and ieee-math.o.
32791 (CPPFLAGS-s_lib_version.c): Remove variable.
32792 ($(objpfx)libieee.a): Remove rule.
32793 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32794 * math/ieee-math.c: Remove.
32795 * math/libm-test-support.c (matherr): Remove.
32796 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32797 and license notices. Include <math-svid-compat.h> and
32799 (matherr): Undefine as macro. Use compat_symbol_reference.
32800 (_LIB_VERSION): Likewise.
32801 * math/test-matherr-2.c: New file.
32802 * math/test-matherr-3.c: Likewise.
32803 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32805 (__kernel_standard_f): Likewise.
32806 (__kernel_standard_l): Likewise.
32807 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32808 <math_private.h>. Include <math-svid-compat.h>.
32809 (_LIB_VERSION): Undefine as macro.
32810 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32811 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32812 [LIBM_SVID_COMPAT], use compat_symbol.
32813 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32814 <math_private.h>. Include <math-svid-compat.h>.
32815 (matherr): Undefine as macro.
32816 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32818 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32819 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32820 compat_symbol_reference.
32821 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32822 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32823 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32824 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32825 (MATHERR_D): Remove declaration.
32826 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32827 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32828 [LIBM_BUILD] (pmatherrf): Likewise.
32829 [LIBM_BUILD] (pmatherr): Likewise.
32830 [LIBM_BUILD] (pmatherrl): Likewise.
32831 (DOMAIN): Likewise.
32833 (OVERFLOW): Likewise.
32834 (UNDERFLOW): Likewise.
32837 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32838 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32840 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32841 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32843 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32844 * math/w_acos_compat.c: Likewise.
32845 * math/w_acosf_compat.c: Likewise.
32846 * math/w_acosh_compat.c: Likewise.
32847 * math/w_acoshf_compat.c: Likewise.
32848 * math/w_acoshl_compat.c: Likewise.
32849 * math/w_acosl_compat.c: Likewise.
32850 * math/w_asin_compat.c: Likewise.
32851 * math/w_asinf_compat.c: Likewise.
32852 * math/w_asinl_compat.c: Likewise.
32853 * math/w_atan2_compat.c: Likewise.
32854 * math/w_atan2f_compat.c: Likewise.
32855 * math/w_atan2l_compat.c: Likewise.
32856 * math/w_atanh_compat.c: Likewise.
32857 * math/w_atanhf_compat.c: Likewise.
32858 * math/w_atanhl_compat.c: Likewise.
32859 * math/w_cosh_compat.c: Likewise.
32860 * math/w_coshf_compat.c: Likewise.
32861 * math/w_coshl_compat.c: Likewise.
32862 * math/w_exp10_compat.c: Likewise.
32863 * math/w_exp10f_compat.c: Likewise.
32864 * math/w_exp10l_compat.c: Likewise.
32865 * math/w_exp2_compat.c: Likewise.
32866 * math/w_exp2f_compat.c: Likewise.
32867 * math/w_exp2l_compat.c: Likewise.
32868 * math/w_fmod_compat.c: Likewise.
32869 * math/w_fmodf_compat.c: Likewise.
32870 * math/w_fmodl_compat.c: Likewise.
32871 * math/w_hypot_compat.c: Likewise.
32872 * math/w_hypotf_compat.c: Likewise.
32873 * math/w_hypotl_compat.c: Likewise.
32874 * math/w_j0_compat.c: Likewise.
32875 * math/w_j0f_compat.c: Likewise.
32876 * math/w_j0l_compat.c: Likewise.
32877 * math/w_j1_compat.c: Likewise.
32878 * math/w_j1f_compat.c: Likewise.
32879 * math/w_j1l_compat.c: Likewise.
32880 * math/w_jn_compat.c: Likewise.
32881 * math/w_jnf_compat.c: Likewise.
32882 * math/w_jnl_compat.c: Likewise.
32883 * math/w_lgamma_main.c: Likewise.
32884 * math/w_lgamma_r_compat.c: Likewise.
32885 * math/w_lgammaf_main.c: Likewise.
32886 * math/w_lgammaf_r_compat.c: Likewise.
32887 * math/w_lgammal_main.c: Likewise.
32888 * math/w_lgammal_r_compat.c: Likewise.
32889 * math/w_log10_compat.c: Likewise.
32890 * math/w_log10f_compat.c: Likewise.
32891 * math/w_log10l_compat.c: Likewise.
32892 * math/w_log2_compat.c: Likewise.
32893 * math/w_log2f_compat.c: Likewise.
32894 * math/w_log2l_compat.c: Likewise.
32895 * math/w_log_compat.c: Likewise.
32896 * math/w_logf_compat.c: Likewise.
32897 * math/w_logl_compat.c: Likewise.
32898 * math/w_pow_compat.c: Likewise.
32899 * math/w_powf_compat.c: Likewise.
32900 * math/w_powl_compat.c: Likewise.
32901 * math/w_remainder_compat.c: Likewise.
32902 * math/w_remainderf_compat.c: Likewise.
32903 * math/w_remainderl_compat.c: Likewise.
32904 * math/w_scalb_compat.c: Likewise.
32905 * math/w_scalbf_compat.c: Likewise.
32906 * math/w_scalbl_compat.c: Likewise.
32907 * math/w_sinh_compat.c: Likewise.
32908 * math/w_sinhf_compat.c: Likewise.
32909 * math/w_sinhl_compat.c: Likewise.
32910 * math/w_sqrt_compat.c: Likewise.
32911 * math/w_sqrtf_compat.c: Likewise.
32912 * math/w_sqrtl_compat.c: Likewise.
32913 * math/w_tgamma_compat.c: Likewise.
32914 * math/w_tgammaf_compat.c: Likewise.
32915 * math/w_tgammal_compat.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32917 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32918 * sysdeps/ieee754/k_standard.c: Likewise.
32919 * sysdeps/ieee754/k_standardf.c: Likewise.
32920 * sysdeps/ieee754/k_standardl.c: Likewise.
32921 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32922 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32923 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32924 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32925 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32926 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32927 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32928 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32929 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32935 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32936 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32937 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32939 2017-08-21 Florian Weimer <fweimer@redhat.com>
32942 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32943 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32944 Move before inclusion of ../Rules.
32946 2017-08-21 Florian Weimer <fweimer@redhat.com>
32949 * assert/assert.h (assert): Use static_cast (bool) for C++.
32950 Use the ternary operator in the warning branch for GNU C.
32951 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32952 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32953 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32954 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32955 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32957 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32960 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32961 (__syscall_clock_gettime): Add attribute_hidden.
32962 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32963 (__start_context): Likewise.
32965 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32967 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32969 (hidden_proto): Likewise.
32970 (hidden_tls_proto): Likewise.
32971 (__hidden_proto): Likewise.
32973 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32975 * include/libc-symbols.h (attribute_hidden): Enable hidden
32976 visibility in libc.a compiled with PIE.
32978 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32981 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32982 Add attribute_hidden.
32984 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32987 * Makerules (all-nonlib): Add $(others-extras).
32988 * catgets/Makefile (others-extras): New.
32989 * elf/Makefile (others-extras): Likewise.
32990 * nss/Makefile (others-extras): Likewise.
32992 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32995 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32996 * elf/dl-open.c: Include <libc-internal.h>.
32997 (__libc_multiple_libcs): Removed.
32998 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33000 * include/libc-internal.h (__libc_multiple_libcs): New.
33001 * misc/sbrk.c: Include <libc-internal.h>.
33002 (__libc_multiple_libcs): Removed.
33004 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33007 * grp/initgroups.c (__nss_group_database): Removed.
33008 (__nss_initgroups_database): Likewise.
33009 * nscd/gai.c (__nss_hosts_database): Likewise.
33010 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33011 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33012 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33013 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33014 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33015 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33017 * nss/nsswitch.c (__nss_database_custom): Define only if
33018 USE_NSCD is defined.
33019 (__nss_configure_lookup): Use __nss_database_custom only if
33020 USE_NSCD is defined.
33021 * nss/nsswitch.h (__nss_database_custom): Declare only if
33022 USE_NSCD is defined. Add attribute_hidden.
33023 (__nss_setent): Add attribute_hidden.
33024 (__nss_endent): Likewise.
33025 (__nss_getent_r): Likewise.
33026 (__nss_getent): Likewise.
33027 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33029 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33032 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33033 libc_hidden_proto and libc_hidden_def.
33035 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33038 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33039 Add libc_hidden_proto.
33040 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33041 Add libc_hidden_def.
33043 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33046 * gmon/Makefile (routines): Remove bb_init_func and
33048 (elide-routines.os): Removed.
33049 * gmon/bb_exit_func.c: Likewise.
33050 * gmon/bb_init_func.c: Likewise.
33051 * include/sys/gmon.h (__bb): Likewise.
33052 (__bb_init_func): Likewise.
33053 (__bb_exit_func): Likewise.
33054 * sysdeps/alpha/bb_init_func.S: Likewise.
33056 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33058 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33059 * include/setjmp.h (____longjmp_chk): Here. Add
33062 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33065 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33067 (__strspn_sse2): Likewise.
33069 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33071 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33072 (close_not_cancel_no_status): Likewise.
33073 (__close_nocancel): New macro.
33074 (__close_nocancel_nostatus): Likewise.
33075 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33077 (close_not_cancel): Likewise.
33078 (close_not_cancel_no_status): Likewise.
33079 (__close_nocancel): New prototype.
33080 (__close_nocancel_nostatus): New function.
33081 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33082 * catgets/open_catalog.c (__open_catalog): Replace
33083 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33084 * gmon/gmon.c (write_gmon): Likewise.
33085 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33086 * intl/loadmsgcat.c (close): Likewise.
33087 * io/ftw.c (open_dir_stream): Likewise.
33088 (ftw_startup): Likewise.
33089 * libio/fileops.c (_IO_file_open): Likewise.
33090 (_IO_file_close_mmap): Likewise.
33091 (_IO_file_close): Likewise.
33092 * libio/iopopen.c (_IO_dup2): Likewise.
33093 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33094 * locale/loadlocale.c (_nl_load_locale): Likewise.
33095 * login/utmp_file.c (pututline_file): Likewise.
33096 (endutent_file): Likewise.
33097 * misc/daemon.c (daemon): Likewise.
33098 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33099 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33100 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33101 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33102 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33103 * nscd/nscd_helper.c (open_socket): Likewise.
33104 (__nscd_open_socket): Likewise.
33105 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33106 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33107 (__nscd_innetgr): Likewise.
33108 * nss/nss_db/db-open.c (internal_setent): Likewise.
33109 * resolv/res-close.c (__res_iclose): Likewise.
33110 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33111 * sysdeps/posix/closedir.c (__closedir): Likewise.
33112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33113 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33114 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33115 (opendir_tail): Likewise.
33116 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33117 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33118 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33119 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33120 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33121 (gethostid): Likewise.
33122 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33123 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33125 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33126 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33127 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33128 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33130 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33131 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33132 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33134 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33135 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33137 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33139 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33140 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33141 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33144 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33145 (openat_not_cancel_3): Likewise.
33146 (openat64_not_cancel_3): Likewise).
33147 (openat_not_cancel_3): Likewise).
33148 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33150 (openat_not_cancel_3): Likewise.
33151 (openat64_not_cancel): Likewise.
33152 (openat64_not_cancel_3): Likewise.
33153 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33154 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33155 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33156 __open{64}_nocancel.
33157 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33158 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33159 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33161 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33164 * include/argz.h (__argz_create_sep): New function prototype.
33165 (__argz_append): Likewise.
33166 (__argz_add): Likewise.
33167 (__argz_add_sep): Likewise.
33168 (__argz_delete): Likewise.
33169 (__argz_insert): Likewise.
33170 (__argz_replace): Likewise.
33171 * string/argz.h (__argz_create_sep): Removed.
33172 (__argz_append): Likewise.
33173 (__argz_add): Likewise.
33174 (__argz_add_sep): Likewise.
33175 (__argz_delete): Likewise.
33176 (__argz_insert): Likewise.
33177 (__argz_replace): Likewise.
33179 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33181 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33182 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33183 (GNU_PROPERTY_STACK_SIZE): Likewie.
33184 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33185 (GNU_PROPERTY_LOPROC): Likewise.
33186 (GNU_PROPERTY_HIPROC): Likewise.
33187 (GNU_PROPERTY_LOUSER): Likewise.
33188 (GNU_PROPERTY_HIUSER): Likewise.
33189 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33190 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33191 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33192 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33193 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33194 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33195 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33196 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33197 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33198 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33199 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33200 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33201 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33202 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33203 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33204 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33205 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33206 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33207 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33208 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33209 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33210 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33211 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33213 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33215 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33218 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33221 * math/math.h (isinf): Check if in C or C++ mode before using
33222 __builtin_types_compatible_p, since this is a C mode feature.
33224 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33226 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33227 (__write_nocancel): New macro.
33228 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33229 Rewrite as a function prototype.
33230 (write_not_cancel): Remove macro.
33231 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33232 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33233 (write_gmon): Likewise.
33234 * libio/fileops.c (_IO_new_file_write): Likewise.
33235 * login/utmp_file.c (pututline_file): Likewise.
33236 (updwtmp_file): Likewise.
33237 * stdio-common/psiginfo.c (psiginfo): Likewise.
33238 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33239 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33240 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33242 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33245 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33246 (__read_nocancel): New macro.
33247 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33249 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33251 (__read_nocancel): New prototype.
33252 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33253 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33254 with __read_nocancel.
33255 * intl/loadmsgcat.c (read): Likewise.
33256 * libio/fileops.c (_IO_file_read): Likewise.
33257 * locale/loadlocale.c (_nl_load_locale): Likewise.
33258 * login/utmp_file.c (getutent_r_file): Likewise.
33259 (internal_getut_r): Likewise.
33260 (getutline_r_file): Likewise.
33261 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33262 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33263 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33264 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33266 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33267 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33268 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33270 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33272 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33274 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33276 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33278 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33281 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33282 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33285 2017-08-17 DJ Delorie <dj@redhat.com>
33287 * bug17079.c: Update to new test harness.
33288 * test-digits-dots.c: Likewise.
33289 * test-netdb.c: Likewise.
33290 * tst-field.c: Likewise.
33291 * tst-nss-getpwent.c: Likewise.
33292 * tst-nss-static.c: Likewise.
33293 * tst-nss-test1.c: Likewise.
33294 * tst-nss-test2.c: Likewise.
33295 * tst-nss-test3.c: Likewise.
33296 * tst-nss-test4.c: Likewise.
33297 * tst-nss-test5.c: Likewise.
33299 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33301 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33302 (open_not_cancel_2): Likewise.
33303 (open_nocancel): New macro.
33304 (open64_nocancel): Likewise.
33305 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33306 (open_not_cancel_2): Likewise.
33307 (__open_nocancel): New prototype.
33308 (__open64_nocancel): Likewise.
33309 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33311 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33312 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33313 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33314 with __open_nocancel.
33315 * csu/check_fds.c (check_one_fd): Likewise.
33316 * gmon/gmon.c (write_gmon): Likewise.
33317 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33318 * intl/loadmsgcat.c (open): Likewise.
33319 * libio/fileops.c (_IO_file_open): Likewise.
33320 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33321 * locale/loadlocale.c (_nl_load_locale): Likewise.
33322 * login/utmp_file.c (setutent_file): Likewise.
33323 * misc/daemon.c (daemon): Likewise.
33324 * nss/nss_db/db-open.c (internal_setent): Likewise.
33325 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33326 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33327 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33328 (__opendir): Likewise.
33329 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33330 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33331 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33332 (gethostid): Likewise.
33333 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33334 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33337 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33338 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33339 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33341 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33343 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33345 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33347 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33349 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33351 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33352 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33354 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33356 * benchtests/bench-skeleton.c (main): Add support for
33357 latency benchmarking.
33358 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33360 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33362 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33363 the startup object.
33365 2017-08-17 Florian Weimer <fweimer@redhat.com>
33367 * include/sys/socket.h (__opensock): Remove internal_function.
33368 * socket/opensock.c (__opensock): Likewise.
33369 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33371 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33374 * signal/bits/types/__sigval_t.h: New file.
33375 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33376 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33377 and define sigval_t using __sigval_t.
33378 * include/bits/types/__sigval_t.h: New file.
33379 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33380 instead of <bits/types/__sigval_t.h>.
33381 (struct sigevent): Use __sigval_t instead of sigval_t.
33382 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33383 instead of <bits/types/__sigval_t.h>.
33384 (siginfo_t): Use __sigval_t instead of sigval_t.
33385 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33386 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33387 (struct sigevent): Use __sigval_t instead of sigval_t.
33388 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33389 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33390 (siginfo_t): Use __sigval_t instead of sigval_t.
33391 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33393 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33395 * NEWS: Remove "[Add new features here]" for 2.27.
33397 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33399 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33402 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33404 * NEWS: Mention x86-64 FMA optimization.
33406 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33411 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33412 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33413 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33415 2017-08-16 Andreas Schwab <schwab@suse.de>
33419 * elf/ldd.bash.in: Never run file directly.
33421 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33424 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33425 (L(SP_INF_0)): Likewise.
33427 2017-08-15 Florian Weimer <fweimer@redhat.com>
33429 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33432 2017-08-15 Florian Weimer <fweimer@redhat.com>
33434 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33435 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33436 BROKEN_THREAD_SIGNALS code.
33437 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33438 request_list): Remove caller_pid member used for
33439 BROKEN_THREAD_SIGNALS.
33440 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33441 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33442 Remove BROKEN_THREAD_SIGNALS support.
33443 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33444 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33446 2017-08-15 Florian Weimer <fweimer@redhat.com>
33448 * gmon/Makefile (tests): Add tst-gmon.
33449 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33451 (tests-special): Add tst-gmon-prof.out.
33452 (tst-gmon.out): Depend on clean-tst-gmon-data.
33453 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33454 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33455 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33457 * aclocal.m4 (GPROF): Set and substitute.
33458 * config.amke.in (GPROF): Set.
33459 * configure: Regenerate.
33461 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33463 * elf/elf.h A (NT_PPC_TAR): New macro.
33464 (NT_PPC_PPR): Likewise.
33465 (NT_PPC_DSCR): Likewise.
33466 (NT_PPC_EBB): Likewise.
33467 (NT_PPC_PMU): Likewise.
33468 (NT_PPC_TM_CGPR): Likewise.
33469 (NT_PPC_TM_CFPR): Likewise.
33470 (NT_PPC_TM_CVMX): Likewise.
33471 (NT_PPC_TM_CVSX): Likewise.
33472 (NT_PPC_TM_SPR): Likewise.
33473 (NT_PPC_TM_CTAR): Likewise.
33474 (NT_PPC_TM_CPPR): Likewise.
33475 (NT_PPC_TM_CDSCR): Likewise.
33477 2017-08-15 Florian Weimer <fweimer@redhat.com>
33479 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33480 regparm (2) instead of internal_function.
33481 (_MCOUNT_DECL): Adjust.
33483 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33485 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33486 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33488 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33490 * conform/data/sys/wait.h-data (si_value): Do not expect for
33493 2017-08-14 Florian Weimer <fweimer@redhat.com>
33496 NSS: Create stubs for accidentally exported lookup functions.
33497 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33498 Remove declaration.
33499 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33500 (ether_hostton): Call __nss_ethers_lookup2 instead.
33501 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33502 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33503 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33504 (setup): Call __nss_netgroup_lookup2 instead.
33505 * nss/Makefile (routines): Add compat-lookup.
33506 * nss/Versions (GLIBC_2.27): Add symbol version.
33507 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33508 (DB_COMPAT_FCT): Remove.
33509 * nss/compat-lookup.c: New file.
33510 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33511 from databases.def.
33512 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33513 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33514 (netname2user): Call __nss_publickey_lookup2 instead.
33515 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33516 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33519 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33520 Sergei Trofimovich <slyfox@inbox.ru>
33523 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33524 Rename to MMAP2_PAGE_UNIT.
33525 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33526 __OFF_T_MATCHES_OFF64_T is not defined.
33527 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33529 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33530 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33532 2017-08-14 Florian Weimer <fweimer@redhat.com>
33534 i386: Do not set internal_function.
33535 * config.h.in (USE_REGPARMS, internal_function): Remove.
33536 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33537 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33539 2017-08-14 Florian Weimer <fweimer@redhat.com>
33541 * elf/dl-init.c (_dl_init): Remove internal_function.
33542 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33543 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33545 2017-08-14 Florian Weimer <fweimer@redhat.com>
33547 * elf/rtld.c (_dl_start): Remove internal_function.
33548 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33551 2017-08-14 Florian Weimer <fweimer@redhat.com>
33553 * elf/dl-fini.c (_dl_fini): Remove internal_function
33554 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33556 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33558 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33559 (bit_cpu_SHSTK): Likewise.
33560 (index_cpu_IBT): Likewise.
33561 (index_cpu_SHSTK): Likewise.
33562 (reg_IBT): Likewise.
33563 (reg_SHSTK): Likewise.
33564 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33565 Handle index_cpu_IBT and index_cpu_SHSTK.
33567 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33570 * po/fr.po: Fix spelling mistake.
33572 2017-08-13 Florian Weimer <fweimer@redhat.com>
33574 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33575 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33576 (_dl_catch_error, _dl_receive_error): Likewise.
33577 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33578 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33579 (_dl_deallocate_tls): Likewise.
33580 * include/dlfcn.h (_dl_addr): Likewise.
33581 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33582 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33583 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33586 2017-08-13 Florian Weimer <fweimer@redhat.com>
33588 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33589 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33591 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33593 2017-08-13 Florian Weimer <fweimer@redhat.com>
33595 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33597 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33598 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33599 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33600 internal_function from _dl_make_stack_executable_hook member.
33601 (_dl_make_stack_executable): Remove internal_function.
33602 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33604 * sysdeps/unix/sysv/linux/dl-execstack.c
33605 (_dl_make_stack_executable): Likewise.
33607 2017-08-13 Florian Weimer <fweimer@redhat.com>
33609 * sysdeps/unix/sysv/linux/netlinkaccess.h
33610 (__netlink_assert_response): Remove internal_function.
33611 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33612 (__netlink_assert_response): Likewise.
33614 2017-08-13 Florian Weimer <fweimer@redhat.com>
33616 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33618 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33620 2017-08-13 Florian Weimer <fweimer@redhat.com>
33622 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33624 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33625 * inet/netgroup.h (__internal_setnetgrent)
33626 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33627 * inet/getnetgrent_r.c (__internal_setnetgrent)
33628 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33629 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33630 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33631 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33632 * nss/nsswitch.h (db_lookup_function): Likewise.
33634 2017-08-13 Florian Weimer <fweimer@redhat.com>
33636 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33637 Remove internal_function.
33638 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33639 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33640 message argument on the stack.
33641 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33644 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33646 Adapt test case data to the changes in the thousands
33650 * localedata/tst-langinfo.sh: Adapt test case data.
33651 * stdlib/tst-strfmon_l.c: Likewise.
33652 * stdlib/tst-strtod4.c: Likewise.
33653 * stdlib/tst-strtod5i.c: Likewise.
33655 2017-08-11 Florian Weimer <fweimer@redhat.com>
33658 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33659 Suppress pedantic warning resulting from statement expression.
33660 (__ASSERT_FUNCTION): Add missing __extension__.
33662 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33664 * benchtests/bench-memmove-large.c: Print output in JSON
33666 * benchtests/bench-memmove.c: Likewise.
33668 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33669 * benchtests/bench-memchr.c (do_one_test): Likewise.
33670 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33671 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33672 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33673 * benchtests/bench-memmove.c (do_one_test): Likewise.
33674 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33675 * benchtests/bench-memset.c (do_one_test): Likewise.
33676 * benchtests/bench-string.h (test_init): Remove memsets.
33678 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33681 (Computing the Width of an Integer Data Type): Rename section to
33682 "Width of an Integer Type". Remove inaccurate statement regarding
33683 lack of C language facilities for determining width of integer
33684 types, and reorder content to improve flow and context of
33687 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33689 * lang.texi (va_copy): Change standard from ISO to C99.
33690 (__va_copy): Add standard and header annotation.
33691 Update description for clarity of origins and current use.
33693 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33696 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33697 xssqrtqp requires operands to be in Vector Registers
33698 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33699 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33700 (__ieee754_sqrtf128): Likewise.
33702 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33704 * sysdeps/aarch64/memcmp.S (memcmp):
33705 Rewrite of optimized memcmp.
33707 2017-08-10 Florian Weimer <fweimer@redhat.com>
33709 Introduce ld.so exceptions.
33710 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33711 (_dl_exception_create, _dl_exception_create_format)
33712 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33713 (_dl_catch_exception): Declare.
33714 (_dl_catch_error): Update comment.
33715 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33716 errstring, malloced members with exception member.
33717 (_dl_out_of_memory): Remove.
33718 (fatal_error): New function, extracted from _dl_signal_error.
33719 (_dl_signal_exception, _dl_signal_cexception): New functions.
33720 (_dl_signal_error): Call _dl_exception_create to allocate an
33722 (_dl_catch_exception): New function, based on _dl_catch_error.
33723 (_dl_catch_error): Implement using _dl_catch_exception.
33724 * elf/dl-exception.c: New file.
33725 * elf/Makefile (dl-routines): Add dl-exception.
33726 (elide-routines.os): Likewise.
33727 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33728 _dl_exception_create_format, _dl_exception_free.
33729 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33730 _dl_signal_exception.
33731 * elf/dl-lookup.c (make_string): Remove.
33732 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33733 _dl_signal_cexception, _dl_exception_free.
33734 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33735 _dl_signal_exception.
33736 * elf/dl-sym.c (do_sym): Likewise.
33737 * elf/dl-version.c (make_string): Remove.
33738 (match_symbol): Use _dl_exception_create_format,
33739 _dl_signal_cexception, _dl_exception_free.
33740 (_dl_check_map_versions): Likewise.
33741 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33742 _dl_catch_exception.
33743 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33744 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33745 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33746 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33747 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33748 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33749 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33750 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33752 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33759 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33760 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33761 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33763 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33765 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33767 2017-08-10 Florian Weimer <fweimer@redhat.com>
33769 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33770 attribute_hidden, internal_function.
33771 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33774 2017-08-10 Florian Weimer <fweimer@redhat.com>
33776 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33777 function which calls __builtin_unreachable.
33779 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33781 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33782 Indian monetary formatting
33783 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33786 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33788 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33789 Fix typo in comment.
33792 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33793 PTRACE_SEIZE_DEVEL): Remove.
33794 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33795 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33800 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33802 * posix/bits/types.h (__qaddr_t): Remove.
33805 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33806 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33808 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33809 (ucontext_t): Use __ctx with uc_flags.
33810 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33811 (__ctxt): Likewise.
33812 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33814 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33815 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33817 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33818 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33820 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33822 (ucontext_t): Use __ctx with uc_flags.
33823 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33824 (ucontext_t): Use __ctx with uc_flags.
33825 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33826 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33827 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33828 (ucontext_t): Use __ctx with uc_flags.
33829 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33830 undefine further down.
33831 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33833 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33834 undefine further down.
33835 (ucontext_t): Use __ctx with uc_flags.
33836 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33837 undefine further down.
33838 (ucontext_t): Use __ctx with uc_flags.
33839 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33840 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33841 Rename uc_pad to __glibc_reserved1.
33842 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33843 undefine further down.
33844 (ucontext_t): Use __ctx with uc_flags.
33845 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33847 (ucontext_t): Use __ctx with uc_flags.
33848 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33849 __ctx with uc_flags.
33850 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33851 (ucontext_t): Use __ctx with uc_flags.
33852 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33853 __ctx with uc_flags.
33855 2017-08-09 Florian Weimer <fweimer@redhat.com>
33858 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33859 before early return.
33861 2017-08-09 Andreas Schwab <schwab@suse.de>
33864 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33868 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33869 tst-compat-forwarder.
33870 (modules-names): Add tst-compat-forwarder-mod.
33871 ($(objpfx)tst-compat-forwarder): Depend on
33872 $(objpfx)tst-compat-forwarder-mod.so.
33873 * nptl/tst-compat-forwarder.c: New file.
33874 * nptl/tst-compat-forwarder-mod.c: New file.
33876 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33878 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33881 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33882 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33884 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33886 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33887 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33888 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33889 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33891 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33894 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33897 * manual/setjmp.texi (getcontex): Document uc_stack value
33898 compatibility differences.
33900 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33902 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33903 (old_malloc_hook): Likewise.
33904 (old_memalign_hook): Likewise.
33905 (old_realloc_hook): Likewise.
33906 (struct hdr): Likewise.
33908 (freehook): Likewise.
33909 (mallochook): Likewise.
33910 (memalignhook): Likewise.
33911 (reallochook): Likewise.
33912 (mprobe): Likewise.
33913 * malloc/mtrace.c (mallwatch): Likewise.
33914 (tr_old_free_hook): Likewise.
33915 (tr_old_malloc_hook): Likewise.
33916 (tr_old_realloc_hook): Likewise.
33917 (tr_old_memalign_hook): Likewise.
33918 (tr_where): Likewise.
33919 (lock_and_info): Likewise.
33920 (tr_freehook): Likewise.
33921 (tr_mallochook): Likewise.
33922 (tr_reallochook): Likewise.
33923 (tr_memalignhook): Likewise.
33924 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33925 * misc/mmap.c (__mmap): Likewise.
33926 * misc/mmap64.c (__mmap64): Likewise.
33927 * misc/mprotect.c (__mprotect): Likewise.
33928 * misc/msync.c (msync): Likewise.
33929 * misc/munmap.c (__munmap): Likewise.
33930 * posix/posix_madvise.c (posix_madvise): Likewise.
33931 * socket/send.c (__send): Likewise.
33932 * socket/sendto.c (__sendto): Likewise.
33933 * socket/setsockopt.c (__setsockopt): Likewise.
33934 * string/memcmp.c (__ptr_t): Remove macro.
33935 (MEMCMP): Use void * instead of ptr_t.
33936 * string/memrchr.c (__ptr_t): Remove macro.
33937 (__memrchr): Use void * instead of ptr_t.
33938 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33939 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33940 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33941 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33942 * sysdeps/mach/msync.c (msync): Likewise.
33943 * sysdeps/mach/munmap.c (__munmap): Likewise.
33944 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33946 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33947 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33948 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33949 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33950 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33951 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33952 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33953 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33955 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33956 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33957 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33958 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33959 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33960 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33961 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33962 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33963 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33965 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33966 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33967 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33968 (MEMCMP): Use void * instead of ptr_t.
33969 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33970 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33972 2017-08-08 Florian Weimer <fweimer@redhat.com>
33974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33977 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33980 * csu/libc-tls.c: Include <startup.h> first.
33981 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33982 * elf/dl-tunables.c: Include <startup.h> first.
33983 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33984 * sysdeps/generic/startup.h: New file.
33985 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33986 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33987 (I386_USE_SYSENTER): New. Defined to 0.
33989 2017-08-08 Andreas Schwab <schwab@suse.de>
33992 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33993 * nptl/pt-system.c (system): Likewise.
33995 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33998 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34000 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34001 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34002 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34003 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34004 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34005 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34006 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34008 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34011 * bits/sigaction.h (struct sigaction): Define sa_handler and
34012 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34013 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34014 [__USE_XOPEN_EXTENDED].
34015 (SA_RESTART): Likewise.
34016 (SA_NODEFER): Likewise.
34017 (SA_RESETHAND): Likewise.
34018 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34019 (struct sigaction): Define sa_handler and sa_sigaction using union
34020 also for [__USE_XOPEN_EXTENDED].
34021 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34022 [__USE_XOPEN_EXTENDED].
34023 (SA_RESTART): Likewise.
34024 (SA_NODEFER): Likewise.
34025 (SA_RESETHAND): Likewise.
34026 * sysdeps/unix/sysv/linux/bits/sigaction.h
34027 (struct sigaction): Define sa_handler and sa_sigaction using union
34028 also for [__USE_XOPEN_EXTENDED].
34029 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34030 [__USE_XOPEN_EXTENDED].
34031 (SA_RESTART): Likewise.
34032 (SA_NODEFER): Likewise.
34033 (SA_RESETHAND): Likewise.
34034 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34035 (struct sigaction): Define sa_handler and sa_sigaction using union
34036 also for [__USE_XOPEN_EXTENDED].
34037 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34038 [__USE_XOPEN_EXTENDED].
34039 (SA_RESTART): Likewise.
34040 (SA_NODEFER): Likewise.
34041 (SA_RESETHAND): Likewise.
34042 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34043 (struct sigaction): Define sa_handler and sa_sigaction using union
34044 also for [__USE_XOPEN_EXTENDED].
34045 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34046 [__USE_XOPEN_EXTENDED].
34047 (SA_RESTART): Likewise.
34048 (SA_NODEFER): Likewise.
34049 (SA_RESETHAND): Likewise.
34050 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34051 (struct sigaction): Define sa_handler and sa_sigaction using union
34052 also for [__USE_XOPEN_EXTENDED].
34053 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34054 [__USE_XOPEN_EXTENDED].
34055 (SA_RESTART): Likewise.
34056 (SA_NODEFER): Likewise.
34057 (SA_RESETHAND): Likewise.
34058 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34059 (struct sigaction): Define sa_handler and sa_sigaction using union
34060 also for [__USE_XOPEN_EXTENDED].
34061 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34062 [__USE_XOPEN_EXTENDED].
34063 (SA_RESTART): Likewise.
34064 (SA_NODEFER): Likewise.
34065 (SA_RESETHAND): Likewise.
34066 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34067 (struct sigaction): Define sa_handler and sa_sigaction using union
34068 also for [__USE_XOPEN_EXTENDED].
34069 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34070 [__USE_XOPEN_EXTENDED].
34071 (SA_RESTART): Likewise.
34072 (SA_NODEFER): Likewise. Define directly rather than as alias.
34073 (SA_RESETHAND): Likewise.
34074 (SA_INTERRUPT): Define only for [__USE_MISC].
34075 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34076 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34078 (SA_STACK): Define only for [__USE_MISC].
34079 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34080 (struct sigaction): Define sa_handler and sa_sigaction using union
34081 also for [__USE_XOPEN_EXTENDED].
34082 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34083 [__USE_XOPEN_EXTENDED].
34084 (SA_RESTART): Likewise.
34085 (SA_NODEFER): Likewise.
34086 (SA_RESETHAND): Likewise.
34087 (SA_NOPTRACE): Define only for [__USE_MISC].
34089 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34090 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34091 (struct catalog_info): Likewise.
34092 * inet/htontest.c (lo): Likewise.
34094 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34095 * inet/inet_net.c (inet_network): Likewise.
34096 * inet/inet_netof.c (inet_netof): Likewise.
34097 * inet/rcmd.c (__ivaliduser): Likewise.
34098 (iruserok): Likewise.
34099 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34100 * locale/programs/locale-spec.c (locale_special): Likewise.
34101 * nis/nis_findserv.c (struct findserv_req): Likewise.
34102 (__nis_findfastest_with_timeout): Likewise.
34103 * nss/test-netdb.c (test_network): Likewise.
34104 * resolv/inet_neta.c (inet_neta): Likewise.
34105 * resolv/ns_date.c (ns_datetosecs): Likewise.
34106 (SECS_PER_DAY): Likewise.
34107 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34109 * resolv/res_comp.c (__putlong): Likewise.
34110 (__putshort): Likewise.
34111 (_getlong): Likewise.
34112 (_getshort): Likewise.
34113 * resolv/res_debug.c (p_time): Likewise.
34114 (precsize_ntoa): Likewise.
34115 (precsize_aton): Likewise.
34116 (latlon2ul): Likewise.
34117 (loc_aton): Likewise.
34118 (loc_ntoa): Likewise.
34119 * resolv/res_hconf.c (struct netaddr): Likewise.
34120 (_res_hconf_reorder_addrs): Likewise.
34121 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34122 (clnttcp_control): Likewise.
34123 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34124 (clntudp_control): Likewise.
34125 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34126 (clntunix_control): Likewise.
34127 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34128 * sunrpc/rpc/auth.h (union des_block): Likewise.
34129 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34130 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34131 (xdrrec_create): Likewise.
34132 (xdrrec_endofrecord): Likewise.
34133 (flush_out): Likewise.
34134 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34135 (xdrstdio_putlong): Likewise.
34136 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34139 * misc/sys/cdefs.h (__long_double_t): Remove.
34140 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34141 instead of __long_double_t,
34142 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34144 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34146 * benchtests/scripts/compare_strings.py: Avoid display error when
34147 running on a text terminal.
34149 * benchtests/scripts/compare_strings.py (main): Add an
34150 optional -base option.
34151 (process_results): New argument base_func.
34153 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34155 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34156 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34158 2017-08-07 Andreas Schwab <schwab@suse.de>
34160 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34161 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34162 * intl/Makefile ($(objpfx)tst-gettext.out)
34163 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34164 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34165 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34166 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34167 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34168 * posix/Makefile ($(objpfx)globtest.out)
34169 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34170 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34171 ($(objpfx)tst-printf.out): Likewise.
34172 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34173 ($(objpfx)tst-setcontext3.out): Likewise.
34175 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34177 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34178 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34179 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34180 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34181 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34183 (CFLAGS-doasin-fma.c): New.
34184 (CFLAGS-dosincos-fma.c): Likewise.
34185 (CFLAGS-e_asin-fma.c): Likewise.
34186 (CFLAGS-e_atan2-fma.c): Likewise.
34187 (CFLAGS-e_exp-fma.c): Likewise.
34188 (CFLAGS-e_log-fma.c): Likewise.
34189 (CFLAGS-e_pow-fma.c): Likewise.
34190 (CFLAGS-halfulp-fma.c): Likewise.
34191 (CFLAGS-mpa-fma.c): Likewise.
34192 (CFLAGS-mpatan-fma.c): Likewise.
34193 (CFLAGS-mpatan2-fma.c): Likewise.
34194 (CFLAGS-mpexp-fma.c): Likewise.
34195 (CFLAGS-mplog-fma.c): Likewise.
34196 (CFLAGS-mpsqrt-fma.c): Likewise.
34197 (CFLAGS-mptan-fma.c): Likewise.
34198 (CFLAGS-s_atan-fma.c): Likewise.
34199 (CFLAGS-sincos32-fma.c): Likewise.
34200 (CFLAGS-slowexp-fma.c): Likewise.
34201 (CFLAGS-slowpow-fma.c): Likewise.
34202 (CFLAGS-s_sin-fma.c): Likewise.
34203 (CFLAGS-s_tan-fma.c): Likewise.
34204 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34205 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34206 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34207 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34208 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34209 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34210 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34211 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34212 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34214 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34215 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34216 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34217 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34218 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34219 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34220 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34221 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34222 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34223 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34224 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34225 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34226 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34227 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34230 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34231 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34236 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34238 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34239 (min_of_type_f): New macro.
34240 (min_of_type_): Likewise.
34241 (min_of_type_l): Likewise.
34242 (min_of_type_f128): Likewise.
34243 (min_of_type): Define using __MATH_TG and taking an expression
34245 (math_check_force_underflow): Pass expression instead of type to
34247 (math_check_force_underflow_nonneg): Likewise.
34249 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34251 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34252 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34253 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34255 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34258 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34259 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34260 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34261 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34262 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34263 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34264 memmove_chk-nonshared and memset_chk-nonshared
34265 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34266 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34267 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34268 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34269 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34270 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34271 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34272 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34273 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34274 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34275 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34276 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34277 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34278 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34279 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34280 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34281 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34282 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34283 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34284 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34285 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34286 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34287 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34288 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34289 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34290 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34291 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34292 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34293 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34294 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34295 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34296 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34297 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34298 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34299 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34300 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34301 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34302 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34303 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34304 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34305 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34306 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34307 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34308 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34309 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34310 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34311 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34312 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34313 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34314 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34315 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34316 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34317 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34318 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34319 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34320 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34321 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34322 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34323 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34324 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34325 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34326 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34327 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34328 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34329 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34330 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34331 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34332 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34333 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34334 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34335 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34336 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34337 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34338 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34339 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34340 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34341 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34342 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34343 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34344 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34345 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34346 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34347 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34348 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34349 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34350 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34351 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34352 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34353 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34354 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34355 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34356 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34357 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34358 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34359 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34360 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34361 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34362 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34363 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34364 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34365 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34366 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34367 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34368 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34369 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34370 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34371 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34372 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34374 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34376 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34377 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34378 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34379 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34380 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34381 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34382 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34383 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34384 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34385 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34386 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34387 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34388 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34389 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34390 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34391 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34392 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34393 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34394 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34395 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34396 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34397 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34398 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34399 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34400 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34401 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34402 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34403 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34404 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34405 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34406 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34407 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34408 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34409 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34410 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34411 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34412 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34424 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34425 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34426 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34427 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34429 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34431 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34432 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34433 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34434 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34436 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34437 Don't include <sysdep.h> nor <init-arch.h>.
34438 (_ZGVbN2v_cos): Removed.
34439 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34441 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34442 Don't include <sysdep.h> nor <init-arch.h>.
34443 (_ZGVdN4v_cos): Removed.
34444 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34446 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34447 Don't include <sysdep.h> nor <init-arch.h>.
34448 (_ZGVeN8v_cos): Removed.
34449 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34451 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34452 Don't include <sysdep.h> nor <init-arch.h>.
34453 (_ZGVbN2v_exp): Removed.
34454 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34456 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34457 Don't include <sysdep.h> nor <init-arch.h>.
34458 (_ZGVdN4v_exp): Removed.
34459 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34461 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34462 Don't include <sysdep.h> nor <init-arch.h>.
34463 (_ZGVeN8v_exp): Removed.
34464 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34466 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34467 Don't include <sysdep.h> nor <init-arch.h>.
34468 (_ZGVbN2v_log): Removed.
34469 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34471 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34472 Don't include <sysdep.h> nor <init-arch.h>.
34473 (_ZGVdN4v_log): Removed.
34474 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34476 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34477 Don't include <sysdep.h> nor <init-arch.h>.
34478 (_ZGVeN8v_log): Removed.
34479 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34481 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34482 Don't include <sysdep.h> nor <init-arch.h>.
34483 (_ZGVbN2vv_pow): Removed.
34484 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34486 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34487 Don't include <sysdep.h> nor <init-arch.h>.
34488 (_ZGVdN4vv_pow): Removed.
34489 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34491 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34492 Don't include <sysdep.h> nor <init-arch.h>.
34493 (_ZGVeN8vv_pow): Removed.
34494 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34496 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34497 Don't include <sysdep.h> nor <init-arch.h>.
34498 (_ZGVbN2v_sin): Removed.
34499 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34501 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34502 Don't include <sysdep.h> nor <init-arch.h>.
34503 (_ZGVbN4v_sin): Removed.
34504 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34506 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34507 Don't include <sysdep.h> nor <init-arch.h>.
34508 (_ZGVbN8v_sin): Removed.
34509 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34511 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34512 Don't include <sysdep.h> nor <init-arch.h>.
34513 (_ZGVbN2vvv_sincos): Removed.
34514 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34516 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34517 Don't include <sysdep.h> nor <init-arch.h>.
34518 (_ZGVdN4vvv_sincos): Removed.
34519 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34521 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34522 Don't include <sysdep.h> nor <init-arch.h>.
34523 (_ZGVeN8vvv_sincos): Removed.
34524 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34526 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34527 Don't include <sysdep.h> nor <init-arch.h>.
34528 (_ZGVeN16v_cosf): Removed.
34529 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34531 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34532 Don't include <sysdep.h> nor <init-arch.h>.
34533 (_ZGVbN4v_cosf): Removed.
34534 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34536 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34537 Don't include <sysdep.h> nor <init-arch.h>.
34538 (_ZGVdN8v_cosf): Removed.
34539 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34541 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34542 Don't include <sysdep.h> nor <init-arch.h>.
34543 (_ZGVeN16v_expf): Removed.
34544 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34546 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34547 Don't include <sysdep.h> nor <init-arch.h>.
34548 (_ZGVbN4v_expf): Removed.
34549 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34551 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34552 Don't include <sysdep.h> nor <init-arch.h>.
34553 (_ZGVdN8v_expf): Removed.
34554 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34556 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34557 Don't include <sysdep.h> nor <init-arch.h>.
34558 (_ZGVeN16v_logf): Removed.
34559 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34561 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34562 Don't include <sysdep.h> nor <init-arch.h>.
34563 (_ZGVbN4v_logf): Removed.
34564 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34566 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34567 Don't include <sysdep.h> nor <init-arch.h>.
34568 (_ZGVdN8v_logf): Removed.
34569 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34571 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34572 Don't include <sysdep.h> nor <init-arch.h>.
34573 (_ZGVeN16vv_powf): Removed.
34574 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34576 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34577 Don't include <sysdep.h> nor <init-arch.h>.
34578 (_ZGVbN4vv_powf): Removed.
34579 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34581 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34582 Don't include <sysdep.h> nor <init-arch.h>.
34583 (_ZGVdN8vv_powf): Removed.
34584 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34586 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34587 Don't include <sysdep.h> nor <init-arch.h>.
34588 (_ZGVeN16vvv_sincosf): Removed.
34589 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34591 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34592 Don't include <sysdep.h> nor <init-arch.h>.
34593 (_ZGVbN4vvv_sincosf): Removed.
34594 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34596 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34597 Don't include <sysdep.h> nor <init-arch.h>.
34598 (_ZGVdN8vvv_sincosf): Removed.
34599 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34601 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34602 Don't include <sysdep.h> nor <init-arch.h>.
34603 (_ZGVeN16v_sinf): Removed.
34604 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34606 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34607 Don't include <sysdep.h> nor <init-arch.h>.
34608 (_ZGVbN4v_sinf): Removed.
34609 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34611 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34612 Don't include <sysdep.h> nor <init-arch.h>.
34613 (_ZGVdN8v_sinf): Removed.
34615 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34617 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34618 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34619 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34620 s_rint-sse4_1 and s_rintf-sse4_1.
34621 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34622 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34623 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34624 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34625 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34626 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34628 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34629 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34630 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34631 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34632 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34634 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34635 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34636 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34637 (__ceilf): Removed.
34638 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34639 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34640 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34641 (__floor): Removed.
34642 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34643 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34644 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34645 (__floorf): Removed.
34646 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34647 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34648 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34649 (__nearbyint): Removed.
34650 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34651 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34652 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34653 (__nearbyintf): Removed.
34654 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34655 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34656 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34658 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34659 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34660 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34661 (__rintf): Removed.
34663 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34665 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34666 SHARED. Avoid dynamic relocation against main in static PIE.
34668 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34671 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34672 (LDFLAGS-tst-prelink): Likewise.
34674 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34676 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34677 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34678 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34679 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34680 (INTERNAL_SYSCALL_NCS): Likewise.
34681 (LOADARGS_1): Likewise.
34682 (LOADARGS_5): Likewise.
34683 (RESTOREARGS_1): Likewise.
34684 (RESTOREARGS_5): Likewise.
34686 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34688 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34689 (MEMPCPY_SYMBOL): Likewise.
34690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34691 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34694 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34695 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34697 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34698 (__hidden_ver1): Don't use in libc.a.
34699 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34700 (__mempcpy): Don't create a weak alias in libc.a.
34701 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34703 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34704 (__hidden_ver1): Don't use in libc.a.
34706 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34708 * config.make.in (have-insert): New.
34709 * configure.ac (libc_cv_insert): New. Set to yes if linker
34710 supports INSERT in linker script.
34711 (AC_SUBST(libc_cv_insert): New.
34712 * configure: Regenerated.
34713 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34714 if $(have-insert) == yes.
34716 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34718 * elf/Makefile (tests): Add vismain only if
34719 $(have-protected-data) == yes.
34720 (tests-pie): Likewise.
34722 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34725 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34726 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34728 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34731 * sysdeps/i386/i586/memset.S
34732 (__memset_zero_constant_len_parameter): Removed.
34733 * sysdeps/i386/i686/memset.S
34734 (__memset_zero_constant_len_parameter): Likewise.
34735 * sysdeps/i386/i686/multiarch/memset_chk.S
34736 (__memset_zero_constant_len_parameter): Likewise.
34737 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34740 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34742 * stdlib/getentropy.c (getentropy): Change return type to int.
34744 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34746 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34748 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34750 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34752 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34753 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34755 (ieee_float_shape_type): Likewise.
34756 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34757 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34758 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34759 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34760 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34761 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34762 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34763 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34764 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34766 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34767 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34768 (__ieee754_yn): Likewise.
34769 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34770 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34771 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34773 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34774 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34775 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34776 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34777 (__erfc): Likewise.
34778 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34779 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34780 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34781 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34782 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34783 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34785 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34786 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34787 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34788 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34789 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34790 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34791 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34792 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34793 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34794 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34795 (__issignaling): Likewise.
34796 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34797 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34798 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34800 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34801 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34802 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34805 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34807 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34808 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34809 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34810 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34811 (__erfcf): Likewise.
34812 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34813 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34814 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34815 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34817 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34818 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34820 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34821 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34822 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34823 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34824 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34825 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34826 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34827 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34829 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34831 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34833 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34834 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34836 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34838 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34839 (__ieee754_ynl): Likewise.
34840 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34841 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34843 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34845 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34846 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34847 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34849 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34850 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34851 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34852 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34853 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34854 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34855 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34856 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34858 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34859 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34860 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34862 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34863 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34864 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34865 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34866 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34869 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34871 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34875 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34876 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34877 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34878 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34879 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34880 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34883 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34886 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34888 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34889 (__ieee754_remainderl): Likewise.
34890 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34891 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34893 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34896 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34898 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34899 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34900 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34901 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34902 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34903 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34905 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34906 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34907 (__ieee754_y0l): Likewise.
34910 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34911 (__ieee754_y1l): Likewise.
34914 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34915 (__ieee754_ynl): Likewise.
34916 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34917 (__ieee754_lgammal_r): Likewise.
34918 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34920 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34921 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34922 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34923 (__erfcl): Likewise.
34924 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34925 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34927 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34928 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34929 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34930 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34931 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34932 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34933 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34935 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34936 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34937 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34938 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34939 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34941 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34942 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34944 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34945 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34946 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34947 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34948 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34950 2017-08-03 Florian Weimer <fweimer@redhat.com>
34953 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34954 on memory allocation failure.
34956 2017-08-03 Alan Modra <amodra@gmail.com>
34958 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34959 tst-tlsopt-powerpc.c with function name change and no test harness.
34960 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34961 Call tls_get_addr_opt_test.
34962 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34963 (modules-names): Add mod-tlsopt-powerpc.
34964 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34965 (tst-tlsopt-powerpc): Depend on .so.
34966 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34967 define. Expand use in TLS_GD and TLS_LD.
34969 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34971 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34973 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34975 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34978 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34979 comparing size with that of double.
34980 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34981 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34982 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34983 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34984 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34985 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34986 unsigned __int128 types.
34988 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34990 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34991 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34992 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34993 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34994 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34996 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34998 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35000 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35002 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35004 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35005 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35007 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35008 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35009 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35010 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35012 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35015 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35016 bit-field expressions passed to sizeof or typeof.
35017 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35018 (__TGMATH_F128): Likewise.
35019 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35020 (__TGMATH_CF128): Likewise.
35021 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35022 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35023 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35024 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35025 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35026 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35027 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35028 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35029 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35030 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35031 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35032 (__TGMATH_UNARY_IMAG): Likewise.
35033 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35034 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35035 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35037 (define_vars_for_type): Handle bit_field type specially.
35038 (Tests.__init__): Declare structure with bit-field element.
35040 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35043 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35044 (MEMCPY_CHK): Define only if SHARED is defined.
35045 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35050 See ChangeLog.18 for earlier changes.